2019-07-30 22:33:44 +03:00
|
|
|
{
|
|
|
|
"location": "variables.location",
|
|
|
|
"resource_group": "variables.resource_group",
|
|
|
|
"install_from": "headnode",
|
|
|
|
"admin_user": "hpcadmin",
|
|
|
|
"variables" : {
|
|
|
|
"image" : "OpenLogic:CentOS:7.6:latest",
|
|
|
|
"hpc_image": "OpenLogic:CentOS-HPC:7.6:latest",
|
|
|
|
"location": "<NOT-SET>",
|
|
|
|
"resource_group": "<NOT-SET>",
|
|
|
|
"vnet_resource_group": "variables.resource_group",
|
|
|
|
"nv_image": "MicrosoftWindowsDesktop:Windows-10:rs5-pron:latest",
|
|
|
|
"win_password": "<NOT-SET>",
|
2019-07-30 22:51:11 +03:00
|
|
|
"apps_storage_account": "<NOT-SET>"
|
2019-07-30 22:33:44 +03:00
|
|
|
},
|
|
|
|
"vnet": {
|
|
|
|
"resource_group": "variables.vnet_resource_group",
|
|
|
|
"name": "hpcvnet",
|
|
|
|
"address_prefix": "10.2.0.0/20",
|
|
|
|
"subnets": {
|
|
|
|
"admin": "10.2.1.0/24",
|
|
|
|
"viz": "10.2.2.0/24",
|
|
|
|
"compute": "10.2.4.0/22",
|
|
|
|
"storage": "10.2.8.0/22"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"storage": {
|
|
|
|
"hpcnetapp": {
|
|
|
|
"type": "anf",
|
|
|
|
"subnet": "storage",
|
|
|
|
"pools": {
|
|
|
|
"anfpool" : {
|
|
|
|
"size": 4,
|
|
|
|
"service_level": "Premium",
|
|
|
|
"volumes": {
|
|
|
|
"anfvol1" : {
|
2019-10-04 17:37:07 +03:00
|
|
|
"size": 4,
|
2019-07-30 22:33:44 +03:00
|
|
|
"mount": "/netapps"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resources": {
|
|
|
|
"headnode": {
|
|
|
|
"type": "vm",
|
|
|
|
"vm_type": "Standard_D8s_v3",
|
|
|
|
"public_ip": true,
|
|
|
|
"image": "variables.image",
|
|
|
|
"subnet": "compute",
|
|
|
|
"tags": [
|
|
|
|
"cndefault",
|
|
|
|
"pbsserver",
|
|
|
|
"loginnode",
|
|
|
|
"disable-selinux",
|
2019-09-19 01:02:33 +03:00
|
|
|
"mount-anf",
|
2019-07-30 22:33:44 +03:00
|
|
|
"replace_nfs_with_anf",
|
|
|
|
"localuser"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"compute": {
|
|
|
|
"type": "vmss",
|
|
|
|
"vm_type": "Standard_HC44rs",
|
|
|
|
"instances": 2,
|
|
|
|
"image": "variables.hpc_image",
|
|
|
|
"subnet": "compute",
|
|
|
|
"tags": [
|
|
|
|
"pbsclient",
|
|
|
|
"cndefault",
|
|
|
|
"disable-selinux",
|
2019-09-19 01:02:33 +03:00
|
|
|
"mount-anf",
|
2019-07-30 22:33:44 +03:00
|
|
|
"replace_nfs_with_anf",
|
|
|
|
"localuser"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"nvnode": {
|
|
|
|
"type": "vm",
|
|
|
|
"public_ip": "true",
|
|
|
|
"password": "variables.win_password",
|
|
|
|
"vm_type": "Standard_NV6",
|
|
|
|
"image": "variables.nv_image",
|
|
|
|
"subnet": "viz",
|
|
|
|
"tags": [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install": [
|
|
|
|
{
|
|
|
|
"script": "disable-selinux.sh",
|
|
|
|
"tag": "disable-selinux",
|
|
|
|
"sudo": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"script": "cndefault.sh",
|
|
|
|
"tag": "cndefault",
|
|
|
|
"sudo": true
|
|
|
|
},
|
|
|
|
{
|
2019-09-19 01:02:33 +03:00
|
|
|
"script": "auto_netappfiles_mount.sh",
|
|
|
|
"tag": "mount-anf",
|
2019-07-30 22:33:44 +03:00
|
|
|
"sudo": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"script": "replace_nfs_with_anf.sh",
|
|
|
|
"args": [
|
|
|
|
"/netapps"
|
|
|
|
],
|
|
|
|
"tag": "replace_nfs_with_anf",
|
|
|
|
"sudo": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"script": "localuser.sh",
|
|
|
|
"args": [
|
|
|
|
"$(<hostlists/tags/loginnode)"
|
|
|
|
],
|
|
|
|
"tag": "localuser",
|
|
|
|
"sudo": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"script": "pbsdownload.sh",
|
|
|
|
"tag": "loginnode",
|
|
|
|
"sudo": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"script": "pbsserver.sh",
|
|
|
|
"copy": [
|
|
|
|
"pbspro_19.1.1.centos7/pbspro-server-19.1.1-0.x86_64.rpm"
|
|
|
|
],
|
|
|
|
"tag": "pbsserver",
|
|
|
|
"sudo": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"script": "pbsclient.sh",
|
|
|
|
"args": [
|
|
|
|
"$(<hostlists/tags/pbsserver)"
|
|
|
|
],
|
|
|
|
"copy": [
|
|
|
|
"pbspro_19.1.1.centos7/pbspro-execution-19.1.1-0.x86_64.rpm"
|
|
|
|
],
|
|
|
|
"tag": "pbsclient",
|
|
|
|
"sudo": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"post_install": {
|
|
|
|
"script": "setup_win_rgs.sh",
|
|
|
|
"args": [
|
|
|
|
"variables.resource_group",
|
|
|
|
"nvnode",
|
|
|
|
"headnode",
|
2019-07-30 22:51:11 +03:00
|
|
|
"variables.apps_storage_account"
|
2019-07-30 22:33:44 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|