Azure Site Recovery–Story revamped using new portal

In this blog post I’ll guide how to setup Azure Site Recovery (ASR) on the new portal using ARM model. If you’re not familiar with the ASR concept you can refer here. Compared to setting up ASR on old Azure portal, Microsoft ASR team carried out significant enhancement on the new portal and make it very much UI friendly.

In this blog post I’ll explain how to protect HYPER-V VM’s. You can protect VM’s hosted on single HYPER-V (Stand alone) or HYPER-V cluster (without VMM) using these steps. Few things I won’t cover in this blog post are how to create resource group, Virtual network….etc. I’ll provide relevant links for that for you to get in depth idea.

1. Wow to create a resource group in Azure – https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-overview

2. How to setup networking for ASR – https://azure.microsoft.com/en-us/blog/networking-infrastructure-setup-for-microsoft-azure-as-a-disaster-recovery-site/

So with the assumption you have HYPER-V server with bunch of VM’s (on-premise) and have a Azure tenant and in that you’ve created,

  • Resource Group
  • Created Virtual network
  • Created storage account to hold replicated VM’s data

Now let’s go ahead and create a Recovery Vault in the Resource Group you have created. In my case I’ve pre created a RG name as ASR-DR. Inside that I’m going to create the Recovery Vault name “ASR-RV”

image

image

Once the RV created we can follow the step-by step guide or based on your experience jump straight into the relevant steps. In below screenshot I’ve demonstrated the step by step method.

I’m selecting the option to protect the hyper-v vm’s which is not managed by VMM environment.

image

Now you need to create a “HYPER-V site” and then click on the “+ Hype-v server” and register the nodes. Once you complete that task of setting up agents into the on-premise server you’ll be registering your HYPER-V servers with the RV. In below picture you can see I’ve added two HYPER-V hosts.

image

in the next step you’ll need to define the Azure subscription. RV will read the resources in that vault and will highlight what is usable for ASR purpose.

PS: But I warn you to create the resources earlier for ASR purpose and not to borrow Smile

image

Now you need to define replication policy and associate. If you have done this step previously you only have to associate that, if not create a one. You can go ahead and create a new one keeping the defaults value and change them later.

image

Step 5 I’ve skipped that since I’ve make sure planning has been carried out previously.

image

Now the basic steps are completed and real game begins Smile

Go to “Replicate Application” section and start highlighting the VM’s you need to replicate to Azure for protection.

image

In the next step you need to map the Azure resources you created previously very carefully. I’ve highlighted the areas which need your special attention. Careful planning becomes a virtue in this scenario.

image

Now if everything goes smoothly you’ll be able to see the VM’s on the HYPER-V host server name list populated on Azure side. Go ahead and select the VM’s you need to protect,

image image

Finally you need to review the summary and approve to proceed for replication process to execute against the VM you select.

image

This will take little time to complete. After that for full sync will occur. For that time depend on your disk size and your internet connection speed Smile. I’m in the process of helping a client to upload over 2 TB data.

image

If you have very slow internet links (Like I’ve Smile) you can use Microsoft import/export method to export the VHD files to nearest Azure data-center via courier. Once Azure team upload your VHD to Azure storage account all you have to do is replicate the difference. Sounds easy? Well it is not! there are few steps you need to follow and it will cost you additional money but it all depend on the situation. You can find more information about it here.

My two cents advise is go ahead and setup the Recovery Vault and check the new options in the RV,

image

You’ll find new GUI and options given are so rich. In my future article I’ll cover more details about them and also the recovery procedure.

Event ID 19050 on HYPER-V 2016 cluster

Recently one of my customer’s HYPER-V environment recovered from power failure. Despite having secondary power to maintain the servers up and running switches redundancy power has not been overlooked Winking smile. Nevertheless after the power restore some of the VM’s in the cluster has been started acting funny inside the HYPER-V manager console.

image

When I overlook at the cluster MMC VM’s status is in good mode without any errors. In the particular node event viewer throwing the event id 19050. Further searching on the search engine gave me this result, not much help though. Based on the scenario we knew VM is functioning properly and this has to be intermittent problem. Our final resolution has been restart the VM and let the VM move to correct host based on the priority order.

Virtual machine load balancing in server 2016 cluster

If you’re virtualization expert (on Microsoft world Smile) you’re well aware above feature is possible when we implement System Center Virtualization Manager (SCVMM) to manage the HYPER-V cluster. Not every customer can afford to have System Center Datacenter SKU purchase right?

Virtual machine load balancing comes in exact time to help you do that without SCVMM. In a nutshell we can monitor the CPU and memory usage on the host an based on the pre-defined rules and allow VMs to move across the HYPER-V nodes in the cluster.

Do we have option to configure this parameter? Why not we can configure the aggressiveness of the this feature by using parameter ‘AutoBalancerLevel’. To control the aggressiveness run the following in PowerShell:

(Get-Cluster).AutoBalancerLevel = <value>

image

VM auto balancing can be configured via GUI and PowerShell both.

In the cluster properties right-click on your cluster name and select the “Properties” option
Graphic of selecting property for cluster through Failover Cluster Manager
  1. Select the “Balancer” pane
    Graphic of selecting the balancer option through Failover Cluster Manager

From the PowerShell command point of view,

(Get-Cluster).AutoBalancerMode = <value>

Parameter values are,

image

PS: VM autobalancing is enable by default in server 2016. If you use SCVMM 2016 to manage the cluster then this feature will be disabled.

Are you ready for the next big offer from Microsoft?

image

Don’t we all love some hush hush news come in advance to our attention? Well Microsoft just did it again Smile If you’re a VMware customer then it’s time for you to pause your renewal and give attention to Microsoft direction and offering. Microsoft is ready to give away big surprise!!!

Ok let me make it short and come to the core story Smile 

If you switch from VMware to Hyper-V from during September 1, 2016, through June 30, 2017, you can get free Windows Server Datacenter licenses when buying Windows Server Datacenter + Software Assurance. That ultimately means you only pay for Software Assurance.

All the latest information about this offer and how to calculate the TCO can be found in here. If you’re wondering what kind of enhancement HYPER-V 2016 can provide then you’ll be surprised too. Detail information can be found here.

So for my VMWare customers all I can say is don’t delay this opportunity, contact your Microsoft Account Manager and start engaging on this process.

When it comes to deployment or if you need support from the beginning stage then feel free to get in touch with Infront team

System Center Universe 2016 @ APAC

One of the best System Center summit happening around the world. As a Infront employee I’m happy to announce our company did host the event for the third time in APAC region. This time in Malaysia soon after that in Australia. All the well known System Center experts in one room sharing their knowledge. I’m glad that I got the opportunity to be among those experts and carry out two sessions.

Azure becoming key topic for developers and IT Professionals. How we can save time be leveraging templates. This is where we can leverage Azure Resource Manager Templates. Carried out a session to show how ARM really can help for IT Professionals in their journey.

Disaster recovery can be taken to next level by leveraging the Azure cloud. Delviered another session covering how Microsoft extend their love to protect VMWare customers as well Smile In this session we covered about Azure Site Recovery for HYPER-V, VMWare & Physical servers. We also demo what is “Enhanced mode for VMWare” and what that is so cool.

123SCU-2016-002SCU-2016-004SCU-2016-005SCU-2016-007SCU-2016-018SCU-2016-021SCU-2016-027SCU-2016-031SCU-2016-034SCU-2016-067SCU-2016-071SCU-2016-077SCU-2016-088SCU-2016-099SCU-2016-112SCU-2016-272

Linux Integration Services Version 4.1 for Hyper-V

Microsoft-Loves-Linux

Microsoft released the latest Linux Integration Services (LIS) for the guest Linux VM’s running on HYPER-V. With this latest update following improvement has been introduced.

•Expanded Releases: now applicable to Red Hat Enterprise Linux, CentOS, and Oracle Linux with Red Hat Compatible Kernel versions 5.2, 5.3, 5.4, and 7.2.
•Hyper-V Sockets.
•Manual Memory Hot Add.
•SCSI WNN.
•lsvmbus.
•Uninstallation scripts.

You can get the latest LIS from here.

Active Directory Replication Status Tool #ADServer #ITPro

Microsoft released new tool for System Administrators to monitor the Active Directory replication. This reminds me the good old command line “repadmin”. This tool will go beyond that and provide more information than what given by CSV file output. Apart from that one of the tool I really love when it comes to AD monitoring is Quest tools which acquired by Dell.

The Active Directory Replication Status Tool (ADREPLSTATUS) analyzes the replication status for domain controllers in an Active Directory domain or forest. ADREPLSTATUS displays data in a format that is similar to REPADMIN /SHOWREPL * /CSV imported into Excel but with significant enhancements.

Specific capabilities for this tool include:

Expose Active Directory replication errors occurring in a domain or forest

Prioritize errors that need to be resolved in order to avoid the creation of lingering objects in Active Directory forests

Help administrators and support professionals resolve replication errors by linking to Active Directory replication troubleshooting content on Microsoft TechNet

Allow replication data to be exported to source or destination domain administrators or support professionals for offline analysis

Considering the detail level information provided by this tool I would say this is must for System Administrators J