nodelist.txt
Set the values of hostname, nodeid, ip, local_ipv4_addr, public_ipv4_addr, cluster_ipv4_addr, pt_num, pg_num, device:id:0, device:id:1, zk_server_on, and ccm_monitor in sequential order in the nodelist.txt file and save the file to /home.
ceph1 1 90.90.26.86 192.168.1.86 192.168.1.86 192.168.2.86 180 180 nvme0n1p13 nvme1n1p13 1 1 ceph2 2 90.90.26.87 192.168.1.87 192.168.1.87 192.168.2.87 180 180 nvme0n1p13 nvme1n1p13 1 1 ceph3 3 90.90.26.88 192.168.1.88 192.168.1.88 192.168.2.88 180 180 nvme0n1p13 nvme1n1p13 1 1
Parameter |
Description |
Example Value |
|---|---|---|
hostname |
Host name |
ceph1 |
nodeid |
Node ID |
1 |
ip |
IP address of the current node |
90.90.26.86 |
local_ipv4_addr |
IP address for communication between the Global Cache client and server |
192.168.1.86 |
public_ipv4_addr |
IP address for connecting the Global Cache process to the ZooKeeper cluster |
192.168.1.86 |
cluster_ipv4_addr |
IP address for connecting to the BDM of the Global Cache server |
192.168.2.86 |
pt_num |
Number of partitions (number of drives x 30) |
For a three-node cluster: 180 |
pg_num |
Number of position groups (number of drives x 30) |
For a three-node cluster: 180 |
device:id:0 |
Drive partition managed by the BDM
NOTICE:
|
nvme0n1p13 |
device:id:1 |
Drive partition managed by the BDM |
nvme1n1p13 |
zk_server_on |
Specifies whether the current node is used as the ZooKeeper server. 1 indicates yes, and 0 indicates no. |
1 |
ccm_monitor |
Specifies whether the current node is used to deploy CCM. 1 indicates yes, and 0 indicates no. |
1 |