Language and Page Formatting Options
5.2. Removing Servers from the Trusted Storage Pool
gluster peer detach serverto remove a server from the storage pool.
Removing One Server from the Trusted Storage Pool
Remove one server from the Trusted Storage Pool, and check the peer status of the storage pool.
glusterdservice must be running on the server targeted for removal from the storage pool. See Section 4.2, “Starting and Stopping the glusterd service” for service start and stop commands.
- The host names of the target servers must be resolvable by DNS.
gluster peer detach [server]to remove the server from the trusted storage pool.
# gluster peer detach server4 Detach successful
- Verify the peer status from all servers using the following command:
# gluster peer status Number of Peers: 2 Hostname: server2 Uuid: 5e987bda-16dd-43c2-835b-08b7d55e94e5 State: Peer in Cluster (Connected) Hostname: server3 Uuid: 1e0ca3aa-9ef7-4f66-8f15-cbc348f29ff7