About AZURE CLOUD Service:

Microsoft has created a cloud computing service which is termed as Microsoft Azure. It is used for building, deploying, testing, and managing the applications and also the services through Microsoft-managed data center which is a global network. It was renamed as “Microsoft Azure” on March 25, 2014, which was actually released on February 1, 2010, as “Windows Azure”. Microsoft Azure provides,

Protect Your Data with BDRSuite

Cost-Effective Backup Solution for VMs, Servers, Endpoints, Cloud VMs & SaaS applications. Supports On-Premise, Remote, Hybrid and Cloud Backup, including Disaster Recovery, Ransomware Defense & more!

Software as a Service (SaaS),
Platform as a Service (PaaS) and
Infrastructure as a Service (IaaS)

And it also supports other different programming languages, tools, and frameworks, including both Microsoft-specific and third-party software and systems.

Troubleshoot Azure Linux VM:

Download Banner

In an ordinary scenario, our physical or virtual machines encounter boot issues or Hard disk error and the virtual machine which does not boot properly. The same issues appear on Azure cloud Linux Virtual Machines and VM will not boot and needs to troubleshoot on the virtual hard disk itself.

This blog describes how to connect and resolve the Azure Linux Virtual Hard disk booting issue and once the issue is resolved, the creation of a new Virtual machine template to the Virtual hard disk is described.

Troubleshooting Steps:

  1. Diagnose booting issue
  2. Delete the Problematic VM and keep the VM Virtual Hard disk
  3. Attach the Virtual Hard disk to another VM to check
  4. Fix the booting issue on problematic Virtual Hard disk
  5. Unmount virtual hard disk from VM
  6. Create new VM to connect the Virtual Hard disk

Diagnose Booting issue:

The Microsoft Azure debugging options(Serial Console Output and Screenshot support) help to identify the Virtual Machine Booting issues.

Select the Virtual Machine and go to Support + Troubleshooting and then click on Boot Diagnostic. It will now display the Virtual Machine log, where you can download the entire Machine log or you can take the screenshot of the current machine logs.

You can also download and review this debugging log which helps to identify and resolve the issue related to booting. Refer screenshot for reference.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Existing Virtual Hard disk Details:

You can check the Debugging logs and if you still face the Virtual Machine Booting issue, then you can move the existing hard disk to another VM to resolve the issue or to take the data recovery. Before moving, the Virtual Hard disk from another VM, needs to Identify the Virtual hard disks name and location.

Goto Virtual Machine options and select the problematic virtual machine and then go to setting and click on Disk. after clicking the Disk in right side displays the Disk properties.
Refer screenshot.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Now click on the OS Disk, where you can see the OS disk details like location and name. Refer screenshot.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Connect Virtual Hard disk to Another Virtual Machine:

Once you find out the Virtual Hard disk path, detach it from the VM and then attach the Virtual Hard disk to the working Virtual Machine. Go to working virtual machine setting, click on disks and on the right side option “add data disk” once you click on this option a window will open to attach unmanaged disk. Fill the required details, refer screenshots.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Once you add the virtual hard disk, you can mount the hard disk on working Linux machine and then troubleshoot to resolve the booting issue. Once the issue is resolved, detach it from the virtual machine and then create a separate VM to install the Virtual Hard Disk. Refer the screenshot posted, for before and after attachment of the working VM.

Before attach

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

After Attach

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

After detaching the recovery hard disk, we can deploy the new virtual machine by connecting it to the original virtual hard disk. Azure provides the Azure Resource Manager Template to deploy the new virtual machine for the virtual hard disk.

Click here to login Azure Resource Manager Template

This is the routing to Azure portal. Now click on deploy to Azure option and enter the Azure login credential. Once provided login credentials, the azure deploying template will be displayed.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Now we can update the subscription, Resource group, OS disk URL, and Virtual Network details and Existing Virtual Network Resource Group details.

After updating the details, agree on terms and conditions and click on purchase.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Refer below screenshot for reference:

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

After updating the details click purchase, then validation will go on. once the validation is successful then the Virtual machine deployment will start.

Once deployment is successful, you can get notification alert from Azure portal.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

After that, you can verify from virtual machine list and you can see the details in the overview tab for virtual machine details.

Azure-Linux-Virtual-Machine-Hard-Disk-Recover

Conclusion:

Azure provided easy options to recover virtual hard disk from not booting virtual machines. And this virtual hard disk recovery process very simple and easy to recover the virtual hard disk. Once issue addressed you can create new virtual machine template to connect the virtual hard disk.

Experience modern data protection with this latest Vembu BDR Suite v.3.8.0 FREE edition. Try the 30 days free trial here: https://www.bdrsuite.com/vembu-bdr-suite-download/

Got questions? Email us at: vembu-support@vembu.com for answers.

Follow our Twitter and Facebook feeds for new releases, updates, insightful posts and more.

Rate this post