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 attach a file system to the cluster. If you require a larger storage capacity and higher storage performance, you can attach more file systems to run larger-scale computing jobs. This topic describes how to attach a file system to and detach a file system from an E-HPC cluster.
Prerequisites
The storage resource must already exist and be in the same VPC as the cluster.
E-HPC clusters support attaching NAS and CPFS file systems. You can select a type based on your requirements.
Attach NAS: You must activate the NAS service and create a NAS file system and a mount target. For more information, see Create a file system and Add a mount target.
Attach CPFS: You must activate the CPFS service and create a CPFS file system, a protocol service, and an export directory. For more information, see Create a file system, Manage protocol services, and Manage export directories.
Attach a file system
By default, file systems are attached to the /ehpcdata, /home, and /opt directories. You can attach new file systems to other directories in the cluster.
After you attach 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.
-
Go to the Cluster Details page.
-
Log on to the E-HPC console.
-
In the left part of the top navigation bar, select a region.
-
In the left-side navigation pane, click Cluster.
-
On the Cluster List page, find the cluster that you want to manage and click the Cluster Name.
-
-
In the left-side navigation pane, click Shared Storage.
Click Attach Storage Resource.
In the panel that appears, configure the parameters and click OK.
The following table describes the parameters:
Parameter
Description
Mount Directory
The mount path on a cluster node, such as /mnt.
ImportantThe 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.
File System Type
Valid values:
General-purpose NAS
Extreme NAS
CPFS
For more information, see Select file systems.
File System
The ID of the file system.
Mount Point
The endpoint of the mount target of the file system.
File System Directory
The path of the export directory on the shared file system (such as NAS or CPFS) to attach.
Mount Options
Select the mount protocol. You can use Mount over NFSv3 or Mount over NFSv4.
Detach a file system
You can detach the file system that you no longer need.
You cannot detach the file systems attached to the /ehpcdata, /home, and /opt directories.
-
Go to the Cluster Details page.
-
Log on to the E-HPC console.
-
In the left part of the top navigation bar, select a region.
-
In the left-side navigation pane, click Cluster.
-
On the Cluster List page, find the cluster that you want to manage and click the Cluster Name.
-
-
In the left-side navigation pane, click Shared Storage.
Find the directory you want to detach, click Detach in the Operation column, and then follow the on-screen instructions.
References
You can also call the following API operations to manage shared storage of a cluster:
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 View the monitoring information.