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.

Advertisements

Failover clustering improvements in Windows Server 2012

It’s been a while I post anything to the blog due to the new life challenges I faced Smile Anyway now I’m back and started the practice along with ITPro community session regarding the above subject. You can find the relevant slide deck in Slide share (http://www.slideshare.net/susanthasilva1/windows-server-2012-failover-clustering-improvements)

Looking back at the history and compare the clustering technology starting from Windows NT 4.0 Microsoft has done significant improvements on the technology. Instead of calling high availability now we try to achieve contiounsly availability (Thanks to storage, network improvements) for the mission critical apps through Windows clustering in Windows Server 2012. Apart from that now we have the capability to monitor the clustered services and applications inside the VM’s proactively. In case of a failure of these services we can restart or move to another node (pretty impressive feature where normally SCOM used to do this but now freely integrated with clustering)
Failover clusters also provide Cluster Shared Volume (CSV) (improved)functionality that provides a consistent, distributed namespace that clustered roles can use to access shared storage from all nodes. Apart from that the utilization of scale-out-fileserver and SMB 3.0 are some new add ins to improve the clustering experience and expandability apart from typical SAN environment.

Another new improvements is Cluster Aware Updating (CAU) which describes about the updating the cluster nodes with little intervention from Cluster administration. (Very much welcome feature if you’re handling large clusters)
To have this feature you need to add the particular role to the cluster nodes first. Once it carried out you’ll see the option in the Tools menu in Server Manager.

image 

Once you open the cluster MMC you can select the “Cluster aware Update” option which will open you another menu,

image

This menu will help you to verify the nodes met the required settings to eligible under CAU.

image

Another welcome improvements in the Cluster Shared Volumes (CSV). In 2008 R2 we have the CSV option but limited to use in HYPER-V scenarios only. With Windows 2012 we can extend this to file servers as well. Combine with Scale-out-fileserver scenario we can have HYPER-V cluster in affordable cost as well. In a nutshell CSVs allow multiple nodes in the cluster to simultaneously access the same NTFS file system without imposing hardware, file type, or directory structure restrictions. As shown in the following figure, with CSVs, multiple clustered virtual machines can use the same LUN and still live migrate or quick migrate from node to node independently. Think CSV as a file system which is referred as CSVFS these days Smile

Figure 3  CSV used by virtual machines on 3 nodes

Honestly there are too many information which cannot be written in one article like this. But you can refer to the TechNet article which describe all the new improvements in Windows 2012 Failover clustering (http://technet.microsoft.com/en-us/library/hh831414.aspx#CommunityContent)

SQL 2008 high availability through Windows 2008 clustering

With the introduction of Windows 2008 Cluster service Microsoft has made the clustering as easy as it can for a system administrators. I’ve been blogging about Windows 2008 clustering on my blog and various other third party software you can use to accommodate the clustering. Once the Microsoft released MS Storage server for the TechNet subscribers I have been using that software frequently. Apart from that I found out StarWind software also providing good solutions as well.

Last month I got the opportunity to demonstrate the Windows 2008 clustering and it’s new capability to the IT Pro community with live demonstration. Too bad I forgot to get some picture on that event 😦 You can download the presentation I have created for that session from here.

This month I have received an invitation from the SQL community group to conduct a session about SQL cluster creation. Special thanks goes for the SQL community MVP’s for giving me the opportunity.

In that session I present about the MSCS (Microsoft Cluster Service) and the new features in the windows 2008 R2 cluster. Apart from that we went ahead of doing a live demo on SQL cluster creation. It too nearly 1.5 hours for the entire demo since I ran everything from singe machine!

Never the less it very exciting session since I got to interact with the SQL community members. Apart from that participant had various questions about the cluster creation since most of them are database developers and some of them have already work on SQL cluster 2005.

One thing I briefly went talk about is the cluster migration from SQL 2005 cluster to SQL 2008. Forum members can download the presentation from www.sqlserveruniverse.com.

Apart from that we went and discuss about various technical setup and configurations you need give attention during the cluster creation and how to do basic level troubleshooting steps.

SQL MVP Dinesh Asanka presenting the SQL session,

forum members who won prizes,

Windows server 2008 R2 failover clustering

People who attend to the hands on workshop in the above topic in Tech.Ed 2010 I do hope you found my demonstration is valuable and got something out of it. During that time I’ve demonstrated how simplified process in creating basic cluster scenario in Windows 2008. Entire lab has been carried out in one single laptop and I know patient is a virtue at that time 🙂

During that time I used SatrWind product for the software based iSCSI solution which has been working as charming as it can be. I have been using this product for demos most of the time and really amazed by it’s simplified GUI console. But don’t think this is a simple software, underneath you’ll find some advance features built inside it. I’ve been blogging about this product for several times since I see a growth software based SAN solutions in the market.

So if anyone interested in demonstrating the clustering features in Windows 2008 you can download that slide deck from here. I have to admit I use various resources and slides from the other people as well. So I thank them all for that as well.

So as I always mention do contact me if you’ll need more support to build a affordable SAN solutions.