Fix default logpath on redhat based distros
Remove unused get-settings call
Add data-nodes and replica-set-nodes functions