#
2. Configuring a SLURM Standalone Cluster with Flight Profile
A standalone cluster runs on just one instance, create one before going through these instructions.
Log in to the node.
#
Parse Node
Parse the node with the command
flight hunter parse
.- Add the option
--prefix <name>
to set a name for every selected node. - Add the option
--start <number>
to add a number to every node name, that increments with each one. - For example:
flight hunter parse --prefix standalone --start 1
This will generate a list, for example:
[root@chead1 ~]# flight hunter parse --prefix standalone --start 1 Select the nodes that you wish to save: (Scroll for more nodes) ‣ ⬡ chead1.novalocal (10.50.0.13)
Since this is a standalone cluster, there should only be one node in the list.
Scroll the list with the up and down arrow keys, select a node by pressing space, and confirm with the enter key.
- Add the option
#
Add genders
- Optionally, you may add genders to the newly parsed node. For example, in the case that the node should have the gender
standalone
andall
then I would run the command:flight hunter modify-groups --add standalone,all standalone1
#
Apply Profile
Configure profile
flight profile configure
This brings up a UI, where several options need to be set. Use up and down arrow keys to scroll through options and enter to move to the next option. Options in brackets coloured yellow are the default options that will be applied if nothing is entered.
- Cluster type: The type of cluster setup needed, in this case select
Slurm Standalone
. - Cluster name: The name of the cluster.
- Default user: The user that you log in with.
- Set user password: Set a password to be used for the chosen default user.
- IP or FQDN for Web Access: As described here, this could be the public IP or public hostname.
- Cluster type: The type of cluster setup needed, in this case select
Apply an identity by running the command
flight profile apply
, E.g.flight profile apply standalone1 all-in-one
You can check all available identities for the current profile with
flight profile identities
Wait for the identity to finish applying. You can check the status of all nodes with
flight profile list
.