How to convert VMware Eyeglass appliance and Migrate to Microsoft Azure
References to powershell and Microsoft tools is provided as reference only and not included in product support.
This solutions guide assists with examples of how to move a VMware Eyeglass appliance into Azure to use Azure as a 3rd site. This solution example provides examples that must be changed to apply to your environment. It is expected that Azure expertise and powershell expertise is known to complete these steps.
Install certificate remote management software
Download here https://azure.microsoft.com/en-gb/resources/samples/resource-manager-powershell-certificate-authentication/
Install certificate authentication package for vm convert tool
Open powershell as administrator on pc OS that has powershell installed
Run these commands
Create Azure management certificate to allow remote tools to connect to Azure
Copy and paste below to powershell prompt (NOTE: the cert file will be created in your temp folder in your profile C:\Users\username\AppData\Local\Temp>)
Import-Module PKI ## This will import public key infrastructure modules into Powershell
New-SelfSignedCertificate -DnsName "MVMC" -CertStoreLocation "Cert:\CurrentUser\My" ## Creates private cert in the current user’s Personal certificate store
Export-Certificate -Cert (Get-ChildItem Cert:\CurrentUser\My\ -DnsName MVMC) -FilePath $env:TEMP\MVMC.cer ## Exports public cert created above using New-SelfSignedCertificate
Import-Certificate -FilePath $env:TEMP\MVMC.cer -CertStoreLocation Cert:\CurrentUser\Root ## Imports the cert into the current user’s Trusted Root Certification Authorities store
Reference this link to if you need additional information http://adriank.org/generating-azure-management-certificate-microsoft-virtual-machine-converter-3-1/
Upload the certificate file .cer to Azure
Add-AzureRmVhd -ResourceGroupName ResourceGroup -Destination https://xxx.blob.core.windows.net/vms `-LocalFilePath "C:\Users\Public\Documents\Virtual hard disks\myVHD.vhd"