Mounting GPFS remote mount on compute nodes
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-26-7-2024_8-52-54.log
? Compute cluster type: IBM-Storage-Scale-Compute-Cluster
? Are you operating cloudkit in air-gapped or no-internet environment: No
? Select a storage cluster: ibm-stroage-scale | None | us-central1 | GCP
? Storage cluster management GUI username: administrator
? Storage cluster management GUI password: [? for help] ***********
? Select a compute cluster (cluster that needs access to filesystem): ibm-compute-scale | None | us-central1 | GCP
? Select filesystem mount point: /gpfs/fs1
? Compute cluster management GUI username: administrator
? Compute cluster management GUI password: [? for help] ***********
? Remote filesystem mount point: /ibm/remotefs
I: Obtaining IBM Storage Scale storage cluster definition.
I: Obtaining IBM Storage Scale compute cluster definition.
I: Updating compute security group 'ibm-compute-scale-cluster-tag' to allow traffic from storage security group 'ibm-stroage-scale-cluster-tag'.
I: Updating storage security group 'ibm-stroage-scale-cluster-tag' to allow traffic from compute security group 'ibm-compute-scale-cluster-tag'.
I: To grant access to "ibm-stroage-scale" filesystem again in the future, you can run:
cloudkit grant filesystem --airgap=false --region us-central1 --cloud-platform GCP --resource-name ibm-stroage-scale-ibm-compute-scale --resource-group-ref None --remotefs-mount-point /ibm/remotefs --storage-cluster-name ibm-stroage-scale --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-asg-ref https://www.googleapis.com/compute/v1/projects/spectrum-XXXX-XXXXX/zones/us-central1-c/instanceGroupManagers/ibm-stroage-scale-bastion-asg --jumphost-private-key-path /root/scale-cloudkit/data/gcp/ibm-stroage-scale/bastion_ssh_keys/id_rsa --jumphost-sec-ref ibm-stroage-scale-bastion-tag --project-id spectrum-XXXX-XXXXX --credential-jsonpath /root/.config/gcloud/legacy_credentials/test@spectrum-XXX-XXXXX.iam.gserviceaccount.com/adc.json
I: Initiating remote mount configuration.
100% |███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (10/10, 3 it/min)
I: IBM Storage Scale cluster configuration completed.
I: Access to IBM Storage Scale storage cluster 'ibm-stroage-scale' has been granted for compute cluster 'ibm-compute-scale'.