I’ll do my best to liveblog as much content from this session as possible, but I arrived late (you’ll understand why soon) and my battery is running low. Sorry all!
I arrived in the session as the speaker was reviewing some Hyper-V architecture with regards to the placement of the storage drivers and the use of Virtualization Service Clients (VSCs) and Virtualization Service Providers (VSPs). I think I covered those in my earlier liveblogging session from Day 1; if I didn’t, I’ll revise this post with more information later.
One key limitation with virtualized servers with regards to storage is how to handle Fibre Channel; you can’t really have multiple VMs using the same HBA because they would all share the same WWPN (World Wide Port Name), and SAN zoning is all built on the use of WWPNs. NPIV (N_Port ID Virtualization) is the answer here, which allows an HBA to register multiple fabric addresses. Each VM can use one of those multiple addresses. This allows us to return to zoning on a per server/per VM basis and eliminates this problem.
Next the presenter discussed the idea of virtual fabrics, a T.11 standard implemented by Cisco as VSAN and by Brocade as LSAN. Each HBA can only reside in a single virtual fabric, but traffic can be routed to other fabrics as needed.
Regarding virtual HBAs and fabric QoS, this is handled on a per-initiator WWPN basis. (I guess this means we can apply QoS to individual VMs when using NPIV, then?) I’m not exactly sure why the presenter is discussing this particular topic; it doesn’t seem to tie back to the main topic of storage connectivity for virtual machines.
So what is required to do virtual HBAs (again, I’m assuming this means using NPIV to present a virtual HBA to a Hyper-V hosted VM)? Next month, a newer version of Emulex VMPilot and the Storport Miniport driver will provide support for Windows Server 2003 SP2 and Hyper-V on Windows Server 2008. This will be compatible with 4Gpbs HBA from Emulex. Depending upon the HBA, the number of virtual ports (VPorts) may be limited (only 16 VPorts on midrange 4Gbps HBAs, for example).
There is no performance impact for using virtual HBAs, by the way. The number is so small as to defy measurement.
You also need FC switch support for NPIV. This requirement only applies to “edge switches” where NPIV-enabled HBAs will actually connect. There are also no other requirements on storage devices.
Best practices for storage access:
- For consolidating file/print servers or desktops, place all the VMs on a single shared LUN. (Note that this prevents Quick Migration.) You can’t use fabric QoS on a per-VM basis also, because all the VMs share the same WWPN of the physical HBA.
- For virtualizing application servers, use a dedicated LUN for each VM. This will allow the use of Quick Migration and can used virtual HBA, LUNs can be masked only to this specific VM, and you can create single-initiator zones using the virtual HBA and the applicable storage targets.
System Center Virtual Machine Manager (SCVMM) supports VDS (Virtual Disk Service) for Fibre Channel and iSCSI. VMM allows partners to extend built-in functionality by exposing NPIV WMI interfaces and allowing NPIV WMI methods to enumerate, create, and delete VPorts. In addition, VMM automatically manages VM and VPort migration in SANs.
Emulex VMPilot is the UI for SAN configuration with VMM. The current version is version 1.1; version 1.2 will be released next month and will provide support for Hyper-V. VMPilot with VMM enables VPort creation according to the T.11 NPIV standard, provides a graphical and command line interface, and provides automatic generation of virtual WWPNs. (I need to stop by the Emulex booth downstairs to get more information on this.) VMPilot also supplies a VMM PRO pack to report HBA health up to System Center Operations Manager and then back to SCVMM.
Recapping the benefits:
- LUN optimization through VM to LUN assignment
- Fabric QoS and prioritization at the VM level
- Single-initiator zoning possible, returns to a storage best practice
- Array-level LUN masking to control LUN access on a per-VM basis
- Accelerated VM migration (not sure about this one)
- VSAN integration and routing
- Eliminates duplication of storage administration tasks
I think that’s about going to do it for this liveblog; my battery is almost gone. I’ll be back with more information as soon as possible!
Tags: HyperV, Microsoft, SAN, Storage, TechEd2008, Virtualization, Windows
-
Hello Scott
Are you familiar with QLogic?
QLogic has published a detailed guide on SC VMM2008, Hyper-V and VM Migration using NPIV technology.
Given that QLogic is the market share leader in Fibre Channel HBAs, you may want to mention this document in a forthcoming blog post. QLogic was also specifically mentioned in the official Microsoft press release when Hyper-V was RTM.
Thanks
-
Hi Scott,
Firstly would like to congratulate you on the work you do and knowledge you share. Having said that though, we had a interesting discussion with a colleague around this particular article. Specifically the sentence “This allows us to return to zoning on a per server/per VM basis and eliminates this problem.” to us seems inaccurate, in that there is no way of zoning a virtual machine on the fabric. Yes, there is a way to create a virtual WWN but there is no way of securing that WWN to the virtual machine. If another LUN was created and associated with the Hyper-V server then the second LUN could in fact be used by another virtual machine. Therefore I feel the term zoning is inaccurate, as with zoning a physical server this will provide exclusive access and deny other servers to see or use the volume. Although now that I think of it from the administrator of the OS within the virutal machine perspective it could be true, however from the virtualisation administrator perspective probably not.
look forward to hearing your thoughts.
Regards,
Harry. -
Scott,
Funny you mentioned that article as that is what triggered the discussion. Thanks for the speedy response, I did some further research yesterday and found within the VI3 documentation that there is an option to set the WWPN of the virtual machine – this directly supports your explanation and will allow to “Zone” a virtual machine. However it seems in the Microsoft space there is no option to set the WWPN of the Virtual machine, any documentation I have found (nothing compared to VMware!) does not mention any option nor can I find the setting itself. From my understanding you can simply use the volume presented to the Hyper-V environment as just another disk, which to me is not “Zoning a VM”.
Regards,
Harry




5 comments
Comments feed for this article
Trackback link: http://blog.scottlowe.org/2008/06/11/vir250-advanced-storage-connectivity-for-vms/trackback/