All user data, scheduler data, and job data of an Elastic High Performance Computing (E-HPC) cluster are stored in shared file systems. All nodes in the cluster can access the shared file systems. This improves the shared storage capability of the cluster. When you create an E-HPC cluster, you must mount a file system to the cluster. If you need more storage resources, you can mount new storage resources to the cluster to relieve the performance and capacity pressure of the single file system and support the computing tasks of a larger cluster. This topic describes how to mount new storage resources to an E-HPC cluster after the cluster is created. This topic also describes how to unmount storage resources from an E-HPC cluster.
Prerequisites
File Storage NAS (NAS) is activated. A NAS file system and a mount target are created. The NAS file system must reside in the same VPC as the E-HPC cluster. For more information, see Create a file system and Create a mount target.
The image of the cluster is a public image or a shared image.
ImportantIf a file system is mounted to a cluster that uses a custom image, the file system does not run as expected.
Mount a file system to a cluster
By default, the /ehpcdata
, /home
, and /opt
directories of an E-HPC cluster have file systems mounted. You can mount new file systems to other directories of the cluster.
After you mount a new file system to other directories of an E-HPC cluster, the new file system is automatically mounted to new compute nodes when new compute nodes are added to the cluster. The new file system is not mounted to existing compute nodes.
Open the Storage page.
Log on to the E-HPC console.
In the top navigation bar, select a region.
In the left-side navigation pane, choose
.
Select the cluster to which you want to mount a file system from the Cluster drop-down list and then click the Resource Management tab.
On the Resource Management tab, click Mount Storage Resource.
In the panel that appears, configure parameters and then click OK. The following table describes the parameters.
Parameter
Description
Local Directory
The directory in the cluster to which you want to mount the file system.
The content in the mount directory is overwritten by the content of the file system. Specify this parameter with caution. If the cluster does not have a corresponding directory, E-HPC automatically creates a directory.
Storage Instance ID
The ID of the file system.
Mount Point Address
The endpoint of the mount target of the file system.
Remote Mounting Directory
The directory of the file system that you want to mount to the cluster.
Mount Configurations
The version number of the Network File System (NFS) protocol that is used to mount the file system.
Unmount a file system from the cluster
You can unmount the file system that you no longer need.
Choose Resource Management > Storage in the left-side navigation pane of the E-HPC console.
Select the cluster from the Cluster drop-down list and then click the Resource Management tab.
Select the directory to which the file system is mounted, click Dismount Storage Resource, and then follow the on-screen instructions to delete the file system.
ImportantYou cannot unmount file systems from the
/ehpcdata
,/home
, or/opt
directory.
References
You can view the performance and capacity data of the shared storage in a cluster within a time range in the E-HPC console to monitor the usage of storage resources. For more information, see Monitor storage resources.