Setting Up Chunk Servers
To set up a chunk server on the node:
- Log in to the hardware node, that you want to act as a chunk server, as root or as a user with root privileges.
-
Download and install the following RPM packages vstorage-ctl, vstorage-libsshared, and vstorage-chunk-server with the following command:
# yum install vstorage-chunk-server
-
Authenticate the server in the cluster. This step is required only if the node where you are setting up the chunk server has never been authenticated in the cluster before. If you have already set up MDS server on this node, you can skip this step, otherwise authenticate the server in the cluster with the following command:
# vstorage -c cluster1 auth-node
-
To create the chunk server, use the
vstorage make-cs
command, for example:# vstorage -c cluster1 make-cs -r /vz/cluster1-cs
-
Start the chunk management service (
vstorage-csd
) and configure it to start automatically when the chunk server boots:# systemctl start vstorage-csd.target