Rate This Document
Findability
Accuracy
Completeness
Readability

Description of bcm.xml

The configuration format of /opt/gcache/conf/bcm.xml is as follows:

<?xml version="1.0"?>
<bcm zk_server_list="ceph1:2182,ceph2:2182,ceph3:2182">
    <cluster id="1" zk_server_list="ceph1:2181,ceph2:2181,ceph3:2181">
        <pool id="751">
        </pool>
    </cluster>
</bcm>

The preceding labels are described as follows:

Label

Attribute

Description

bcm

zk_server_list

List of nodes in the BCM ZooKeeper service cluster. Each node consists of a host name and a port number. This item needs to be updated when a node is added to or removed from the cluster.

cluster

id

Global Cache cluster ID. The value ranges from 1 to 4. Currently, a maximum of four Global Cache clusters are supported. When a Global Cache cluster is added, add a cluster sub-label under bcm.

zk_server_list

List of CCM ZooKeeper cluster nodes in the Global Cache cluster

pool

id

Ceph pool ID. When a pool is added, add a pool sub-label under the corresponding cluster label and input the pool ID. The new pool must be empty.