Virtual Machine Health is in Critical State in ASR

Published by RSY Digital World on

Virtual Machine Health is in Critical State in ASR

Are you getting Azure Site Recovery Critical Notification: Virtual Machine health is in Critical State in your environment? Are you using Standard disk and ASR in Conjunction means blob disk is in use. It may be because of slow speed of blob storage and no BlobOpsTimeout is set in ASR configuration. In current example VM size is Standard F2s_v2 Standard using Standard HDD (Blob Storage) .

By default it is not set and you have to increase or set timeout value to 30 seconds to come out of ASR sync issue. When it found that ASR is not not able to sync VM it throws above mentioned critical health notification for virtual machine.

How we are going to fix the issue at hand is as below.

Fix Procedure

1.Login to the VM as user root

2.Change to directory as below

cd  /usr/local/ASR/Vx/etc

  1. See the current drscout.conf config and save it for future reference.

# cp drscout.conf drscout.conf.$date

Under [vxagent] section of file you can see like below

[vxagent]

Role=Agent

DPCacheVolumeHandle=1

————truncated list of parameters related to vxagent configurations ————————

  1. Add parameter like below above Role = Agent in [vxagent ] section.

AzureBlobOpsTimeout=30

  1. After the changes it should look as such…..

[vxagent]

AzureBlobOpsTimeout=30

Role=Agent

DPCacheVolumeHandle=1

  1. Save and close the drscout.conf file.

7 . Restart the ASR service “InMage Scout Vx Agent”  by stopping it and starting it like below.

# /usr/local/ASR/Vx/bin/stop

# /usr/local/ASR/Vx/bin/start

  1. Wait for about 30 min and check the replication status it should be fine.

Your VM replication will be in sync.

This is expected to work if blob storage is being used .Most of the clients use premium disks which is not of blob category so blob timeout parameter will not have worth to edit. Scenario may be different for other cases . But this config file is really very helpful regarding ASR (Azure Site Recovery).

Before simply applying this you are advised to review your  situation as this is shared to spread awareness how you can deal with Virtual Machine Health is in Critical state in ASR.

||||| Cheers |||||

Related Posts


RSY Digital World

RSY Digital World Founder & [email protected] Digital World. A UNIX Linux expert having a more than 20 years of experience in Solaris Red Hat Linux HP-UX AIX Unixware Open Server Veritas Storage Cloud Bigdata and many more in UNIX LINUX Infrastructure technologies.

0 Comments