Associating a file system with cloud services nodes

After you designate the cloud services nodes, you must associate an IBM Spectrum Scale™ file system with these nodes.

Before you begin, ensure that cloud service nodes are designated. For more information, see Designating the cloud services nodes.
Note: Start of changeWhile associating a file system with a node class, you can use pre-created vaults/containers.End of change
To associate a file system with the cloud service nodes, issue a command according to this syntax:
mmcloudgateway filesystem create --cloud-nodeclass CloudNodeClass --filesystem FileSystem 
--container-prefix ContainerPrefix [--override-container-name] [--thumbnail-size ThumbnailSize]
For example, to associate the file system, /dev/gpfs0, with the node class, TCTNodeClass1, and with the thumbnail size 256, issue the following command. The command is all on one line:
mmcloudgateway filesystem create --cloud-nodeclass FirstCloud --filesystem /dev/gpfs0 
--container-prefix  multinode --thumbnail-size 256
Start of changeFor WORM solutions, to associate the file system, /dev/gpfs0, with the node class, TCTNodeClass2, with a thumbnail size of 256, issue the following command. The command is all on one line:
mmcloudgateway filesystem create --cloud-nodeclass TCTNodeClass2 --filesystem /dev/gpfs0
--container-prefix wormone --thumbnail-size 256
The system displays an output similar to this:
mmcloudgateway: Sending the command to all nodes starting with jupiter-vm761.pok.stglabs.ibm.com
mmcloudgateway: This may take a while...
mmcloudgateway: Command completed successfully on jupiter-vm761.pok.stglabs.ibm.com.
mmcloudgateway: Sending the command to the next node jupiter-vm643.pok.stglabs.ibm.com.
mmcloudgateway: Command completed successfully on jupiter-vm643.pok.stglabs.ibm.com.
mmcloudgateway: Asynchronously propagating the cluster configuration data to all affected nodes.
mmcloudgateway: Command completed.
End of change
To list the file system associated with the TCTNodeClass1 class, issue this command:
mmcloudgateway filesystem list --cloud-nodeclass TCTNodeClass1
You need to perform this task only on any node that is designated as a cloud service node. Even though cloud services support multiple file systems, you should associate only one file system with a node class..

Next step: Creating a cloud storage account..