Mounting GPFS remote mount on compute nodes
Learn how to mount a remote GPFS filesystem into compute nodes.
After an IBM Storage Scale cloud cluster is deployed for the first time by using the ./cloudkit create cluster command, the GPFS remote mount does not get mounted on a compute node from a storage node by default.
You must explicitly mount a GPFS file system on a compute node by using the cloudkit grant filesystem command.
Before you run the cloudkit grant filesystem command, make sure that both storage and compute nodes were created in the IBM Storage Scale cloud cluster environment.
To mount a GPFS file system on compute nodes, enter the following
command:
#./cloudkit grant filesystem
Example:
#./cloudkit grant filesystem
I: Logging at /root/scale-cloudkit/logs/cloudkit-1-6-2023_21-1-5.log
? Cloud platform name: GCP
? Select storage cluster name (cluster that owns and serves the file system): ibm-storage-scale1
? Compute cluster type: IBM-Storage-Scale-Compute-Cluster
? Select compute cluster name (cluster that needs access to filesystem): ibm-compute-scale
? Compute cluster management GUI username: administrator
? Compute cluster management GUI password: [? for help] ***********
? Remote filesystem mount point: /ibm/remotefs
? Storage cluster management GUI username: administrator
? Storage cluster management GUI password: [? for help] ***********
? Connectivity method to cloud: JumpHost
? Bastion/JumpHost instance login username: gcpuser
? Bastion/JumpHost instance public ip address: 1.1.1.1
? Bastion/JumpHost SSH private key file path (will be used only for configuration): /home/scaleuser/.ssh/id_ed25519
I: Obtaining IBM Storage Scale storage cluster definition.
I: Obtaining IBM Storage Scale compute cluster definition.
I: Updating firewall rule to allow traffic from storage subnet 'ibm-storage-scale1-strg-pvt-subnet-0'.
I: Updating firewall rule to allow traffic from compute subnet 'ibm-storage-scale1-strg-pvt-subnet-0'.
I: To grant access to "ibm-storage-scale1" filesystem again in the future, you can run:
cloudkit grant filesystem --cloud-platform GCP --resource-name ibm-storage-scale1-ibm-storage-scale --network-mode JumpHost --fs-mount-point /ibm/remotefs --storage-cluster-name ibm-storage-scale1 --strg-gui-username administrator --compute-cluster-mode IBM-Storage-Scale-Compute-Cluster --compute-cluster-name ibm-compute-scale --cmp-gui-username administrator --jumphost-login-user gcpuser --jumphost-public-ip 1.1.1.1 --jumphost-private-key-path /home/user_name/.ssh/id_ed25519 --project-id spectrum-scale-349401 --credential-jsonpath /home/user_name/.config/gcloud/legacy_credentials/example@spectrum-scale-11111.iam.gserviceaccount.com/adc.json
I: Initiating remote mount configuration.
100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (2/10, 39 it/hr)
I: IBM Storage Scale cluster configuration completed.
I: Access to IBM Storage Scale storage cluster 'ibm-storage-scale1' has been granted for compute cluster 'ibm-compute-scale'.