зеркало из https://github.com/Azure/Moodle.git
Add switches for accelerated networking (fixes #123)
This commit is contained in:
Родитель
e10be45aa5
Коммит
adc6735b13
|
@ -79,6 +79,20 @@
|
|||
},
|
||||
"type": "bool"
|
||||
},
|
||||
"enableAccelNwForCtlrVmSwitch": {
|
||||
"defaultValue": false,
|
||||
"metadata": {
|
||||
"description": "Switch to enable Azure Accelerated Networking on the controller VM. Default to false because currently the default controller VM SKU (D1) doesn't support AN. Change this to true if you set the controller VM SKU to eligibible ones (e.g., D2) for better performance."
|
||||
},
|
||||
"type": "bool"
|
||||
},
|
||||
"enableAccelNwForOtherVmsSwitch": {
|
||||
"defaultValue": true,
|
||||
"metadata": {
|
||||
"description": "Switch to enable Azure Accelerated Networking on all other VMs. Default to true because currently the default controller VM SKU for all other VMS (D2) does support AN. Change this to false if you set the SKU of any other VMs to an ineligibible one (e.g., D1) to avoid deployment failure."
|
||||
},
|
||||
"type": "bool"
|
||||
},
|
||||
"httpsTermination": {
|
||||
"allowedValues": [
|
||||
"VMSS",
|
||||
|
@ -967,6 +981,8 @@
|
|||
"elasticVmName1": "[concat('elastic-vm-01-',variables('resourceprefix'))]",
|
||||
"elasticVmName2": "[concat('elastic-vm-02-',variables('resourceprefix'))]",
|
||||
"elasticVmName3": "[concat('elastic-vm-03-',variables('resourceprefix'))]",
|
||||
"enableAccelNwForCtlrVmSwitch": "[parameters('enableAccelNwForCtlrVmSwitch')]",
|
||||
"enableAccelNwForOtherVmsSwitch": "[parameters('enableAccelNwForOtherVmsSwitch')]",
|
||||
"extBeName": "[concat('lb-backend-',variables('resourceprefix'))]",
|
||||
"extFeName": "[concat('lb-frontend-',variables('resourceprefix'))]",
|
||||
"extNatPool": "[concat('lb-natpool-',variables('resourceprefix'))]",
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"enableAcceleratedNetworking": false
|
||||
"enableAcceleratedNetworking": "[parameters('moodleCommon').enableAccelNwForCtlrVmSwitch]"
|
||||
},
|
||||
"tags": {
|
||||
"displayName": "ctlrNic"
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"enableAcceleratedNetworking": true
|
||||
"enableAcceleratedNetworking": "[parameters('moodleCommon').enableAccelNwForOtherVmsSwitch]"
|
||||
},
|
||||
"tags": {
|
||||
"displayName": "Gluster VM NIC"
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"enableAcceleratedNetworking": true
|
||||
"enableAcceleratedNetworking": "[parameters('moodleCommon').enableAccelNwForOtherVmsSwitch]"
|
||||
},
|
||||
"tags": {
|
||||
"displayName": "Elastic NIC 1"
|
||||
|
@ -152,7 +152,7 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"enableAcceleratedNetworking": true
|
||||
"enableAcceleratedNetworking": "[parameters('moodleCommon').enableAccelNwForOtherVmsSwitch]"
|
||||
},
|
||||
"tags": {
|
||||
"displayName": "Elastic NIC 2"
|
||||
|
@ -270,7 +270,7 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"enableAcceleratedNetworking": true
|
||||
"enableAcceleratedNetworking": "[parameters('moodleCommon').enableAccelNwForOtherVmsSwitch]"
|
||||
},
|
||||
"tags": {
|
||||
"displayName": "Elastic NIC 2"
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"enableAcceleratedNetworking": true
|
||||
"enableAcceleratedNetworking": "[parameters('moodleCommon').enableAccelNwForOtherVmsSwitch]"
|
||||
},
|
||||
"tags": {
|
||||
"displayName": "Tika NIC"
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
}
|
||||
],
|
||||
"primary": true,
|
||||
"enableAcceleratedNetworking": true
|
||||
"enableAcceleratedNetworking": "[parameters('moodleCommon').enableAccelNwForOtherVmsSwitch]"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче