Previous page

Next page

Locate page in Contents

Print this page

Setting Up a Chunk Server with a Journal on SSD

To set up a chunk server that stores a journal on an SSD drive, do the following:

  1. Log in to the Node you want to act as a chunk server as root or as a user with root privileges. The Node must have at least one hard disk drive (HDD) and one solid state drive (SSD).
  2. 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

  3. Make sure that cluster discovery is configured for the server. For details, see Configuring Cluster Discovery .
  4. Authenticate the server in the cluster, if it is not yet authenticated:

    # pstorage -c pcs1 auth-node

  5. If required, prepare the SSD as described in Preparing Disks for Parallels Cloud Storage .
  6. Create the chunk server configuration, repository, and the journal, for example:

    # pstorage -c pcs1 make-cs -r /pstorage/pcs1-cs -j /ssd/pcs1/cs1 -s 30720

    This command

    • Makes the /pstorage/pcs1-cs directory on your computer's hard disk drive and configures it for storing data chunks.
    • Configures your computer as a chunk server and joins it to the pcs1 Parallels Cloud Storage cluster.
    • Creates the journal in the /ssd/pcs1/cs1 directory on the SSD drive and allocates 30 GB of disk space to this journal.

      Note: When choosing a directory for the journal and deciding on its size, allocate the required space for the journal and make sure there is 1GB of SSD space per each 1TB of HDD space for checksums.

  7. Start the chunk server management service ( pstorage-csd ) and configure it to start automatically on the chunk server boot:

    # service pstorage-csd start

    # chkconfig pstorage-csd on