Install Slurm on the VM
Install Slurm on the Linux virtual machine and configure the VM per your site's environment. Follow the instructions in the Slurm Quick Start Administrator Guide.
A startup script is provided during the creation of the cloud environment. This script (cloud-init script) is executed after a cloud node is deployed and is used to set up the system environment so that nodes deployed in the cloud can communicate with the workload manager. A service specifically designed for cloud instance initialization is cloud-init and is utilized by NavOps when booting cloud nodes, therefore it must be installed on the VM. For more information about installing cloud-init, refer to the Cloudinit Documentation.
-
SSH into the VM using the public IP address of the VM:
ssh IPV4PublicIP
where IPV4PublicIP is the public IP address of the virtual machine.Figure 1. Bursting Virtual Machine
-
Enter the command:
sudo -i
- Copy the Slurm installation package to the VM.
- Using the Slurm Quick Start Administration Guide, install and configure the system. Make the path same as the one on the Head Node. The scaling process uses a lot of data from the server, this make it easier to run the cloud-init and create the environment.
- Configure the VM for your site's environment such as mounting file systems, connecting it to the authentication service, installing any applications, etc.
-
Check if cloud-init is installed. For example:
yum list installed | grep cloud
-
If cloud-init is not present, install it. For example:
yum install cloud-init
- Submit a job and test to ensure it is working as expected.