Reputation: 683
I would like to migrate our test server - a Windows Azure VM running Windows 2008 server (running AD DC and variety of apps such as Dynamics CRM) - to a virtual network.
I am looking for a safe way to migrate the server to the virtual network.
My research to date indicates that I can create a new VM using the same OS disk. However when I attempt to create a new VM the existing OS disk is not visible in the list of images.
Is anybody able to point me in the right direction as to how this is achieved? Also, do you have any recommendations with respect to a rollback strategy (e.g. Backup tools)?
Alan.
Upvotes: 0
Views: 692
Reputation: 30903
I haven't verified the flow, but it should be working fine. Follow these steps:
static IP
on your AD/DC. The IP Addresses in Azure shall always be DHCP allocated!affinity group
as the Virtual Network. So, if the current OS Disk is not in a Storage Account, which is in the same affinity group as the VNet, create a new storage account and copy the original VHD there. Please note that you should copy the blob only when the VM is shut down!Possible gotchas with this migration:
lease
on the blob with the VHD. If there is a lease - break it!Upvotes: 1