Skip to content

Latest commit

 

History

History

3-filers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

HPC Cache Deployment with 3 NFS Filers

This example shows how to deploy a render network, controller, and HPC Cache with 3 filers as shown in the diagram below:

The architecture

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/3-filers

  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 mount the HPC Cache cluster, using the according to the mount_addresses output and following the documentation.

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