From ced0dcd817d02ce7ea2b69bff94dad26a96efe71 Mon Sep 17 00:00:00 2001 From: Joe Julian Date: Thu, 22 May 2014 10:24:22 -0700 Subject: doc: Fix peer probe deficiencies Added the command to probe the first server to assign it a hostname Change-Id: I9c25f1ce3175e1ffe024f6b6ae14a4526228489a BUG: 1095594 Reviewed-on: http://review.gluster.org/7852 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- .../en-US/markdown/admin_storage_pools.md | 29 +++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'doc/admin-guide/en-US') diff --git a/doc/admin-guide/en-US/markdown/admin_storage_pools.md b/doc/admin-guide/en-US/markdown/admin_storage_pools.md index a0d8837ffe2..de181f58c18 100644 --- a/doc/admin-guide/en-US/markdown/admin_storage_pools.md +++ b/doc/admin-guide/en-US/markdown/admin_storage_pools.md @@ -9,7 +9,7 @@ the first server, the storage pool consists of that server alone. To add additional storage servers to the storage pool, you can use the probe command from a storage server that is already trusted. -> **Note**: Do not self-probe the first server/localhost. +> **Note**: Do not self-probe the first server/localhost from itself. The GlusterFS service must be running on all storage servers that you want to add to the storage pool. See ? for more information. @@ -19,8 +19,8 @@ want to add to the storage pool. See ? for more information. To create a trusted storage pool, add servers to the trusted storage pool -1. **The hostnames used to create the storage pool must be resolvable by - DNS** +1. **The servers used to create the storage pool must be resolvable by + hostname.** To add a server to the storage pool: @@ -56,6 +56,29 @@ pool Uuid: 3e0caba-9df7-4f66-8e5d-cbc348f29ff7 State: Peer in Cluster (Connected) + 3. **Assign the hostname to the first server by probing it from another server (not the server used in steps 1 and 2):** + + server2# gluster peer probe server1 + Probe successful + +4. **Verify the peer status from the same server you used in step 3 using the following + command:** + + server2# gluster peer status + Number of Peers: 3 + + Hostname: server1 + Uuid: ceed91d5-e8d1-434d-9d47-63e914c93424 + State: Peer in Cluster (Connected) + + Hostname: server3 + Uuid: 1e0ca3aa-9ef7-4f66-8f15-cbc348f29ff7 + State: Peer in Cluster (Connected) + + Hostname: server4 + Uuid: 3e0caba-9df7-4f66-8e5d-cbc348f29ff7 + State: Peer in Cluster (Connected) + ##Removing Servers from the Trusted Storage Pool To remove a server from the storage pool: -- cgit