Erasure Coding Ratio Configuration
The default Erasure Coding configuration comes by default in a cluster. Refer to the following steps for any custom Erasure Coding EC needed in a cluster:
Log in to Swarm Storage UI.
Navigate to Settings > Cluster from the left navigation pane.
Scroll down to the Policy section and update the value for the
policy.ecEncoding
.
Total number of required nodes are calculated using (k + p) / p formula where k denotes the number of data segments and p denotes parity. Ā Based on this formula, administrators can determine the number of nodes required using the default EC protection level of ānodeā.Ā
Note
For example, a 4:2 (k:p) encoding yields:
(4 + 2) / 2 = 3 nodes required
Data is still fully protected in the event 1 node out of a 4 node cluster is offline. Ā See Implementing EC Encoding Policy for details.
Ā© DataCore Software Corporation. Ā· https://www.datacore.com Ā· All rights reserved.