Add Hosts and Create a Cluster
Before using the platform, you need to create a cluster. This guide explains how to quickly add hosts and create an Fsched cluster from those hosts.
Prerequisites
- You have the platform administrator account and login URL, and you are logged in.
- You have prepared at least two hosts, and you have credentials for a user with
sudoprivileges on those hosts. - Hosts have the minimum required dependencies installed. See Install Minimum Node Dependencies.
- A subnet has been created. See Create a Subnet.
Add Hosts
-
Log in to the platform.
-
In the left sidebar, click Host Management.
-
On the Host Management page, click Add Host.
-
On the Add Host page, fill in the host configuration:
Parameter Example Description Billing type Subscription Host billing method. Subscription is used as the example here. Subnet su-1723xxxxxx The subnet where the host resides. The host IP address must fall within the subnet CIDR block. Host group defaultNodeGroup Hosts can be grouped and authorized to users by group. Select the group this host belongs to. Use the default host group in this example. IP:SSH port 192.168.1.[1-10]:22 Enter a host IP (or IP range) and port, then press Enter to confirm. Login credential Password or key Provide the username/password/key. If the user is not root, the user must be able to switch torootwithout a password.Keep other settings as default.
-
Click Confirm.
-
Wait 5 to 15 minutes. On the Host Management page, check the status of the newly added hosts. After they move from creating to running, proceed to the next step.
Create a Cluster
-
On the home page under Quick Navigation, select Create Cluster.
-
Choose a cluster template, then click Use.
-
On the Create Cluster page, fill in the hardware configuration:
Section Parameter Description Cluster type Fsched Create a cluster with the Fastone scheduler. Compute partition Node configuration Select one or more nodes to join the compute partition. Nodes in this partition execute HPC workloads. Login partition Node configuration Optional. Select one or more nodes to join the login partition. Nodes in this partition are used for user logins and job submission. Head partition Node configuration Required. Select one node to join the head partition. Nodes in the head partition are responsible for job scheduling. Keep other settings as default.
-
At the bottom of the pinned configuration summary on the right, click Submit.
Result
Wait 5 to 15 minutes. On the cluster management page, check the new cluster status. If it is running, the cluster has been created successfully.