background image

1-Introduction 
QLogic Fibre Channel Adapter NPIV Solution 

 
 

1-6 

 

 

With the combined QLogic and Microsoft solution, storage administrators can 
create virtual adapter ports and assign them to VMs for migration without having 
to reconfigure any zoning or LUN masking settings. This solution creates a 
virtualized network that is easy to manage and maintain. 

Benefits of the QLogic NPIV solution include: 

 

Lower TCO. One physical adapter can support multiple virtual WWNs. 

 

Increased security and flexibility 

 

SAN quick migration 

 

Intelligent PRO performance optimization (with QLogic PROPack and 
Microsoft SC VMM2008 R2) 

 

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:  

http://www.qlogic.com/SiteCollectionDocuments/Products/SN0130963-00.pdf 

Summary of Contents for Fibre Channel NPIV Storage Networking Guide

Page 1: ...FC0054608 00 A 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...

Page 2: ...h 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 i...

Page 3: ...ic Fibre Channel Adapter NPIV Solution 1 5 NPIV VMM2008 R2 SAN Migration Steps 1 7 2 NPIV SAN Migration Server Preparation Hardware Requirements 2 1 Software Requirements 2 2 Sample Solution Configura...

Page 4: ...mmary and Conclusions 14 List of Figures Figure Page 1 1 N_Port ID Virtualization 1 4 1 2 How to Enable SAN Migration 1 7 2 1 NPIV SAN Quick Migration Configuration Example 2 3 2 2 Hyper V Host Server...

Page 5: ...reated Using the MSA s Embedded Management Application 6 3 6 3 Two VMs VM1 and VM2 Created Using the Hyper V Manager MMC 6 4 6 4 Pass Through Storage LUN Disk 2 for VM1 Shown Offline in the Hyper V Ho...

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 vi Notes...

Page 7: ...ions System Center Virtual Machine Manager 2008 R2 is referred to as VMM2008 R2 NOTE provides additional information CAUTION indicates the presence of a hazard that has the potential of causing damage...

Page 8: ...in a host group file hst type SANsurfer g path and then press ENTER Enter the following command sh install bin Key names and key strokes are indicated with UPPERCASE Press CTRL P Press the UP ARROW k...

Page 9: ...V SAN Migration Server Preparation lists the hardware and software requirements Software installation instructions are also included Section 3 Fibre Channel SAN Preparation describes how to prepare th...

Page 10: ...I Deployment Best Practices for NPIV SAN Migration I 2 Notes...

Page 11: ...chine 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 Over...

Page 12: ...ower of x64 computing Hyper V provides a dynamic reliable and scalable virtualization platform combined with a single set of integrated management tools to manage both physical and virtual resources e...

Page 13: ...ent In addition to providing live migration VMM 2008 R2 also adds functionality to migrate storage for running VMs SAN based migration across clusters template based rapid provisioning maintenance mod...

Page 14: ...Committee T11 within the INCITS standards body NPIV allows end users to effectively virtualize the Fibre Channel adapter functionality such that each virtual machine VM running on a server can share a...

Page 15: ...preventing data access from other hosts as well from the hypervisor when used in pass through mode which is discussed in Section 6 This security is consistent with storage administration best practice...

Page 16: ...include Lower TCO One physical adapter can support multiple virtual WWNs Increased security and flexibility SAN quick migration Intelligent PRO performance optimization with QLogic PROPack and Micros...

Page 17: ...R2 SAN Migration Steps 1 7 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 H...

Page 18: ...1 Introduction NPIV VMM2008 R2 SAN Migration Steps 1 8 Notes...

Page 19: ...ogic 5600 4Gb stackable Fibre Channel switch QLogic 5800 8Gb stackable Fibre Channel switch QLogic 9000 modular Fibre Channel switch Any NPIV enabled Fibre Channel switch Server Hardware Microsoft rec...

Page 20: ...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 v...

Page 21: ...rvers are connected to the SAN through an NPIV enabled switch Both Server A and Server B are part of a Windows Active Directory domain hosted by Server C Server A is also the VMM2008 R2 server The sof...

Page 22: ...Windows Server 2008 R2 can also be used and configured for this purpose 2 Install Windows Server 2008 R2 on the Hyper V host servers each with one physically installed QLogic Fibre Channel 8Gb or 4Gb...

Page 23: ...ws 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...

Page 24: ...2 NPIV SAN Migration Server Preparation Installing the Software 2 6 Figure 2 4 Details of the Hyper V Role...

Page 25: ...5 They are consistent with the VMM2008 R2 RC requirements The required and recommended features include Windows Multipath IO NET Framework 3 5 1 Background intelligent transfer service BITS Remote Ser...

Page 26: ...O Properties dialog box as shown in Figure 2 6 Figure 2 6 MPIO Properties 4 Install the QLogic driver and SANsurfer agent on the Hyper V hosts 5 Install the HP VDS hardware provider on the Hyper V hos...

Page 27: ...on table at the following link http driverdownloads qlogic com QLogicDriverDownloads_UI SearchByProduct aspx ProductCategory 39 Product 1043 Os 173 Virtual Host Bus Adapter Port Creation and SAN Zonin...

Page 28: ...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 storag...

Page 29: ...e SAN The virtual host bus adapter port in this example is 21 f9 00 1b 32 16 fe ec Figure 3 2 Hyper V Host Servers in a Single Fibre Channel Zone Host Presentation Mapping of Storage LUN The HP modula...

Page 30: ...or the HP MSA array this is accomplished by mapping the LUN to the host bus adapter port as shown in Figure 3 3 Figure 3 3 Mapping a LUN to the Host In Figure 3 3 the HP MSA Storage Management Utility...

Page 31: ...3 Fibre Channel SAN Preparation Host Presentation Mapping of Storage LUN 3 5 In 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: ...tion Host Presentation Mapping of Storage LUN 3 6 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 St...

Page 33: ...e previously created virtual host bus adapter port migrated to the target Hyper V host Host Addition to VMM2008 R2 Use the Add Hosts Wizard in the VMM Administrator Console to add one or more virtual...

Page 34: ...needed to create a VM on a Fibre Channel SAN LUN presented to a virtual adapter port Before you can use VMM2008 R2 to transfer virtual machines on a SAN automount must be disabled on the Hyper V host...

Page 35: ...manually mount volumes that have previously been migrated using Disk Manager To create an NPIV SAN migration capable VM 1 In the VMM2008 R2 Actions pane click New virtual machine to begin the creation...

Page 36: ...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...

Page 37: ...4 VMM2008 R2 Setup VM Creation and NPIV SAN Migration VM Creation 4 5 4 Configure the hardware profile for the VM see Figure 4 4 Figure 4 4 Configure Hardware...

Page 38: ...Machine on host button is selected see Figure 4 5 Figure 4 5 Select Destination 6 Click Next The Select Virtual Machine Host dialogue box opens Verify that the Transfer type column has a SAN entry fo...

Page 39: ...the storage LUN that was previously masked presented to the virtual host bus adapter port created on this host Providing as a destination folder a SAN LUN zoned for visibility to other host servers i...

Page 40: ...ractices 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 Configure each LUN as a fixed disk A VM on a LUN mapped to...

Page 41: ...ected destination path is on a volume that is also formatted with NTFS Place a single VM and all its associated files on each volume Store only one VM on a volume since all files are relocated during...

Page 42: ...4 VMM2008 R2 Setup VM Creation and NPIV SAN Migration VM Creation 4 10 Similarly as shown in Figure 4 9 there are no VMs on the second host win 3fikc24knkr Figure 4 9 No VM Displayed on Second Host...

Page 43: ...AN Migration VM Migration 4 11 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 Fi...

Page 44: ...h the following steps 1 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 3f1...

Page 45: ...Path Virtual Machine Wizard 3 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...

Page 46: ...on and NPIV SAN Migration VM Migration 4 14 4 Click Next when you are done 5 The Summary dialog box opens Figure 4 13 Figure 4 13 Summary Virtual Machine Wizard Review the summary 6 Click Move to init...

Page 47: ...4 15 7 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...

Page 48: ...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 move...

Page 49: ...tion Confirmation 4 17 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...

Page 50: ...SAN Migration NPIV SAN Migration Confirmation 4 18 Windows Server Disk Management validates that the volume originally associated with host HostServerA is now on the server win 3fikc24knkr see Figure...

Page 51: ...t IT agility is achieved by enabling on demand VM migrations without the need for SAN re zoning When multiple host servers are deployed in a SAN the VM can be migrated to any of these destinations Qui...

Page 52: ...4 VMM2008 R2 Setup VM Creation and NPIV SAN Migration Using Fibre Channel NPIV Technology Key Conclusions 4 20 Notes...

Page 53: ...loads 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 te...

Page 54: ...II Resolving Fibre Channel Adapter Saturation on Hyper V Workloads II 2 Notes...

Page 55: ...en the new 8Gb Fibre Channel adapters The result is less than optimum I O performance and reduced ability of the administrator to fulfill quality of service related service level agreements SLAs Speci...

Page 56: ...5 QLogic Management PRO Pack and NPIV Technology Solution 5 2 http driverdownloads qlogic com QLogicDriverDownloads_UI SearchByProduct aspx ProductCategory 39 Product 1043 Os 173...

Page 57: ...ual Machine Manager to determine the best target host as the migration destination For example if the IOPS exceed 80 percent of 150 000 the capacity for a 4Gb host bus adapter for two minutes a PRO Ti...

Page 58: ...adapter port for each workload Specific additional benefits with NPIV technology include Granular performance utilization view The administrator can easily see which VM workload is consuming the link...

Page 59: ...5 QLogic Management PRO Pack and NPIV Technology PRO Pack Benefits with NPIV Deployments 5 5 Notes...

Page 60: ......

Page 61: ...ocument 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 metho...

Page 62: ...III Using the Hyper V Pass through Disk Option III 2...

Page 63: ...through disk which enables the guest VM to bypass the host s file system and access a disk directly With this option there is no restriction to the VHD size limit 2040GB in addition the storage can be...

Page 64: ...service QoS by bandwidth or priority for each VM workload This benefit is achieved when an NPIV configuration is used with pass through storage to mask the VM LUN and the storage LUN Configuration Fig...

Page 65: ...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 1...

Page 66: ...ps 6 4 3 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 Microso...

Page 67: ...nel NPIV Technology Configuration Steps 6 5 4 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 Sh...

Page 68: ...ration Steps 6 6 5 Add the LUNs as pass through storage disks for each VM attached to a SCSI controller In Figure 6 5 VM1 is configured for pass through storage to Disk 2 which is offline in the host...

Page 69: ...Fibre Channel NPIV Technology Configuration Steps 6 7 6 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 Virt...

Page 70: ...ss 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 Port 21 F9 00...

Page 71: ...anipulates storage I O quality of service QoS for QLogic s 4 8Gb Fibre Channel adapters The SANsurfer application provides storage I O measurements for both input output operations IOPS and for throug...

Page 72: ...er V Pass Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I O Quality of Service 6 10 Figure 6 8 Traffic Statistics IOPS for VM1 Mapped to Virtual Fibre Channel P...

Page 73: ...V Pass Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I O Quality of Service 6 11 Figure 6 9 I O Traffic Statistics IOPS for VM2 Mapped to Virtual Fibre Channel...

Page 74: ...V Pass Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I O Quality of Service 6 12 Figure 6 10 I O Traffic Statistics Bps for VM2 Mapped to Virtual Fibre Channel...

Page 75: ...Through Storage and QLogic Fibre Channel NPIV Technology Viewing and Managing Storage I O Quality of Service 6 13 Figure 6 11 Bandwidth Percentage Based QoS Settings for Each NPIV Port Created on the...

Page 76: ...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 a...

Page 77: ......

Page 78: ...trademarks or registered trademarks of Microsoft group of comapnies All other brand and product names are trademarks or registered trademarks of their respective owners Information supplied by QLogic...

Reviews: