Configuring Replication ParametersThe cluster replication parameters define
To check the current replication parameters applied to a cluster, you can use the
# pstorage get-attr /pstorage/pcs1 connected to MDS#1 File: '/pstorage/pcs1' Attributes: ... replicas=1:1 ... As you can see, the normal and minimum numbers of chunk replicas are set to 1. Initially, any cluster is configured to have only 1 replica per each data chunk, which is sufficient to evaluate the Parallels Cloud Storage functionality using one server only. In production, however, to provide high availability for your data, you are recommended to
Such a configuration requires at least 3 chunk servers to be set up in the cluster.
To configure the current replication parameters so that they apply to all virtual machines and Containers in your cluster, you can run the
# pstorage set-attr -R /pstorage/pcs1 replicas=3 The minimum number of replicas will be automatically set to 2 by default.
Note:
For information on how the minimum number of replicas is calculated, see the
Along with applying replication parameters to the entire contents of your cluster, you can also configure them for specific directories and files. For example: # pstorage set-attr -R /pstorage/pcs1/private/101 replicas=3 |
||||
|