Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

VMSS Round Robin mount HPC Cache performance

This is a basic setup to start VMSS and round robin mount Azure HPC Cache.

Deployment Instructions

To run the example, execute the following instructions. This assumes use of Azure Cloud Shell. If you are installing into your own environment, you will need to follow the instructions to setup terraform for the Azure environment.

  1. browse to https://shell.azure.com

  2. Specify your subscription by running this command with your subscription ID: az account set --subscription YOUR_SUBSCRIPTION_ID. You will need to run this every time after restarting your shell, otherwise it may default you to the wrong subscription, and you will see an error similar to azurerm_public_ip.vm is empty tuple.

  3. double check your HPC Cache prerequisites

  4. get the terraform examples

mkdir tf
cd tf
git init
git remote add origin -f https://github.com/Azure/Avere.git
git config core.sparsecheckout true
echo "src/terraform/*" >> .git/info/sparse-checkout
git pull origin main
  1. cd src/terraform/examples/HPC\ Cache/vmss

  2. code main.tf to edit the local variables section at the top of the file, to customize to your preferences

  3. execute terraform init in the directory of main.tf.

  4. execute terraform apply -auto-approve to build the HPC Cache cluster

Once installed you will be able to see the VMSS nodes mounted on the HPC Cache.

When you are done using the cluster, you can destroy it by running terraform destroy -auto-approve or just delete the resource groups created.