Configuring iscsi Multipath



Similar documents
Configuring Network Load Balancing for vethernet

Configuring Local SPAN and ERSPAN

Running a VSM and VEM on the Same Host

Configuring Network Load Balancing for vethernet

Configuring Network Load Balancing for vethernet

Cisco Nexus 1000V Virtual Ethernet Module Software Installation Guide, Release 4.0(4)SV1(1)

Configuring NetFlow. Information About NetFlow. Send document comments to CHAPTER

Multipathing Configuration for Software iscsi Using Port Binding

Dell EqualLogic Multipathing Extension Module

How to Deploy a Nexus 1000v lab with a single ESX host.

How to Deploy a Nexus 1000v lab with VMware Workstation.

Geschreven door Administrator woensdag 13 februari :37 - Laatst aangepast woensdag 13 februari :05

Network Troubleshooting & Configuration in vsphere VMware Inc. All rights reserved

How to Create a Virtual Switch in VMware ESXi

vsphere Networking vsphere 5.5 ESXi 5.5 vcenter Server 5.5 EN

How To Set Up A Virtual Network On Vsphere (Vsphere) On A 2Nd Generation Vmkernel (Vklan) On An Ipv5 Vklan (Vmklan)

Deploying 10 Gigabit Ethernet on VMware vsphere 4.0 with Cisco Nexus 1000V and VMware vnetwork Standard and Distributed Switches - Version 1.

How to Create VLANs Within a Virtual Switch in VMware ESXi

Configuring NTP. Information about NTP. NTP Overview. Send document comments to CHAPTER

vsphere Networking ESXi 5.0 vcenter Server 5.0 EN

Virtualized Access Layer. Petr Grygárek

Configuring ECMP for Host Routes

ESX Configuration Guide

VMware vsphere-6.0 Administration Training

How to monitor network traffic inside an ESXi host

vsphere Networking vsphere 6.0 ESXi 6.0 vcenter Server 6.0 EN

QoS Queuing on Cisco Nexus 1000V Class-Based Weighted Fair Queuing for Virtualized Data Centers and Cloud Environments

How to Configure an Initial Installation of the VMware ESXi Hypervisor

Active Fabric Manager (AFM) Plug-in for VMware vcenter Virtual Distributed Switch (VDS) CLI Guide

Implementing and Troubleshooting the Cisco Cloud Infrastructure **Part of CCNP Cloud Certification Track**

ESXi Configuration Guide

Setup for Failover Clustering and Microsoft Cluster Service

Configuring Cisco Nexus 5000 Switches Course DCNX5K v2.1; 5 Days, Instructor-led

Configuring NetFlow. Information About NetFlow. NetFlow Overview. Send document comments to CHAPTER

CCNA DATA CENTER BOOT CAMP: DCICN + DCICT

VMware vsphere Reference Architecture for Small Medium Business

Building a Penetration Testing Virtual Computer Laboratory

SAN Implementation Course SANIW; 3 Days, Instructor-led

Introduction to MPIO, MCS, Trunking, and LACP

Configuring NetFlow. Information About NetFlow. NetFlow Overview. Send document comments to CHAPTER

Aerohive Networks Inc. Free Bonjour Gateway FAQ

Installing the Cisco Nexus 1000V for Microsoft Hyper-V

Table of Contents. vsphere 4 Suite 24. Chapter Format and Conventions 10. Why You Need Virtualization 15 Types. Why vsphere. Onward, Through the Fog!

Setup for Failover Clustering and Microsoft Cluster Service

Nutanix Tech Note. VMware vsphere Networking on Nutanix

IP Routing Between VLANs

Configuring DHCP Snooping

vsphere Private Cloud RAZR s Edge Virtualization and Private Cloud Administration

E-SPIN's Virtualization Management, System Administration Technical Training with VMware vsphere Enterprise (7 Day)

Technical Note. vsphere Deployment Worksheet on page 2. Express Configuration on page 3. Single VLAN Configuration on page 5

Installing Intercloud Fabric Firewall

Vmware VSphere 6.0 Private Cloud Administration

Configuring EtherChannels

Migrating to ESXi: How To

Configuring Password Encryption

Remote PC Guide Series - Volume 1

Switch Quick Configuration CLI Guide for

Configuring Password Encryption

VMware for Bosch VMS. en Software Manual

ESX Server 3 Configuration Guide Update 2 and later for ESX Server 3.5 and VirtualCenter 2.5

VMware Host Profiles: Technical Overview

Study Guide. Professional vsphere 4. VCP VMware Certified. (ExamVCP4IO) Robert Schmidt. IVIC GratAf Hill

Cisco Virtual Wide Area Application Services: Technical Overview

Configuring System Message Logging

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

VMware vsphere 5.1 Advanced Administration

DCICT: Introducing Cisco Data Center Technologies

Expert Reference Series of White Papers. VMware vsphere Distributed Switches

Altor Virtual Network Security Analyzer v1.0 Installation Guide

Chapter 7 Configuring Trunk Groups and Dynamic Link Aggregation

Configuration Maximums VMware vsphere 4.1

Drobo How-To Guide. Use a Drobo iscsi Array as a Target for Veeam Backups

VMware NSX Network Virtualization Design Guide. Deploying VMware NSX with Cisco UCS and Nexus 7000

Storage Protocol Comparison White Paper TECHNICAL MARKETING DOCUMENTATION

Configuring System Message Logging

Bosch Video Management System High availability with VMware

HP Virtual Connect Ethernet Cookbook: Single and Multi Enclosure Domain (Stacked) Scenarios

Configuring the Basic Settings of an ESXi Host with PowerCLI

RSA Security Analytics Virtual Appliance Setup Guide

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

VMware vsphere Examples and Scenarios

Monitoring VMware ESX Virtual Switches

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Setup for Failover Clustering and Microsoft Cluster Service

Enterprise. ESXi in the. VMware ESX and. Planning Deployment of. Virtualization Servers. Edward L. Haletky

Integration with IP Phones

VMware High Availability (VMware HA): Deployment Best Practices

TotalCloud Phone System

Cisco Nexus 1000V and Cisco Nexus 1110 Virtual Services Appliance (VSA) across data centers

Setup for Failover Clustering and Microsoft Cluster Service

Demystifying Cisco ACI for HP Servers with OneView, Virtual Connect and B22 Modules

EMC Data Domain Management Center

Using the Command Line Interface (CLI)

Course. Contact us at: Information 1/8. Introducing Cisco Data Center Networking No. Days: 4. Course Code

TotalCloud Phone System

Configuring Port Security

Configuring NTP. Information About NTP. NTP Overview. Send document comments to CHAPTER

HP Intelligent Management Center v7.1 Virtualization Monitor Administrator Guide

Transcription:

CHAPTER 13 Revised: April 27, 2011, OL-20458-01 This chapter describes how to configure iscsi multipath for multiple routes between a server and its storage devices. This chapter includes the following topics: Information About iscsi Multipath, page 13-1 Guidelines and Limitations, page 13-4 Prerequisites, page 13-5 Default Settings, page 13-5 Configuring a Port Profile for iscsi Multipath, page 13-5 Additional References, page 13-9 Feature History for iscsi Multipath, page 13-10 Information About iscsi Multipath This section includes the following topics about iscsi multipath: iscsi Multipath Description, page 13-1 iscsi Multipath Description The iscsi multipath feature sets up multiple routes between a server and its storage devices for maintaining a constant connection and balancing the traffic load. The multipathing software handles all input and output requests and passes them through on the best possible path. Traffic from host servers is transported to shared storage using the iscsi protocol that packages SCSI commands into iscsi packets and transmits them on the Ethernet network. iscsi multipath provides failover. In the event a path, or any of its components, fails, the server selects another available path. In addition to path failover, multipathing load balances by distributing storage loads across multiple physical paths to reduce or remove potential bottlenecks. 13-1

Information About iscsi Multipath Chapter 13 The following are descriptions of the iscsi multipath processes: iscsi Multipath Process Provided by Cisco Nexus 1000V Provided by VMware code in VMkernel Description Uplink Pinning X Each VMKernel port created for iscsi access are pinned to one physical NIC. This overrides any NIC teaming policy or port bundling policy. All traffic from the VMKernel port uses only the pinned uplink to reach the upstream switch. Storage Binding X The ESX/ESXi host creates iscsi adapters, also called vmhba adapters, for the physical NICs. Path selection Path failover Load Balancing X X For Software iscsi, only one vmhba is created for all the physical NICs. For Hardware iscsi, one vmhba is created for each physical NIC that supports iscsi offload in hardware. Storage binding is the step in which each VMKernel port is pinned to the vmhba associated with the physical NIC to which the VMKernel port is pinned. In the event of failure, in the path or any of its components, the server selects another available path. Reduces or removes bottlenecks by distributing storage loads across multiple physical paths. The Cisco Nexus 1000V DVS performs iscsi multipathing regardless of the iscsi target. The iscsi daemon on an ESX server communicates with a target in multiple sessions by pinning two or more host VMkernel NICs on the same Cisco Nexus 1000V. Therefore, the Cisco Nexus 1000V should have a minimum of two physical NICs. Once you enable iscsi multipath on the port profile, using the command capability iscsi-multipath, the VEM automatically pins the VMkernel NICs to VM NICs. Standard NICs connect the host to a remote iscsi target on the IP network. The software iscsi adapter that is built into ESX/ESXi communicates with the physical NICs through the network stack. For detailed information about how to use VMware ESX and VMware ESXi systems with an iscsistorage area network (SAN), see the iscsi SAN Configuration Guide. 13-2

Chapter 13 Information About iscsi Multipath iscsi Dependent Hardware Adapter Need to define vmhba. A third-party dependent hardware iscsi adapter, such as a Broadcom Ethernet NIC with iscsi offload functions, offloads iscsi and network processing from your host leveraging VMware iscsi management and configuration interfaces. After this NIC is installed, the dependent hardware iscsi adapter is loaded onto the host and appears in the list of storage adapters. Although the adapter is enabled by default, to make it functional, VMkernel networking must be set up for the iscsi traffic and the adapter must be bound to a VMkernel iscsi port. Only one vmhba adapter is available for each NIC that is capable of iscsi offload. The VMKernel port is bound to the vmhba adapter of the HW NIC (vmnic) to which it is pinned. In Figure 13-1, VMkernel NIC 1 is bound to vmhba33. iscsi Adapter on the VMware vswitch Need to define vmhba. VMkernel iscsi ports, for the traffic between the iscsi adapter and the physical NIC, must be created before enabling or configuring the software or hardware iscsi for multipathing. Only one adapter (vmhba) is created for software iscsi and all VMKernel ports are bound to it. iscsi Multipath Setup on the VMware Switch Before enabling or configuring multipathing, networking must be configured for the software or hardware iscsi adapter. This involves opening a VMkernel iscsi port for the traffic between the iscsi adapter and the physical NIC. For software iscsi, only one adapter is required for the entire implementation. All VMKernel ports are bound to this adapter. For example, in Figure 13-1, the following adapters and NICs are used. Hardware iscsi Adapter VMkernel NIC VM NIC vmhba 1 1 2 2 For hardware iscsi, a separate adapter is required for each NIC. Each VMkernel port is bound to the adapter of the physical VM NIC to which it is pinned. For example, in Figure 13-1, the following adapters and NICs are used. Hardware iscsi Adapter VMkernel NIC VM NIC vmhba33 1 1 vmhba34 2 2 Figure 13-1 shows the setup of iscsi multipath on a VMware virtual switch. 13-3

Guidelines and Limitations Chapter 13 Figure 13-1 iscsi Multipath on VMware Virtual Switch Guidelines and Limitations The following are guidelines and limitations for the iscsi multipath feature. Only port profiles of type vethernet can be configured with capability iscsi-multipath. The port profile used for iscsi multipath must be an access port profile. It cannot be a trunk port profile. The following are not allowed on a port profile configured with capability iscsi-multipath The port profile cannot also be configured with capability l3 control. A system VLAN change when the port profile is inherited by VMkernel NIC. An access VLAN change. A port mode change to trunk mode. Only VMkernel NIC ports can inherit a port profile configured with capability iscsi-multipath. A Vmware Kernel NIC can only be pinned or assigned to one physical NIC. A physical NIC can have multiple VMware Kernel NICs pinned or assigned to it. The iscsi initiators and storage must already be operational. ESX 4.0 Update1 or later supports software iscsi multipathing only. ESX 4.1 or later supports both software and hardware iscsi multipathing. The iscsi adapter must be enabled and bound to a VMkernel iscsi port. VMkernel networking must be functioning for the iscsi traffic. 13-4

Chapter 13 Prerequisites Prerequisites The iscsi Multipath feature has the following prerequisites. You must understand VMware iscsi SAN storage virtualization. You must know how to set up the iscsi Initiator software on your VMware ESX/ESXi host. The host is already functioning with the VMware ESX 4.0.1 Update 01 software release. You must understand iscsi multipathing and path failover. A system VLAN is created on the Cisco Nexus 1000V. One of the uplink ports must already have this VLAN in its system VLAN range. The host is configured with one port channel that includes two or more physical NICs. VMware kernel NICs configured to access the SAN external storage are required. Default Settings Table 13-1 lists the default settings in the iscsi Multipath configuration. Table 13-1 iscsi Multipath Defaults Parameter Type (port-profile) Description (port-profile) VMware port group name (port-profile) Switchport mode (port-profile) State (port-profile) Default vethernet None The name of the port profile Access Disabled Configuring a Port Profile for iscsi Multipath Use this section to configure communication multipathing between hosts and targets over iscsi protocol by assigning the vethernet interface to an iscsi multipath port profile configured with a system VLAN. Process for Configuring a Port Profile for iscso Multipathing You can use the following steps to configureiscsi Multipathing: Step 1 Creating a Port Profile for VMkernel ports procedure on page 13-6. Step 2 Creating VMKernel Ports and Attaching the Port Profile procedure on page 13-8. Step 3 Pinning the VMKernel Ports to Physical NICs procedure on page 13-8 Step 4 Binding the VMKerel Ports to the iscsi Adapter procedure on page 13-9 Step 5 Verifying the Multipathing Configuration procedure on page 13-9 13-5

Configuring a Port Profile for iscsi Multipath Chapter 13 Creating a Port Profile for VMkernel ports BEFORE YOU BEGIN SUMMARY STEPS DETAILED STEPS You can use this procedure to create a port profile for VMkernel ports. Before starting this procedure, you must know or do the following. You have already configured the host with one port channel that includes two or more physical NICs. You have already created VMware kernel NICs to access the SAN external storage. A Vmware Kernel NIC can only be pinned or assigned to one physical NIC. A physical NIC can have multiple VMware Kernel NICs pinned or assigned to it. Multipathing must be configured on the interface by using this procedue to create an iscsi multipath port profile and then assigning the interface to it. You are logged in to the CLI in EXEC mode. You know the VLAN ID for the VLAN you are adding to this iscsi multipath port profile. The VLAN must already be created on the Cisco Nexus 1000V. The VLAN that you assign to this iscsi multipath port profile must be a system VLAN. One of the uplink ports must already have this VLAN in its system VLAN range. The port profile must be an access port profile. It cannot be a trunk port profile. This procedure includes steps to configure the port profile as an access port profile. 1. config t 2. port-profile type vethernetname 3. vmware port-group [name] 4. switchport mode access 5. switchport access vlan vlanid 6. no shutdown 7. (Optional) system vlan vlanid 8. capability iscsi-multipath 9. state enabled 10. (Optional) show port-profile name 11. (Optional) copy running-config startup-config Step 1 Command config t n1000v# config t n1000v(config)# Purpose Places you in the CLI Global Configuration mode. 13-6

Chapter 13 Configuring a Port Profile for iscsi Multipath Step 2 Step 3 Step 4 Command port-profile type vethernet name n1000v(config)# port-profile type vethernet VMK-port-profile description profiledescription description Port Profile for iscsi multipath vmware port-group [name] vmware port-group VMK-port-profile Purpose Places you into the CLI Port Profile Configuration mode for the specified port profile. type: Defines the port-profile as Ethernet or vethernet type. Once configured, this setting cannot be changed. The default is vethernet type. Note If a port profile is configured as an Ethernet type, then it cannot be used to configure VMware virtual ports. name: The port profile name can be up to 80 characters and must be unique for each port profile on the Cisco Nexus 1000V. Adds a description to the port profile. This description is automatically pushed to the vcenter Server. profile description: up to 80 ASCII characters Note If the description includes spaces, it must be surrounded by quotations. Designates the port-profile as a VMware port group. The port profile is mapped to a VMware port group of the same name. When a vcenter Server connection is established, the port group created in Cisco Nexus 1000V is then distributed to the virtual switch on the vcenter Server. Step 5 switchport mode access ] switchport mode access name: The Vmware port group name.if you want to map the port profile to a different port group name, use the alternate name. Designates that the interfaces are switch access ports (the default). Step 6 Step 7 Step 8 switchport access vlan vlanid switchport access vlan 254 no shutdown no shutdown system vlan vlanid system vlan 254 Assigns the system VLAN ID to the access port for this port profile. Note The VLAN assigned to this iscsi port profile must be a system VLAN. Administratively enables all ports in the profile. Adds the system VLAN to this port profile. This ensures that, when the host is added for the first time or rebooted later, the VEM will be able to reach the VSM. One of the uplink ports must have this VLAN in its system VLAN range. 13-7

Configuring a Port Profile for iscsi Multipath Chapter 13 Step 9 Command capability iscsi-multipath capability iscsi-multipath Purpose Allows the port to be used for iscsi multipathing. In vcenter Server, the iscsi Multipath port profile must be selected and assigned to the VM kernel NIC port. Step 10 Step 11 Step 12 state enabled state enabled show port-profile name name show port-profile name multipath-profile copy running-config startup-config copy running-config startup-config Enables the port profile. The configuration for this port profile is applied to the assigned ports, and the port group is created in the VMware vswitch on the vcenter Server. (Optional) Displays the current configuration for the port profile. (Optional) Saves the running configuration persistently through reboots and restarts by copying it to the startup configuration. Creating VMKernel Ports and Attaching the Port Profile BEFORE YOU BEGIN You can use this procedure to create VMkernel ports and attach a port profile to them. Before starting this procedure, you must know or do the following. You have already created a port profile using the procedure, Creating a Port Profile for VMkernel ports procedure on page 13-6. The VMKernel ports are created directly on the vsphere client. Create one VMkernel NIC for each physical NIC that carries the iscsi VLAN. The number of paths to the storage device is the same as the number of VMkernel NIC created. The VMkernel NICs you create in this procedure may also carry other VLANs. Step 1 Step 2 Create one VMkernel NIC for each physical NIC that carries the iscsi VLAN. For example, if you want to configure two paths, create two physical NICs on the Cisco Nexus 1000V DVS to carry the iscsi VLAN. Create two vmknics for 2 paths. Attach the port profile configured with capability iscsi-multipath to the VMkernel ports. Pinning the VMKernel Ports to Physical NICs You can use this procedure to create a port profile for VMkernel ports. 13-8

Chapter 13 Additional References Binding the VMKerel Ports to the iscsi Adapter You can use this procedure to create a port profile for VMkernel ports. Verifying the Multipathing Configuration You can use this procedure to create a port profile for VMkernel ports. Additional References For additional information related to implementing iscsi Multipath, see the following sections: Related Documents, page 13-9 Standards, page 13-9 Related Documents Related Topic VMware SAN Configuration Port Profile Configuration Interface Configuration Complete command syntax, command modes, command history, defaults, usage guidelines, and examples for all Cisco Nexus 1000V commands. Document Title VMware SAN Configuration Guide Cisco Nexus 1000V Port Profile Configuration Guide, Release 4.0(4)SV1(3) Cisco Nexus 1000V Interface Configuration Guide, Release 4.0(4)SV1(3) Cisco Nexus 1000V Command Reference, Release 4.0(4)SV1(3) Standards Standards No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. Title 13-9

Feature History for iscsi Multipath Chapter 13 Feature History for iscsi Multipath Table 13-2 lists the release history for the iscsi Multipath feature. Table 13-2 Feature History for iscsi Multipath Feature Name Releases Feature Information iscsi Multipath 4.0(4)SV1(2) Th iscsi Multipath feature was added. 13-10