Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 1.03 KB

peer.md

File metadata and controls

72 lines (46 loc) · 1.03 KB

glustercli.cli.peer

probe

probe(host)

Add Host to Cluster

:param host: Hostname or IP :returns: Output of peer probe command, raises GlusterCmdException((rc, out, err)) on error

attach

attach(host)

Add Host to Cluster, alias for probe

:param host: Hostname or IP :returns: Output of peer probe command, raises GlusterCmdException((rc, out, err)) on error

detach

detach(host)

Remove Host from Cluster

:param host: Hostname or IP :returns: Output of peer detach command, raises GlusterCmdException((rc, out, err)) on error

detach_all

detach_all()

Removes All Hosts from Cluster

:returns: Output of peer detach command, raises GlusterCmdException((rc, out, err)) on error

status

status()

Peer Status of Cluster

:returns: Output of peer status command, raises GlusterCmdException((rc, out, err)) on error

pool

pool()

Cluster Pool Status

:returns: Pool list and status, raises GlusterCmdException((rc, out, err)) on error