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.
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.
-
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>
-
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.
-
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
-
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>
-
Create the vdisk sets that you defined:
mmvdisk vs create --vs <vs-name>
-
Create and mount the file system:
mmvdisk filesystem create --file-system <fs-name> --vs <vs-name>
mmmount <fs-name> -N <nodes-to-mount-on>