Azure VMs – SQL Server AlwaysOn Setup across multiple Data Centers fully automated (Classic Service Management)
I’ve just published some code as a sample (under MIT License as per my github repository) which was the result of work with a partner for fully automating a Cross-Region SQL AlwaysOn Deployment with Azure VMs and 2 Azure Data Centers / Regions. It is about ~2500 lines of PowerShell Script Code… For more details refer to https://blog.mszcool.com/index.php/2015/05/azure-vms-sql-server-alwayson-setup-across-multiple-data-centers-fully-automated-classic-service-management/ and https://github.com/mszcool/SqlAlwaysOnAzurePowerShellClassic!!