lib/hpcbase.pm

enable_and_start

Enables and starts given systemd service

master_node_names

Prepare master node names, so those names could be reused, for instance in config preparation, munge key distribution, etc. The naming follows general pattern of master-slave

slave_node_names

Prepare compute node names, so those names could be reused, for instance in config preparation, munge key distribution, etc. The naming follows general pattern of master-slave

cluster_names

Prepare all node names, so those names could be reused

distribute_munge_key

Distributes munge kyes across all cluster nodes

distribute_slurm_conf

Distributes slurm config across all cluster nodes

generate_and_distribute_ssh

Generates and distributes ssh keys across all cluster nodes

check_nodes_availability

Checks if all listed HPC cluster nodes are available (ping)

mount_nfs

Ensure correct dir is created, and correct NFS dir is mounted on SUT

prepare_user_and_group

Creating slurm user and group with some pre-defined ID