Best HYPER-V tools in my belt

Posted: April 6, 2015 in HYPER-V
Tags: ,

Hi fellow blog readers, in this article I want to share with you all some of the common HYPER-V tools I use in my daily customer projects (Not all the tools used with one customer but vary). Again this is my list and your mileage can vary but share your comments and tools you use to make this article interactive and useful for other fellow readers.

1. Microsoft Assessment and Planning Toolkit (MAP) – The MAP Toolkit can help you ease the cloud-based migrations as well as local migrations. Before I do any P2V migration or virtualization project this is an important tool we use daily. One cool thing about this tool is it’s has been expand to assess your environment for readiness for Windows 8.1, Windows 7, Office 2013, Office 2010, Office 365, Windows Server 2012 and Windows 2012 R2, SQL Server 2014 as well. You can get more information about this tool from here.

2. Disk2vhd – One of the tool that still works for me. This tool is really simple but you have to do certain manual steps to get the VHD file cleansed. Not the best tool for mass VM migration but if you’re planning to do P2V, V2V in small numbers this tool works for you. More information about this tool can be found here.

3. 5nine V2V Easy Converter – As the name implies this nifty software do what is says effectively. Current version is 5.3. Free version would be more than enough for typical job. Why I like this tool so much is due to following reason

“Current version of 5nine V2V Converter supports conversion of Windows Server 2012 R2/2012/2008, Windows 8.x/7, Windows Server 2003 (x86 and x64), and most of Windows 2000 Advanced Server, Ubuntu and CentOS configurations. It also supports conversion to Gen1 and Gen2 Hyper-V Virtual Machines.”

So if your customer is still having Windows 2003 Server this is one tool you can rely on. But I have to warn ya HYPER-V will only support Server 2003 with SP2 and above and official support for OS is already over. Hint – Convince customer to move to Server 2012 or 2012 R2 Smile

4. IOMETER – We love to see how our VM can perform for certain workload before we jump into the installation of the software. We use this in our SAN testing as well and on VM testing. Nothing big I can say about this tool but one essential tool in my toolkit.

5. 5Nine Manager for HYPER-V – Not all my customers can afford to pay hefty price for System Center for  1- 4 HYPER-V host management. But still they want same manageability tools SCVMM used to provide. Well they won’t get 100% what they ask but 5Nine Manager is one definite tool I recommend to them. This software allows you to mange different versions of HYPER-V in single console. As a HYPER-V MVP I always stand for what is best method for HYPER-V deployment and server core is a must. not all the system administrators around the world is fancy about that ide and they prefer GUI. How to find the sweet spot on satisfy both requirement? Well expensive SCVMM do that and same goes with reasonable pricing 5Nine Smile You can find more details about the product in here.

That’s all from my side for now. In future articles I will share with you all what PowerShell commands I use to make my life easier when it comes to HYPER-V management.

SCUBanner

If you’re a organization who is using System Center or planning to user System Center, Cloud and Virtualization technology then this is an event you shouldn’t miss. All the industry gurus and experts will be on one location to share their experience with you. What’s more you’ll get a chance to meet them in-person and share your ideas and get expert advise free of charge.

System Center Universe is a global event carried out in various part of the world. APAC region event will be help on March 5-6. Look forward to see most of you during that time.

In my previous blogs I’ve highlighted how Microsoft Azure Site Recovery technology keep on improving everyday. Overall Microsoft Azure keep on adding new features frequently and keeping the phase with that is somewhat difficult as well Smile

Azure Site Recovery is such area Microsoft has been keep on improving to provide Disaster Recovery solutions to customers across the business segments. With the acquisition of the Image Scout who specialize in the disaster recovery solutions Microsoft expand their portfolio of DR options. Now ASR can provide support to protect VMware sites and physical machines as well. Current option are as follows,

1. VMware Site A to VMware Site B orchestrated DR failover via ASR
2. Protecting Physical machines from Site A to Site B orchestrated DR failover via ASR
3. Migrating VMware and Physical servers to Azure using Microsoft Migration Accelerator (Which use Image technology)

Microsoft leveraging Image technology as it is without much modification at this stage. Main components and function model of Image Scout is as follows,

  • Configuration Server – VM running at the secondary site that is responsible for maintaining replication policies, replication status, and health reports.
  • Master Target – VM running at the secondary site that acts as the repository for all replicated data and change journals.
  • Mobility Service – Light-weight software component that captures data changes being generated on the protected workloads continuously, in real-time and directly from memory, for replication purposes.
  • Process Server – Gateway residing at the primary site that handles all compute and IO intensive aspects of replication.

Base on the VM’s, physical machines capacity you need to size the PS (Process Server) & MT (Master Target) servers accordingly. PS server will be holding all the data which is need to be replicated to the Azure side.It can be deployed on a physical or a virtual machine running Windows Server 2012 R2. It is responsible for receiving data changes from the primary workloads, performing compression, encryption, caching and bandwidth management, before replicating to a secondary location for DR purposes. This approach off-loads all compute and IO intensive tasks involved in continuous replication to the Process Server, thereby eliminating nearly all overheads on the protected workloads.

In general, Process Server sizing depends on the daily change rate across all protected workloads. Sufficient compute is needed to perform tasks such as inline compression and encryption. You also need to ensure that you provision sufficient cache storage in the event of a network bottleneck or outage between primary and secondary sites. The table below provides a good guideline to follow, especially when implementing ASR with the InMage replication channel, or Migration Accelerator the first time.

image

Replication of the data will occur over IP network. This can be via Site to Site VPN between onsite and Azure or via the public internet. Inbound ports include 9080 or 9443 for data transfer from source and target entities; and outbound ports include 80 or 443 to the Configuration Server to provide real-time updates on replication status and health.

n summary, sizing and placement aspects of provisioning a Process Server for ASR with the InMage replication channel depend on a couple of factors such as number of protected workloads, and daily change rate. In future you’ll find more exciting news from ASR team on their improvement for the Disaster Recovery with combination of Image Scout Smile

January 2015

Last month I had the opportunity to present above topic during local ITPro community event. With the recent announcement if Azure Site Recovery enhancement it is very clear Disaster Recovery is no longer only Enterprise level only solution. Now this is available even for SMB customers with very low price tag.

Some of the key questions are raised on multi hypervisor support. It is no surprise Microsoft has not left those customers alone. With the acquisition of Image Scout solution we now can offer DR solution for VMware, Citrix & Physical servers as well. Very soon Microsoft will focus on providing VMware to Azure site recovery solutions as well.

With the introduction of new Azure Site Recovery features and Windows Azure Pack solutions the role of VMM is becoming high importance. It is very clear VMM need to be in HA (Highly Available) mode. VMM Engineer team has taken the liberty of sharing the details how to setup that in detail level. I believe this is right time for customers to adopt this considering the level of Cloud adoption they plan to leverage on their organization.

You can find the step-by-step guide here.

clip_image002

The Microsoft Azure Virtual Machine Optimization Assessment tool will automatically inspect your Virtual Machines running in Microsoft Azure. Optimize your investment in Azure with the prioritized recommendations provided.

According to Microsoft this software can be run from your local computer as well targeted the Azure. Detail information are as follows according to Microsoft web site,

“The Microsoft Azure Virtual Machine Optimization Assessment provides prioritized recommendations across six focus area to optimize your experience while running in Microsoft Azure. After a short questionnaire, automated data collection and analysis, a custom report is generated which provides you the information required to implement and understand the recommendations. Your report includes an executive summary and key recommendations which provide a high level view across the focus areas to help you manage and prioritize optimizing your environment. Viewing the detailed recommendations provides action areas within each focus area along with expert guidance and tailored to your environment. “

Download consist of application and brief Readme guide document. In the initial release this tool can assess AD, SQL and SharePoint. Hope this will be a growing list in the future.

You can download the tool from here.

Disaster recovery is something we pray never to happen but unavoidable in certain situations. Every business organization regardless of their size need to plan for a disaster recovery plan to protect their key business assets. In this articles we’re look into how Azure Disaster Recovery (Cloud based DR)  can be used to protect critical business applications systems.

With recent updates there are several methods we can use Azure Site Recovery (ASR) to protect our on premise systems,

1. On-premises Hyper-V site to Azure protection with Hyper-V replication — Orchestrate replication, failover, and recovery from an on-premises site with one or more Hyper-V servers but without System Center VMM. Virtual machine data is replicated from a source Hyper-V host server to Azure.

2. On-premises VMM site to on-premises VMM site protection with Hyper-V replication — Orchestrate replication, failover, and recovery between on-premises VMM sites. Virtual machine data is replicated from a source Hyper-V host server to a target host server.

3. On-premises VMM site to on-premises VMM site protection with SAN replication — Orchestrates end-to-end replication, failover, and recovery using storage array-based replication between SAN devices that host virtual machine data in source and target on-premises sites.

4. On-premises VMM site to Azure protection — Orchestrate replication, failover, and recovery between an on-premises VMM site and Azure. Replicated virtual machine data is stored in Azure storage.

5. On-premises VMWare site to on-premises VMWare site with InMage — InMage Scout is a recent Microsoft acquisition that provides real-time replication between on-premises VMWare sites. Right now InMage is available as a separate product that’s obtained via a subscription to the Azure Site Recovery service.

Option 1 will be covered on this article. Most of the SMB business cannot afford to have SCVMM software but till need DR solution. Apart from that we didn’t forget our VMware fan base who need affordable DR solution. With the acquisition of the Inmage software company now Microsoft protect VMware environments as well.

To enable HYPER-V host to protect VM’s on Azure cloud we need to do few more steps earlier. High level steps are as follows,

Step 1: Create a vault—Create an Azure Site Recovery vault.

Step 2: Create a Hyper-V site—Create a Hyper-V site as a logical container for all the Hyper-V servers that contain virtual machines you want to protect.

Step 3: Prepare Hyper-V servers—Generate a registration key and download the Provider setup file. You run the file on each Hyper-V server in the site and select the key to register the server in the vault.

Step 4: Prepare resources—Create an Azure storage account to store replicated virtual machines.

Step 5: Create and configure protection groups—Create a protection group and apply protection settings to it. The protection settings will be applied to every virtual machine you add to the group.

Step 6: Enable protection for virtual machines—Enable protection for virtual machines by adding them to a protection group.

Step 7: Test the deployment—Run a test failover for a virtual machine.

Step 1 – Create a vault,
Sign in to the Azure Management Portal –> Expand Data Services, expand Recovery Services, and click Site Recovery Vault –> Click Create New and then click Quick Create –>In Name field enter a friendly name to identify the vault (in my case matrixvault) –>In Region select the geographic region for the vault –> Click Create vault
image

Step 2: Create a Hyper-V site,
In the Recovery Services page, click the vault to open the Quick Start page–>In the dropdown list, select Between an on-premises Hyper-V site and Azure –> In Create a Hyper-V Site click Create Hyper-V site. Specify a site name and save.
image

image

image

Step 3: Prepare Hyper-V servers,
In Prepare Hyper-V servers, click Download a registration key file –> On the Download Registration Key page, click Download next to the site –> Click Download the Provider to obtain the latest version

image

image image

image image

imageimage

In the last picture you can see two files has been installed. Their function is as follows,

Azure Site Recovery Provider—Handles communication and orchestration between the Hyper-V server and the Azure Site Recovery portal.
Azure Recovery Services Agent—Handles data transport between virtual machines running on the source Hyper-V server and Azure storage.

image

On the Vault Settings page, click Browse to select the key file. Specify the Azure Site Recovery subscription, the vault name, and the Hyper-V site to which the Hyper-V server belongs.

image

image

image

image

Step 4: Prepare resources – You need to have a storage account in Azure if not you can go ahead and create a one. Make sure the storage account having geo-replication enabled.
I also make sure there will be a dedicated virtual network created as well.

image

Step 5: Create and configure protection groups
Protection groups group the virtual machines togerhter and apply same protection settings. You apply protection settings to a protection group, and those settings are applied to all virtual machines that you add to the group.

image

imageimage
image

Step 6: Enable protection for virtual machines

Now its time to select which VM’s you need to protect from your HYPER-V host.
image 

image

image  image

ASR will start checking VM compatibility to be exported to the Azure side.

image

Now lets jump into the HYPER-V MMC console and check the VM replication status,
image

Depending on your internet connection speed VM replication time can be vary.
image

Step 7: Test the deployment
Now it’s time to test the VM failover to Azure side. To do that we need to we need to run a test failover for the protected virtual machine.
Protected Items –> Protection Groups –> protectiongroup_name –> Virtual Machines (select the virtual machine you want to fail over) –> and click Test Failover.

image

image

You can put the test VM into production virtual network in Azure or start the VM without a virtual network. In my case I’ll put into my production virtual network.

image image

Now series of actions will be carried out in orderly manner. Once that completed we will get our VM in Azure side active. In any case you’ll encounter any issues in this tasks you can get a detail report from the bottom of the Azure portal. This is useful for troubleshooting purpose.

Now VM creation is completed. We have to go and test the VM up and running properly. If things are ok once we confirm VM will be removed from the ASR since our ASR test is success.

image  image

image  image

Now ASR will remove the temporary test VM from the environment,

image

Some of our VM’s can be very large and replication via internet not feasible. In that situation you can courier the data to Microsoft Azure data center. Microsoft introduce a a service called as “Microsoft Azure Import/Export service” You can find more information about that here.