зеркало из https://github.com/Azure/azurehpc.git
135 строки
3.6 KiB
JSON
135 строки
3.6 KiB
JSON
{
|
|
"location": "variables.location",
|
|
"resource_group": "variables.resource_group",
|
|
"install_from": "headnode",
|
|
"admin_user": "hpcadmin",
|
|
"variables": {
|
|
"acr_repo": "<NOT-SET>",
|
|
"docker_user": "hpcuser",
|
|
"key_vault": "<NOT-SET>",
|
|
"monitor_workspace": "<NOT-SET>",
|
|
"hpc_image": "OpenLogic:CentOS-HPC:7.6:latest",
|
|
"location": "southcentralus",
|
|
"resource_group": "<NOT-SET>",
|
|
"vm_type": "Standard_HB60rs",
|
|
"vnet_resource_group": "variables.resource_group"
|
|
},
|
|
"vnet": {
|
|
"resource_group": "variables.vnet_resource_group",
|
|
"name": "hpcvnet",
|
|
"address_prefix": "10.2.0.0/20",
|
|
"subnets": {
|
|
"compute": "10.2.4.0/22"
|
|
}
|
|
},
|
|
"resources": {
|
|
"headnode": {
|
|
"type": "vm",
|
|
"vm_type": "variables.vm_type",
|
|
"public_ip": true,
|
|
"image": "variables.hpc_image",
|
|
"subnet": "compute",
|
|
"tags": [
|
|
"cndefault",
|
|
"nfsserver",
|
|
"pbsserver",
|
|
"loginnode",
|
|
"localuser",
|
|
"disable-selinux"
|
|
]
|
|
},
|
|
"compute": {
|
|
"type": "vmss",
|
|
"vm_type": "variables.vm_type",
|
|
"low_priority": true,
|
|
"instances": 1,
|
|
"image": "variables.hpc_image",
|
|
"subnet": "compute",
|
|
"tags": [
|
|
"nfsclient",
|
|
"pbsclient",
|
|
"cndefault",
|
|
"localuser",
|
|
"disable-selinux",
|
|
"container"
|
|
]
|
|
}
|
|
},
|
|
"install": [
|
|
{
|
|
"script": "disable-selinux.sh",
|
|
"tag": "disable-selinux",
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "cndefault.sh",
|
|
"tag": "cndefault",
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "nfsserver.sh",
|
|
"tag": "nfsserver",
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "nfsclient.sh",
|
|
"args": [
|
|
"$(<hostlists/tags/nfsserver)"
|
|
],
|
|
"tag": "nfsclient",
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "localuser.sh",
|
|
"args": [
|
|
"$(<hostlists/tags/nfsserver)"
|
|
],
|
|
"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
|
|
},
|
|
{
|
|
"script": "docker_setup.sh",
|
|
"sudo": true,
|
|
"tag": "container",
|
|
"args": [
|
|
"variables.acr_repo",
|
|
"acrkey.{{variables.acr_repo}}",
|
|
"variables.docker_user"
|
|
]
|
|
},
|
|
{
|
|
"script": "analytics.sh",
|
|
"tag": "container",
|
|
"sudo": true,
|
|
"args": [
|
|
"variables.monitor_workspace",
|
|
"secret.{{variables.key_vault}}.analytics-key"
|
|
]
|
|
}
|
|
]
|
|
}
|