зеркало из https://github.com/Azure/azurehpc.git
138 строки
3.8 KiB
JSON
138 строки
3.8 KiB
JSON
{
|
|
"location": "variables.location",
|
|
"resource_group": "variables.resource_group",
|
|
"install_from": "headnode",
|
|
"admin_user": "hpcadmin",
|
|
"variables" : {
|
|
"image" : "OpenLogic:CentOS-HPC:7.7:latest",
|
|
"hpc_image": "OpenLogic:CentOS-HPC:7.7:latest",
|
|
"location": "<NOT-SET>",
|
|
"resource_group": "<NOT-SET>",
|
|
"vnet_resource_group": "variables.resource_group",
|
|
"compute_instances": 4,
|
|
"vm_type": "Standard_HC44rs",
|
|
"anf_mount": "/netapps",
|
|
"anf_volume_size": 4,
|
|
"anf_service": "Premium"
|
|
},
|
|
"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": {
|
|
"hpccatnetappfull": {
|
|
"type": "anf",
|
|
"subnet": "storage",
|
|
"pools": {
|
|
"anfpool" : {
|
|
"size": "variables.anf_volume_size",
|
|
"service_level": "variables.anf_service",
|
|
"volumes": {
|
|
"anfvol1" : {
|
|
"size": "variables.anf_volume_size",
|
|
"mount": "variables.anf_mount"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"resources": {
|
|
"headnode": {
|
|
"type": "vm",
|
|
"vm_type": "Standard_D8s_v3",
|
|
"public_ip": true,
|
|
"image": "variables.image",
|
|
"subnet": "compute",
|
|
"tags": [
|
|
"cndefault",
|
|
"pbsserver",
|
|
"loginnode",
|
|
"disable-selinux",
|
|
"mount-anf",
|
|
"replace_nfs_with_anf",
|
|
"localuser"
|
|
]
|
|
},
|
|
"compute": {
|
|
"type": "vmss",
|
|
"vm_type": "variables.vm_type",
|
|
"instances": "variables.compute_instances",
|
|
"image": "variables.hpc_image",
|
|
"subnet": "compute",
|
|
"tags": [
|
|
"pbsclient",
|
|
"cndefault",
|
|
"disable-selinux",
|
|
"mount-anf",
|
|
"replace_nfs_with_anf",
|
|
"localuser"
|
|
]
|
|
}
|
|
},
|
|
"install": [
|
|
{
|
|
"script": "disable-selinux.sh",
|
|
"tag": "disable-selinux",
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "cndefault.sh",
|
|
"tag": "cndefault",
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "auto_netappfiles_mount.sh",
|
|
"tag": "mount-anf",
|
|
"sudo": true
|
|
},
|
|
{
|
|
"script": "replace_nfs_with_anf.sh",
|
|
"args": [
|
|
"variables.anf_mount"
|
|
],
|
|
"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": 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
|
|
}
|
|
]
|
|
}
|