azurehpc/blocks/beegfs-cluster.json

109 строки
3.1 KiB
JSON

{
"location": "variables.location",
"resource_group": "variables.resource_group",
"install_from": "jumpbox",
"admin_user": "hpcadmin",
"variables": {
"image": "OpenLogic:CentOS:7.7:latest",
"location": "<NOT-SET>",
"resource_group": "<NOT-SET>",
"vnet_name": "hpcvnet",
"vnet_resource_group": "variables.resource_group",
"beegfs_storage_instances": 2,
"beegfs_storage_vm_type": "Standard_D16s_v3",
"beegfs_mgmt_vm_type": "Standard_D4s_v3",
"beegfs_disk_type": "local_ssd",
"beegfs_node_type": "both",
"beegfs_pools": "false",
"beegfs_pools_restart": "false"
},
"vnet": {
"resource_group": "variables.vnet_resource_group",
"name": "variables.vnet_name"
},
"resources": {
"beegfsm": {
"type": "vm",
"vm_type": "variables.beegfs_mgmt_vm_type",
"accelerated_networking": true,
"public_ip": false,
"image": "variables.image",
"subnet": "storage",
"tags": [
"beegfs-pkgs",
"beegfs-mgmt",
"beegfs",
"beegfs-client"
]
},
"beegfssm": {
"type": "vmss",
"vm_type": "variables.beegfs_storage_vm_type",
"instances": "variables.beegfs_storage_instances",
"accelerated_networking": true,
"image": "variables.image",
"subnet": "storage",
"tags": [
"beegfs-pkgs",
"beegfs-storage",
"beegfs"
]
}
},
"install": [
{
"script": "disable-selinux.sh",
"tag": "beegfs",
"sudo": true
},
{
"script": "cndefault.sh",
"tag": "beegfs",
"sudo": true
},
{
"script": "beegfspkgs.sh",
"tag": "beegfs-pkgs",
"sudo": true
},
{
"script": "beegfsm.sh",
"args": [
"/data/beegfs/mgmt"
],
"tag": "beegfs-mgmt",
"sudo": true
},
{
"script": "beegfssd.sh",
"args": [
"variables.beegfs_disk_type",
"variables.beegfs_node_type",
"variables.beegfs_pools",
"variables.beegfs_pools_restart",
"$(<hostlists/tags/beegfs-mgmt)"
],
"tag": "beegfs-storage",
"sudo": true
},
{
"script": "beegfsmd.sh",
"args": [
"variables.beegfs_disk_type",
"variables.beegfs_node_type",
"variables.beegfs_pools",
"$(<hostlists/tags/beegfs-mgmt)"
],
"tag": "beegfs-storage",
"sudo": true
},
{
"script": "beegfsc.sh",
"args": [
"$(<hostlists/tags/beegfs-mgmt)"
],
"tag": "beegfs-client",
"sudo": true
}
]
}