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
File Storage NAS (NAS) is activated, and a NAS file system and a mount target are created. The NAS file system resides in the same virtual private cloud (VPC) as the E-HPC cluster. For more information, see Create a file system and Create a mount target.
Attach a file system
By default, the /ehpcdata, /home, and /opt directories of an E-HPC cluster have a file system mounted. You can attach new file systems to other directories of 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 ID.
In the left-side navigation pane, click Shared Storage.
Click Attach Storage Resource.
In the panel that appears, configure the parameters and then click Confirm.
The following table describes the parameters:
Parameter
Description
Mount 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.
File System Type
Valid values:
General-purpose NAS
Extreme NAS
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 directory of the file system that you want to mount to the cluster.
Mount Options
The protocol based on which the file system is mounted. Valid values: Mount over NFSv3 and Mount over NFSv4.
Detach a file system
You can detach the file system that you no longer need.
You cannot unmount file systems from 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 ID.
In the left-side navigation pane, click Shared Storage.
Select the directory from which you want to unmount a file system, click Detach in the Actions column, and follow the on-screen instructions to unmount the file system.
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.