All Products
Search
Document Center

Elastic High Performance Computing:Manage shared storage

Last Updated:Apr 19, 2024

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

  • Apsara 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.

    Important

    If 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.

Important

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.

  1. Open the Storage page.

    1. Log on to the E-HPC console.

    2. In the top navigation bar, select a region.

    3. In the left-side navigation pane, choose Resource Management > Storage.

  2. 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.

  3. On the Resource Management tab, click Mount Storage Resource.

  4. 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.

  1. Choose Resource Management > Storage in the left-side navigation pane of the E-HPC console.

  2. Select the cluster from the Cluster drop-down list and then click the Resource Management tab.

  3. 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.

    Important

    You cannot unmount file systems from the /ehpcdata, /home, or /opt directories.

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.