IBM Storage Scale Erasure Code Edition configurations

If you are using the installation toolkit, your initial recovery group, vdisk sets, and file systems are created. In that case, the commands that are shown here might be used to add additional recovery groups to your environment.

Note: Before you try to create recovery groups, ensure that the servers that are used to create recovery groups meet the mandatory requirements. For more information, see IBM Storage Scale Erasure Code Edition hardware requirements.
There are six steps to configuring IBM Storage Scale Erasure Code Edition. For details on each command and the supported arguments. see the mmvdisk command topic in the IBM Storage Scale RAID: Administration.
  1. Create a node class that contains a set of identical storage servers that belong to a single recovery group.
    mmvdisk nc create --nc <nodeclass-name>  -N <node-list>
  2. To maintain quorum availability in the IBM Storage Scale cluster, exercise caution when you recycle nodes. The example below uses "--recycle one" so that nodes are recycled one at a time.
    mmvdisk server configure --nc <nodeclass-name>  --recycle one
    Note: The --recycle one option restarts GPFS to enable new configuration one by one. Be careful when you use the --recycle all option. When you use this option, the mmvdisk command asks a confirmation on the console. If you provide "yes", the command restarts all the nodes at the same time, which might cause the cluster to lose quorum or file system availability.
  3. Create a recovery group:
    mmvdisk rg create --rg <rg-name>  --nc <nodeclass-name>
    Note:

    After Recovery Group is created and before creating the vdisks, use the following command to check the spare disk space and follow the Recommendations:

    mmvdisk rg list --da
    You can adjust the spare disk space by using the following command if needed:
    mmvdisk rg change --rg <rg-name> --da <da-name> --spare-pdisks N
  4. Define one or more vdisk sets:
    mmvdisk vs define --vdisk-set <vs-name>  --rg <rg-name> --code <erasure-code>
     --block-size <bsize> --set-size <set-size>
  5. Create the vdisk sets that you defined:
    mmvdisk vs create --vs <vs-name>
  6. Create and mount the file system:
    
    mmvdisk filesystem create --file-system <fs-name> --vs <vs-name>
    mmmount <fs-name> -N <nodes-to-mount-on>