distaflibs.gluster.gluster_init module¶
-
distaflibs.gluster.gluster_init.start_glusterd(servers='')¶ Starts glusterd in all servers if they are not running
Returns True if glusterd started in all servers Returns False if glusterd failed to start in any server
(Will be enhanced to support systemd in future)
-
distaflibs.gluster.gluster_init.stop_glusterd(servers='')¶ Stops the glusterd in specified machine(s)
Returns True if glusterd is stopped in all nodes Returns False on failure
-
distaflibs.gluster.gluster_init.env_setup_servers(snap=True, servers='')¶ Sets up the env for all the tests Install all the gluster bits and it’s dependencies Installs the xfs bits and then formats the backend fs for gluster use
Returns 0 on success and non-zero upon failing