Stage 1: Preparing to Create a Chunk Server
To prepare for creating a chunk server, do the following:
-
Log in to the computer you want to act as a chunk server as root or as a user with root privileges.
-
Download and install the following RPM packages:
pstorage-ctl
,
pstorage-libs-shared
, and
pstorage-chunk-server
.
These packages are available in the Parallels Cloud Server remote repository (this repository is automatically configured for your system when you install Parallels Cloud Server) and can be installed with this command:
# yum install pstorage-chunk-server
-
Make sure that cluster discovery is configured for the server. For details, see
Configuring Cluster Discovery
.
-
Authenticate the server in the cluster. This step is required only if the server where you are setting up the chunk server has never been authenticated in the cluster before.
For example, you can skip this step if this is the same server where you set up the first MDS server. Otherwise, run the following command to authenticate the server in the cluster:
# pstorage -c pcs1 auth-node
Please enter password for cluster:
During its execution, the command asks you for the password to validate the server. Type the password you specified when setting up the first MDS server and press Enter.
pstorage
then compares the provided password with the one stored on the MDS server, and if the passwords match, successfully authenticates the server.
-
If the disk the CS will be created on has not been prepared for Parallels Cloud Storage, do so as described in
Preparing Disks for Parallels Cloud Storage
.
|