Summary of Contents for Qlogic Fibre Channel NPIV Storage Networking Guide
Page 1
FC0054608-00 A Fibre Channel NPIV Storage Networking for Windows Server 2008 R2 Hyper-V and System Center VMM2008 R2 Usage Scenarios and Best Practices Guide FC0054608-00 A...
Page 2
Corporation assumes no responsibility for its use, nor for any infringements of patents or other rights of third parties which may result from its use. QLogic Corporation reserves the right to change product specifications at any time without notice. Applications described in this docu- ment for any of these products are for illustrative purposes only.
Importance and Use Cases for VM Migration ........N_Port ID Virtualization (NPIV)............Value of NPIV in IT Strategy and Best Practices ....... QLogic Fibre Channel Adapter NPIV Solution ........NPIV VMM2008 R2 SAN Migration Steps ......... NPIV SAN Migration: Server Preparation Hardware Requirements ..............
Page 4
Solution ..................... PRO Pack Benefits................PRO Pack Benefits with NPIV Deployments........Part III Using the Hyper-V Pass-through Disk Option Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Overview ................... Configuration ..................Configuration Steps ................Viewing and Managing Storage I/O Quality of Service ......
Page 5
Fibre Channel NPIV Storage Networking for Windows Server 2008 R2 Hyper-V and System Center VMM2008 R2 — Usage Scanarios and Best Practices Guide 4-7. Summary ....................... 4-8. Newly Created VM Displayed on the Host ............. 4-9. No VM Displayed on Second Host ................. 4-10 4-10.
Page 6
Fibre Channel NPIV Storage Networking for Windows Server 2008 R2 Hyper-V and System Center VMM2008 R2─Usage Scenarios and Best Practices Guide Notes...
This guide assumes that you have basic working knowledge of Microsoft Windows Server 2008 R2 Hyper-V and System Center VMM2008 R2, as well as prior experience with the QLogic Fibre Channel adapter NPIV solution. Documentation Conventions This guide uses the following documentation conventions: ...
Page 8
Press the UP ARROW key. Text in italics indicates terms, emphasis, variables, or document titles. For example: For a complete listing of license agreements, refer to the QLogic Software End User License Agreement. What are shortcut keys? ...
Part I Deployment Best Practices for NPIV SAN Migration This part of the document contains the following sections: Section 1, Introduction. This section describes the contents of Part I. Section 2, NPIV SAN Migration: Server Preparation, lists the hardware and software requirements.
Page 10
I-Deployment Best Practices for NPIV SAN Migration Notes...
Hyper-V configuration to achieve maximum storage I/O performance and related individual virtual machine specific statistics. This guide also explores the value of using NPIV technology with QLogic‘s performance and resource optimization (PRO) management pack in Microsoft System Center VMM2008 R2.
Hyper-V and the benefits delivered when deployed in conjunction with an NPIV-enabled Fibre Channel adapter. Finally, this guide explores QLogic‘s PRO management pack for Microsoft System Center Virtual Machine Manager 2008 R2. This software pack enables optimum utilization of Fibre Channel storage I/O resources when multiple virtualized Hyper-V workloads share a common adapter port.
1-Introduction System Center Virtual Machine Manager Machine Manager 2008 R2, helps realize the vision of the dynamic data center. Follow this link to learn about Microsoft Windows Server 2008 R2 Hyper-V: http://www.microsoft.com/windowsserver2008/en/us/hyperv-r2.aspx System Center Virtual Machine Manager System Center Virtual Machine Manager (VMM) 2008 R2 is a comprehensive, heterogeneous management solution for the virtualized data center.
1-Introduction N_Port ID Virtualization (NPIV) This document focuses on NPIV SAN migration. N_Port ID Virtualization (NPIV) N_Port ID Virtualization, or NPIV, is a Fibre Channel technology that allows multiple N_Port IDs to share a single physical N_Port. N_Port sharing allows multiple Fibre Channel initiators to utilize a single physical port, reducing hardware requirements in SAN design, especially where virtual SANs are used.
To complement Microsoft‘s Hyper-V and VMM2008 R2 server virtualization software solutions, QLogic has extended virtualization capabilities to the adapter hardware through NPIV. All QLogic 2400 and 2500 Series Fibre Channel adapters implement and support NPIV. QLogic provides support for creating, ®...
Page 16
Monitoring and tracking virtual port statistics to capture VM traffic measurements enable granular chargeback 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:...
NPIV VMM2008 R2 SAN Migration Steps NPIV VMM2008 R2 SAN Migration Steps The chart in How to Enable SAN Migration outlines the steps to enable NPIV SAN migration with QLogic Fibre Channel adapters. Figure 1-2. How to Enable SAN Migration...
Page 18
1-Introduction NPIV VMM2008 R2 SAN Migration Steps Notes...
NPIV SAN Migration solution. Software installation instructions are also included, starting on Installing the Software. Hardware Requirements NPIV Enabled Fibre Channel Adapter. QLogic 2400 series (4Gb) or 2500 series (8Gb) Fibre Channel adapter ® Fibre Channel Storage Array. This document is based on the HP 2324fc.
Microsoft System Center VMM2008 R2. Microsoft Windows Server 2003 R2 SP2. This document uses this server as a domain controller. QLogic SANsurfer FC HBA Manager GUI (or SANsurfer FC HBA CLI) and Agent. Version 5.0.1 build 46 or higher. These versions provide visibility into virtual port statistics.
This section describes how to install and enable Windows Server 2008 R2, as well as the roles and features required for NPIV SAN Migration. In addition to Windows Server 2008 R2, you must install VMM2008 R2, QLogic Fibre Channel adapter device drivers, the SANsurfer FC HBA Manager GUI, and...
Page 22
Install Windows Server 2008 R2 on the Hyper-V host servers (each with one physically installed QLogic Fibre Channel 8Gb (or 4Gb) adapter). After Windows Server 2008 R2 is installed on each Hyper-V host, the host needs to join a domain.
Page 23
2-NPIV SAN Migration: Server Preparation Installing the Software Activate the required Windows Server 2008 R2 roles, services, and features, as shown in the Figure 2-3 to 2-6. Figure 2-3. Roles Installed in Each Hyper-V Host Server NOTE: Each Hyper-V host server that will host the VM needs to have at least three key server roles installed.
Page 24
2-NPIV SAN Migration: Server Preparation Installing the Software Figure 2-4. Details of the Hyper-V Role...
Page 25
2-NPIV SAN Migration: Server Preparation Installing the Software The installed server features are summarized in Figure 2-5. They are consistent with the VMM2008 R2 (RC) requirements. The required and recommended features include: Windows Multipath IO .NET Framework 3.5.1 ...
Page 26
Figure 2-6. Figure 2-6. MPIO Properties Install the QLogic driver and SANsurfer agent on the Hyper-V hosts. Install the HP VDS hardware provider on the Hyper-V host servers. Install System Center VMM2008 R2 software and the VMM2008 R2 Administration Console on one of the Hyper-V host servers and the...
This section describes, at a high level, how to prepare the Fibre Channel SAN for VMM2008 R2 NPIV SAN migration. After connecting the servers (adapter ports) and the storage array to the QLogic Fibre Channel switch, configure the switch so that the physical Fibre Channel adapters on both host servers have access to the same storage array.
Page 28
3-Fibre Channel SAN Preparation Virtual Host Bus Adapter Port Creation and SAN Zoning Alternatively, the SAN can be configured as two zones, with one host server and storage array in Zone 1 and the second host server and storage array in Zone 2. This configuration ensures that both host servers can see any LUNs presented (mapped) to them through the storage array.
3-Fibre Channel SAN Preparation Host Presentation (Mapping) of Storage LUN The zoning configuration in Figure 3-2 shows two adapter ports: one virtual adapter port and one storage controller port in a single zone, for a total of four Fibre Channel ports. NOTE: As a best practice, place all servers in a single zone to ensure that the storage is visible across the entire SAN.
Page 30
3-Fibre Channel SAN Preparation Host Presentation (Mapping) of Storage LUN After creating a LUN, mount a volume in the LUN. (For more information, see the HP storage array documentation). NOTE: The LUN must be an NTFS formatted LUN. The LUN is then mapped (or presented/masked) to the host server. For the HP MSA array, this is accomplished by mapping the LUN to the host bus adapter port, as shown in Figure...
Page 31
3-Fibre Channel SAN Preparation Host Presentation (Mapping) of Storage LUN Figure 3-4, the LUN is mapped/presented/masked to the host 21:f9:00:1b:32:16:fe:ec Figure 3-4. LUN Mapped to Host...
Page 32
3-Fibre Channel SAN Preparation Host Presentation (Mapping) of Storage LUN View the Storage Manager for SANs snap-in to confirm that the LUN is visible to the host hostservera (see Figure 3-5). Figure 3-5. LUN and Host Mapping: Storage Manager for SANs View...
VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration Microsoft System Center VMM2008 R2 is used for the creation and migration of Virtual Machines (VMs) with configurations based on user requirements. The key steps to enable and execute an NPIV SAN migration are: Adding Hyper-V hosts to VMM2008 R2.
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation Figure 4-1. Hosts Added to VMM2008 R2 4-1, the hosts win-3f1kc24knkr.hypernpiv.com and Figure HostServerA.hypernpiv.com have been added. VM Creation This section describes the additional steps needed to create a VM on a Fibre Channel SAN LUN presented to a virtual adapter port.
Page 35
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation VMM2008 R2 automatically mounts the appropriate volumes during the migration process. Do not try to manually mount volumes that have previously been migrated using Disk Manager. To create an NPIV SAN migration-capable VM: In the VMM2008 R2 Actions pane, click New virtual machine to begin the creation of a virtual machine.
Page 36
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation In this example, a new VM will be created on a blank virtual hard disk (VHD)—the VHD that will be stored on the SAN LUN. The wizard steps you through the process by following the list shown on the left frame of the dialog box beginning with Select Source and concluding with Summary.
Page 37
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation Configure the hardware profile for the VM (see Figure 4-4). Figure 4-4. Configure Hardware...
Page 38
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation Click Next until the Select Destination dialog box opens. Ensure that the Place Virtual Machine on host button is selected (see Figure 4-5). Figure 4-5. Select Destination Click Next. The Select Virtual Machine Host dialogue box opens.
Page 39
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation Click Next. The Select Path dialog box opens (see Figure 4-6). 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 VM resides.
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation Figure 4-7 is an example of the Summary page that displays the VM settings. Figure 4-7. Summary Best Practices to Configure LUNs and Volumes Follow these best practices to configure a LUN and a volume for each VM you want to transfer on a SAN.
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation Format the volume with the NTFS file system. When performing SAN transfers, ensure that the selected destination path is on a volume that is also formatted with NTFS. ...
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Creation there are no VMs on the second host win- Similarly, as shown in Figure 4-9, 3fikc24knkr. Figure 4-9. No VM Displayed on Second Host 4-10...
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Migration VM Migration As shown in Figure 4-10, VM migration is invoked by right-clicking the selected VM (vm22 in this example), and then selecting Migrate from the drop-down menu. Figure 4-10. Invoking a VM Migration Action 4-11...
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Migration The Migration Virtual Machine Wizard opens and leads you through the following steps: Select the location to migrate (destination host) from the list in Figure 4-11. Note that the current host is HostServerA. In this example, the VM will be migrated to server win-3f1kc24knk3.
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Migration The Select Path dialog box opens (Figure 4-12). Figure 4-12. Select Path – Virtual Machine Wizard Select the storage locations on the host for the virtual machine files in the Virtual machine path box by either typing the path or clicking Browse and navigating to the path (Figure...
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Migration Click Next when you are done. The Summary dialog box opens (Figure 4-13). Figure 4-13. Summary – Virtual Machine Wizard Review the summary. Click Move to initiate the NPIV SAN migration. 4-14...
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration VM Migration Click Jobs to see the details of the migration (see Figure 4-14) before completing the VM migration. The job details screen clearly indicates a SAN migration from the selected host server to the selected target server.
NPIV SAN Migration Confirmation NPIV SAN Migration Confirmation After migration, use QLogic‘s SANsurfer FC HBA Manager tool to confirm that the virtual port, initially created on the physical adapter that was installed in server HostServerA, has now moved to Server win-3fikc24knkr...
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration NPIV SAN Migration Confirmation After migration, the selected VM (vm22) is now hosted on the server win- 3fikc24knkr (see Figure 4-16). This is the server that was previously selected as the destination host for the migration. Figure 4-16.
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration NPIV SAN Migration Confirmation Windows Server Disk Management validates that the volume originally associated with host HostServerA is now on the server win-3fikc24knkr (see Figure 4-17). Figure 4-17. Disk Management View 4-18...
Solution scalability is delivered by creating multiple virtual host bus adapter ports on a single Fibre Channel adapter and assigning them to each VM workload. QLogic adapters can currently enable scaling of up to 15 virtualized workloads through the creation of NPIV ports on a single host bus adapter.
Page 52
4-VMM2008 R2 Setup, VM Creation, and NPIV SAN Migration Using Fibre Channel NPIV Technology — Key Conclusions Notes 4-20...
This part of the document contains the following section: Section 5, QLogic Management PRO Pack and NPIV Technology, explains why combining the QLogic Management PRO Pack (for VMM2008 R2) and NPIV technology resolves Fibre Channel adapter saturation on Hyper-V workloads. II-1...
NPIV virtual host bus adapter ports (if enabled) provides the administrator with maximum flexibility in optimizing I/O performance on the SAN-attached Hyper-V hosts. The QLogic PRO Pack for VMM2008 R2 will be available at the following web site beginning November 2009:...
Page 56
5-QLogic Management PRO Pack and NPIV Technology Solution http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct. aspx?ProductCategory=39&Product=1043&Os=173...
Figure 5-1 illustrates an example topology to evaluate and understand the QLogic PRO Pack port statistics monitoring scenario explained previously. Figure 5-1. Representative SAN and LAN Topology PRO Pack Benefits PRO Pack provides the following benefits to the data center administrator: ...
5-QLogic Management PRO Pack and NPIV Technology PRO Pack Benefits with NPIV Deployments Dynamic and automated IT agility Single glass pane storage I/O resource management PRO Pack Benefits with NPIV Deployments Using NPIV technology for the deployment scenario outlined in PRO Pack Benefits delivers advantages above and beyond what is listed in this document.
Page 59
5-QLogic Management PRO Pack and NPIV Technology PRO Pack Benefits with NPIV Deployments Notes...
This part of the document contains the following section: Section 6, Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology, explains the advantages of using a pass-through disk and how to deploy this method with Hyper-V pass-through storage and QLogic Fibre Channel NPIV technology. III-1...
Page 62
III-Using the Hyper-V Pass-through Disk Option III-2...
Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Overview A Hyper-V host server running Windows Server 2008 R2 supports several types of storage connectivity options, including direct-attached storage (SATA, SAS) and SAN storage (Fibre Channel, iSCSI). After the storage disks are exposed to the host, they can be exposed to the guest virtual machine (VM) in different ways.
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Configuration The combination of QLogic Fibre Channel adapters (with NPIV technology) and Hyper-V‘s pass-through disk option deliver the following benefits: Application isolation, consistent with storage best practices, when the VM runs a single application.
Fibre Channel storage LUNs (as shown in Figure 6-1). Create two virtual NPIV ports on a single QLogic 4/8Gb Fibre Channel adapter using the QLogic SANsurfer application. In following illustrations, the ports are labeled as: Virtual Port 0 at address 21-F9-00-1B-32-16-FE-EC Virtual Port 1 at address 21-71-00-1B-32-16-FE-EC Prepare four storage LUNs: two for the VMs‘...
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Configuration Steps Create two VMs using the Windows Server 2008 R2 Hyper-V Manager MMC snap-in console (see Figure 6-3). Figure 6-3. Two VMs (VM1 and VM2) Created Using the Hyper-V Manager MMC (Alternately, use Microsoft System Center VMM2008 R2).
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Configuration Steps Initialize the two storage LUNs on the Hyper-V parent host, and then take them offline (see Figure 6-4). Figure 6-4. Pass-Through Storage LUN (Disk 2) for VM1 Shown Offline in the...
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Configuration Steps Add the LUNs as pass-through storage disks for each VM, attached to a SCSI controller. Figure 6-5, VM1 is configured for pass-through storage to Disk 2, which is offline in the host server.
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Configuration Steps Map (present) each of the two VM LUNs to each of the Fibre Channel adapter‘s NPIV ports (see Figure 6-6). Figure 6-6. VM LUN (vd01_v001) Mapped to Virtual Adapter...
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Configuration Steps Map the two pass-through storage LUNs to the same corresponding NPIV ports of the Fibre Channel adapter, as shown in Figure 6-7. Figure 6-7. Storage LUN (Pass-through 1) Mapped to the Same Virtual Adapter...
VM workload. In addition, an NPIV-based deployment enables QoS management of the Fibre Channel adapter‘s I/O traffic. QLogic‘s 4Gb and 8Gb Fibre Channel adapters incorporate technology that allow the user to manipulate I/O traffic by assigning either a priority level or bandwidth allocation to the I/O traffic on a per NPIV basis.
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I/O Quality of Service Figure 6-8. Traffic Statistics (IOPS) for VM1 Mapped to Virtual Fibre Channel Port 0 6-10...
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I/O Quality of Service Figure 6-9. I/O Traffic Statistics (IOPS) for VM2 Mapped to Virtual Fibre Channel Port 1 6-11...
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I/O Quality of Service Figure 6-10. I/O Traffic Statistics (Bps) for VM2 Mapped to Virtual Fibre Channel Port 1 6-12...
6-Hyper-V Pass-Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I/O Quality of Service Figure 6-11. Bandwidth (Percentage) Based QoS Settings for Each NPIV Port Created on the Physical Port 6-13...
VMs. Benefits include higher storage I/O performance and larger storage capacity that goes beyond the 2040Gb VHD limit. Deploying pass-through disks with QLogic Fibre Channel adapters and NPIV port virtualization enables workload I/O isolation consistent with storage best practices, as well as the ability to manage storage I/O traffic QoS per NPIV port.
Page 78
Information supplied by QLogic Corporation is believed to be accurate and reliable. QLogic Corporation assumes no responsibility for any errors in this broc hure. QLogic Corporation reserves the right, without notice, to make changes in product design or specifications.
Need help?
Do you have a question about the Fibre Channel NPIV Storage Networking Guide and is the answer not in the manual?
Questions and answers