Skip to content

Creating an azure cluster via templates

Mayeul d'Avezac edited this page May 24, 2018 · 1 revision

The directory mpihello/SLURM_CentOS contains all the files necessary for creating a cluster.

The parameters file can be modified to choose machine types, number of nodes, etc. Creation can be done via:

az group deployment create --name GadgetCluster --resource-group Cloudbenchmark --template-file azuredeploy.json --parameters "@azuredeploy.parameters.json"

It is a good idea to first validate any change with:

 az group deployment validate --resource-group Cloudbenchmark --template-file azuredeploy.json --parameters "@azuredeploy.parameters.json"

The easiest way to ssh into the cluster is to find the vm in the azure portal and check it's IP address.

Note that the startup script must be available online. That means any change to it must first be uploaded. This does not lend itself well to debugging...

Clone this wiki locally