Create trustworthy storage pools (4)

Source: Internet
Author: User
Tags glusterfs gluster

Before configuring a glusterfs volume, you need to create an available storage pool consisting of network servers that contain the volume. A storage pool is a trusted network storage server. When you start the first server, the storage pool consists of a group of servers. To add an additional storage server to the storage pool, you can use the probe command in a trusted storage server.

Note: The glusterfs service must run on all storage servers to be added to the storage pool. For more information, see start the glusterfs service.

 

Create a trusted storage pool

1. Use probe to add servers to the storage pool
To add a server to the storage pool, run the following command:

 
$ GlusterPeer probe Server

 

For example, to create a storage pool composed of four servers, add three servers from server1 to the storage pool:

 
$ GlusterPeer probe server2probe successful$ GlusterPeer probe server3probe successful$ GlusterPeer probe server4probe successful

Note: Do not use probe to add yourself to the storage pool on this server.

 

2. Run the following command to verify the adding status from server1:

 
$ GlusterPeer statusnumber of peers:3Hostname:192.168.1.92UUID: 5e987133-16dd-43c2-835b-08b7d55e94e5state: PeerInCluster (connected) hostname:192.168.1.93UUID: 1e0ca3aa-9ef7-4f66-8f15-Cbc348f29ff7state: pfde43e-2008-03-4e33-4f77-Ed3984da21aestate: PeerInCluster (connected)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.