From the Field! RSS 2.0
# Saturday, December 29, 2007

Ok. This is what I've learned so far about device access in Hyper-V.

For device access in Hyper-V, there are two underlying methods:- Emulated and VSP/VSC devices.

Emulated devices are just like the devices you have seen or used in Virtual Server 2005 R2. Whenever the virtual machine or VM attempts to access I/O, the hypervisor traps that request and the I/O gets emulated in the parent partition. This approach is highly compatible across most of the OS, but it has its own overhead and slow.

To overcome the above mentioned I/O performance issues, VSP/VSC devices have been developed in Windows Server 2008 Hyper-V. The hidden caveat is, these are supported only on specific OS. Of course, Windows 2003 and above is supported. This approach requires VSC drivers in the guest OS which looks like normal drivers in windows. With VSC drivers, I/O is not trapped by the hypervisor as it does in emulated one - rather the VSC drivers directly communicates with VSP's over VMBUS and operates much faster than emulated devices.

Ok, now we know the two underlying methods available for device access. Let's take a look at the type of disk contoller Hyper-V provides for storage. The excerpt below has shamelessly been copied from here.

There are two types of disk controllers that Hyper-V supports: SCSI and IDE.  There are two IDE controllers and four SCSI controllers available.

Each IDE controller can have two devices.  You can't boot from a SCSI controller.  This means an IDE disk will be required.  The boot disk will be IDE controller 0 Device 0.  If you want a CDROM it will consume an IDE device slot.

EACH SCSI controller can support up to 255 devices.

Both SCSI and IDE can support pass-through, Fixed, Dynamic, Sparse, and Delta drives (see http://blogs.msdn.com/tvoellm/archive/2007/10/13/what-windows-server-virtualization-aka-viridian-storage-is-best-for-you.aspx).  The difference lies in how the controllers are actually implemented.  The IDE controller is emulated where as the SCSI controller is synthetic.  So what does this mean?

The IDE controller implements a well-known IDE controller and this means there is extra processing before the I/O is sent to the disk.  This processing occurs in vmwp.exe (a user mode process that exists for each started VM.  More on this in a later post).  Once the IDE emulation is complete the I/O is sent into the Root Partition’s I/O Stack.  I/O completion requires a trip back to vmwp.exe.

The SCSI controller is not emulated.  The SCSI controller uses VMBUS (Virtual Machine BUS.  More on this in a later post).  The I/O's pass from the Child (aka Guest) Partition to the root over VMBUS and enter the I/O stack.  You can already see one less process/machine context switch is required because vmwp.exe does not get invoked.  Once and I/O completes its completion is sent over VMBUS.

There is a lot more to how both the IDE and SCSI controllers work however the descriptions below should help you to understand why SCSI controllers are the right choice for the best performance.

 

One of the main reasons you can't boot off of SCSI device is because it is implemented as a synthetic device in Hyper-V and the VMBUS is not available during the boot. Rest of the devices such as CD, IDE, Legacy Network Adapter and Floppy is supported though.

 

Note: Since Hyper-V is not RTM'ed all numbers are subject to change as are the behaviors.

Saturday, December 29, 2007 12:49:45 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Hyper-V | Virtualization
# Thursday, December 27, 2007

I've been testing Hyper-V lately and thought of compiling a list of things which are either incompatibilities, issues or "bugs" with Hyper-V.
Note: This is what I have experienced personally or from the field and is never a complete one. I'll be updating it as and when new information is available.

  1. All roles except DC (Domain controller) role is supported
  2. If you are using virtual switches in a VM cluster then make sure they are identically named on both nodes. Make sure you have installed integration services before attempting a failover. I also noticed that creating virtual switches using the GUI during installation doesn't cut it and you need to delete it and recreate it again to make it properly work inside a cluster
  3. Since, we are dealing with pre-release material here and one thumb rule is, don't expect everything to work straight forward. For instance, upgrading a VM configured on Hyper-V pre-beta code (RC0) to Hyper-V Beta RC1 may not be supported and may offer un-predicatable results.
  4. Always install the virtualization integration components for Linux inside Virtual Guests. Otherwise, you won't see the devices. The Linux downloads are available from Connect Website 
  5. While enabling Hyper-V role, make sure you keep (do not change) EN-US as your default language otherwise you may get VMM service failures and Hyper-V wouldn't start
  6. Wireless network adapters on laptops are not supported by Hyper-V.
Thursday, December 27, 2007 9:57:03 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Hyper-V | Virtualization
# Thursday, December 06, 2007

I recently did an implementation where the customer wanted to have a solution where they can have redundant print servers serving all the print queues and migrate all of them without any outage. Among couple of different options - MSCS, NLB, DFS etc, we went with NLB.

I'm going to give you the complete details on how we did it. Though this works seamlessly and customer is happy, it is not "supported" my MSFT. So, decide and use at you own risk.

1. Configure NLB on the 2 servers using the "Network Load Balancing Manager" (part of Admin Pack) use a dedicated NIC on each server and use unicast. Some CISCO routers do not pass ip address with multicast MAC addresses

2. Set NLB Port Rules to listen on port 135 (TCP/UDP) and ports 1024-65535 (TCP/UDP)

 

3. Configure the print queues identically on each server including Printer Name, Share Name, Driver etc. You can use printmig utility (download here). You can setup all your queues on one server and migrate them over using the tool to the second server very easitly.

 

4. Make the computer policy change on both servers. On the Local Computer Policy set "Computer Configuration > Administrative Templates > Printers > Allow Print Spooler to accept client connections" to Enabled and restart the Print Spooler service.

 

5. Manually create a DNS A record pointing to the IP of the NLB Cluster.

 

Now comes the tricky part - Obviously, those who need a new mapping would go with \\NLBClusterName\PrinterShareName, very simple and easy right?, but what about those users who are still mapped to the printers using old name? Alright, here's the trick - First you add a DNS A record for the name of each of the old print servers which points to the new cluster IP. Be sure to remove the old DNS entries or rename them to avoid duplicate name and un-planned outage (needless to say that a proper change management is required.)

 

7. Add an alias entry for each old server name you want the new server to be identified with on the new load balanced servers. The idea here is, if anyone uses old server name to map their printer, they'll automatically be re-directed to the new one.

 

Navigate to registry hive, HKEY_Local_Machine\System\CurrentControlSet\Services\LanmanServer\Parameters

Add Value: OptionalNames REG_SZ String: "Alias"

If you make it a type REG_MULTI_SZ, you can add multiple aliases.

 

If do not like step 7 and feel that you shouldn't be dealing with old print server names then use login scripts to re-map your users to the new print server or deploy a software package using a software deployment tool (SMS, Altiris etc) to re-map them.

 

Have Fun!

Thursday, December 06, 2007 7:11:58 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Clustering
# Friday, November 30, 2007

Windows Server Virtualization (WSv) CTP only supports English version of the OS at the moment and has been tested only on selected hardware.

I have been trying to load Windows Server 2008 on SunFire x4200 (AMD Opetron x64-bit) hardware and wasn't even successful in installing the OS and then I found this link on MS Website which clearly says, what all hardware is tested and supported for the CTP release.

WSv Supports the following (for those who love bird's eye view)

  • Hyper-V supports 32 and 64-bit SMP guests
  • Supports iSCSI and Fibre Channel SAN
  • Large memory allocation (more than 32 GB per machine)
  • Integrated Virtual Switch

Recommended

  • Only Windows OS
  • Maximum 4 virtual processors be allocated to a VM running "Windows 2K8". Only 1 for "Windows 2K3"
  • 1 virtual SCSI controller per VM
  • 1 virtual network controller per VM
  • 1 legacy virtual network controller per VM

Not tested and Recommended

  • Not compatible with dynamic disks
  • Disable hyperthreading
  • PXE setting inside the VM BIOS doesn't support 64-bit OS deployment
  • Do not create dynamically expanding virtual hard disks that are greater than 1 TB in size
  • Clustering of VMs
  • Clustering of physical server and quick migration
  • Compacting of virtual hard disks

Recommended Hardware Devices

HP - Proliant DL585(AMD), DL385 G2(AMD), DL 580 G4(Intel), DL380 G5(Intel)

DELL - PowerEdge 6950(AMD F2 Opteron 8218 with BIOS 1.1.2 or later), 6850(Intel), 2950 (Intel, with BIOS 1.3.7 or later)

Fujitsu - TX300 S2(Intel)

NEC- Express 5800 120Ri-2(Intel)

Friday, November 30, 2007 9:57:48 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Hyper-V | Virtualization
# Monday, October 15, 2007

If you receive a pre-requisite check error "ASP.Net 2.0 is not enabled" while installing MOM 2005 or SCOM 2007 even after making sure that you installed ASP.Net using Add-Remove programs, then try running aspnet_regiis -i at the command prompt.

You can find the executable under C:\windows\Microsoft.NET\Framework\v2.0.50727

 

image

Monday, October 15, 2007 2:55:44 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
MS Operations Manager
# Sunday, July 22, 2007

Microsoft Surface represents a fundamental change in the way we interact with digital content.With Surface, we can actually grab data with our hands, and move information between objects with natural gestures and touch.

Microsoft Surface features a 30-inch tabletop display whose unique abilities allow for several people to work independently or simultaneously. All without using a keyboard or mouse.

Very soon we can forget about those ergonomics issues. I just can't wait to USE THIS in my home :-)

Sunday, July 22, 2007 2:04:12 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] - Trackback
External Web
# Sunday, July 15, 2007

Yes, some crazy iphone freaks may.

Ebay is known for selling pretty much anything on the planet (even used panties of Paris Hilton once, disgusting isn't it?). Alright, how about a smoked iphone?

Check it Out!

Oh yes! you can always buy the blended iphone for $1026 or more on EBAY HERE .....act fast, time is running out ;-)

Saturday, July 14, 2007 11:02:41 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] - Trackback
External Web
# Saturday, July 14, 2007

A bit old news, but for those who haven't seen it yet :-)

 

Finally, MSFT has entered into SSL VPN market with its recent acquisition of whale communications (http://www.whalecommunications.com).
This is an appliance device which runs on Windows 2003 and uses ISA server.
Whale’s product line includes two editions of its Intelligent Application Gateway product that incorporates Microsoft’s ISA Server, multiple Intelligent Application Optimizers for both Microsoft and third-party applications, and Connectivity Modules.
Intelligent Application Gateway Product Editions
•Enterprise Edition
•Express Edition
Intelligent Application Optimizers
•SharePoint Portal Application Optimizer
•Microsoft Exchange Application Optimizer
•Mobile Access Optimizer
•IBM Lotus Domino Optimizer
•IBM Lotus Domino Web Access Optimizer
•SAP Enterprise Portal Optimizer
•EMC Documentum Webtop Optimizer
Connectivity Modules
•Network Connector (for back-connect applications like VoIP)
•Client/Server Connector
•Novell Connector
More Info: http://www.microsoft.com/isaserver/whale/default.mspx

Saturday, July 14, 2007 12:01:48 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] - Trackback
Security
# Friday, July 13, 2007

Nice tool from MS to post your blogs instantly.

Windows Live Writer

Friday, July 13, 2007 4:02:17 AM (GMT Standard Time, UTC+00:00)  #    Comments [1] - Trackback
Cool Tools
Friday, July 13, 2007 2:48:17 AM (GMT Standard Time, UTC+00:00)  #    Comments [1] - Trackback
External Web

If you have more than 4 GB physical memory, then SQL server will not use more than 1.7 GB memory. To make more memory available to SQL server, enable AWE and cofigure Set Max Memory parameter using sp_configure stored procedure. If you do not set max memory parameter then SQL will eventually eat up all memory it can. For instance, if you have 8 GB physical memory, the at least set the max value to 6 GB and leave the rest to the OS.  For more info: Check out this MS Link http://support.Microsoft.com/kb/274750

Friday, July 13, 2007 2:23:04 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
MS SQL
Enter your Email

Archive
<December 2007>
SunMonTueWedThuFriSat
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Aswathi Inc.
Sign In
Statistics
Total Posts: 19
This Year: 5
This Month: 0
This Week: 0
Comments: 11
All Content © 2008, Aswathi Inc.