Qlogic Fibre Channel HBA and VM Migration Giude
Qlogic Fibre Channel HBA and VM Migration Giude

Qlogic Fibre Channel HBA and VM Migration Giude

Fibre channel hba and vm migration
Table of Contents

Advertisement

Fibre Channel HBA and VM Migration
Guide for Hyper-V™ and System Center VMM2008
FC0054605-00 A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Fibre Channel HBA and VM and is the answer not in the manual?

Questions and answers

Summary of Contents for Qlogic Fibre Channel HBA and VM

  • Page 1 Fibre Channel HBA and VM Migration Guide for Hyper-V™ and System Center VMM2008 FC0054605-00 A...
  • Page 2 QLogic Corporation reserves the right to change product specifications at any time without notice. Applications described in this document for any of these products are for illustrative purposes only. QLogic Corporation makes no representation nor warranty that such applications are suitable for the specified use without further testing or modification.
  • Page 3: Table Of Contents

    N_Port ID Virtualization ........QLogic FC Adapter NPIV Solution ....... .
  • Page 4 Troubleshooting Windows Server 2008 Hyper-V and Virtual Machines . . . Troubleshooting QLogic Virtual Adapter (NPIV)..... . Activity Flow Chart Hyper-V Processor Virtualization Extensions System Requirements .
  • Page 5: Introduction

    Introduction Abstract This guide describes procedures and best practices for planning and deploying an N_Port ID Virtualization (NPIV) solution with QLogic Fibre Channel (FC) adapters in a Microsoft Windows Server 2008 Hyper-V™ and System Center Virtual ® ® Machine Manager (VMM) 2008 environment.
  • Page 6: Microsoft Windows Server 2008 Hyper-V

    1 – Introduction Microsoft Windows Server 2008 Hyper-V Microsoft Windows Server 2008 Hyper-V Microsoft Windows Server 2008 Hyper-V is the next-generation, hypervisor-based server virtualization technology. It maximizes server hardware investments by consolidating multiple server roles as separate Virtual Machines (VMs) running on a single physical machine.
  • Page 7: Qlogic Fc Adapter Npiv Solution

    To complement Microsoft and other server virtualization software solutions, QLogic has extended virtualization capabilities to the adapter hardware through NPIV. All QLogic 2400 and 2500 series FC adapters implement and support NPIV. QLogic provides support for creating, deleting, and managing NPIV ports through...
  • Page 8: How This Guide Is Organized

    1 – Introduction How this Guide is Organized For a detailed discussion of NPIV benefits, see the QLogic White Paper HBA Virtualization Technologies for Windows OS Environments. This white paper is available at the following web page: www.qlogic.com/EducationAndResources/WhitePapersResourcelibrarySan.aspx How this Guide is Organized...
  • Page 9 1 – Introduction How this Guide is Organized Appendix A. Troubleshooting Appendix B. Activity Flow Chart Appendix C. Hyper-V Processor Virtualization Extensions. This appendix lists the requirements for the Intel -VT and AMD -V extensions. ® ® FC0054605-00 A...
  • Page 10 1 – Introduction How this Guide is Organized Notes FC0054605-00 A...
  • Page 11: Npiv Deployment Requirements

    NPIV Deployment Requirements The following sections list the hardware and software requirements that must be met before deploying a QLogic NPIV solution on Microsoft Windows Server 2008 Hyper-V. Hardware Requirements NPIV Enabled FC Adapter. QLogic 2400 series (4Gb) or 2500 series (8Gb) Fibre Channel adapter.
  • Page 12 2 – NPIV Deployment Requirements Software Requirements QLogic SANsurfer FC HBA Manager GUI (or SANsurfer FC HBA CLI) and Agent. Version 5.0.1 Build 37 or higher Multipathing I/O (MPIO). Latest available version of the MPIO software from your storage array vendor. One example is EMC...
  • Page 13: Sample Configuration And Topology

    3-1, Server A and Server B are called the host servers, which host the Virtual Machines and QLogic FC adapters. These servers are connected to the SAN via an NPIV-enabled switch. Both Server A and Server B are part of a Windows domain hosted by Server C.
  • Page 14: Npiv Topology

    3 – Sample Configuration and Topology Figure 3-2 shows the NPIV topology (how all the logical components of the virtualization solution are connected to each other). Figure 3-2. NPIV Topology FC0054605-00 A...
  • Page 15: Configuring The Host And Vmm Servers

    Configure this server to be part of a Windows domain (Active Directory). Install System Center VMM2008 and all its required components. Install the QLogic SANsurfer FC HBA Manager or SANsurfer FC HBA CLI management tool (download from www.qlogic.com). Install Microsoft Virtual Disk service.
  • Page 16: Adding Hosts To The Vmm Server

    Install the storage vendor’s MPIO solution software (for example, EMC PowerPath). Install Microsoft Virtual Disk service. Configure the QLogic Fibre Channel switch so that the physical FC adapters on both host servers have access to the same storage array. The switch is configured by creating the appropriate zones.
  • Page 17: Configuring Qlogic Sansurfer Fc Hba Manager On The Vmm Server

    This section describes how to configure the QLogic SANsurfer FC HBA Manager GUI on the VMM server to allow QLogic FC adapters that reside on host servers to be managed via the VMM server. Alternately, you can use QLogic’s SANsurfer FC HBA CLI to achieve the tasks below.
  • Page 18: Sansurfer Fc Hba Manager—All Hosts Connected

    4 – Configuring the Host and VMM Servers Configuring QLogic SANsurfer FC HBA Manager on the VMM Server When all the servers have been connected, the final screen will be similar to Figure 4-3. Figure 4-3. SANsurfer FC HBA Manager—All Hosts Connected...
  • Page 19: Virtual Adapter (Npiv) Port Creation And Verification

    This section describes how to set up virtual ports and verify that they have been created successfully. Create Virtual Adapter Ports Use QLogic’s SANsurfer FC HBA Manager (or SANsurfer FC HBA CLI) to create virtual adapter ports. Perform the following steps on the VMM server to create a virtual port on a host server.
  • Page 20: Sansurfer Fc Hba Manager —Create Vport

    5 – Virtual Adapter (NPIV) Port Creation and Verification Create Virtual Adapter Ports In the right pane, click the Virtual tab. Right-click the QLogic FC adapter image and click Create vPort (see Figure 5-2). Figure 5-2. SANsurfer FC HBA Manager —Create vPort...
  • Page 21: Verify Virtual Adapter Port Login To Fc Switch

    At this point, the virtual adapter port has been successfully created and logged into the FC switch. You can double-check the new virtual adapter port by viewing the Name Server information of the Fibre Channel switch attached to the QLogic FC adapter port.
  • Page 22: Before Virtual Port Creation

    5-5, physical port 16 of the switch has one entry for a QLogic Corporation FC adapter. This is the entry of the physical FC adapter port that resides on the host server connected to port 16 of this FC switch.
  • Page 23: After Virtual Adapter Port Creation

    Figure 5-6, physical port 16 of the switch has two entries for QLogic Corporation FC adapters. There is an additional entry (boxed in red) for the virtual adapter port just created; the WWPN matches the WWPN created in the SANsurfer vPort WWPN Generation dialog box (see Figure 5-3).
  • Page 24 5 – Virtual Adapter (NPIV) Port Creation and Verification Verify Virtual Adapter Port Login to FC Switch Notes FC0054605-00 A...
  • Page 25: Presentation Of Luns To A Virtual Adapter Port

    Presentation of LUNs to a Virtual Adapter Port This section describes, at a high level, how to present LUNs to a virtual adapter port. For detailed step-by-step instructions, please refer to documentation from your storage array vendor. The following example uses the EMC CX3-20 Fibre Channel storage array managed via EMC Navisphere ®...
  • Page 26: Luns On The Host Server

    6 – Presentation of LUNs to a Virtual Adapter Port Register this virtual adapter port as a QLogic initiator, which is installed in a host physically connected to the storage array via the Fibre Channel switch. Determine the size and number of LUNs needed based on the disk size a Virtual Machine hosted on this LUN would need.
  • Page 27: Creating A Virtual Machine

    Creating a Virtual Machine Microsoft Hyper-V enables the creation of Virtual Machines on top of a host computer running Microsoft Windows Server 2008 x64. Microsoft System Center VMM allows the use of Microsoft Hyper-V software to create Virtual Machines with configurations based on user requirements.
  • Page 28: New Virtual Machine — Select Virtual Machine Host

    7 – Creating a Virtual Machine Click Next. The Select Virtual Machine Host dialogue box displays. Verify that Transfer type column has a SAN entry for the host you want to select. Check the SAN Explanation tab to ensure that there are no warnings other than for iSCSI.
  • Page 29: New Virtual Machine — Select Path

    7 – Creating a Virtual Machine Click Next. The Select Path dialog box displays (see Figure 7-2). By default, a path on the local hard drive of the host server is shown. The path specified in this box determines where the Virtual Hard Drive that contains the operating system image of the Virtual Machine resides.
  • Page 30: Migration Capable Volume

    7 – Creating a Virtual Machine Click Browse and select the destination folder as a Network Drive that is a LUN that was formatted as an NTFS partition as described in Section 6. By providing for the destination folder, a SAN LUN that is visible to other host servers in the SAN ensures that a SAN-based Virtual Machine migration is possible.
  • Page 31: Migrating Virtual Machines And Virtual Ports

    Migrating Virtual Machines and Virtual Ports Microsoft System Center VMM2008 allows you to quickly migrate Virtual Machines from one host to another. Migration allows administrators to perform maintenance on physical servers and easily move Virtual Machines to other servers with minimal downtime. VMM2008 allows for two types of migrations: LAN Transfer/Migration of Virtual Machines.
  • Page 32: Performing San Transfers

    8 – Migrating Virtual Machines and Virtual Ports Performing SAN Transfers The LUN must be configured as a basic/fixed disk. A SAN transfer will not work with volumes that are mapped to dynamic disks. See the Microsoft documentation on the difference between basic and dynamic disks. A single volume must be created on the basic disk.
  • Page 33: Migrate Virtual Machine Wizard–Select Virtual Machine Host

    8 – Migrating Virtual Machines and Virtual Ports Performing SAN Transfers The Migrate Virtual Machine Wizard dialog box displays. Choose the destination host for the Virtual Machine migration. When all the requirements of SAN transfer have been met for the selected destination host, the screen displays “This host is available for SAN migrations”...
  • Page 34: Vmm—Migration Complete

    8 – Migrating Virtual Machines and Virtual Ports Performing SAN Transfers Monitor the migration status through the Jobs windows by clicking the Jobs tab in the left pane of VMM. Once the job completes, the Jobs screen will be similar to Figure 8-3.
  • Page 35: Troubleshooting System Center Vmm2008

    See the troubleshooting sections at the Microsoft website: For Windows Server 2008, go to: http://technet.microsoft.com/en-us/library/cc753935.aspx For Hyper-V, go to: http://technet.microsoft.com/en-us/library/cc742454.aspx Troubleshooting QLogic Virtual Adapter (NPIV) The following table lists some of the issues that may arise when programming a QLogic virtual adapter. Issue Possible Cause...
  • Page 36 A – Troubleshooting Troubleshooting QLogic Virtual Adapter (NPIV) Issue Possible Cause Solution When trying to create a The creation of the virtual Ensure that the physical FC virtual adapter port, adapter port has failed; adapter port is connected to an...
  • Page 37 Activity Flow Chart The flow chart in Figure B-1outlines the steps required to create a virtualized network that includes creating virtual adapter ports using NPIV, creating Virtual Machines using VMM, and assigning LUNs using the storage array vendor’s management tool. Figure B-1.
  • Page 38 B – Activity Flow Chart Notes FC0054605-00 A...
  • Page 39: System Requirements

    Hyper-V Processor Virtualization Extensions System Requirements Hyper-V requires that processor virtualization extensions (Intel-VT and AMD-V) be enabled along with the No-Execute (NX) feature. For AMD systems, the CPU must be one of the following: Revision F3 or greater or Revision F2 with additional BIOS support (most (but not all) of the server OEMs have the additional BIOS support).
  • Page 40: Enabling Vt And Amd Virtualization In The System Bios

    C – Hyper-V Processor Virtualization Extensions Enabling VT and AMD Virtualization in the System BIOS Enabling VT and AMD Virtualization in the System BIOS Both Intel and AMD platforms have BIOS options to enable and disable virtualization extensions. Most systems ship with the extensions disabled. To enable these virtualization extensions, go into the BIOS utility in the pre-boot environment.
  • Page 42 Microsoft Corporation. AMD and AMD Virtualization are trademarks or registered trademarks of Advanced Micro Devices, Inc. Intel is a registered trademark of Intel Corporation. All other brand and product names are trademarks or registered trademarks of their respective owners. Information supplied by QLogic Corporation is believed to be accurate and reliable.

This manual is also suitable for:

Hyper-vVmm2008

Table of Contents