зеркало из https://github.com/Azure/azurehpc.git
162 строки
4.4 KiB
JSON
162 строки
4.4 KiB
JSON
{
|
|
"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>",
|
|
"apps_storage_account": "<NOT-SET>"
|
|
},
|
|
"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" : {
|
|
"size": 4,
|
|
"mount": "/netapps"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"resources": {
|
|
"headnode": {
|
|
"type": "vm",
|
|
"vm_type": "Standard_D8s_v3",
|
|
"public_ip": true,
|
|
"image": "variables.image",
|
|
"subnet": "compute",
|
|
"data_disks": [2048, 2048],
|
|
"tags": [
|
|
"cndefault",
|
|
"nfsserver",
|
|
"pbsserver",
|
|
"loginnode",
|
|
"localuser",
|
|
"disable-selinux",
|
|
"mount-anfpool"
|
|
]
|
|
},
|
|
"compute": {
|
|
"type": "vmss",
|
|
"vm_type": "Standard_HC44rs",
|
|
"instances": 2,
|
|
"image": "variables.hpc_image",
|
|
"subnet": "compute",
|
|
"tags": [
|
|
"nfsclient",
|
|
"pbsclient",
|
|
"cndefault",
|
|
"localuser",
|
|
"disable-selinux",
|
|
"mount-anfpool"
|
|
]
|
|
},
|
|
"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
|
|
},
|
|
{
|
|
"script": "install-nfsserver.sh",
|
|
"tag": "nfsserver",
|
|
"args": ["/share"],
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "auto_netappfiles_mount_anfpool.sh",
|
|
"tag": "mount-anfpool",
|
|
"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": true
|
|
},
|
|
{
|
|
"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": true
|
|
}
|
|
],
|
|
"post_install": {
|
|
"script": "setup_win_rgs.sh",
|
|
"args": [
|
|
"variables.resource_group",
|
|
"nvnode",
|
|
"headnode",
|
|
"variables.apps_storage_account"
|
|
]
|
|
}
|
|
}
|