我要评分
获取效率
正确性
完整性
易理解

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
Table 1 Parameter description

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:
  • In the bdm.conf configuration file, path/to/your/disk is the default device managed by the BDM. Change it based on site requirements. Generally, the WAL and DB partitions of Ceph use part of the NVMe space, and you need to manually create the NVMe partition of BDM.
  • In the current version, the Cache Cluster Manager (CCM) must have two partitions.
  • In the current version, ensure that the WCachePool has 200 GB space, the IndexPool has 700 GB space, and the RCachePool uses the remaining space.

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