Attach and detach shared storage

更新时间:
复制 MD 格式

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

Important

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.

  1. Go to the Cluster Details page.

    1. Log on to the E-HPC console.

    2. In the left part of the top navigation bar, select a region.

    3. In the left-side navigation pane, click Cluster.

    4. On the Cluster List page, find the cluster that you want to manage and click the Cluster Name.

  2. In the left-side navigation pane, click Shared Storage.

  3. Click Attach Storage Resource.

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

    Important

    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

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

Important

You cannot detach the file systems attached to the /ehpcdata, /home, and /opt directories.

  1. Go to the Cluster Details page.

    1. Log on to the E-HPC console.

    2. In the left part of the top navigation bar, select a region.

    3. In the left-side navigation pane, click Cluster.

    4. On the Cluster List page, find the cluster that you want to manage and click the Cluster Name.

  2. In the left-side navigation pane, click Shared Storage.

  3. Find the directory you want to detach, click Detach in the Operation column, and then follow the on-screen instructions.

References