azurehpc/examples/anf_full/config.json

140 строки
3.8 KiB
JSON
Исходник Обычный вид История

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-HPC:7.7:latest",
2020-02-25 22:19:25 +03:00
"hpc_image": "OpenLogic:CentOS-HPC:7.7:latest",
2019-07-30 22:33:44 +03:00
"location": "<NOT-SET>",
"resource_group": "<NOT-SET>",
2020-03-17 16:33:57 +03:00
"vnet_resource_group": "variables.resource_group",
"compute_instances": 4,
"vm_type": "Standard_HC44rs",
2020-03-17 17:36:41 +03:00
"anf_mount": "/netapps",
"anf_volume_size": 4,
"anf_service": "Premium"
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": {
2020-02-26 00:09:18 +03:00
"hpcnetappfull": {
2019-07-30 22:33:44 +03:00
"type": "anf",
"subnet": "storage",
"pools": {
"anfpool" : {
2020-03-17 17:36:41 +03:00
"size": "variables.anf_volume_size",
"service_level": "variables.anf_service",
2019-07-30 22:33:44 +03:00
"volumes": {
"anfvol1" : {
2020-03-17 17:36:41 +03:00
"size": "variables.anf_volume_size",
2020-03-17 16:33:57 +03:00
"mount": "variables.anf_mount"
2019-07-30 22:33:44 +03:00
}
}
}
}
}
},
"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",
2019-07-30 22:33:44 +03:00
"replace_nfs_with_anf",
"localuser"
]
},
"compute": {
"type": "vmss",
2020-03-17 16:33:57 +03:00
"vm_type": "variables.vm_type",
"instances": "variables.compute_instances",
2019-07-30 22:33:44 +03:00
"image": "variables.hpc_image",
"subnet": "compute",
"tags": [
"pbsclient",
"cndefault",
"disable-selinux",
"mount-anf",
2019-07-30 22:33:44 +03:00
"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",
2019-07-30 22:33:44 +03:00
"sudo": true
},
{
"script": "replace_nfs_with_anf.sh",
"args": [
2020-03-17 16:33:57 +03:00
"variables.anf_mount"
2019-07-30 22:33:44 +03:00
],
"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": {
}
}