DISK2VHD 2 RELEASED

Disk2VHD has been a very useful tool for most IT Pro when it comes to conversions to VHD format. It has been a very good tool during P2V conversions as well. Since SCVMM 2012 R2 no longer supports P2V function this tool going to be in virtualization engineers belt for long time 🙂

Saying that this is version 2 which supports VHDX format. Tool also released by sysinternals which is part of the Microsoft company but you’ll not get additional support apart from community support. But again no complains since we use that during version 1 without MS support also 🙂

You can download the tool from here.

Are you testing Windows 2012 VM on Windows 2008 R2 HYPER-V host?

In case if you’re testing Windows 2012 VM’s on Windows 2008 R2 HYPER-V host then you better apply hotfix 2526776 to the host computer. If you miss the update you’ll experience following symptoms in your Windows 2012 VM’s

  • The Windows 8 or Windows Server 2012 virtual machine stops responding.
  • The Windows Server 2008 R2 host computer displays a stop error message and restarts automatically. This behavior brings down all other running virtual machines together with the host computer

Applying this hotfix will require restart on your host computer. But I d hope at this stage most of you have already moved your test lab servers into Windows 2012 Smile

Adding workgroup HYPER-V host to SCVMM console

I have been actively engaging with a customer for a HYPER-V project. One of the key requirements is to test the features in the SCVMM. So first task is to install the SCVMM. Piece of cake went smoothly inside a HYPER-V guest OS.  Now adding the physical host to the SCVMM console. Well it supposed to be few easy clicks and finish the job right?…..well no it isn’t if you have your HYPER-V host in a workgroup environment.  In my scenario customer had several HYPER-V guest pc’s in domain environment but the physical PC itself in workgroup environment.

Finally found workgroup mode HYPER-V host can be added to the SCVMM console by selecting perimeter network mode. Under this mode you’ll need to create a secret shared key between the host and the SCVMM console. This might be a typical scenario if a customer wants to host several HYPER-V guests in DMZ zone. (Eg: WEB servers, DNS servers…etc)

The step by step guide article is located here

RedHat Linux on HYPER-V

Few days back I mention about the latest version availability of Linux IC for HYPER-V. Soon after that got a chance to test this on RH 6.1. Below steps will guide through the setup process of RH 6.1 along with Linux IC. Once completed you have the mouse drivers setup properly. Some of the latest improvements of the Linux IC’s are,

First I went ahead and created a VM with default settings. Important part is to add a Legacy network card initially,

image

Adding legacy card will allow the Linux OS to have network communication without Linux  IC (Integrated components)

Rest of the process is typical Linux installation and will be shared with you’ll with screen captures,

image image

image image

image image

image Make sure you’re tick “Connect automatically” for the NIC in bootup.

image image

Make sure you select customize now and add the desktop component Smile

imageimage

At this moment Linux setup is completed. After the boot up you’ll have the chance to register with RedHat Network. This will help you to get the latest updates. Since I didn’t had a RH account I have skip this option,

image image

Now we go ahead and mount the Linux IC iso file which we have downloaded from Microsoft web site.

image image

Go ahead and open the Terminal and login under root account by typing “su –“

image image

Mount the CD Rom to the system, once mounted you can type “ls” and view the files in the CD Rom,

image image

Now it’s time to install the integrated components, depend on your operating system 32bit or 64bit execution files will be different,

For 64-bit versions:

# yum install /media/x86_64/kmod-microsoft-hyper-v-rhel6-60.1.x86_64

# yum install /media/x86_64/microsoft-hyper-v-rhel6-60.1.x86_64

# reboot

For 32-bit versions:

# yum install /media/x86/kmod-microsoft-hyper-v-rhel6-60.1.i686

#yum install /media/x86/microsoft-hyper-v-rhel6-60.1.i686

# reboot

I had a 32bit version of RH 6.1 ,

image image

image image

To see if Linux IC setup properly,

image

After this completes you can reboot the system and then check the mouse integration and also the functionality of the second NIC.

Latest Linux IC can be downloaded from here.

Microsoft Assessment and Planning (MAP) Toolkit 6.5 Available

Recently enough Microsoft released the latest version of it’s assessment and Planning toolkit’s latest version (6.5) Fro those who don’t know MAPS it’s a software which available freely for you to do assessment prior getting your hands certain projects. This tool is really useful for consultants, engineers as well as for the end user as well to carry out their own assessment of their current infrastructure. Some of the benefits of the latest version are as follows,

  • Discover Oracle instances on Itanium-based servers for migration to SQL Server: useful for SQL Server migration projects when you tire of the price and virtualization support of Oracle.
  • Assess your software usage and evaluate your licensing needs with the Software Usage Tracking feature, now updated with the Forefront Endpoint Protection (FEP) scenario: get your licensing right before and auditor does.
  • Accelerate planning for the private cloud with Microsoft Private Cloud Fast Track Onboarding: FAST is the Microsoft private cloud architecture for their big international partners.
  • Identify migration opportunities with enhanced heterogeneous server environment inventory: this stuff supports MySQL, Linux and VMware scanning.
  • Accelerate planning and migration with the new UI and usability updates in MAP 6.5: All new UI to lay out stuff more logically.

Personally I recommend to use the MAPS before you jump into HYPER-V projects and do recommendation based on your assumptions. Some would argue that based on the experience which is great but backing up that with some real data is much more cooler SmileMAPS will do that part for you with great deal of data with nice presentable manner. Another cool thing about MAPS it can do this even in very large network environments. Recommend to let the scan gather information at least for one week time. This is one of the best tool I can recommend given by Microsoft for free Smile

Apart from that as I mention customers can use the latest version to carry our license assessment on their environment. This is really helpful for them taking decision on license purchasing and fall under compliances.

You can obtain the latest version with sample databases in here. Before setting up MAPS spend some time reading the FAQ pages as well.

PowerShell module for hyper-v

PowerShell is a very powerful tool you can use across Microsoft technologies. Microsoft will keep on adopting and improving this technology every time. Right now PowerShell module ver 2 for HYPER-V has been released. This article will discuss how can you install the modules correctly into your Windows 2008 R2 server. Please note this is for Windows 2008 R2 only!

First get the PS modules from the codeplex web site. Url is here

image

Download the zip file to a root drive or any preferred area and unzip. Once that complete locate the “install.bat” file and execute it with administrator privilege.

image

[install hyper-v module13[4].png]

[install hyper-v module15[4].png]

Once the installation completed, we’ll move the unzip folder in the PS module folder located in the root drive, (I’ve rename the folder as HyperV and copied to the modules folder)

image

Now we can import this to the system by executing through PowerShell. Open the PowerShell and try to run “import-module HyperV” you’ll grant with a error messageSmile

image

We need to enable the execution permissions to import the module, please follow the instruction mention in below screenshot,

image

After that import the Hyper-V modules,

image

Now when that complete we can run the command “Get-Command –Module hyperv” to list down the available commands,

image

Now we have plethora of task can be automated combing these commands, it’s all about your imagination Smile

image