The Azure Quickstart templates are currently available in English
Deploy a 3 node Percona XtraDB Cluster in Availability Zones
This template deploys a 3 node MySQL high availability cluster on CentOS 6.5 or Ubuntu 12.04
Diese ARM-Vorlage (Azure-Ressourcen-Manager) wurde von einem Mitglied der Community und nicht von Microsoft erstellt. Jede ARM-Vorlage wird für Sie von dessen Besitzer, nicht von Microsoft, unter einem Lizenzvertrag lizenziert. Microsoft übernimmt keine Zuständigkeiten für ARM-Vorlagen, die von Mitgliedern der Community bereitgestellt und lizenziert werden, und auch nicht für deren Sicherheit, Kompatibilität oder Leistung. ARM-Vorlagen aus der Community werden von keinem Microsoft-Supportprogramm oder -Dienst unterstützt und wie vorhanden ohne jegliche Gewährleistung zur Verfügung gestellt.
Parameter
Parametername | Beschreibung |
---|---|
location | Location for the VM, only certain regions support zones during preview. |
adminUsername | user name to ssh to the VMs |
adminPassword | password to ssh to the VMs |
virtualNetworkName | Virtual network name for the cluster |
dbSubnetName | subnet name for the MySQL nodes |
vnetAddressPrefix | IP address in CIDR for virtual network |
dbSubnetAddressPrefix | IP address in CIDR for db subnet |
vmIPs | IP Addresses for the 3 VMs |
vmNamePrefix | host name prefix for the VMs |
imagePublisher | publisher for the VM OS image |
imageOffer | VM OS name |
imageSKU | VM OS version |
customScriptCommandToExecute | bash script command line |
storageAccountType | Storage account type for the data disks |
_artifactsLocation | Linked Templates base url |
_artifactsLocationSasToken | The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. |
Verwenden der Vorlage
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentAzure PowerShell installieren und konfigurieren
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/mysql-ha-pxc-zones/azuredeploy.json
Befehlszeile
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstallieren und Konfigurieren der plattformübergreifenden Azure-Befehlszeilenschnittstelle
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/mysql-ha-pxc-zones/azuredeploy.json