Connecting to an Autoscaling Cluster Head Node

You can connect to the head node of an autoscaling cluster using SSH. You may, for example, want to view the status of the cluster using the sinfo command. You can do this from your local machine or a virtual desktop on which you can access Ansys Gateway powered by AWS.

To connect to a cluster head node:

  1. Open the project space containing the autoscaling cluster.

  2. Click the autoscaling cluster to display its details.

  3. Ensure that the cluster is in the Running state. If it is stopped, you must start it.

  4. On the Details tab, in the Head node section, click Connect.

    A connection dialog is displayed. For example:

  5. Use the information in the dialog to connect to the head node using SSH. For example:

    Note: The Hostname value can only be used if you are connecting to the head node from another virtual machine within the same project space.
  6. Once connected you can issue commands. For example, for a Slurm cluster, you can use sinfo to display a list of queues and the status of cluster nodes:

Note: When you create a virtual desktop in a project space that contains an autoscaling cluster, a connection between the virtual desktop and autoscaling cluster is automatically established. This enables you to submit Slurm jobs from the virtual desktop to the autoscaling cluster without the need to connect to the head node (where the Slurm Controller runs).

See also: