Deploy a 3 node Percona XtraDB Cluster in Availability Zones
This template lets you create a 3 node Percona XtraDB Cluster 5.6 on Azure. It's tested on Ubuntu 12.04 LTS and CentOS 6.5.
To verify the cluster, type in "mysql -h your_public_ip_dns_name -u test -p". The password is what you set for sstuser in my.cnf. Run MySQL command "show status like 'wsrep%'". You should see that wsrep_cluster_size is 3 by default and wsrep_ready is "ON".
To gain root access to MySQL, you must ssh into a node and sudo to run mysql.
Tags: Microsoft.Network/virtualNetworks, Microsoft.Network/publicIPAddresses, Microsoft.Network/networkInterfaces, Microsoft.Compute/disks, Microsoft.Compute/virtualMachines, extensions, CustomScript