Azure Migrate
- we have a company smart hotel and smart hotel host their application on hyper-v on prem machine.
- they have couple of webserver, sql backend database and ubuntu server which using as a WAF
- we are going to lift and shift approach for migrating it to the cloud
Stage 1:
we are going to replicate this env in azure
we will deploy a template which will deploy on a hyperv on prem env
stage2:
we will do on prem env discovery and assesment
we will use the tool azure migrate which help in discorvey
discovery is like it will find out what are the dependencies on server, what compute we need to use
in this stage we will move the linux and ubuntu machine using azure migrate tool
stage3:
Get Arjun PT’s stories in your inbox
Join Medium for free to get updates from this writer.
In this stage we will migrate the databases to azure
DMS and DMA are the tool we will be using in this stage
we need to create the project with an resource group and details mentioned below
Inside the migration goals we have the server database and web app there we have a quick start option for discover.
- we have to choose the virtualization platform like hyperv, xen , vmware
- we have to generate a project key after giving the appliance name
- Download the azure migrate appliance as a vhd file
- RDP into the on premise server
- open the hyperv manager from the tool section
- click on action and import the vhd file
- Choose the first option
- This error is expected so choose the switch whicha are inernally avaialble
- once done click on thr azure migrate and start the server
- why we doing this is that azure migrate appliance need access to internet to upload data to azure and also it need access to hypervhost
- it will automatically isntall and configure the pre requisite steps
- In the register with azure migrate section we have to give the key that we generated from azure portal
- update the discovery source with fQDN in order to find the services that are running inside this server
- once done the valdiate will got successful
- Then start the discovery
- once discovered we will get those details on the azure portal
- see in the screenshot we can see the number of servers
- click on the asses option if we want to asses the vm
- once the assesment is done we will get an report like this
- where we can know the server is ready or do we have any warning
- we can avoid warning. sometimes we can see error like unkown OS and all
- if we get the unknown OS warning then click on that to get more about it
- we have done with assesment part
Next we have to do the dependency visualization
- click on the groups
- for the dependencies to work we have to install those agents
- we have to create the workspace then we can install th agents
- copy the link and install it on the on prem server
- inside the agent managment we can find the workspace id and the key
- while configuring the microsot agent we have to give those credentials
- All the agent installation is completed
- we need to create a azure storage account. This is for storing the reosirces
click create reosurce -> storage account -> go with default configuration
- create a private endpoint on the provider virtual netwrok that is used by the sql resource
- got to the resource group where all the resources are listed
- create a new private endpoint for the db instance.
- once done we have to go to the migration tab
- we need to download and install it on our onpremise host. This is a azure site recovery agent
- just upload the key for completing the registration process. key are provided in the same page itself we need to download it from the portal and upload. select connect to azure site recovery without a proxy server
- registration is completed
- once done we can go to the azure migrate tool and strat the replciation process
- choose the group and assesment name and tick all the vms
- we are not making changes on the disk part right now and also in the tags section
- we can get the status from overview section and click on the replicating machine to get the status of vm. it will take 30 to 45 min to replicate
- change the ip from dynamic to static on all the vms
- go to compute and network for updating those setting
- inside the internal NAT seich chnage the IP address to static
once replication is completed do the migration that on the step3. we can choose the migration of vm one by one or can perfomr bulk
- on job we can see the progress
Start from the 50.0 minute to see the database migration








