Chapter 7. Setting up Trusted Storage Pools

Before you can configure a Red Hat Storage volume, you must create a trusted storage pool consisting of the storage servers that provide bricks to a volume.
A storage pool is a trusted network of storage servers. When you start 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.


You must not self-probe the first server/localhost. Probing the first server/localhost displays an error message as it is part of the trusted storage pool.
The glusterd service must be running on all storage servers that you want to add to the storage pool. See Chapter 6, Managing the glusterd Service for more information.

7.1. Adding Servers to Trusted Storage Pool

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.
    To add a server to the storage pool:
    # gluster peer probe server
    For example, to create a trusted storage pool of four servers, add three servers to the storage pool from server1:
    # gluster peer probe server2
    Probe successful
    # gluster peer probe server3
    Probe successful
    # gluster peer probe server4
    Probe successful
  2. Verify the peer status from all servers using the following command:
    # gluster peer status
    Number of Peers: 3
    Hostname: server2
    Uuid: 5e987bda-16dd-43c2-835b-08b7d55e94e5
    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)