Windows Azure Pack - Forcing VM Roles to be Highly Available
This is just a short blog post on how to force your VM Roles deployed with Windows Azure Pack, to be highly available.
Perhaps you have received an error while deploying your VM Roles, or just simply discovered that they are not HA and is located directly on one of the hosts local storage.
The solution is simple, but for most people it is a hidden one.
The VM cloud in VMM must have a custom property called CreateHighlyAvailableVmRoles with its value set to true in order for the VM Roles to be configured as highly available.
Since the VM Roles is created outside of VMM, we are not able to tag corresponding Hardware and Guest profiles or the templates itself.
1. In VMM Console, select VMs and Services
2. Right Click on the cloud that the Plan in Windows Azure Pack is using and select properties
3. Select the Custom Properties tab and click Manage Custom Properties
4. Select Cloud for Object Type, and click Create to create a new property
5. Name the property CreateHighlyAvailableVmRoles and click OK
6. Select the new property and click Add
7. Click OK
8. Type true for the property value
9. Click OK
Now, log back to the service management portal and refresh the browser. The next deployment should succeed, and place the VM Roles on shared storage (either SMB3.0 or CSV) and the VMs should be highly available.