Connecting to remote IBM Storage Scale file systems
In IBM Storage Fusion, from a containerized workload, you can access and store data from existing IBM Storage Scale clusters.
Before you begin
- Firewall requirements
-
- For details of IBM Spectrum Scale container native storage access firewall requirements, see Network and firewall requirements.
- Grant Amazon Web Services Storage Cluster filesystem to be accessible for IBM Storage Fusion in ROSA environment, see AWS storage cluster.
- Supported networking method
- The supported networking method for IBM Spectrum Scale container native storage access is CNI plug-in for the core pods. As an admin, configure a suitable CNI plugin. For more information about configuration, see Container Network Interface (CNI) configuration.
- The IBM Storage Fusion admin must exchange
information with the IBM Storage Scale admin, and
provide instructions on how the IBM Storage Scale
admin must configure the file system sharing on the IBM Storage Scale side.
- As a OpenShift® Container Platform
administrator, confirm whether you configured IBM Storage Scale remote file system mounts during
the installation of IBM Storage Fusion. You can check
whether the IBM Storage Fusion user interface displays a
Remote file systems menu option in the left-navigation. Alternatively, run
the following command to check whether the
Global Data Platformvalue is set to true:oc describe spectrumfusion/spectrumfusion -n <fusion_namespace>A sample output that confirms theGlobal Data Platformvalue:Spec: Data Protection: Enable: false Global Data Platform: Enable: true Open Shift Data Foundation: Auto Upgrade: false Enable: false License: Accept: trueIf the value of the
Global Data Platform: Enableis false, then enable it from the IBM Storage Fusion user interface. For the procedure, see Global Data Platform - The IBM Storage Scale administrator must do a remote filesystem configuration on the IBM Storage Scale Container Storage Interface Driver storage cluster by following steps 1 to 6 of Storage cluster configuration for Container Storage Interface (CSI) on non-AWS environment (like on-premises).
- The
IBM Storage Scale administrator in turn provides
you the necessary information about cluster, file system, encryption algorithms. For instructions to
share, click Instructions link in the Add IBM Spectrum Scale file
system slide out pane. For the Instructions link, see Storage cluster. Note: The details include host name, port, Cluster ID, IBM Storage Scale certificate, user name, and password.
- You can enter cluster access credentials information that is provided by the IBM Storage Scale admin into the IBM Storage Fusion user interface, or place it into a CR by using YAML.
- Run the following precheck commands:
- Check whether the user that does the remote mount configuration has correct access rights:
/usr/lpp/mmfs/gui/cli/lsuser | grep ContainerOperator | grep CsiAdminBy default, the user passwords expire after 90 days. If the security policy of your organization permits it, use the
-e 1option on themkusercommand to create a user with a password that does not expire. Also, create a unique GUI user for each OpenShift Container Platform cluster on the same remote Scale cluster.If not present, create the user with both ContainerOperator and CsiAdmin roles./usr/lpp/mmfs/gui/cli/mkuser csi-storage-gui-user -p passw0rd -g CsiAdmin,ContainerOperator - Run the following command to ensure all the nodes of your cluster are active:
/usr/lpp/mmfs/bin/mmgetstate -aSample output:Node number Node name GPFS state 1 host1 active 2 host2 active 3 host3 activeIf any of the node is down, analysis the issue and start the node.
- Run the following command to validate whether the gpfsgui service is running:
systemctl status gpfsguiIf gui service has issues, stop and start the service:systemctl stop gpfsgui.service systemctl start gpfsgui.serviceLog in to the GUI of
scaleclusterby using the validated username and password. - To get more information about the cluster, run /usr/lpp/mmfs/bin/mmlscluster command.
- Check whether the user that does the remote mount configuration has correct access rights:
- As a OpenShift® Container Platform
administrator, confirm whether you configured IBM Storage Scale remote file system mounts during
the installation of IBM Storage Fusion. You can check
whether the IBM Storage Fusion user interface displays a
Remote file systems menu option in the left-navigation. Alternatively, run
the following command to check whether the
About this task
All the IBM Storage Scale commands are run by
the IBM Storage Scale administrator on the remote
IBM Storage Scale
cluster.
/usr/lpp/mmfs/bin/xxx