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

HYPER-V guest operating system support on Linux distributions

Few days back the above topic came to the discussion table with my colleagues. We got a project where customer got few RedHat machines. One argument went on RedHat Linux would not have mouse movement when we do a P2V and setup the IC’s (Integrated components) Going deep on this matter it is revealed Microsoft has not officially mentioned mouse integration will work properly and it is misunderstanding if someone states.

Following table show the supported guest OS and the capabilities HYPER-V will support on them,

Guest operating system Device and service support
CentOS 5.2 – 5.6, 6.0 (x86 edition and x64 edition)

Drivers: IDE, SCSI, and networking

Services: Time synchronization, operating system shutdown, and heartbeat

Red Hat Enterprise Linux 6.0 and 6.1, x86 edition and x64 edition

Drivers: IDE, SCSI, and networking

Services: Time synchronization, operating system shutdown, and heartbeat

Red Hat Enterprise Linux 5.6 (x86 edition and x64 edition)

Drivers: IDE, SCSI, and networking

Services: Time synchronization, operating system shutdown, and heartbeat

SUSE Linux Enterprise Server 11 (x86 edition and x64 edition) with Service Pack 1

Drivers: IDE, SCSI, and networking

Services: Time synchronization, operating system shutdown, and heartbeat

SUSE Linux Enterprise Server 10 (x86 edition and x64 edition) with Service Pack 4

Drivers: IDE, SCSI, and networking

Services: Time synchronization, operating system shutdown, and heartbeat

Windows Server 2008 R2

Drivers: IDE, SCSI, networking, video, and mouse

Services: operating system shutdown, time synchronization, data exchange, heartbeat, and online backup

Services: operating system shutdown, time synchronization, data exchange, heartbeat, and online backup

The above list is taken from the TechNet site. You can download the latest Linux Integration services from here.