Professional Documents
Culture Documents
NETAPP UNIVERSITY
ATTENTION
The information contained in this guide is intended for training use only. This guide contains information
and activities that, while beneficial for the purposes of training in a closed, non-production environment,
can result in downtime or other severe consequences and therefore are not intended as a reference
guide. This guide is not a technical reference and should not, under any circumstances, be used in
production environments. To obtain reference materials, please refer to the NetApp product
documentation located at http://now.netapp.com/ for product information.
COPYRIGHT
2009 NetApp. All rights reserved. Printed in the U.S.A. Specifications subject to change without
notice.
No part of this book covered by copyright may be reproduced in any form or by any meansgraphic,
electronic, or mechanical, including photocopying, recording, taping, or storage in an electronic retrieval
systemwithout prior written permission of the copyright owner.
NetApp reserves the right to change any products described herein at any time and without notice.
NetApp assumes no responsibility or liability arising from the use of products or materials described
herein, except as expressly agreed to in writing by NetApp. The use or purchase of this product or
materials does not convey a license under any patent rights, trademark rights, or any other intellectual
property rights of NetApp.
The product described in this manual may be protected by one or more U.S. patents, foreign patents,
or pending applications.
TRADEMARK INFORMATION
NetApp, the NetApp logo, Go further, faster, Data ONTAP, ApplianceWatch, BareMetal, Center-toEdge, ContentDirector, gFiler, MultiStore, SecureAdmin, Smart SAN, SnapCache, SnapDrive,
SnapMover, Snapshot, vFiler, Web Filer, SpinAV, SpinManager, SpinMirror, SpinShot, FAServer,
NearStore, NetCache, WAFL, DataFabric, FilerView, SecureShare, SnapManager, SnapMirror,
SnapRestore, SnapVault, Spinnaker Networks, the Spinnaker Networks logo, SpinAccess, SpinCluster,
SpinFS, SpinHA, SpinMove, SpinServer, and SpinStor are trademarks or registered trademarks of
NetApp, Inc. in the United States and other countries.
Apple is a registered trademark and QuickTime is a trademark of Apple Computer, Inc. in the United
States and/or other countries.
Microsoft is a registered trademark and Windows Media is a trademark of Microsoft Corporation in the
United States and/or other countries.
RealAudio, RealNetworks, RealPlayer, RealSystem, RealText, and RealVideo are registered
trademarks and RealMedia, RealProxy, and SureStream are trademarks of RealNetworks, Inc. in the
United States and/or other countries.
All other brands or products are trademarks or registered trademarks of their respective holders and
should be treated as such.
NetApp is a licensee of the CompactFlash and CF Logo trademarks.
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
TABLE OF CONTENTS
WELCOME ........................................................................................................................................ 1
MODULE 1: SAN REVIEW ............................................................................................................ 1-1
MODULE 2: WINDOWS FC CONNECTIVITY ............................................................................... 2-1
MODULE 3: WINDOWS ISCSI CONNECTIVITY .......................................................................... 3-1
MODULE 4: WINDOWS LUN ACCESS ........................................................................................4-1
MODULE 5: VSPHERE OVERVIEW ............................................................................................. 5-1
MODULE 6: VSPHERE ISCSI CONNECTIVITY ........................................................................... 6-1
MODULE 7: VSPHERE FC CONNECTIVITY ................................................................................7-1
MODULE 8: VSPHERE LUN ACCESS .........................................................................................8-1
MODULE 9: RED HAT OVERVIEW............................................................................................... 9-1
MODULE 10: RED HAT FC CONNECTIVITY ............................................................................. 10-1
MODULE 11: RED HAT ISCSI CONNECTIVITY .........................................................................11-1
MODULE 12: RED HAT LUN ACCESS....................................................................................... 12-1
MODULE 13: LUN PROVISIONING ............................................................................................13-1
MODULE 14: SAN MANAGEMENT ............................................................................................ 14-1
MODULE 15: SAN TROUBLESHOOTING ..................................................................................15-1
APPENDIX 1: FC DETAILS ........................................................................................................ A1-1
APPENDIX 2: INTRODUCTION TO FCOE ................................................................................ A2-1
APPENDIX 3: INTERNET STORAGE NAME SERVICE ............................................................ A3-1
APPENDIX 4: MULTIPLE CONNECTION SESSIONS .............................................................. A4-1
APPENDIX 5: STORAGE MANAGER FOR SANS .................................................................... A5-1
APPENDIX 6: HYPER-V INTRODUCTION ................................................................................ A6-1
APPENDIX 7: SAN TROUBLESHOOTING ON WINDOWS ...................................................... A7-1
APPENDIX 8: NFS DATASTORES ............................................................................................ A8-1
APPENDIX 9: SERVER CONSOLIDATION ............................................................................... A9-1
APPENDIX 10: NPIV TROUBLESHOOTING ........................................................................... A10-1
APPENDIX 11: VMWARE SNAPSHOTS AND NETAPP SNAPSHOT COPIES ..................... A11-1
APPENDIX 12: VIRTUAL STORAGE CONSOLE ....................................................................A12-1
APPENDIX 13: SNAPDRIVE FOR UNIX (LINUX VERSION) .................................................. A13-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN Implementation
Workshop
Course Number: STRSW-ILTSANIMP-R1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Logistics
Introductions
Schedule (start time, breaks, lunch, close)
Telephones and messages
Food and drinks
Restrooms
LOGISTICS
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Safety
Alarm signal
Evacuation route
Assembly area
Electrical safety
SAFETY
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Course Objectives
By the end of this course, you should be able to:
Define and describe storage area networks using Fibre
Channel Protocol (FCP) and Internet SCSI (iSCSI)
Configure Windows Server 2008 R2, vSphere (ESX
4.0), Red Hat 5.3, and Data ONTAP for iSCSI
connectivity
Configure Windows Server 2008 R2, vSphere (ESX
4.0), Red Hat 5.3, and Data ONTAP for FC
connectivity
Create and access a LUN by way of FCP and iSCSI
from Windows Server 2008 R2, vSphere (ESX 4.0),
and Red Hat 5.3
2009 NetApp. All rights reserved.
COURSE OBJECTIVES
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Course Agenda
Day 1
Day 2
Module 5: vSphere
Module 6: vSphere
Module 7: vSphere
Module 8: vSphere
Overview
iSCSI Connectivity
FC Connectivity
LUN Access
COURSE AGENDA
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Information Sources
NOWTM (NetApp on the Web)
http://NOW.NetApp.com
NetApp University
http://www.netapp.com/us/services/university/
INFORMATION SOURCES
11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Typographic Conventions
Convention
Type of Information
Book titles.
Words or characters that require special
attention.
Variable names or placeholders for
information you must supply, for example:
An ifstat command looks like this:
ifstat -z -a <interface>
Italic Font
Monospaced font
TYPOGRAPHIC CONVENTIONS
12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN Review
Module 1
SAN Implementation Workshop
SAN REVIEW
1-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe the differences between networkattached storage (NAS) and storage area
network (SAN)
List the methods to implement SAN solutions
Define logical unit number, initiator and target
Describe ports, worldwide names, and
worldwide port names
List the steps to implement a SAN
MODULE OBJECTIVES
1-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
1-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN Review
SAN REVIEW
1-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
What does NAS and SAN stand for and what is the difference?
NFS
Corporate
LAN
iSCSI
CIFS
FCoE
NAS
FC
SAN
NetApp FAS
QUESTION
Operating systems and applications request data either at the block level or the file level.
Network-attached storage (NAS) provides file-level access to data on a storage system.
Access is by way of a network, using Data ONTAP services such as CIFS and NFS.
Storage area networks (SANs) provide block-level access to data on a storage system. SAN
solutions can be any mixture of iSCSI or FC protocols. When both SAN and NAS storage are
present on the same storage system, it is referred to as unified storage.
1-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SCSI
SAN uses Small Computer System Interface
(SCSI) protocol over a distance
SCSI features:
Block-level access
Efficiency
Lower overhead
Resiliency
SCSI
Small Computer System Interface (SCSI) is a set of standards that define commands,
protocols, and interfaces used to transmit data. SCSI allows low-level block access to data
in units of 512-byte blocks. This is highly efficient and has low overhead compared to NAS
or file level access. SCSI has a high level of resiliency that makes it perfect for an
enterprise-level protocol.
1-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SCSI Adapter
Direct-Attached Devices
Fibre Channel
SAN Services
WAFL
Controller
Direct-Attached Storage
2009 NetApp. All rights reserved.
1-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Logical Unit
Host
Application
File System
SCSI Driver
Controller
LUN
LOGICAL UNIT
1-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
What are the benefits of using a NetApp SAN
over direct-attached storage (DAS) device?
Availability
Data is generally more reliable than it is with DAS
Storage utilization
Space can be assigned to optimize usage
Centralized management
Provisioning is centralized
QUESTION
SAN provides numerous benefits over the traditional NAS environment:
Availability: As data is moved off of local hosts and onto enterprise storage arrays, data
access is generally more reliable.
Storage Utilization: Space can be assigned based upon appropriate need allowing a higher
optimization of the storage.
Management: Since all storage is centralized with SAN, management of the storage becomes
more efficient and effective.
Disaster Recovery and Backup: Centralizing data allows for easier and more effective
backup and recovery strategies.
1-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Terms Review
TERMS REVIEW
1-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
What is the host called in a SAN?
Host
Application
File System
SCSI Driver
Initiator
What is the storage system called in a SAN?
Target
SAN Services
WAFL
Controller
LUN
QUESTION
Initiators, including Windows and UNIX-type hosts, are consumers or clients within a SCSI
relationship. Targets, including NetApp controllers and storage arrays, present data as logical
units and are the servers within a SCSI relationship.
1-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
How may a SAN be implemented?
Fibre Channel (FC)
Referred to as FC SAN
Uses Fibre Channel Protocol (FCP) to communicate
Physical Data FC Frame
SCSI
SCSI
iSCSI
SCSI
QUESTION
LUNs on a NetApp storage system can be accessed through either a Fibre Channel (FC SAN)
fabric using the Fibre Channel Protocol (FCP)or an Ethernet network using the Fibre Channel
over Ethernet (FCoE) or Internet SCSI (iSCSI) protocols. In all cases, the transport portals
(FCP, FCoE or iSCSI) carry encapsulated SCSI commands as the data transport mechanism.
iSCSI is an IETF standard found here: http://www.ietf.org/rfc/rfc3720.txt?number=3720
1-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
What are the ports called in an IP and FC SAN?
Application
Initiator
File System
TCP/IP Driver iSCSI Driver
SCSI Driver
Ethernet Port
FC Driver
SAN Services
WAFL
IP
SAN
LUN
FC Driver
FC
SAN
QUESTION
Data is communicated over ports. In an IP SAN, the data is communicated by way of
Ethernet ports. In an FC SAN, the data is communicated over Fibre Channel ports.
1-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
What are the Nodes and Ports called in an FC SAN?
Application
File System
Initiator
SCSI Driver
21:00:00:2b:34:26:a6:56
20:00:00:2b:34:26:a6:56
50:0a:09:80:86:f7:c7:86
SAN Services
WAFL
Target
IP
SAN
LUN
FC
SAN
QUESTION
In FC SAN, a worldwide node name (WWNN) describes a machine while a worldwide port
name (WWPN) describes a physical port attached to that machine.
The FC specification for the naming of nodes and ports on those nodes can be fairly
complicated. Each device is given a globally unique WWNN and an associated WWPN for
each port on the node. WWNNs and WWPNs are 64-bit addresses made up of 16
hexadecimal digits grouped together in twos with a colon separating each pair (for example,
21:00:00:2b:34:26:a6:54).
The first number in the address defines what the other numbers in the address represent,
according to the FC specification. The first number is generally a 1, 2, or 5. In the example of
QLogic initiator host bus adapters (HBAs), the first number is generally a 2. For Emulex
initiator HBAs, the first number is generally a 1. Finally, a NetApp storage system is
assigned with a 5.
1-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
What are the Nodes and Ports called in an IP SAN?
Application
File System
Initiator
SCSI Driver
iqn.1999-04.com.a:host
Portals
iqn.1998-02.com.netapp:ss1
SAN Services
WAFL
Target
IP
SAN
LUN
FC
SAN
QUESTION
In IP SAN, the worldwide node (WWN) describes a machine while the portal describes a
physical port. Each iSCSI node must have a node name. There are two possible node name
formats.
IQN-TYPE DESIGNATOR
The format of this node name is conventionally iqn.yyyy-mm.backward_naming_authority:
unique_device_name. This is the most popular node name format and is the default used by
a NetApp storage system. The components of the logical name are the following:
Type designator, IQN, followed by a period (.)
The date when the naming authority acquired the domain name, followed by a period
The name of the naming authority, optionally followed by a colon (:)
A unique device name
EUI-TYPE DESIGNATOR
The format of this node name is eui.nnnnnnnnnnnnnnnn. The components of the logical
name are the following:
The type designator itself, eui, followed by a period (.)
Sixteen hexadecimal digits
Example: eui.123456789ABCDEF0
1-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Question
How can we connect an initiator to a target?
Application
File System
Initiator
SCSI Driver
Directly connected
Connected through
a switch
SAN Services
WAFL
Target
IP
SAN
LUN
FC
SAN
QUESTION
1-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Implementing SAN
IMPLEMENTING SAN
1-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Installation preparation
Purpose: Determine compatibility issues that need to be resolved
Tools: System Configuration Guide, FC and iSCSI Configuration
Guide, system configuration forms, Interoperability Matrix Tool
SAN assessment
2.
3.
4.
5.
1-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Number of
configurations
with the
current filter
1-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
All configurations
are in the
SAN Report;
Available as
spreadsheet
or PDF
2009 NetApp. All rights reserved.
1-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select your
hardware or OS
or software...
...and
Add Components
to add them to your
proposed
configuration
2009 NetApp. All rights reserved.
1-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
1-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Supported configuration(s)
based upon the filter
Export to
Excel and PDF
1-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
1-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Ethernet
Fibre Channel
Ethernet
Fibre Channel
Target
1-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Ethernet
Fibre Channel
Single path
Multiple paths
Ethernet
Fibre Channel
Target
1-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Ethernet
Fibre Channel
Ethernet
Fibre
Channel
Target
FC connects
over the IC
Ethernet
Fibre
Channel
Active-active
controller configuration
2009 NetApp. All rights reserved.
1-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2. Create a Session
Initiator
Ethernet
Fibre Channel
Ethernet
Fibre Channel
Target
2. CREATE A SESSION
Sessions associate the initiators with targets. A session may be persisted to ensure availability
after a host reboots.
1-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3. Create an igroup
Initiator
Target
Ethernet
Fibre Channel
Ethernet
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
Place WWPN in
igroups for FC
3. CREATE AN IGROUP
An igroup is a group of one or more initiators that have access to a target. In IP SAN, an
administrator references an initiator by WWN. In FC SAN, an administrator references an
initiator by WWPN.
1-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Target
Ethernet
Fibre Channel
Ethernet
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
LUNa
LUNb
1-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Ethernet
Fibre Channel
Target
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
2
LUNa
LUNb
1-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Ethernet
Fibre Channel
/
dev
- disk 1
- disk 2
- disk 3
Ethernet
Target
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
2
LUNa
LUNb
1-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Ethernet
Fibre Channel
/
dev
- disk 1
- disk 2 - disk 4
- disk 3 - disk 5
Ethernet
Target
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
If multiple paths
exist, the same LUN
might appear more
than once
Fibre Channel
My_FC_igroup
21:00:00:2b:34:26:a6:56
21:00:00:2b:34:26:a6:57
OS Type: Windows
2
LUNa
LUNb
1-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Ethernet
Fibre Channel
/
dev
- disk 1
- disk 2
- disk 3
Ethernet
Target
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
2
LUNa
LUNb
1-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
Ethernet
Fibre Channel
/
mount mount
luna
lunb
dev
- disk 1
- disk 2
- disk 3
Ethernet
Target
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
2
LUNa
LUNb
1-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator
File System
Ethernet
Fibre Channel
/
mount mount
luna
lunb
dev
- disk 1
- disk 2
- disk 3
Ethernet
Target
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
2
LUNa
LUNb
1-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Evaluation
How did you do?
If you are unfamiliar with many of the concepts
here in this this module, please see the SAN
Administration on Data ONTAP course for
instructional development of the SAN concepts
This course is focused on providing the steps to
implement a SAN on the following platforms:
Microsoft Windows Server 2008 R2
VMware vSphere (ESX 4.0)
Red Hat Enterprise Linux 5.3
EVALUATION
1-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
1-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe the differences between networkattached storage (NAS) and storage area
network (SAN)
List the methods to implement SAN solutions
Define logical unit number, initiator and target
Describe ports, worldwide names, and
worldwide port names
List the steps to implement a SAN
MODULE SUMMARY
1-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 1: SAN Review
Estimated Time: 30 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
1-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows FC
Connectivity
Module 2
SAN Implementation Workshop
WINDOWS FC CONNECTIVITY
2-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe multiple path implementation with
Fibre Channel (FC) connectivity
Describe how to configure FC ports on
Windows and NetApp systems
Describe commands and utilities to identify the
worldwide node name (WWNN) and worldwide
port name (WWPN) on Windows and NetApp
systems
Use commands and utilities to examine FC
switch activity
2009 NetApp. All rights reserved.
MODULE OBJECTIVES
2-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Connectivity Configuration
The following are the steps to configure FC SAN:
1. Determine the FC topology
2. Verify host HBA configuration, drivers,
firmware, cables, and multipathing software
3. Configure the switch (if in the topology)
4. Configure the target(s)
5. Configure the initiator(s)
6. Cable the devices together
7. Implement FC zoning (if required)
FC CONNECTIVITY CONFIGURATION
2-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Topology
FC TOPOLOGY
2-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Connectivity
Type of topologies:
1. Direct-attached
2. Single fabric
3. Dual fabric
NetApp FAS
FC CONNECTIVITY
NOTE: Fibre Channel-Arbitrated Loop (FC-AL), private loop and public loop topologies
are not discussed in this presentation.
2-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Direct-Attached Topology
Windows
Also called
point-to-point
Fibre Channel
2009 NetApp. All rights reserved.
DIRECT-ATTACHED TOPOLOGY
Initially, Fibre Channel (FC) point-to-point topologies were seen as a replacement for the
parallel SCSI bus, to overcome bandwidth and distance limitations. FC at 100 Mbps was
superior to SCSI at 10 to 20 Mbps, and as SCSI progressed to 40, 80, then 160 Mbps, FC
stayed ahead with 200 Mbps then 400 Mbps. SCSI bandwidth was reaching a ceiling where
FC at 200 Mbps was just getting started. FC point-to-point also overcame the severe distance
limitations of SCSI, but one limitation remained: it connected one initiator to one target,
supporting only the simplest topology. This provides limited connectivity.
2-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows
...
Does not
scale
No fault
tolerance
Fibre Channel
2009 NetApp. All rights reserved.
2-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Single-Fabric Topology
Windows
Inter-Switch
Link (ISL) =
single-fabric
Fibre Channel
2009 NetApp. All rights reserved.
SINGLE-FABRIC TOPOLOGY
The switched fabric uses a 24-bit addressing scheme with a 64-bit WWPN and WWNN. This
scheme has 12 million possibleaddresses, and the initiator-target pair got a dedicated nonblocking path to ensure full bandwidth.
In this configuration, all devices are connected to FC switches.
Single fabric is a switched fabric topology where the servers are attached to NetApp storage
controllers through a single FC fabric. This fabric may consist of multiple FC switches that
are connected together.
2-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fibre Channel
2009 NetApp. All rights reserved.
2-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Two
switches
required
Switches not
connected =
dual fabric
Fibre Channel
2009 NetApp. All rights reserved.
2-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Topology Summary
To optimize connectivity:
Architect clustered hosts
Implement a dual fabric design with multiple
paths
Configure active-active storage systems
NOTE: The exercise environment has an activeactive storage configuration with single hosts and
single switch
TOPOLOGY SUMMARY
2-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Exercise Environment
Windows Server 2008 R2
6
switch
port
0c - 0
0d - 1
Storage System 1
0c - 2
0d - 3
Storage System 2
Fibre Channel
2009 NetApp. All rights reserved.
FC EXERCISE ENVIRONMENT
2-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data ONTAP
DATA ONTAP
2-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
High Availability
HIGH AVAILABILITY
2-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
HBA Confirmation
Confirm the current HBAs:
system> sysconfig -a
HBA CONFIRMATION
The fcadmin utility manages the Fibre Channel adapters used by the storage subsystem. Use
these commands to show link- and loop-level protocol statistics, list the storage devices
connected to the storage system, and configure the personality of embedded adapters.
2-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
To change a WWPN:
Adapter
------Available in
0c
Data
ONTAP 7.3.1.1
0d
and later
2-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Supported systems
partner
single_image
All systems
dual_fabric
FAS270c only
standby
mixed
2-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
single_image cfmode
2-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fabric 1
Fabric 2
0d
0c
0d
Active-Active
Configuration
Controller 1
Controller 2
LUNs
LUNs
Multipathing software required
2-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fabric 1
Switch/Fabric 1 will
experience a failure
MP layer works around
the failure
Fabric 2
0c
0d
0c
0d
Active-Active
Configuration
Controller 1
Controller 2
LUNs
LUNs
Multipathing software required
2-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Controller 1 will
experience a failure
Fabric 1
0c
Active-Active
Configuration
Fabric 2
0d
0c
0d
Controller 1
Controller 2
LUNs
LUNs
Multipathing software required
2-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fabric 1
Fabric 2
0d
0c
0d
Active-Active
Configuration
Controller 1
Controller 2
LUNs
LUNs
Multipathing software required
2-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Loop Mode
Loop Mode
Solid blue lines are paths
to the LUNs being served
by Controller 1
0c
0d
0c
0d
Active-Active
Configuration
Controller 1
Controller 2
LUNs
LUNs
Multipathing software required
2-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows
WINDOWS
2-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows as an FC Initiator
NetApp has supported Windows as an FC initiator
OS since Windows 2000 Server
Windows Server 2008 has many advantages over
previous versions
New tools
Storage Explorer
Storage Manager for
SANs
Multipath I/O (MPIO)
Built-in FC drivers
WINDOWS AS AN FC INITIATOR
Windows Server 2008 provides many new features that make configuring an FC SAN easier.
Storage Explorer provides a one-stop interface for investigating local HBAs as well as the FC
switches, if present. Storage Manager for SANs is an additional tool available in Windows
Server 2003 R2 and later that allows configuring a SAN environment. Storage Manager for
SANs requires the Virtual Disk Service add-in provided by NetApp at the NOW site.
2-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Implementation
After installation, to configure a Windows Emulex
or QLogic implementation:
Verify the HBA is enabled
Identify the WWNN on the host HBA(s)
Identify the WWPN on the host HBA(s)
Verify connectivity between the initiator(s) and
target
WINDOWS IMPLEMENTATION
2-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows/Emulex Implementation
Verify that Windows Server 2008 has identified the HBA(s)
WINDOWS/EMULEX IMPLEMENTATION
2-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
For more
information
2-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
The WWNN
Select one of the HBAs
The WWPN
2-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery
Initiator
Fibre Channel
Target
DISCOVERY
Within FC SAN, discovery is automatic unless switch zoning prevents it. See Appendix 1 for
a discussion about switch zoning.
2-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
WWPN Aliases
In large FC installations, it can be difficult to
identify WWPNs because of their cryptic 64-bit
name
Example: 10:00:00:00:c9:6b:77:b4
For convenience, WWPN may be assigned a
name or alias within Data ONTAP
Both target and initiator ports may be aliased
WWPN ALIASES
One common problem administrators face in large Fibre installations is determining how to
distinguish between WWPNs due to their cryptic 64-bit naming conventions. Now with Data
ONTAP 7.3, administrators can rename or alias a WWPN with a more convenient name to
assist in easy identification. Aliases may be used for both target and initiator ports.
2-41
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
To remove an alias:
To show aliases:
2-42
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Alias Rules
A storage system can have up to 1024 aliases
An alias can have the following characters:
A-Z, a-z, 0-9, '_','-','.','{','}' and no spaces
Many aliases maybe associated with a single
WWPN, but each alias will be assigned to only
one WWPN
Use fcp wwpn-alias help subcommand
for more information on the subcommand
ALIAS RULES
The following rules apply to WWPN aliases:
2-43
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-44
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Storage systems
WWPNs show up
Select the
Brocadefabric
Windows WWPNs
show up
2-45
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Binding
Binding or mapping in FC SAN is the process
of associating an OS device name to a targets
worldwide port name
Persistent binding in FC SAN is the process of
ensuring that the same binding occurs even
after a host OS reboot
NOTE: Binding is done automatically in most
modern OS; therefore, it does not need to be
manually configured
BINDING
2-46
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Window/Emulex Binding
Select
SCSI ID = Bus
Number, Target ID
Current
Bindings
Current
SCSI IDs
Do not use
persistent
binding
WINDOW/EMULEX BINDING
There are no native Windows Server 2003 or 2008 tools for verifying binding of an initiator
and one or more targets. Therefore, an administrator must use third-party tools such as
HBAnyware from Emulex.
NOTE: Do not use FC-persistent binding within a Windows SAN environment.
2-47
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify connectivity
Interrogate the fabric
Manage bindings
Verify configuration
Administrate VPORTs (discussed in module 7)
2-48
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multipath I/O
MULTIPATH I/O
2-49
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
switch
port
0c - 0
0d - 1
Storage System 1
0c - 2
0d - 3
Storage System 2
Fibre Channel
2009 NetApp. All rights reserved.
2-50
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multiple Paths
When multiple paths are present to a LUN, the same
LUN would appear multiple times
The same LUN would appear a single instance for
each path available
Without MPIO
With MPIO
MULTIPLE PATHS
2-51
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-52
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multipath Access
Symmetric
Asymmetric
0c
0d
0c
0d
LUN
2009 NetApp. All rights reserved.
MULTIPATH ACCESS
2-53
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-54
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click
Features and
select Add
Feature
Multipath I/O
added
No need for a
reboot in R2
2009 NetApp. All rights reserved.
2-55
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-56
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Requirements:
Windows Server 2003 or 2008 or 2008 R2
Data ONTAP 7.2.2+
2009 NetApp. All rights reserved.
2-57
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2-58
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
2-59
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe multiple path implementation with
Fibre Channel (FC) connectivity
Describe how to configure FC ports on
Windows and NetApp systems
Describe commands and utilities to identify the
worldwide node name (WWNN) and worldwide
port name (WWPN) on Windows and NetApp
systems
Use commands and utilities to examine FC
switch activity
2009 NetApp. All rights reserved.
MODULE SUMMARY
2-60
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 2: Windows FC Connectivity
Estimated Time: 45 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
2-61
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows iSCSI
Connectivity
Module 3
SAN Implementation Workshop
3-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe multiple path implementation with
iSCSI connectivity
Configure network ports on Windows and
NetAppsystems
Identify the worldwide node (WWN) on
Windows and NetApp systems
Set up and verify multiple path iSCSI
connectivity between Windows and NetApp
systems
2009 NetApp. All rights reserved.
MODULE OBJECTIVES
3-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
iSCSI Review
iSCSI encapsulates SCSI-3 command frames
in IP packets
Ethernet IP TCP
iSCSI
SCSI
ISCSI REVIEW
3-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Domain
Name
Organizationally
Defined
Example: iqn.1992-08.com.netapp:sn.101171811
EUI (Extended Unique Identifier): OUI-based scheme
similar to WWN
Type OUI + Organizationally Defined
Example: eui.495f1de83eb8
2009 NetApp. All rights reserved.
ASCII dash ('-') , dot ('.'), colon (':') ASCII lower-case characters - ('a' through 'z, '0'
through '9')
Maximum size is 223 bytes
No white space is allowed
Upper case characters are converted to lower case
IQN
iqn.yyyy-mm.backward_naming_authority:device
yyyy-mm is the month and year in which the naming authority acquired the domain name
backward_naming_authority is the reverse domain name of the entity responsible for
naming this device
device is the unique host name for the device
Extended Unique Identifier (EUI) eui + . + 16 hexadecimal digits
NOTE: Older Microsoft iSCSI software initiator allowed an underscore character in the IQN
name. Data ONTAP complies with the iSCSI specification and will not recognize it.
3-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP Connectivity
IP CONNECTIVITY
3-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP Connectivity
Type of topologies:
1. Direct-attached
2. Network
NetApp FAS
IP CONNECTIVITY
3-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Direct-Attached Topology
Windows
Also called
point-to-point
iSCSI
2009 NetApp. All rights reserved.
DIRECT-ATTACHED TOPOLOGY
In direct-attached topologies, servers (or hosts) are directly attached to the NetApp controller
using a crossover cable. It is not possible to directly attach to more than one controller in a
high-availability configuration.
3-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows
...
Does not
scale
No fault
tolerance
iSCSI
2009 NetApp. All rights reserved.
3-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Network Topology
Windows
Dual switches
provides extra
redundancy
iSCSI
2009 NetApp. All rights reserved.
NETWORK TOPOLOGY
In a network environment, servers are attached to NetApp controllers through Ethernet
switches. This network may consist of multiple Ethernet switches in any configuration.
There are two types of switched environments, dedicated Ethernet and shared Ethernet. In a
dedicated Ethernet, there is no extraneous network traffic. The network is totally dedicated to
iSCSI and related management traffic. Such a network is typically located in a secure data
center. Direct-attached and dedicated Ethernet networks represent approximately 90% of
current iSCSI deployments. In a shared Ethernet, the network is shared with other traffic or a
corporate Ethernet network. This typically introduces firewalls, routers, and IP security
(IPsec) into the Ethernet network.
3-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
iSCSI Hardware
Initiator/HBA
Application
Application
Application
SCSI
SCSI
SCSI
Other
iSCSI
Protocols
Other
iSCSI
Protocols
iSCSI
TCP
TCP
TCP
IP
IP
IP
Network
Interface
Network
Interface
Network
Interface
Server
Processing
NIC/HBA
Processing
3-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Topology Summary
To optimize connectivity:
Architect clustered hosts
Implement dual switches with multiple paths
Configure active-active storage systems
NOTE: The exercise environment will implement the
high availability (active-active) storage system
configuration with several multiple path techniques
TOPOLOGY SUMMARY
3-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP Exercise Environment
Windows Server 2008 R2
e0a are used
for management
access only for
storage systems
without e0M
e0a
e0b
e0c
Storage System 1
e0a
e0b
e0c
Storage System 2
iSCSI
2009 NetApp. All rights reserved.
IP EXERCISE ENVIRONMENT
3-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery
For an initiator and target to communicate, the
initiator must discover the target
Proper configuration of the initiator OS is
required for discovery
Discovery is accomplished over TCP port 3260
We will investigate:
Data ONTAP setup
Windows Server 2003/2008 software initiator
with a standard NIC
DISCOVERY
NOTE: Discovery occurs generally over TCP port 3260. Therefore, this port must not be
blocked by firewall servers positioned between the initiator and target on a network.
3-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data ONTAP
DATA ONTAP
3-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Configuring Interfaces
1. List the available interfaces:
ifconfig -a
CONFIGURING INTERFACES
3-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify Interfaces
Verify the interface is enabled for iSCSI:
iscsi interface show
VERIFY INTERFACES
3-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
e0b 10.254.134.75 up
netif.linkUp:info]: Ethernet e0b: Link up.
e0c 10.254.134.81 up
netif.linkUp:info]: Ethernet e0c: Link up.
3-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows
WINDOWS
3-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows/NIC Implementation
After installation, to configure a Windows
standard NIC software initiator implementation:
1. Identify the local network interface(s) to use
2. Verify iSCSI Initiator driver is enabled and the
service is started
3. Identify the WWN for the local Windows host
4. Identify which method of discovery to use and
enter the storage systems portal IP address or
iSNS address
5. Configure authentication security if necessary
6. Verify discovery & log on to the storage system
2009 NetApp. All rights reserved.
WINDOWS/NIC IMPLEMENTATION
3-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select
and then
configure
3-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
WNN Spoofing
iSCSI node names are:
Spoof-able
Sniff-able
Can be attacked
WNN SPOOFING
3-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery
Initiator
Ethernet
Discovery is not
automatic
Ethernet
Target
DISCOVERY
Unlike FC discovery, iSCSI discovery is not automatic.
3-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
RADIUS
After the completion of the link establishment phases, the target sends a challenge
message to the initiator.
The initiator responds with a one-way hash function of the shared secret.
The target checks the response against its own calculation of the expected hash value.
At random intervals, the target will send a new challenge to the initiator and repeat Steps
1, 2, and 3.
NOTE: In bidirectional authentication the process is also implemented in the reverse.
REMOTE AUTHENTICATION DIAL-IN USER SERVICE (RADIUS)
RADIUS is a networking protocol that uses access servers to provide centralized management
of access to large networks.
Proper authentication resists man-in-the-middle attacks as well as other attacks.
IPsec can also be used to increase security.
3-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Check to configure
To configure
bidirectional, check here
and then...
2009 NetApp. All rights reserved.
3-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Storage system
is discovered
Both
target portals
discovered
(New in Windows
2008 R2)
3-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Binding
iSCSI binding or logging on is the process of
creating a session between an initiator and a
target
Persistent binding ensures that an initiator
binds to a target after a reboot of the initiator
OS
BINDING
3-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Best
practice:
Check
both
3-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select session
and click
Select first
To disconnect all
session for
particular target
3-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-41
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-42
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
iscsicli Command
Start the iscsicliutility:
PS C:\Users\Adminstrator> iscsicli
Microsoft iSCSI Initiator Version 6.1 Build 7600
[iqn.1991-05.com.microsoft:win] Enter command o
^C to exit
ISCSICLI COMMAND
3-43
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-44
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-45
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-46
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-47
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LogoutTarget
PersistentLoginTarget
ListPersistentTargets
RemovePersistentTarget
ChapSecret...
Connection Management
AddConnection
RemoveConnection
3-48
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multipath Techniques
MULTIPATH TECHNIQUES
3-49
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
e0b
e0c
Storage System 1
e0a
e0b
e0c
Storage System 2
iSCSI
2009 NetApp. All rights reserved.
3-50
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multipath Access
Symmetric
All paths are favored
or optimized
10G
Asymmetric
Only certain paths are
favored or optimized
10G
LUN
10G
1G
LUN
MULTIPATH ACCESS
3-51
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
igroup
associated with
initiator(s)
3-52
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
At the target:
Link aggregation (interface groups)
See Data ONTAP Fundamentals course
3-53
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Link Aggregation
Implemented by 802.3ad
IEEE spec
Called teaming, channel
bonding, and interface
groups
Pros:
Supports all network
protocols
Cons:
Not supported with
Microsoft iSCSI software
initiator
Same path often used to
avoid out-of-order delivery
One TCP
connection
via two paths
Disk-Class Driver
SCSI Layer
iSCSI Initiator
TCP/IP
NIC Driver (GbE)
NIC
NIC
Teaming
driver
To storage
system
LINK AGGREGATION
Host-side NIC Teaming (802.3ad) is supported by NetApp on many non-Windows hosts.
3-54
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Disk-Class Driver
SCSI Layer
iSCSI Initiator
TCP/IP
TCP/IP
NIC Driver
NIC Driver
NIC
NIC
To storage
system
3-55
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Disk-Class Driver
Multipathing
Technology Layer
SCSI Layer
iSCSI Initiator
iSCSI Initiator
TCP/IP
TCP/IP
NIC Driver
NIC Driver
NIC
NIC
To storage
system
3-56
ONTAP DSM: In the past, the ONTAPDSM (previous called NTAP DSM) was bundled
with SnapDrive. Beginning with SnapDrive 4.2 and later, there is a separate install for
the ONTAP DSM.
Microsoft iSCSI DSM: Microsoft iSCSI DSM is supported in active-passive and activeactive modes. It requires a software initiator.
VERITAS DSM: Veritas DSM is supported beginning with Windows Server 2003.
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-57
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
CONN 64/1
SESSION 65
CONN 65/1
SESSION 66
CONN 66/1
SESSION 67
CONN 67/1
SESSION 68
CONN 68/1
CONN 68/4
CONN 68/2
3-58
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-59
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multipath I/O
MULTIPATH I/O
3-60
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-61
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-62
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
No need for a
reboot in R2
3-63
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-64
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Requirements:
Windows Server 2003 or 2008 or 2008 R2
Data ONTAP 7.2.2+
2009 NetApp. All rights reserved.
3-65
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Click to add
another session
3-66
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Different initiator
IP and target
portal IP than
first session
This functionality is
available because
multiple target portal
groups were
identified during
discovery
2009 NetApp. All rights reserved.
3-67
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
3-68
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
3-69
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe multiple path implementation with
iSCSI connectivity
Configure network ports on Windows and
NetApp systems
Identify the worldwide node (WWN) on
Windows and NetApp systems
Set up and verify multiple path iSCSI
connectivity between Windows and NetApp
systems
2009 NetApp. All rights reserved.
MODULE SUMMARY
3-70
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 3: Windows
iSCSI Connectivity
Estimated Time: 30 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
3-71
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows LUN
Access
Module 4
SAN Implementation Workshop
4-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe the steps to allow a WindowsServer
2008 R2 initiator to access a LUN on a storage
system
MODULE OBJECTIVES
4-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Access
To connect an initiator to a targets LUN:
1. Create an igroup if necessary
2. Create the LUN
3. Map the LUN to the igroup
4. Find the LUN on the initiator
5. Prepare the LUN as a new disk on the
initiator
LUN ACCESS
4-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
1. Create an igroup
Initiator
Target
Ethernet
Fibre Channel
Ethernet
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
Place WWPN in
igroups for FC
1. CREATE AN IGROUP
If necessary, create an igroup to provide access to a LUN.
Initiator groups (igroups) are tables of host identifiers (FC WWPNs or iSCSI WWNs) that are
used to control access to LUNs. Typically, you want all of the host's host bus adapters
(HBAs) or software initiators to have access to a LUN. If you are using multipathing
software or have clustered hosts, each HBA or software initiator of each clustered host needs
redundant paths to the same LUN.
You can create igroups that specify which initiators have access to the LUNs either before or
after you create LUNs, but you must create igroups before you can map a LUN to an igroup.
Initiator groups can have multiple initiators, and multiple igroups can have the same initiator.
However, you cannot map a LUN to multiple igroups that have the same initiator.
NOTE: An initiator cannot be a member of igroups of differing operating systems types
(ostypes). Also, a given igroup can be used for FC or iSCSI, but not both.
4-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify igroup:
system> igroup show -v
iWIN_fcp (FCP) (ostype: windows):
10:00:00:00:c9:6b:77:b3 (logged in on: 0d, 0c)
WWPN Alias(es): WIN1-FC
10:00:00:00:c9:6b:77:b4 (logged in on: 0d, 0c)
WWPN Alias(es): WIN2-FC
NOTE:Connected
using paths displayed
2009 NetApp. All rights reserved.
4-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Target
Ethernet
Fibre Channel
Ethernet
Fibre Channel
LUNa
4-8
Do not create any LUNs in the systems root volume. Data ONTAP uses this volume to
administer the storage system. The default root volume is /vol/vol0.
Ensure that no other files or directories exist in a volume that contains a LUN. If this is
not possible and you are storing LUNs and files in the same volume, use a separate qtree
to contain the LUNs.
If multiple hosts share the same volume, create a qtree on the volume to store all LUNs
for the same host. This is a recommended best practice that simplifies LUN
administration and tracking.
Ensure that the volume option create_ucode is set to on (vol options <volname>
create_ucode on). Data ONTAP requires that the path of a volume or qtree containing a
LUN be in the Unicode format. This option is off by default when you create a volume.
It is important to enable this option for volumes that will contain LUNs.
To simplify management, use naming conventions for LUNs and volumes that reflect
their ownership or the way that they are used.
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Ethernet
Fibre Channel
Target
Fibre Channel
My_IP_igroup
iqn.1999-04.com.a:system
OS Type: Windows
LUNa
My_FC_igroup
21:00:00:2b:34:26:a6:56
OS Type: Windows
2
LUNb
4-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Creation
Using Wizards
4-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
:
:
:
:
Group
:
Group Type
:
Group Members :
LUN-ID
:
/vol/SAN/lun1
windows
1.0g (1077511680)
Windows LUN
iWIN_fcp
FCP
10:00:00:00:c9:2d:9f:76
1
4-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Setup
WINDOWS SETUP
4-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Steps
To connect an initiator to a targets LUN:
1. Create an igroup
2. Create the LUN
3. Map the LUN to the igroup
4. Find the LUN on the initiator
5. Prepare the LUN as a new disk on the
initiator
WINDOWS STEPS
4-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select Disk
Management
4-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
The LUN
is offline
4-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click,
select Online
NOTE: The LUN
is not initialized
2009 NetApp. All rights reserved.
4-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click,
select
Initialize
NOTE: MBR is the default
4-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Partition Styles
Master Boot Record
(MBR)
Traditional style
Uses partition table on the
first sector of disk
Supports up to 2 TB unless
dynamic disks are used
Two types:
Primary: used to format
and mount directly
Extended: used to create
logical drives (format and
mount logical drives)
PARTITION STYLES
To convert from MBR to GPT, use convert gpt.
To convert from GPT to MBR, use convert mbr.
4-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Basic disk
Are like other disks
Used to manage a
LUN as a single disk
Spanned
Striped
Mirrored
RAID-5
NOTE: We will first examine the basic disk configuration and then
look at a spanned dynamic disk configuration
2009 NetApp. All rights reserved.
4-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click,
select
New Simple
Volume
4-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Click
here
Select Provision Storage
to configure the LUN
4-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Because our
LUN is
identified
as a disk,
select here
Then click
Next
2009 NetApp. All rights reserved.
4-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Determine how to
mount the new
volume and select
Next
4-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Determine whether
to format the volume
and then select Next
4-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Review, and if
correct, select
Create
4-41
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-42
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-43
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-44
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-45
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
List partitions
DISKPART> list partition
Partition ### Type
Size
Offset
------------- ---------------- ------- ------Partition 1
Primary
2054 MB
64 KB
4-46
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-47
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Format partition
Pre-created folder
List volumes
DISKPART> list volume
Volume ### Ltr Label Fs
Type
Size
Status Info
----------------------------------------------------------------Volume 0
D
DVD-ROM
0 B
No Media
Volume 1
Partition 100 MB Healthy Offline
Volume 2
C
NTFS
Partition 68 GB
Healthy Boot
Volume 3
E
NTFS
Partition 2022 MB Healthy
* Volume 4 C:\Data\CLI\ NTFS
Partition 2054 MB Healthy
Exit DiskPart
DISKPART> exit
2009 NetApp. All rights reserved.
4-48
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Dynamic Disks
In this example, two 5-GB LUNs were created
LUNs
brought
online
Right-click,
select
Initialize
2009 NetApp. All rights reserved.
DYNAMIC DISKS
4-49
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUNs
initialized
Right-click,
select
Convert to
Dynamic
Disk...
2009 NetApp. All rights reserved.
4-50
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUNs are
dynamic
Right-click,
select New
Spanned
Volume
Wizard....
2009 NetApp. All rights reserved.
4-51
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-52
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Used only 2 GB of
the total 5 GB
Total size of
spanned volume
2009 NetApp. All rights reserved.
4-53
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Format volume
4-54
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-55
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Volume E
is a
spanned
volume
4-56
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Stack
Spanned E:
E:
Mounts
File System Added
NTFS
Disk 1
F:
NTFS
Disk 2
Format LUN
Port 3,4 Bus 0, Target 0, LUN1
LUN 1
SCSI\DISK&VEN_NETAPP&PROD_LUN\4&61E00BC&0&000001
LUN 2
SCSI\DISK&VEN_NETAPP&PROD_LUN\4&29BC0C71&0&000100
LUN 1
LUN 2
WINDOWS STACK
4-57
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Roles added
through
Server Manager
4-58
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 4: Windows LUN Access
Tasks 1-6
Estimated Time: 45 minutes
EXERCISE
Please refer to your Exercise Guide for more instruction.
4-59
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SnapDrive for
Windows
4-60
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SnapDrive
SnapDrive software provides:
HP-UX
Linux
SNAPDRIVE
4-61
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SnapDrive for
Windows
4-62
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Two Interfaces:
4-63
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-64
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
RPC Configuration
SnapDrive service runs under a local
administrators account
The same administrator account must
be configured as an administrator on
the storage system
To communicate with a storage
system, you can:
Add a domain user to the local user
account
system> useradmin domainuser add
Development\SDService -g Administrators
RPC CONFIGURATION
NOTE: For HTTP or HTTPS configuration, you do not have to have the same user as the
SnapDrive service.
4-65
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-66
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select
Select
4-67
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SnapDrive Services
Local SnapDrive Server
SNAPDRIVE SERVICES
4-68
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2
1
Select
Select
4-69
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select a predefined
storage system
4-70
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-71
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-72
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-73
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-74
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-75
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Success
4-76
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-77
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select
4-78
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-79
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-80
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select the
Snapshot
2
Click
Restore
Disk
4-81
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-82
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-83
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
To remove,
right-click
and select
Delete Disk
4-84
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 4: Windows LUN Access
Tasks 7-10
Estimated Time: 40 minutes
EXERCISE
Please refer to your Exercise Guide for more instruction.
4-85
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multipath I/O in
Windows
4-86
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows MPIO
LUNa
Device (LUN)
arrives
Adapter/PCI bus
discovers/detects
Is the
path
known?
PnP/Disk
Manager
DSM
modules
interrogation
NetApp DSM
claims device
Microsoft DSM
claims device
Yes No
Group under pseudo
Create pseudo
node/device
device
Port Driver
Yes
MSFT
DSM claims
device?
No
WINDOWS MPIO
4-87
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify Paths
The LUN should appear in the DSM Interface
Right-click and
pick from menu
to select a loadbalancing policy
VERIFY PATHS
4-88
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Load-Balancing Policies
Least Queue Depth
High performance
Default Policy
Optimizes distribution of I/O load
LOAD-BALANCING POLICIES
4-89
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-90
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-91
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-92
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-93
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-94
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-95
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
MPIO Panel
Within Control Panel, the MPIO panel can be
used to verify MPIO services
NetApp LUN
managed by
Windows MPIO
framework
MPIO PANEL
4-96
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Registered DSMs: 2
================
+--------------------------------|-------------------|----|----|--|DSM Name
|
Version
|PRP |
|--------------------------------|-------------------|----|----|----|--|
|Microsoft DSM
|006.0001.07600.16385|0|
|Data ONTAP DSM
|003.0003.25090.093
+--------------------------------|-------------------|----|----|----|--...
Data ONTAP DSM
==============
MPIO Disk14: 04 Paths, Least Queue Depth,
SN: C4n3J4ROg/Mi
Supported Load Balance Policies: FOO
Path ID
State
SCSI Address
----------------------------------------------------------0000000003000101 Active/Optimized
Adapter: Emulex LightPulse HBA - Storport Mini
Controller: C1677CB400000000 ...
4-97
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 4: Windows LUN Access
Task 11-12 (optional Task 13)
Estimated Time: 15 minutes
EXERCISE
Please refer to your Exercise Guide for more instruction.
4-98
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
4-99
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe the steps to allow a Windows Server
2008 R2 initiator to access a LUN on a storage
system
MODULE SUMMARY
4-100
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere Overview
Module 5
SAN Implementation Workshop
VSPHERE OVERVIEW
5-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe virtualization and how it can be used
to promote server efficiency
Explain methods of mapping NetApp storage
to vSphere datastores
List the interfaces to administrate vSphere
MODULE OBJECTIVES
5-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Virtualization Overview
Application
Application
Application
Operating System
Operating System
CPU
Operating System
Memory
Memory
NIC
Disk
CPU
Memory
NIC
Disk
x86 Architecture
CPU
NIC
x86 Architecture
HBA
Disk
Before virtualization:
CPU
Memory
NIC
HBA
Disk
After virtualization:
Hardware-independence of
operating system and
applications
Virtual machines can be
provisioned to any system
Can manage OS and
application as a single unit by
encapsulating them into
virtual machines
VIRTUALIZATION OVERVIEW
Virtualization is described this way in VMware materials: Virtualization is an abstraction
layer that decouples the physical hardware from the operating system to deliver greater IT
resource utilization and flexibility.
Virtualization allows multiple virtual machines with heterogeneous operating systems to run
in isolation, side-by-side on the same physical machine.
Each virtual machine has its own set of virtual hardware (for example, RAM, CPU, NIC, and
so on) upon which an operating system and applications are loaded.
VMware virtualizes servers; NetApp virtualizes storage.
There are other server virtualization applications, such as Microsoft Virtual Server, or Xen
in Red Hat Enterprise Linux 5.0.
5-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Application
App
App
App
App
Clustering Software
OS
OS
OS
OS
Service Console
Virtualization Layer
CPU
x86 Architecture
x86 Architecture
Memory
NIC
HBA
Disk
Hosted architecture:
Installs and runs as an
application
Relies on host OS for device
support and physical resource
management
VMware Products:
VMware Server, Workstation
CPU
Memory
NIC
HBA
Disk
Bare-metal (hypervisor)
architecture:
Lean virtualization-centric
kernel
Service console for agents
and helper applications
VMware Products:
VMware ESX
5-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Server Consolidation
Application
Application
Operating System
Operating System
CPU
Memory
NIC
Disk
CPU
VM
Local
Datastore
NIC
Disk
VM
Memory
Memory
NIC
HBA
Disk
Virtual Machine
File System
.vmdk
(VMFS)
For an
enterprise
solution,
cluster ESX
and attach
NetApp storage
.vmdk
SERVER CONSOLIDATION
With vSphere and NetApp storage, administrators may transform their data centers by
converting physical machines-to-virtual machines (P2V).
vSphere stores virtual machine (VM) data in datastores. Datastores can be shared by more
than one VM as shown in this diagram.
VMs can access their storage by way of:
5-5
Virtual disks (VMDKs) stored on the VMware File System (VMFS) accessed through
FCP or iSCSI
VMDKs stored on NFS
Raw device mappings (RDMs) by way of FC or iSCSI
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
5-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
5-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VMFS Datastore
ESX Cluster
Datastore
VM1
VM2
VM3
VM4
VDisk0
VDisk0
VDisk0
VDisk0
FC / FCoE / iSCSI
LUN
1.vmx
1.vmdk
2.vmx
3.vmx
2.vmdk
3.vmdk
VMFS
Flexible Volume
4.vmx
4.vmdk
VMFS DATASTORE
The VMware Virtual Machine File System (VMFS) is a high-performance clustered file
system that provides datastores, which are shared storage pools. VMFS datastores can be
configured with LUNs accessed by Fibre Channel, iSCSI, or Fibre Channel over Ethernet.
VMFS allows traditional LUNs to be accessed simultaneously by every ESX Server in a
cluster.
VMFS provides the VMware administrator with a fair amount of independence from the
storage administrator. By deploying shared datastores, the VMware administrator is free to
provision storage to virtual machines as needed. In this design, most data management
operations are performed exclusively through VMware vCenter Server.
This storage design can be challenging in the area of performance monitoring and scaling.
Because shared datastores serve the aggregated I/O demands of multiple VMs, this
architecture doesnt natively allow a storage array to identify the I/O load generated by an
individual VM. This issue can be exacerbated by spanning VMFS volumes across multiple
LUNs.
5-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NAS Datastore
ESX Cluster
Datastore
VM1
VM2
VM3
VM4
VDisk0
VDisk0
VDisk0
VDisk0
NFS
1.vmx
1.vmdk
2.vmx
2.vmdk
Flexible Volume
3.vmx
3.vmdk
4.vmx
4.vmdk
NAS DATASTORE
In addition to VMFS, vSphere allows a customer to leverage enterprise-class NFS servers in
order to provide datastores with concurrent access by all of the nodes in an ESX cluster. This
method of access is very similar to that with VMFS. NFS provides high performance, the
lowest per-port storage costs (as compared to Fibre Channel solutions), and some advanced
data management capabilities.
Deploying VMware with NetApp NFS datastores is the easiest means to integrate VMware
virtualization technologies directly with the NetApp WAFL (Write Anywhere File Layout)
file system, our advanced data management and storage virtualization engine.
See appendix 8 for more information about NAS datastores.
5-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC / FCoE / iSCSI
VM1
VM2
VM3
VDisk0
VDisk0
VDisk0
Read
Open
1.vmx
2.vmx
*.vmx
1.vmdk
2.vmdk
*.vmdk
LUN
Write
LUN
LUN
VMFS
5-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC/FCoE
iSCSI
NFS
VMFS or RDM
VMFS or RDM
NetApp WAFL
256
256
64
64 TB
64 TB
16 TB*
2 TB
2 TB
16 TB*
16
16
250
64
64
N/A
4 and 8 Gb FC /
10 GbE
1 and 10 GbE
1 and 10 GbE
Format
Maximum number of
datastores or LUNs
5-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere Interfaces
VSPHERE INTERFACES
5-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vCenter Server
vSphere Client
vSphere Web
Requires additional
license
Centralized
management of
multiple ESX hosts
Automatic detection
of changes
Runs as a Windows
Service
No additional license
required
Used to manage
single ESX host
No automatic
detection of changes
Installs to local
machine
No additional license
required
Perform basic VM
management and
configuration
No automatic
detection of changes
http://esx_host/ui
5-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere Client
Selected
Default
Datastore
VSPHERE CLIENT
5-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vMA
A pre-built VM
hosted in ESX that
contains the CLI
Package
CLI
Package
Runs in:
Windows Shell
PowerShell
Linux
Service Console
Requires shell user
account access
Root account
disabled
5-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
CLI Examples
If a CLI Package or vMA is used, commands must
have connection information:
esxcli --server esx_ip --username user
--password passwd ...
Service Console
Description
vicfg-vmknic
esxcfg-vmknic
NIC management
vicfg-vswitch
esxcfg-vswitch
esxcli
esxcli
CLI EXAMPLES
5-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click
to add new
user
Strong
passwords
required
5-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
5-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe virtualization and how it can be used
to promote server efficiency
Explain methods of mapping NetApp storage
to vSphere datastores
List the interfaces to administrate vSphere
MODULE SUMMARY
5-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 5: vSphere Overview
Time Estimate: 30 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
5-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere iSCSI
Connectivity
Module 6
SAN Implementation Workshop
6-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe multiple path implementation with
iSCSI connectivity for vSphere and NetApp
systems
Configure network ports on vSphere systems
Identify the worldwide node (WWN) on
vSphere systems
Set up and verify multiple path iSCSI
connectivity between vSphere and NetApp
systems
2009 NetApp. All rights reserved.
MODULE OBJECTIVES
6-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP Connectivity
IP CONNECTIVITY
6-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VM2
VDisk0
VDisk0
ESX Cluster
SCSI Controller
SCSI Controller
Virtualization Layer
HBA
LAN
NIC
iSCSI
HBA
LAN
NIC
1.vmx
2.vmx
1.vmdk
2.vmdk
VMFS
Flexible Volume
LUN
6-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Physical
Ethernet
Adapter
Definitions
vSphere
Ethernet
Modeling
6-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VMkernels PSA
VMkernel
Pluggable Storage Architecture (PSA)
Native Multipathing Plug-in (NMP)
Storage Array
Path Selection
Third-Party
Plug-in (PSP)
Multiple
Multipathing
Plug-ins (MPP)
VMKERNELS PSA
vSphere has a new architecture that allows third-party multiple multipathing plug-ins (MPP)
to take complete control of the path failover and load balancing operations for a specific
storage devices. Alternatively,, Native Multipathing Plug-in (NMP) supports all storage
arrays on the VMware storage hardware compatibility list (HCL) and provide default path
selection algorithms for both failover (by way of the Storage Array Type Plug-in or SATP)
and load balancing operations (by way of Path Selection Plug-in or PSP).
6-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Traditional Ethernet
Multiple storage and ESX IPs are required
ESX requires two VMkernel ports, each on a different subnet
Storage node requires IP on each subnet
TRADITIONAL ETHERNET
By contrast, the traditional IP storage design without cross-stack EtherChannel uses multiple
storage IPs and multiple ESX IPs. There must be two VMkernel ports on the ESX server,
each on a different subnet. In addition, the storage node needs an IP address on each subnet.
This design uses single-mode vifs between the storage controllers and the Ethernet
infrastructure.
6-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Cross-Stack EtherChannel
Multiple storage IPs are required
ESX host requires one VMkernel port
CROSS-STACK ETHERCHANNEL
This slide shows IP storage and cross-stack EtherChannel. Notice that multiple storage IP
addresses are required but the ESX host needs only one VMkernel port. Multi-mode vifs
provide link redundancy on the storage side.
6-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP Exercise Environment
ESX 4.0
e0a are used
for management
access only for
storage systems
without e0M
e0a
e0b
e0c
Storage System 1
e0a
e0b
e0c
Storage System 2
iSCSI
2009 NetApp. All rights reserved.
IP EXERCISE ENVIRONMENT
6-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data ONTAP
DATA ONTAP
6-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Using system 2
for iSCSI
NOTE: No TPGroup
changes
6-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise environment
Only have two NICs configured
Will not configure a second vSwitch, use the vSwitch0
2009 NetApp. All rights reserved.
6-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Add an NIC to
vSwitch
After wizard,
NIC added
6-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NOTE: VMkernel
creation wizard is
abridged in this slide
2009 NetApp. All rights reserved.
6-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
New
VMkernel
NOTE: VMkernel
creation wizard is
abridged in this slide
2009 NetApp. All rights reserved.
6-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VMkernel 2
1:1
Mapping of
adapters
VMkernels
6-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Enabled at VMkernel:
# esxcfg-vmknic -a -I ip -n netmask -m
MTU port_group_name
6-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Check to enable
or # esxcfg-swiscsi --enable
6-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify:
Initiator
name
6-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
ESX WNN
6-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery
Initiator
Ethernet
Discovery is not
automatic
Ethernet
Target
DISCOVERY
6-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery Methods
4. Configure discovery method
Dynamic
(Send Targets)
Static
DISCOVERY METHODS
6-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Storage
systems
iSCSI-enabled
interface address
To set security
6-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
To configure
bidirectional, check here
and then...
6-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
6-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Select interface
to remove
or
Click to remove
or
system2> iscsi interface accesslist
6-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
staticDiscoverySettable : 0
staticDiscoveryEnabled
: 1
sendTargetsDiscoverySettable : 0
sendTargetsDiscoveryEnabled
: 1
slpDiscoverySettable : 0
DISCOVERY ADDRESS
: 10.254.133.239
STATIC DISCOVERY TARGET
NAME
: iqn.1992-08.com.netapp:sn.101201757
ADDRESS : 10.254.133.239:3260
STATIC DISCOVERY TARGET
NAME
: iqn.1992-08.com.netapp:sn.101201757
ADDRESS : 10.254.133.240:3260
2009 NetApp. All rights reserved.
6-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
ESX Binding
A session occurs automatically:
# vmkiscsi-tool -T vmhba33
NAME: iqn.1992-08.com.netapp:sn.101201757
ALIAS:
DISCOVERY METHOD FLAGS: 0
SEND TARGETS DISCOVERY SETTABLE: 0
SEND TARGETS DISCOVERY ENABLED: 0
Portal 0: 10.254.133.239:3260
Portal 1: 10.254.133.240:3260
ESX BINDING
6-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
6-41
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe multiple path implementation with
iSCSI connectivity for vSphere and NetApp
systems
Configure network ports on vSphere systems
Identify the worldwide node (WWN) on
vSphere systems
Set up and verify multiple path iSCSI
connectivity between vSphere and NetApp
systems
2009 NetApp. All rights reserved.
MODULE SUMMARY
6-42
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 6: vSphere
iSCSI Connectivity
Estimated Time: 30 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
6-43
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere FC
Connectivity
Module 7
SAN Implementation Workshop
VSPHERE FC CONNECTIVITY
7-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe multiple path implementation with
Fibre Channel (FC) connectivity for vSphere
and NetApp systems
Configure FC ports on vSphere systems
Identify the worldwide node name (WWNN)
and worldwide port name (WWPN) on vSphere
systems
Set up and verify multiple path FC connectivity
between vSphere and NetApp systems
2009 NetApp. All rights reserved.
MODULE OBJECTIVES
7-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Topology
FC TOPOLOGY
7-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VM
VDisk0
VDisk0
ESX Cluster
SCSI Controller
SCSI Controller
Virtualization Layer
FC
HBA
CNA
Fibre
LAN
HBA
CNA
1.vmx
1.vmdk
FCoE
2.vmx
2.vmdk
VMFS
Flexible Volume
LUN
7-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VM VPORT
LUN
VDisk0
HBA
VM VPORT
HBA
VDisk0
FCP
ESX
LUN
NetApp FAS Array
LUNs must be
RDM
7-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VM-level chargebacks which allows I/O for a specific VM to be tracked using the virtual
WWPN.
Bi-directional association of VMs with storage which allow SAN administrators to trace
from VM to LUN for troubleshooting connectivity issues.
VM migration which is possible because VMware VMotion supports preservation of the
VPORT ID when a VM is moved to a new ESX Server.
HBA upgrades which can be upgraded or replaced with only minimal impact to the SAN
configurations such as zoning.
7-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Exercise Environment
ESX 4.0 Server
8
switch
port
0c - 0
0d - 1
Storage System 1
0c - 2
0d - 3
Storage System 2
Fibre Channel
2009 NetApp. All rights reserved.
FC EXERCISE ENVIRONMENT
7-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data ONTAP
DATA ONTAP
7-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
7-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify cfmode:
system> fcp show cfmode
fcp show cfmode: single_image
7-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify configuration
system2> fcp config
0c:
ONLINE <ADAPTER UP> PTP Fabric
host address 011200
portname 50:0a:09:81:86:f7:c7:86 nodename 50:0a:09:80:86:f7:c7:86
mediatype auto speed auto
0d:
ONLINE <ADAPTER UP> PTP Fabric
host address 011300
portname 50:0a:09:82:86:f7:c7:86 nodename 50:0a:09:80:86:f7:c7:86
mediatype auto speed auto
2009 NetApp. All rights reserved.
7-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
7-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
ESX as an FC Initiator
NetApp has supported ESX as an FC initiator
OS since ESX 3.0
ESX 4.0 has many advantages over previous
versions
NPIV support
Updated popular HBA drivers
Pluggable Storage Architecture (PSA) for
multipath I/O support
ESX AS AN FC INITIATOR
7-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
7-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere/Emulex Implementation
After installation, to configure a vSphere/Emulex
implementation:
Verify the HBA is enabled
Identify the WWNN on the host
Identify the WWPN on the host
Verify connectivity between the initiator and
target
VSPHERE/EMULEX IMPLEMENTATION
7-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
HBAs
Selected
7-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
7-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
7-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
or
Specific loaded
driver name
# esxcfg-module -g lpfc820
lpfc820 enabled=1 options=lpfc_devloss_tmo=120
7-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
HBAs
Selected
WWNN
WWPN
for selected HBA
7-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
exactly
# esxcfg-info | grep -i Node Number
|--World Wide Node Number......0x20000000c958299a
|--World Wide Node Number......0x20000000c958299b
7-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery
Initiator
Fibre Channel
Target
DISCOVERY
7-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
7-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
# cd /usr/sbin/hbanyware
# ./hbacmd allnodeinfo 10:00:00:00:c9:58:29:9a
All Node Info for 10:00:00:00:c9:58:29:9a
Node Type
:
FCP ID
:
SCSI Bus Number:
SCSI Target Num:
Node WWN
:
Port WWN
:
OS Device Name :
...
WWPN
10000
Storage System 1
0
0c port
0
50:0A:09:80:86:88:37:5D
50:0A:09:81:96:88:37:5D
/proc/scsi/lpfc820/40,0
All four ports (0c, 0d) within high-availability pair are visible
: WWPN
: 10200
: 50:0A:09:80:86:88:37:5D
: 50:0A:09:81:86:88:37:5D
Node Type
FCP ID
: WWPN
: 10300
: 50:0A:09:80:86:88:37:5D
: 50:0A:09:82:86:88:37:5D
7-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
7-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe multiple path implementation with
Fibre Channel (FC) connectivity for vSphere
and NetApp systems
Configure FC ports on vSphere systems
Identify the worldwide node name (WWNN)
and worldwide port name (WWPN) on vSphere
systems
Set up and verify multiple path FC connectivity
between vSphere and NetApp systems
2009 NetApp. All rights reserved.
MODULE SUMMARY
7-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 7: vSphere FC Connectivity
Estimated Time: 60 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
7-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere LUN
Access
Module 8
SAN Implementation Workshop
8-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe the steps to allow a vSphere
initiator to access a LUN on a storage system
as a VMFS datastore
Describe the steps to allow a vSphere initiator
to create a VM with a raw device mapping
(RDM) disk from a storage systems LUN
MODULE OBJECTIVES
8-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Access
To connect an initiator to a targets LUN:
1. Create an igroup if necessary
2. Create the LUN
3. Map the LUN to the igroup
4. Find the LUN on the initiator
5. Prepare the LUN as a new disk on the
initiator
LUN ACCESS
8-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Setup
Initiator
File System
Ethernet
Fibre Channel
Ethernet
Target
Fibre Channel
My_IP_igroup
iqn.1998-01.com.vmware:esx
OS Type: vmware
My_FC_igroup
10:00:00:00:c9:58:29:9a
OS Type: vmware
2
LUNa
LUNb
LUN SETUP
8-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Then create
volume and
qtree
8-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create an igroup
Selected
Selected
first
Then add the
ESX WWPNs
CREATE AN IGROUP
8-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create a LUN
Selected
Selected
first
CREATE A LUN
8-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere Setup
VSPHERE SETUP
8-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vSphere Steps
To connect an initiator to a targets LUN:
1. Create an igroup
2. Create the LUN
3. Map the LUN to the igroup
4. Find the LUN on the initiator
5. Prepare the LUN as a new disk on the
initiator
NOTE: Step 5 differs depending on whether
you are creating a VMFS or RDM datastore
VSPHERE STEPS
8-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Selected
Selected
Rescan if LUN
doesnt appear
Identifier
Storage adapter Channel # Target # LUN #
2009 NetApp. All rights reserved.
8-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Selected
The LUN
Fine tune
with the
Host Utilities
Kit
8-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Selected
When set to
1, looks for
nonsequential
Logical Unit
numbering
8-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Manage Paths
MANAGE PATHS
8-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
PSP types:
VMW_PSP_RR = Round robin
VM_PSP_Fixed = Fixed
VM_PSP_MRU = Most Recently Used
8-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Give a name
to the VM
8-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Secondary
disk will
show up in
guest OS
2009 NetApp. All rights reserved.
8-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Possible choices:
Low
Normal
High
Custom
8-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Application
VM
Operating System
CPU
Memory
NIC
Disk
VMkernel
VMware Virtualization Layer
x86/x64 Architecture
CPU
Memory
NIC
HBA
Disk
VMkernel:
Locates the .vmdk in VMFS
Maps request to block on .vmdk
Sends I/O to iSCSI initiator or
FC HBA
Software initiator or HBA send I/O to
NetApp storage
8-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Make sure
you choose
Custom
2009 NetApp. All rights reserved.
8-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Check here
to set NPIV
settings
(if using NPIV)
The properties
dialog appears
8-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Later it
will have
the WWNN(s)
and WWPN(s)
NOTE: Add these WWPN(s) to igroups
2009 NetApp. All rights reserved.
8-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NPIV Observed
Before boot up of NPIV-supported VM:
switch> switchshow
...
Area Port Media Speed State
Proto
=====================================
0
0
id
N2
Online
F-Port 50:0a:09:81:96:88:37:5d
1
1
id
N2
Online
F-Port 50:0a:09:82:96:88:37:5d
2
2
id
N2
Online
F-Port 50:0a:09:81:86:88:37:5d
3
3
id
N2
Online
F-Port 50:0a:09:82:86:88:37:5d
...
Only one connection (non-NPIV)
8
8
id
N4
Online
F-Port 10:00:00:00:c9:58:29:9a
9
9
id
N4
Online
F-Port 10:00:00:00:c9:58:29:9b
switch> portcfgshow
Ports of Slot 0 0 1 2 3
...
NPIV capability ON ON ON ON
...
ON ON ON ON
9 10 11
12 13 14 15
ON ON ON ON ON ON ON ON
NPIV turned on
2009 NetApp. All rights reserved.
NPIV OBSERVED
8-41
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
50:0a:09:81:96:88:37:5d
50:0a:09:82:96:88:37:5d
50:0a:09:81:86:88:37:5d
50:0a:09:82:86:88:37:5d
2 NPIV public
2 NPIV public
switch> portshow 9
...
portWwn: 20:08:00:05:1e:02:99:c4
portWwn of device(s) connected:
27:ee:00:0c:29:00:06:a7
10:00:00:00:c9:58:29:9a
8-42
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
scr=3
scr=3
d_id=FFFFFC
d_id=FFFFFC
switch> portloginshow 9
Type PID
World Wide Name
credit df_sz cos
=====================================================
fe 010901 27:ee:00:0c:29:00:06:a7
16 2048
c
fe 010900 10:00:00:00:c9:58:29:9b
16 2048
c
ff 010901 27:ee:00:0c:29:00:06:a7
12 2048
c
ff 010900 10:00:00:00:c9:58:29:9b
12 2048
c
scr=3
scr=3
d_id=FFFFFC
d_id=FFFFFC
8-43
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
.vmdk
is pointer
to LUN
8-44
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Alignment Issues
ALIGNMENT ISSUES
8-45
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VM1
VM2
VM3
VM4
FC / FCoE / iSCSI
1.vmx
1.vmdk
2.vmx
2.vmdk
3.vmx
3.vmdk
4.vmx
4.vmdk
8-46
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4-KB WAFLBlock
8-47
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10
Windows Server
2003 has an offset
of 32256
8-48
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
MBRscan Tool
Within ESX Host Utilities Kit 5.1, use MBRscan
to identify current alignment:
# cd /opt/netapp/santools
# ./mbrscan --all
Building file list...
Windows Server 2008 R2 (64-bit)
...
aligned correctly from install
-------------------/vmfs/volumes/4a96738c-187213b0-a38d00215e6f2ca0/Dev05s2/Dev05s2-flat.vmdk p1 (NTFS)
lba:2048
offset:1048576 aligned:Yes
/vmfs/volumes/4a96738c-187213b0-a38d00215e6f2ca0/Dev05s2/Dev05s2-flat.vmdk p2 (NTFS)
lba:206848
offset:105906176
aligned:Yes
-------------------/vmfs/volumes/4a96738c-187213b0-a38d-00215e6f2ca0/Win2003 FC
VMFS/Win2003 FC VMFS-flat.vmdk p1 (NTFS)
lba:63 offset:32256
aligned:No
MBRscan confirms
MBRSCAN TOOL
8-49
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
MBRalign Tool
Within ESX Host Utilities Kit 5.1, use MBRalign
to correct alignment on existing VMs:
# cd /opt/netapp/santools
# ./mbralign "/vmfs/volumes/4a96738c-187213b0-a38d00215e6f2ca0/Win2003 FC VMFS/Win2003 FC VMFS-flat.vmdk"
Part
Type old LBA New Start LBA New End LBA
Length in KB
P1
07
63
64
16755796
8377866
NOTICE:
This tool does not check for the existence of Virtual Machine
snapshots or linked clones.
The use of this tool on a vmdk file that has a snapshot or
linked clone associated with it can result in unrecoverable data
loss and/or data corruption.
Are you sure that no snapshots/linked clones exist for this vmdk?
(y/n)y
MBRALIGN TOOL
8-50
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-51
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Aligned with
WAFL blocks
8-52
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Server
2003 confirms the
new offset
8-53
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
8-54
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
8-55
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe the steps to allow a vSphere initiator to
access a LUN on a storage system as a VMFS
datastore
Describe the steps to allow a vSphere initiator to
create a VM with a raw device mapping (RDM) disk
from a storage systems LUN
MODULE SUMMARY
8-56
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 8: vSphere LUN Access
Estimated Time: 60 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
8-57
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
9-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Overview
In this module, we will cover the following:
Describe Red Hat Enterprise Linux
Explain how NetApp storage is ideal for LUNs
managed by Red Hat Enterprise Linux
MODULE OVERVIEW
9-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Linux
Linux is a free UNIX-type operating system
originally created by Linus Torvalds
Linux is:
Open source
Licensed under GNU GPL
Has a kernel developed by the Linux kernel
mailing list
LINUX
9-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
RHEL 5:
Update 3: Latest stable build during the building
of this course
Update 4: Introduces hypervisor technology
2009 NetApp. All rights reserved.
9-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP SAN
iSCSI by way of a built-in software initiator and
standard NICs
9-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
9-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
9-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe Red Hat Enterprise Linux
Explain how NetApp storage is ideal for LUNs
managed by Red Hat Enterprise Linux
MODULE SUMMARY
9-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Due to hardware constraints, your Windows
Server 2008 R2 (W2K8R2) machine has been
reimaged to Red Hat Enterprise Linux (RHEL)
5.3
The WWPNs of the W2K8R2 are now the
WWPNs of RHEL 5.3
To prepare for this day, this exercise asks you:
To offline all FC-attached LUNs that were
associated with the W2K8R2 FC igroups
To delete the W2K8R2 FC igroups
EXERCISE
9-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 9: Red Hat Overview
Estimated Time: 10 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
9-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Red Hat FC
Connectivity
Module 10
SAN Implementation Workshop
10-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe multiple path implementation with
Fibre Channel (FC) connectivity for Red Hat
and NetApp systems
Configure FC ports on Red Hat systems
Identify the worldwide node name (WWNN)
and worldwide port name (WWPN) on Red Hat
systems
Set up and verify multiple path FC connectivity
between Red Hat and NetApp systems
2009 NetApp. All rights reserved.
MODULE OBJECTIVES
10-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Topology
FC TOPOLOGY
10-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Exercise Environment
Red Hat 5.3
6
switch
port
0c - 0
0d - 1
Storage System 1
0c - 2
0d - 3
Storage System 2
Fibre Channel
2009 NetApp. All rights reserved.
FC EXERCISE ENVIRONMENT
10-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data ONTAP
DATA ONTAP
10-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify cfmode:
system> fcp show cfmode
fcp show cfmode: single_image
10-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Red Hat
RED HAT
10-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
# ls/lib/modules/2.6.18-128.el5/kernel/drivers/scsi/lpfc
lpfc.ko
10-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
64-bit
version
Use
32-bit
version
10-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Same as
# cd /opt/netapp/santools
/sys/class/scsi_host
# sanlunfcp show adapters
host1
WWPN:10000000c96b77b4
host2
WWPN:10000000c96b77b3
or
# cat /sys/class/fc_host/host1/port_name
0x10000000c96b77b4
10-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fibre Channel
Target
10-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
10-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
10-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe multiple path implementation with
Fibre Channel (FC) connectivity for Red Hat
and NetApp systems
Configure FC ports on Red Hat systems
Identify the worldwide node name (WWNN)
and worldwide port name (WWPN) on Red Hat
systems
Set up and verify multiple path FC connectivity
between Red Hat and NetApp systems
2009 NetApp. All rights reserved.
MODULE SUMMARY
10-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 10: Red Hat FC Connectivity
Estimated Time: 30 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
10-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe multiple path implementation with
iSCSI connectivity for Red Hat and NetApp
systems
Configure network ports on Red Hat systems
Identify the worldwide node (WWN) on Red
Hat systems
Set up and verify multiple path IP connectivity
between Red Hat and NetApp systems
MODULE OBJECTIVES
11-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP Connectivity
IP CONNECTIVITY
11-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP Exercise Environment
RHEL
e0a are used
for management
access only for
storage systems
without e0M
e0a
e0b
e0c
Storage System 1
e0a
e0b
e0c
Storage System 2
iSCSI
2009 NetApp. All rights reserved.
IP EXERCISE ENVIRONMENT
11-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data ONTAP
DATA ONTAP
11-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Using system 1
for iSCSI
e0a
e0b
e0c
e0d
disabled
enabled
enabled
disabled
NOTE: No TPGroup
changes
11-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Red Hat
RED HAT
11-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery
Initiator
Ethernet
Discovery is not
automatic
Ethernet
Target
DISCOVERY
11-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Uncomment
11-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Send-targets discovery
IP address of the target is added
Initiator communicates to target over port 3260
11-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
IP address of iSCSI-enabled
interface on the storage system
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
11-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
11-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
11-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
iqn.1992-08.com.netapp:system
11-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
11-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe multiple path implementation with
iSCSI connectivity for Red Hat and NetApp
systems
Configure network ports on Red Hat systems
Identify the worldwide node (WWN) on Red
Hat systems
Set up and verify multiple path IP connectivity
between Red Hat and NetApp systems
MODULE SUMMARY
11-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 11: Red Hat
iSCSI Connectivity
Estimated Time: 30 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
11-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Red Hat
LUN Access
Module 12
SAN Implementation Workshop
12-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe the steps to allow a Red Hat initiator
to access a LUN on a storage system
MODULE OBJECTIVES
12-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Access
To connect an initiator to a targets LUN:
1. Create an igroup if necessary
2. Create the LUN
3. Map the LUN to the igroup
4. Find the LUN on the initiator
5. Prepare the LUN as a new disk on the
initiator
LUN ACCESS
12-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
File System
Ethernet
Fibre Channel
Ethernet
Target
Fibre Channel
My_IP_igroup
iqn.1999-05.com.redhat:rhel
OS Type: linux
My_FC_igroup
10:00:00:00:c9:6b:77:b4
OS Type: linux
1
LUNa
LUNb
12-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create an igroup
You can create an igroup (LUN masking)
using:
# cd /opt/netapp/santools
# sanlunfcp show adapter -c
Enter this controller command to create an
initiator group for this system:
igroup create -f -t linux
"dev05s2.development.netappu.com"
10000000c96b77b4 10000000c96b77b3
2009 NetApp. All rights reserved.
CREATE AN IGROUP
12-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create a LUN
You can create a LUN using:
CLI
NetApp System Manager
Provisioning Manager
SnapDrive (see appendix)
CREATE A LUN
12-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
...
12-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multipath I/O
MULTIPATH I/O
12-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Device Identifiers
RHEL will see a total of eight devices
without MPIO in your exercise
environment
/dev/sdb... /dev/sdi
RHEL
6
DEVICE IDENTIFIERS
12-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
DM-Multipath Configuration
1. Install/verify device-mapper-multipath:
In Red Hat 5.3, DM-Multipath is installed by
default
Verify rpms installation:
# rpm -q device-mapper
device-mapper-1.02.28-2.el5
device-mapper-1.02.28-2.el5
# rpm -q device-mapper-multipath
device-mapper-multipath-0.4.7-23.el5
DM-MULTIPATH CONFIGURATION
12-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Reload:
# service multipathd reload
Stop:
# service multipathd stop
Restart:
# service multipathd restart
12-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Ethernet
Fibre Channel
/
mount mount
luna
lunb
dev
- disk 1
- disk 2
- disk 3
Ethernet
Target
Fibre Channel
My_IP_igroup
iqn.1999-05.com.redhat:rhel
OS Type: linux
My_FC_igroup
10:00:00:00:c9:6b:77:b4
OS Type: linux
1
LUNa
LUNb
12-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Test access:
# cd /mnt/lunx
# touch foo
12-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Volume Managers
Red Hat 5.3 supports the following volume
managers:
Logical Volume Manager (LVM) 2
Native support
Flexible capacity
New ASCII metadata format
Veritas
VOLUME MANAGERS
12-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LVM2 Architecture
Logical
Volume
Logical
Volume
Volume Group
Physical
Volume
Physical
Volume
LUN 1
LUN 2
LVM2 ARCHITECTURE
To create a LVM2 logical volume, the physical volumes and/or LUNs are combined into a
volume group (VG). This creates a pool of disk space out of which LVM2 logical volumes
(LV) can be allocated. This is very much like how NetApp can assign physical disks to an
aggregate (the LVM2s volume group) and then can create flexible volumes (the LVM2s
logical volume) out of the resources of the aggregate.
12-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LVM2 Configuration
1. Initialize partitions for a LVM2 volume group
# multipath
-v1 -l
mpath0 mpath2
2.00G 2.00G
2.00G 2.00G
68.12G
0
LVM2 CONFIGURATION
12-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vgGroup1
lvm2
2
1
read/write
resizable
12-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
12-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Or use /etc/fstab
Test access:
# cd /mnt/lvVolAfs
# touch foo
12-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
/mnt/lvVolAfs
LVM2
LUN 1
DM-Multipath
Devices Path
SCSI Devices Path
EXT3
EXT3
Logical Volume
Single Volume
LUN 2
Logical Volume
Volume Group
LUN 1
/mnt/lunx
/dev/mapper/mpath0
LUN 1
/dev/mapper/mpath0
LUN 2 /dev/mapper/mpath2
LUN 1
/dev/sdb - /dev/sdi
LUN 2
/dev/sbj - /dev/sdm
LUN 1
LUN 2
12-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
12-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe the steps to allow a Red Hat initiator
to access a LUN on a storage system
MODULE SUMMARY
12-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 12: Red Hat LUN Access
Estimated Time: 60 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
12-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Provisioning
Module 13
SAN Implementation Workshop
LUN PROVISIONING
13-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe how and when a LUN consumes
space from its containing volume
Discuss backup guarantees through
Snapshot reserve
Discuss the overwrite guarantee for spacereserved LUNs
Analyze the default LUN configuration and two
thin provisioning configurations
MODULE OBJECTIVES
13-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Space-Reserved LUNs
SPACE-RESERVED LUNS
13-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Space Reservation
LUNs are either:
Space reserved, that is, full provisioning (default)
The LUN size is reserved or taken out of the volume when the
LUN is created
May provide overwrite protection depending upon fractional
reserve setting - discussed later
Only allowed on a FlexVol volume with volume or file volume
space guarantee
SPACE RESERVATION
13-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
13-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Backup Guarantee
BACKUP GUARANTEE
13-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Snapshot Copies
Snapshot copies allow quick and efficient
backups of volumes that contain a LUN
However, when taking Snapshot copies, Data
ONTAPcannot guarantee that no application
is writing to the LUN
Results: possible inconsistent Snapshot copies
SNAPSHOT COPIES
13-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Snapshot Reserve
Snapshot reserve defines a percentage of the
volume that is reserved for Snapshot copies
Set at the volume level
system> snap reserve
Volume vol_SAN1:
current snapshot
reserve is 20% or
2097152 k-bytes.
Snapshot Reserve
20%
SNAPSHOT RESERVE
13-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
13-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Overwrite Guarantee
OVERWRITE GUARANTEE
13-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Overwrite Protection
Overwrites
When a Snapshot copy is first taken, the data
blocks are owned by the active file system and
the Snapshot copy
Only as the data is overwritten in a LUN are the
data blocks exclusively owned by the Snapshot
copy
Fractional reserve
Provides extra protection for ensuring that a host
can write to a LUN that has Snapshot copies
Independent of Snapshot reserve
2009 NetApp. All rights reserved.
OVERWRITE PROTECTION
13-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
13-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r report:
Space
Reservation
Enabled
Fractional
Reserve
vol1
100%
1 GB
13-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
df -r reports:
Space
Reservation
Enabled
Fractional
Reserve
100%
vol1
1 GB
Full
Reserved
LUN1 (2GB)
SSR
13-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Analysis
ANALYSIS
13-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
13-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Example 1:
Fully Provisioned
Conclusion:
Better Snapshot copies management is needed
13-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Example 2:
Fully Provisioned
Conclusion:
Thin Provisioning
13-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
13-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
try, disrupt
volume, snap_reserve, space_reserve
1-100
oldest_first, newest_first
scheduled, user_created, prefix, none
<string>
13-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Volume Autosize
Might want to grow the volume
vol autosize determines if a volume should grow
when nearly full
Both snapshot autodelete and vol autosize
use the value wafl_reclaim_threshold
Data ONTAP 7.1 - 7.2.3: 98%
Data 7.2.4 and later (threshold depends on volume
size):
Variable Name
VOL size
Value
threshold = 85%
threshold = 90%
threshold = 92%
threshold = 95%
threshold = 98%
VOLUME AUTOSIZE
This value when changed from the defaults is not persistent; it will change back to the default
values after reboot. So if you want to change this value (for example 90% for tiny volumes of
less than 20G) and have it persist after reboots then you should add the following line to
EACH /etc/rcfile on BOTH controllers:
priv set q diag;
setflagwafl_reclaim_threshold_t90;
priv set;
13-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
OFF
vol autosize vol_name [-m size[k|m|g|t]]
[-i size[k|m|g|t]] [on|off|reset]
13-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Administrators Choice
Administrators may choose which procedure to
employ first:
snapshot auto delete
vol autosize
Use the volume option:
try_first
Possible values:
snap_delete
volume_grow (default)
Example:
vol options vol_name try_first snap_delete
ADMINISTRATORS CHOICE
13-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Configurations
CONFIGURATIONS
13-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Default Value
Guarantee
volume
LUN reservation
on
Fractional Reserve
0%
Snapshot Reserve
20%
Auto delete
snap_reserve
Auto grow
on
try_first
snap_delete
Easy to manage
Sacrifices Snapshot copies before LUNs
Doesnt use shared space of aggregate until
auto_grow is used
2009 NetApp. All rights reserved.
13-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Default Value
Guarantee
volume
LUN reservation
on
Fractional Reserve
0%
Snapshot Reserve
0%
Auto delete
volume
Auto grow
on
try_first
auto_grow
13-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
13-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe how and when a LUN consumes
space from its containing volume
Discuss backup guarantees through Snapshot
reserve
Discuss the overwrite guarantee for spacereserved LUNs
Analyze the default LUN configuration and two
thin provisioning configurations
MODULE SUMMARY
13-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 13: LUN Provisioning
Estimated Time: 45 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
13-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN Management
Module 14
SAN Implementation Workshop
SAN MANAGEMENT
14-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Perform administrative tasks on FC target ports
Perform administrative tasks on LUNs
Perform administrative tasks on igroups
MODULE OBJECTIVES
14-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Port Management
PORT MANAGEMENT
14-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Port Management
Storage administrators may need to perform the
following tasks while managing FC target ports
on a storage system:
Enable and disable the FC target port
(previously discussed)
Assign onboard FC ports to be targets
(previously discussed)
Designate an alias for FC initiator or target
ports (previously discussed)
Configure FC attributes to FC target ports
(previous discussed)
Configure the WWPN on an FC target port
2009 NetApp. All rights reserved.
PORT MANAGEMENT
14-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Portname
-------50:0a:09:81:96:f7:c7:86
50:0a:09:82:96:f7:c7:86
50:0a:09:83:96:f7:c7:86
50:0a:09:84:96:f7:c7:86
50:0a:09:85:96:f7:c7:86
50:0a:09:86:96:f7:c7:86
50:0a:09:87:96:f7:c7:86
50:0a:09:88:96:f7:c7:86
...
Adapter
------0c
0d
unused
unused
unused
unused
unused
unused
14-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Management
LUN MANAGEMENT
14-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Management
Storage administrators often need to perform the
following tasks while managing LUNs on a
storage system:
Disable or enable a LUN
Add a comment to a LUN
Rename a LUN
Resize a LUN
Clone a LUN
Remove a LUN
LUN MANAGEMENT
14-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Offline/Online
To control availability of LUN, administrators
may:
Take a LUN offline
lun offline lun_path
Example:
system> lun offline /vol/vol_SAN1/lun0
LUN OFFLINE/ONLINE
14-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NOTE: If you are using spaces within the comment, place the
comment within quotes
14-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Rename a LUN
To rename a LUN:
lun move old_lun_path new_lun_path
Example:
system> lun move /vol/vol_SAN1/lun0
/vol/vol_SAN1/newlun
NOTE: Both paths must be in the same volume
RENAME A LUN
14-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Resize a LUN
Administrators may increase or decrease the size of a
LUN
NOTE: It is usually more reliable to create a new LUN and
copy the data to it than resize an existing LUN
RESIZE A LUN
14-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Clone a LUN
A LUN clone is a point-in-time, writeable copy
of a LUN in a Snapshot copy
The LUN clone shares space with a LUN in its
backing Snapshot copy
Initial LUN clones content exists in the backing
Snapshot copy while changed data is written to
the active file system
LUN clone may be used for testing
CLONE A LUN
To clone a LUN, complete the following steps:
1. Begin the clone operation, enter the following command:
lun clone start lun_clone_path
2. To display the progress of the clone operation,enter the following command:
lun clone status lun_clone_path
3. To display all the clones,enter either of the following commands:
lun clone show [lun-path] lun show -c
4. If you need to stop the clone process,enter the following the command:
14-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Snapshot
File System
14-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Snapshot
File System
14-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Remove a LUN
The process to remove a LUN depends on the
initiator OS
This course will investigate:
Windows Server 2003/2008/2008 R2
vSphere
Red Hat Enterprise Linux 5
REMOVE A LUN
14-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click,
select
offline
14-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click and
select uninstall
14-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
example
14-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click,
select
Rescan
Disks
14-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click,
select
remove
14-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Right-click,
select
Delete
To keep the data, take the LUN offline on the storage system
2009 NetApp. All rights reserved.
14-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN is gone
14-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
example
14-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Psize
2.00G
2.00G
68.12G
Pfree
2.00G
2.00G
0
Used
0
0
68.12G
14-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
One LUN;
record SCSI
device IDs
2009 NetApp. All rights reserved.
14-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
...
LUN
definition
gone
...
...
2009 NetApp. All rights reserved.
14-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
One LUN
...
lrwxrwxrwx 1 root root
0 Sep 14 09:47 3:0:0:0 ->
../../../../devices/platform/host3/session1/target3:0:0/3:0:0:0
lrwxrwxrwx 1 root root
0 Sep 14 09:47 3:0:0:1 ->
../../../../devices/platform/host3/session1/target3:0:0/3:0:0:1
lrwxrwxrwx 1 root root
0 Sep 14 09:47 4:0:0:0 ->
../../../../devices/platform/host4/session2/target4:0:0/4:0:0:0
lrwxrwxrwx 1 root root
0 Sep 14 09:47 4:0:0:1 ->
../../../../devices/platform/host4/session2/target4:0:0/4:0:0:1
lrwxrwxrwx 1 root root
0 Sep 14 09:47 5:0:0:0 ->
...
../../../../devices/platform/host5/session3/target5:0:0/5:0:0:0
lrwxrwxrwx 1 root root
0 Sep 14 09:47 5:0:0:1 ->
../../../../devices/platform/host5/session3/target5:0:0/5:0:0:1
lrwxrwxrwx 1 root root
0 Sep 14 09:47 6:0:0:0 ->
../../../../devices/platform/host6/session4/target6:0:0/6:0:0:0
lrwxrwxrwx 1 root root
0 Sep 14 09:47 6:0:0:1 ->
../../../../devices/platform/host6/session4/target6:0:0/6:0:0:1
...
2009 NetApp. All rights reserved.
14-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
echo
echo
echo
echo
1
1
1
1
>
>
>
>
3:0:0:0/delete
4:0:0:0/delete
5:0:0:0/delete
6:0:0:0/delete
Verify:
# ls -l /sys/bus/scsi/drivers/sd
Local
devices are
gone
...
lrwxrwxrwx 1 root root
0 Sep 14 09:47 3:0:0:1 ->
../../../../devices/platform/host3/session1/target3:0:0/3:0:0:1
lrwxrwxrwx 1 root root
0 Sep 14 09:47 4:0:0:1 ->
../../../../devices/platform/host4/session2/target4:0:0/4:0:0:1
lrwxrwxrwx 1 root root
0 Sep 14 09:47 5:0:0:1 ->
../../../../devices/platform/host5/session3/target5:0:0/5:0:0:1
lrwxrwxrwx 1 root root
0 Sep 14 09:47 6:0:0:1 ->
../../../../devices/platform/host6/session4/target6:0:0/6:0:0:1
...
2009 NetApp. All rights reserved.
14-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
igroup Management
IGROUP MANAGEMENT
14-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
igroup Management
Storage administrators often need to perform the
following tasks while managing igroups on a
storage system:
Map and unmap LUNs and igroups
Define port sets for an igroup
IGROUP MANAGEMENT
14-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Port Sets
Port sets are a collection of ports associated with
an igroup
If an igroup is not associated with a port set,
then an initiator that belongs to that igroup can
see its target LUNs on all ports
If an igroup is associated with a port set, then
an initiator that belongs to that igroup can see
its target LUNs on the ports belonging only to
the port set
PORT SETS
14-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NOTE: -f means FC
Only FC port sets are currently supported
14-41
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
14-42
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
14-43
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Perform administrative tasks on FC target ports
Perform administrative tasks on LUNs
Perform administrative tasks on igroups
MODULE SUMMARY
14-44
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Exercise
Module 14: SAN Management
Estimated Time: 30 minutes
EXERCISE
Please refer to your Exercise Guide materials for more instructions.
14-45
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN
Troubleshooting
Module 15
SAN Implementation Workshop
SAN TROUBLESHOOTING
15-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe how to diagnose a problem within a
SAN environment
Review diagnostic tools and techniques
available for:
Data ONTAP
MODULE OBJECTIVES
15-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN Troubleshooting
SAN TROUBLESHOOTING
15-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Origin of Problems
Initiator
Fabric/Network
Windows or UNIX
FC
Driver
Application
Target
FC HBAs
SCSI over FC
Storage System
FC
Driver
iSCSI HBAs
File
System
SCSI
Driver
TCP
/IP
SAN Services
WAFL
iSCSI
Driver
RAID
TCP
/IP
Data ONTAP
Ethernet NICs
SCSI Adapters
LUN
Direct-Attached Storage
ORIGIN OF PROBLEMS
15-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC or SATA
Attached
15-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Fabric Checklist
Do you have path connectivity?
Are the switches on? Do they have unique
domain IDs?
If multiple switches are present, do they have
identical fabric parameters?
Are zones set up correctly?
Are switches running correct firmware
versions?
Are the ports configured correctly?
Are hard and soft zones configured correctly?
Is the physical cabling correct?
2009 NetApp. All rights reserved.
FC FABRIC CHECKLIST
15-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data ONTAP
DATA ONTAP
15-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Potential Problem
15-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Usage Statistics
system> uptime
12:57pm up 4:42 0 NFS ops, 0 CIFS ops, 0 HTTP ops, 70 FCP ops,
425 iSCSI ops
system> availtime
Service statistics as of Thu Apr 24 12:57:20 PDT 2008
System (UP). First recorded (15393111) on Mon Oct 29 09:05:29 PDT 2007
P 16, 1441184, 1439532, Fri Dec 14 06:44:46 PST 2007
U 3, 542, 206, Wed Nov 14 14:28:39 PST 2007
PF 1, 36368, 36368, Sat Dec 15 02:36:13 PST 2007
...
FCP (UP). First recorded (11421816) on Fri Dec 14 07:13:44 PST 2007
P 12, 14325, 13548, Mon Apr 7 18:48:06 PDT 2008
PF 1, 36375, 36375, Sat Dec 15 02:36:20 PST 2007
iSCSI (UP). First recorded (13485623) on Tue Nov 20 09:56:57 PST 2007
P 12, 5394, 3078, Thu Apr 17 15:43:29 PDT 2008
PF 1, 36375, 36375, Sat Dec 15 02:36:20 PST 2007
USAGE STATISTICS
15-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Nop-Out:
LogoutReq:
SNACK:
8 | SCSI TaskMgtCmd:
21 | Text Req:
0 | Unknown:
0
5
0
Nop-In:
LogoutRsp:
R2T:
8 | SCSI TaskMgtRsp:
21 | TextRsp:
0 | Asyncmsg:
0
5
2
15-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
0
218
0
0
15-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
15-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
nSANity
nSANity is an extensible diagnostic data collection
framework
Download from the NOW site (Windows and Linux version)
Supports:
Data ONTAP 7G, GX, and 8.0 7-Mode
Switches
Cisco
Brocade
QLogic
More supported
platforms coming soon
Hosts
NSANITY
15-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
nSANity (Cont.)
With nSANity, you can interrogate your
Windows, Linux, and storage system
C:\nsanity-win32> nsanity.exe windows://localhost
Using internal command definitions
Starting collection @ 2009-09-08 17:30:49
Beginning data collection for windows @ localhost
Running select * from Win32_OperatingSystem
Running select * from Win32_QuickFixEngineering
Running select * from Win32_LogicalDisk
Running select * from
Win32_LogicalDiskRootDirectory
Running select * from
Win32_LogicalDiskToPartition
...
Collected data saved to file,
20090909003049_nsanity.xml.gz
2009 NetApp. All rights reserved.
NSANITY (CONT.)
15-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
nSANity (Cont.)
You can then pass this file off to your NetApp
Professional Services representative to read
the resulting xml output
NSANITY (CONT.)
15-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
15-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe how to diagnose a problem within a
SAN environment
Review diagnostic tools and techniques
available for:
Data ONTAP
MODULE SUMMARY
15-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Additional Resources
Education
Instructor-led training
Design and Implement VMware Solutions on NetApp
Storage
Design and Implement MS Hyper-V Solutions on NetApp
Storage
Design and Implement Virtualization Solutions on NetApp
Storage
Online courses
Web sites
NetApp
http://www.netapp.com
ADDITIONAL RESOURCES
15-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Thank you!
Please fill out an evaluation.
THANK YOU!
15-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Details
Appendix 1
SAN Implementation Workshop
FC DETAILS
A1-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
Bythe end of this module, you should be able to:
Describe FC details important to configure and
troubleshoot FC topologies
MODULE OBJECTIVES
A1-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fabric Cabling
FABRIC CABLING
A1-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Cabling: Types
Multimode fiber
Typically orange or aqua
blue in color
Cable type is always
printed on the cable
50 or 62.5m core
50/125 = 50m core and
125m cladding
Singlemode fiber
Not directly supported by
NetApp
Typically yellow in color
9m core
2009 NetApp. All rights reserved.
CABLING: TYPES
A1-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Cabling: Illustration
Multimode will have a 50 m or 62.5 m core
Singlemode will have an 8.3/9 m core
Cable Jacket: The outermost layer of the fiber cable
Strengthening fibers: The strengthening fibers that help
protect the core against damage during installation or from
being crushed
Coating: This layer of thicker plastic surrounds the cladding
and helps protect the fiber core
Cladding: The layer that protects the core and causes the
necessary reflection to allow light to travel through the fibercore segment
Core: The physical component that transports the optical data
signal, made up of a continuous strand of glass. The core's
diameter is measured in microns
2009 NetApp. All rights reserved.
CABLING: ILLUSTRATION
A1-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Cabling: Distances
Multimode optical cable distances:
All wavelengths below are 850 nm
Media Type Speed
Distance
Channel Attenuation
---------------------------------------------------------------------------------50 m
1 Gb
2-500m 3.25
62.5 m
1 Gb
2-300m 2.55
50 m
2 Gb
2-300m 2.55
62.5 m
2 Gb
2-150m 2.03
50 m
4 Gb
2-150m
62.5 m
4 Gb
2-70m
CABLING: DISTANCES
A1-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Cabling: Distances
CABLING: DISTANCES
A1-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Cabling: Connectors
Most commonly seen:
Lucent Connector (LC)
Siemens Connector (SC)
Straight Tip (ST)
Multi-fiber Push-On (MPO)
Small Form Factor Pluggable (SFP)
2009 NetApp. All rights reserved.
CABLING: CONNECTORS
A1-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Addressing
FC ADDRESSING
A1-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Host
Initiator
Host
Initiator
Port
Host
Initiator
Port
Switch1
Port
Port
Port
Port
Port
Port
JBOD
Target
System
Target
Create a session
A1-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Host
N_Port
F_Port
Switch1
U_Port
F_Port
F_Port
E_Port
U_Port
System
N_Port
Host
N_Port
ISL
FL_Port
U_Port
U_Port
Switch2
E_Port
U_Port
NL_Port
F_Port
U_Port
U_Port
FL_Port
JBOD
NL_Port
A1-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
TL_Port - In translative loop port (TL port) mode, an interface functions as a translative
loop port. It may be connected to one or more private loop devices (NL ports). TL mode
allows nonfabric-aware devices to communicate with fabric devices.
Cisco-specific:
EX_Port - An E_Port from a router to an edge fabric; the router terminates EX_Ports
preventing fabric merges
L_Port - A loop port that is only displayed in switchshow output
VE_Port - A virtual E_Port that terminates at the switch and does not propagate fabric
services or routing topology information from one edge fabric to the other
VEX_Port - A virtual E_Port that terminates at the switch and does not propagate fabric
services or routing topology information from one edge fabric to the other, when an FCIP
connection is involved
A1-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Identifiers
Host
N_Port
Host
N_Port
F_Port
Host
N_Port
F_Port
Switch1
U_Port
F_Port
F_Port
E_Port
U_Port
System
N_Port
FL_Port
NL_Port
IDENTIFIERS
A1-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fibre Channel ID
Each device in the fabric is assigned a 24-bit address
during FLOGI
The format is XXYYZZ, where:
XX = Domain ID
YY = Area ID
ZZ = Port Number (AL_PA)
Domain
ID
(8 bits)
Area
ID
(8 bits)
Port
Number
(8 bits)
24-bit Address
2009 NetApp. All rights reserved.
FIBRE CHANNEL ID
The node address, also known as arbitrated loop physical address (ALPA) identifies a device
on a Fibre-Channel Arbitrated Loop (FC-AL). For example, it could identify a particular disk
within an FC-AL JBOD. For point-to-point connections between the switch and the edge
device, the node address (ZZ) is set to 0x00.
The domain ID usually represents the domain ID assigned to the FC switch where the FC
node connects.
The area ID usually represents the port number on the FC switch where the FC node connects
(for example, if a host is connected to port 77, area ID = 4D).
Cisco switches use a different method for determining the area ID.
The domain ID and the area ID parts of the FC ID are assigned during the fabric login
(FLOGI) process by the FC login server fabric service. The login server fabric service is
discussed further as part of the fabric services section.
A1-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Domain ID
A unique number between 1 and 239 that
identifies the switch (or virtual switch) in a
fabric
Unless configured statically, the principal
switch manages domain ID addressing
Recommendation is to use static domain IDs
Useful when hard zoning
Needed for persistent FC IDs
Brocade:
Use configure to set the Domain ID and other
parameters
2009 NetApp. All rights reserved.
DOMAIN ID
A1-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Switch Roles
Principal switch:
Default behavior is that the switch with the
lowest WWN will become the principal switch
Principal switch is defined during a fabric
change event
A new switch cannot become the principal switch
when it joins a stable fabric
SWITCH ROLES
A1-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Principal Switch
Principal switch functions
PRINCIPAL SWITCH
If not using static domain IDs, preferred IDs, or contiguous assignment (Cisco) when a switch
attempts to join the fabric, it will send a random domain ID to the principal switch for
approval. The principal switch will either accept the ID (if it is not in use) or deny the ID (if it
is in use).
A1-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fabric Login
Host
N_Port
Host
N_Port
F_Port
Host
N_Port
F_Port
Switch1
U_Port
F_Port
U_Port
Disk
N_Port
Host
N_Port
F_Port
U_Port
E_Port
Switch2
E_Port
FL_Port
U_Port
JBOD
NL_Port
U_Port
F_Port
U_Port
U_Port
FL_Port
JBOD
NL_Port
FABRIC LOGIN
After a fabric-capable Fibre Channel device is attached to a fabric switch, it will carry out a
fabric login, or FLOGI
Similar to port login, FLOGI is an extended link service command that sets up a session
between two participants. With FLOGI, a session is created between an N_Port or
NL_Port and the switch.
An N_Port will send a FLOGI frame that contains its node name, its N_Port Name, and
service parameters to a well-known address of 0xFFFFFE (login server).
A1-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC ID in Data ONTAP
Before FLOGI
system> fcp show adapter -v 0c
Slot:
0c
Description:
Fibre Channel Target Adapter
0c (Dual-channel, QLogic 2322 (2362) rev. 3)
Status:
ONLINE
No Fabric ID
Host Port Address: 0x000000...
After FLOGI
system> fcp show adapter -v 0c
Slot:
0c
Description:
Fibre Channel Target Adapter 0c
(Dual-channel, QLogic 2322 (2362) rev. 3)
Status:
ONLINE
Fabric ID assigned
Host Port Address: 0x010000...
2009 NetApp. All rights reserved.
FC ID IN DATA ONTAP
A1-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Port Login
Host
N_Port
Host
N_Port
F_Port
Host
N_Port
F_Port
Switch1
U_Port
F_Port
U_Port
Disk
N_Port
Host
N_Port
F_Port
U_Port
E_Port
Switch2
E_Port
FL_Port
U_Port
JBOD
NL_Port
U_Port
F_Port
U_Port
U_Port
FL_Port
JBOD
NL_Port
PORT LOGIN
Port login, or PLOGI, is used to establish a session between two N_Ports (devices)
Required before any upper-level commands or operations can be performed.
Two N_Ports swap service parameters and make themselves known to each other.
In a point-to-point topology, PLOGI is the process by which an FC initiator port establishes a
connection with an FC target port. In a switched topology, PLOGI is the process by which an
FC initiator port or FC target port establishes a connection with the switch.
A1-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Process Login
Host
N_Port
Host
N_Port
F_Port
Host
N_Port
F_Port
Switch1
U_Port
F_Port
U_Port
Disk
N_Port
Host
N_Port
F_Port
U_Port
E_Port
Switch2
E_Port
FL_Port
U_Port
JBOD
NL_Port
U_Port
F_Port
U_Port
U_Port
FL_Port
JBOD
NL_Port
PROCESS LOGIN
A group of related processes is collectively known as an image pair. Use of process login is
optional from the perspective of the Fibre Channel FC-2 layer, but may be required by a
specific upper-level protocol, as in the case of SCSI-FCP mapping.
A1-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
120200
ca0100
ISL
Domain ID: 18
AL_PA: 15
RAID
120300
JBOD
12040f
RAID
ca0200
A1-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Services
FC SERVICES
A1-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fabric Services
All switches implement a set of services that
are distributed across all the devices
Types of Fabric Services
Login services - 0xFFFFFE
Name services - 0xFFFFFC
Registered State Change Notification (RSCN) 0xFFFFFD
FABRIC SERVICES
Switches distribute fabric information among themselves through Class F service frames.
Switches exchange information in their servers so that all individual switch servers contain
the same information. This creates a singular fabric entity and makes it appear that there is
only one of each type of server.
Like nodes, fabric services have addresses, but the address of a fabric service is a fixed value
called a well-known address. Well-known addresses are reserved by the FC standard.
A1-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Routing
Mechanisms
FC ROUTING MECHANISMS
A1-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Routing Mechanisms
Complex fabric can be made of interconnected
switches and director
ISL
ROUTING MECHANISMS
A1-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
ISL
FSPF keeps tracks of links on all switches and associates a cost with each link
Cost = proportional to the number of hops
FSPF computes paths from a switch to all other switches in the fabric by adding the cost
of all links traversed by the path
FSPF chooses the path that minimizes the cost
A1-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-34
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Director
Director
load diminished
A1-35
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Director
Director
load diminished
Director
Director
no load impaired
Director
Director
ISL Trunking
A1-36
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Cisco PortChannels
Trunking is a commonly used term in the storage
industry
However, the Cisco SAN-OS software and switches in
the Cisco MDS 9000 Family implement trunking and
PortChanneling as follows:
PortChanneling enables several physical links to be
combined into one aggregated logical link
Trunking enables a link transmitting frames in the
EISL format to carry (trunk) multiple VSAN traffic
When trunking is operational on an E port, that E
port becomes a TE port
A TE port is specific to switches in the Cisco MDS 9000
Family
An industry standard E port can link to other vendor
switches and is referred to as a non trunking interface (see
Figure 14-2 and Figure 14-3)
CISCO PORTCHANNELS
A1-37
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Fabric Events
FABRIC EVENTS
A1-38
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-39
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-40
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-41
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-42
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Advanced zoning
ISL trunking
Advanced performance monitoring
Extended fabric: Allows higher port buffer
credits for long-distance connections
Fabric watch: SAN health monitor
Full fabric
VL2 switches only support 2 switches in a fabric
VL4 switches only support 4 switches in a fabric
A1-43
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-44
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-45
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC Zoning
FC ZONING
A1-46
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Zoning
A zone is a list of Fibre Channel ports or nodes
that can communicate with each other in a
Fibre Channel fabric
A zone is essentially a filter that limits the
information the name server returns to the
initiator during a query
ZONING
Devices can be members of more than one zone. This enables the creation of zones that
contain some, but not all, of the same members. This type of configuration is referred to as
overlapping zones. In this case, a concept of most permissible access is employed. As long
as at least one zone contains both the initiator and target, the target is made available to the
initiator, even though other zones containing the initiator do not contain the target device.
A1-47
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-48
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-49
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Zone Configuration
To configure a zone:
ZONE CONFIGURATION
A1-50
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-51
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Zone Types
Different vendors have different types of zones
Brocade with Fabric OS 6.2:
Regular zones
Broadcast zones
Traffic isolation zones
QoS zones
Redirection zones
ZONE TYPES
Regular zone
Broadcast zones restricts boardcast well-known address (FFFFFF) packets to only those
devices that are members of the broadcast zone. A broadcast zone does not allow access
within its members in any way. If you want to allow or restrict access between any devices,
you must create regular zones for that purpose.
Traffic isolation zones is an implementation of a traffic isolation routing features which
allows restricting of ISL communication between switches by using failover or loadbalancing techniques.
Quality of Service (QoS) zones allows administrators to assign high or low priority to
prioritize traffic.
Frame Redirection zones provides a means to redirect traffic flow between a host and a target
to virtualization and encryption applications so that those applications can perform without
having to reconfigure the host and target.
Please see the Fabric OS Administrators Guide for your version of Brocades Fabric OS.
A1-52
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-53
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-54
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SRV: Server
STO: Storage
TPE: Tape
VRA: Virtualization appliance
Examples:
A1-55
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-56
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-57
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-58
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Browse to http://eng-web.rtp.netapp.com/techpubs/docs/zoning/zoning.html
A1-59
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Zone Creation
To create a regular zone
switch> zonecreate zonename,
member[;member...]
switch> cfgsave
A domain,port pair
Device WWNN
Device WWPN
Zone alias
ZONE CREATION
A1-60
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-61
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SRV_Host2_1a
STO_FAS3050a_0c
SRV_Host1_1a
SRV_Host2_1a
STO_FAS3050a_0c
ZNE_Host1_fab_a_new
Switch
ZNE_Host1_fab_a
Switch
ZNE_Host2_fab_a_new
ZNE_Host2_fab_a
STO_RAID1_p1
STO_RAID2_p1
STO_RAID1_p1
STO_RAID2_p1
A1-62
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Zone Configuration
To create a zone configuration
switch> cfgcreate cfgname,
member[;member...]
switch> cfgsave
cfgname is the logical name of the zone
member is a zone name or list of zone names
ZONE CONFIGURATION
A1-63
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Zone Enforcement
Zones have a list of fabric objects
Zone enforcement can be done with:
Software-enforced
Hardware-enforced
ZONE ENFORCEMENT
A1-64
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Software-Enforced Zoning
Called soft zoning, fabric-based zoning or
session-based zoning
Prevents hosts from discovering unauthorized
target devices
Ensures that the name server does not return
any information to an unauthorized initiator in
response to a name server query
Does not prohibit access to the device... just
limits access to name service query
SOFTWARE-ENFORCED ZONING
A1-65
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Hardware-Enforced Zoning
Called hard zoning or ASIC-enforced
zoning
Prevents host from discovering and
communicating to unauthorized target devices
Each frame is checked by hardware (ASIC)
before the packet is delivered
HARDWARE-ENFORCED ZONING
A1-66
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A1-67
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A1-68
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe FC details important to configure and
troubleshoot FC topologies
MODULE SUMMARY
A1-69
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Introduction to
FCoE
Appendix 2
SAN Implementation Workshop
INTRODUCTION TO FCOE
A2-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Distinguish the differences between Fibre
Channel (FC), Fibre Channel over Ethernet
(FCoE) and Internet SCSI (iSCSI) protocols
Describe path implementation with FCoE
connectivity
Describe how to configure FCoE ports on
Windows and NetApp systems
MODULE OBJECTIVES
A2-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Protocols Stacks
OSI
iSCSI
FCoE
FC
6 Presentation
SCSI
FC-4 Protocol
FC-4 Protocol
5 Session
iSCSI
FC-3 Service
FC-3 Service
4 Transport
TCP
FC-2 Frame
FC-2 Frame
3 Network
IP
FCoE Mapping
2 Data Link
MAC
MAC
FC-1 Data
1 Physical
Physical
Physical
FC-0 Physical
PROTOCOLS STACKS
A2-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FCoE Topology
FCOE TOPOLOGY
A2-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Ethernet
FC Fabric
Web
A2-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
Target
Ethernet
FC
Initiator
FC Fabric
Web
A2-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
Target
Lossless
Ethernet cloud
(1Gb or 10Gb)
FCoE
Enabled
Switch
Ethernet
FC
Initiator
FC Fabric
Web
A2-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
Target
FCoE
Target
FCoE
Initiator
Lossless
Ethernet cloud
(1Gb or 10Gb)
Ethernet
FCoE
Enabled
Switch
FC
Initiator
FC Fabric
Web
A2-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
Target
FCoE:Traffic flow
FCoE
Initiator
MAC
FCoE
FCFC
MAC
Enabled
Switch
FC
FC
Target
FC
FCFabric
Fabric
FC
Cisco Nexus
5020 (available)
Brocade (soon)
4GB or 8GB
FC environment
FCOE:TRAFFIC FLOW
A2-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
Initiator
FCoE
Enabled
Switch
FCoE
Initiator
Standard FC
Session
FC Fabric
Single namespace,
single management space
A2-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
Target
FC
Initiator
Ethernet
Standard FC
Session
FCoE
Enabled
Switch
FC Fabric
Single namespace,
single management space
A2-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FC
Target
Network Topology
Windows
Converged
Network
Adapters
(CNAs)
...
Windows
FCoE 10-GbE
switch
Storage System 1
Requires
Lossless
Ethernet
iSCSI
2009 NetApp. All rights reserved.
NETWORK TOPOLOGY
Requires lossless Ethernet
Either physical channel pause (non-consolidated)
or Priority based Flow Control (PFC 802.1Qbb)
Requires mini-Jumbo Frames (~2.5k)
A2-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FCoE Hardware
Initiator/CNA
Application
Application
SCSI
SCSI
FCoE Layer
FCoE Layer
Net Device
Net Device
Ethernet Driver
Ethernet Driver
Ethernet
Ethernet
Server
Processing
NIC/HBA
Processing
A2-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Switch Configuration
SWITCH CONFIGURATION
A2-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create a virtual ethernet port on the VIG then enable the port
(config-if)# int veth 4/1
(config-if)# no shut
A2-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Target Configuration
TARGET CONFIGURATION
A2-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FCoE
Engine
NIC
Regular Ethernet traffic
flows through to NIC
FC
PCIe
Existing host
NIC driver
Existing host/
target FC driver
A2-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-23
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
FCoE
Engine
NIC
Regular Ethernet traffic
flows through to NIC
FC
PCIe
Existing host
NIC driver
Existing host/
target FC driver
A2-24
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
4a
Fibre Channel Target Adapter 4a (Dual-channel, QLogic 2432 (8432) rev. 3)
Local
ONLINE
50:0a:09:80:87:d9:2b:7d (500a098087d92b7d)
50:0a:09:83:87:d9:2b:7d (500a098387d92b7d)
No
Slot:
Description:
Adapter Type:
Status:
FC Nodename:
FC Portname:
Standby:
1a
Fibre Channel Target Adapter 1a (Dual-channel, QLogic 2532 (2562) rev. 2)
Local
ONLINE
50:0a:09:80:87:d9:2b:7d (500a098087d92b7d)
50:0a:09:85:87:d9:2b:7d (500a098587d92b7d)
No
A2-25
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-26
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Initiator Configuration
INITIATOR CONFIGURATION
A2-27
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Initiator
Windows
Versions
2003 x32 and x64
2008 x32 and x64, including HyperV
Drivers
Both QLogic and Emulex FCoE CNA drivers are available
for download at the vendors website
NOTE: FCoE CNAs can not be installed in the same box as
FC HBAs.
Host Utilities
WHU 5.0 supports the FCoE CNAs
Correct SNIA API is included with the drivers
Both FCoE cards use the same HBA timeout setting as their
FC HBA counterpart.
2009 NetApp. All rights reserved.
WINDOWS INITIATOR
QLogic and Emulex 4Gb HBAs represent over $10M in revenue FY2008
50 50 split between QLogic and Emulex
A2-28
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A2-29
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Versions
ESX 3.5u2
ESXi 3.5u2
ESX 3.5u3
ESXi 3.5u3
Drivers
ESX 3.5 Update 2 - Both QLogic and Emulex FCoE CNA drivers
are available for download at http://www.vmware.com
ESX 3.5 Update 3 Should be inbox.
NOTE: Just like with Windows, FCoE CNAs can not be installed in
the same box as FC HBAs.
Host Utilities
QLogic and Emulex 4Gb HBAs represent over $10M in revenue FY2008
50 50 split between QLogic and Emulex
A2-30
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Drivers
Both QLogic and Emulex FCoE CNA drivers are
available for download at the vendors website
NOTE: FCoE CNAs cannot be installed in the
same box as FC HBAs.
Host Utilities
HU 4.1.2
Both FCoE cards use the same HBA timeout
setting as their FC HBA counterpart.
2009 NetApp. All rights reserved.
QLogic and Emulex 4Gb HBAs represent over $10M in revenue FY2008
50 50 split between QLogic and Emulex
A2-31
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A2-32
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Distinguish the differences between Fibre
Channel (FC), Fibre Channel over Ethernet
(FCoE) and Internet SCSI (iSCSI) protocols
Describe path implementation with FCoE
connectivity
Describe how to configure FCoE ports on
Windows and NetApp systems
MODULE SUMMARY
A2-33
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Internet Storage
Name Service
Appendix 3
SAN Implementation Workshop
A3-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe Internet Storage Name Service
(iSNS) on Windows Server 2008 R2
Configure a storage system to use an iSNS
MODULE OBJECTIVES
A3-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A3-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A3-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery Domains
iSNS organizes initiators and targets into
Discovery Domains (DD)
DD are like zones in Fibre Channel fabrics
DD partition resources in your SAN
Default DD
DD-W2KR2
DISCOVERY DOMAINS
A3-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
DD-W2KR2
DD-W2KR2
DD-W2KR2
A3-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Server
2008 R2s iSNS
A3-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A3-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
iSNS Interfaces
Found under
Start menu
ISNS INTERFACES
A3-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A3-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery Domain
The new discovery domain
DISCOVERY DOMAIN
A3-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A3-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Adding DD to a DDS
The new discovery domain set is disabled
ADDING DD TO A DDS
A3-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Enable to
Discovery
Domain Set by
clicking here
A3-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Configuration Complete
Disabled the
default
Discovery
Domain Set
CONFIGURATION COMPLETE
A3-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
To configure iSNS:
Configure the iSNS service
Start the iSNS service
Verify iSNS service registered successfully with
the iSNS server
A3-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NOT CONFIGURED
10.254.132.63
Still hasnt
Enabled
registered...
wait for a moment
isns:00000003
10.254.132.63
Enabled
A3-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Configuration Complete
The storage
system
successfully
registered with
the iSNS
server
If node registered with default Discovery Domain,
drag and drop it into your customized DD
CONFIGURATION COMPLETE
A3-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Add iSNS
server to poll
A3-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Storage system
is discovered
A3-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A3-21
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe Internet Storage Name Service
(iSNS) on Windows Server 2008 R2
Configure a storage system to use an iSNS
MODULE SUMMARY
A3-22
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Multiple Connection
Sessions
Appendix 4
SAN Implementation Workshop
A4-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe multiple connection sessions (MCS)
in Windows Server 2008 R2
MODULE OBJECTIVES
A4-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
CONN 64/1
SESSION 65
CONN 65/1
SESSION 66
CONN 66/1
SESSION 67
CONN 67/1
CONN 68/3
SESSION 68
CONN 68/1
CONN 68/4
CONN 68/2
A4-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
MCS
MCS
A4-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A4-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Force it because
the interfaces
system> iscsi tpgroup show
already belong to
TPGTag Name
Member Interfaces
another TPG
1
mytp
e0b, e0c
Verify TPG
1000
1001
1002
1003
e0a_default
e0b_default
e0c_default
e0d_default
e0a
(none)
(none)
e0d
A4-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery
Discovery the storage system
DISCOVERY
A4-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Discovery (Cont.)
Discovery the storage system
DISCOVERY (CONT.)
A4-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A4-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Configuring MCS
One Session
One Connection
Error occurs if
Log on pressed
twice
CONFIGURING MCS
A4-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A4-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
One Connection
A4-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A4-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A4-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify Paths
New connection shows up
One Session
Two connections
VERIFY PATHS
A4-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Two connections
A4-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A4-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe multiple connection sessions (MCS)
in Windows Server 2008 R2
MODULE SUMMARY
A4-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Storage Manager
for SANs
Appendix 5
SAN Implementation Workshop
A5-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Explore the Windows Server 2008 Server R2s
Storage Manager for SANs tool to create a
LUN
MODULE OBJECTIVES
A5-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Storage Manager
for SANs
A5-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create a LUN
CREATE A LUN
A5-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A5-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A5-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Explore the Windows Server 2008 Server R2s
Storage Manager for SANs tool to create a
LUN
MODULE SUMMARY
A5-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Hyper-V
Introduction
Appendix 6
SAN Implementation Workshop
HYPER-V INTRODUCTION
A6-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
Bythe end of this module, you should be able to:
Introduce Microsofts Hyper-V
Implement Hyper-V on Microsoft Windows
Server 2008 R2
Configure a LUN to Hyper-V to host VMs
MODULE OBJECTIVES
A6-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Hyper-V
HYPER-V
A6-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
What is Hyper-V?
Hyper-V (previously code-named Viridian) is
Microsoft's new server virtualization technology
Hypervisor Model
Free Feature
WHAT IS HYPER-V?
A6-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Selected
A6-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A6-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Selected interfaces to
be used with VMs
A6-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A6-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A6-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Hyper-V Administration
HYPER-V ADMINISTRATION
A6-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Micro-kernel Hypervisor
Drivers run within guest
and parent OS
Requires VSP (modified)
parent OS drivers
Requires VSC (modified)
guest OS drivers
(Parent OS)
VMware
(Console OS)
VM 1
(Guest OS)
VM 2
(Guest OS)
VMware Hypervisor
Drivers
Drivers
Drivers
Virtualization
Stack
VM 1
(Child OS)
VM 2
(Child OS)
Drivers
Drivers
Drivers
Drivers
Drivers
Drivers
Drivers
Drivers
Drivers
Microsoft Hypervisor
Physical Hardware
Physical Hardware
Microsoft Hyper-V
A6-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Guest VMs
VM0
I/O Service
Guest VMs
VMn
VMn
Guest OS & Apps
Device Drivers
I/O Service
Hypervisor
Hypervisor
Device Drivers
Shared Devices
Shared Devices
A6-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create a
new VM
Click
Next
A6-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A6-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A6-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A6-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A6-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
New VM using
a VHD on a NetApp LUN
A6-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A6-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Introduce Microsofts Hyper-V
Implement Hyper-V on Microsoft Windows
Server 2008 R2
Configure a LUN to Hyper-V to host VMs
MODULE SUMMARY
A6-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN
Troubleshooting on
Windows
Appendix 7
SAN Implementation Workshop
A7-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Review diagnostic tools and techniques
available for Windows
Define and configure queue depths on
Windows
MODULE OBJECTIVES
A7-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows SAN
Troubleshooting
A7-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Windows Troubleshooting
To troubleshoot a SAN environment in Windows:
View Fibre Channel statistics
Verify partition within Windows
Use the scripts provided in the Host Utilities Kit
(HUK)
SnapDrive collection utility to capture
diagnostic information (if available)
WINDOWS TROUBLESHOOTING
A7-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
View FC Statistics
To verify FC statistics in Windows Server 2008:
Select to
view statistics
VIEW FC STATISTICS
A7-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Port statistics
A7-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Emulex example
A7-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Index, Type
Type
GPT: Basic Data
Installable File System
Unknown
Installable File System
A7-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A7-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A7-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
2
Click here
to start data
collection
3
Information is gathered for
the host and all storage
system you have added
2009 NetApp. All rights reserved.
A7-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A7-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A7-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A7-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
HBA API
Application Programming Interface for
management of Fibre Channel Host Bus
Adapters
Controlled by SNIA (Storage Networking
Industry Association)
Platform independent
Vendor independent
Interoperable
HBA API
The HBA API is a Storage Networking Industry Association (SNIA) specification that
provides a vendor neutral interface for managing aspects of HBAs. SNIA has since turned
over the specification to T11.
For more information see: http://www.snia.org/tech_activities/hba_api/ and
ftp://ftp.t11.org/t11/docs/02-149v0.pdf.
A7-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Disk 1:
Disk 2
Disk N
A7-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Queue Depth = 1
Queue Depth = 10
A7-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A7-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Review diagnostic tools and techniques
available for Windows
Define and configure queue depths on
Windows
MODULE SUMMARY
A7-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NFS Datastores
Appendix 8
SAN Implementation Workshop
NFS DATASTORES
A8-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Connect a NetApp volume as a vSpheres NFS
Datastores
MODULE OBJECTIVES
A8-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NFS Datastores
NFS DATASTORES
A8-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NAS Datastore
ESX Cluster
Datastore
VM1
VM2
VM3
VM4
VDisk0
VDisk0
VDisk0
VDisk0
NIC
LAN
NFS
NIC
1.vmx
1.vmdk
2.vmx
2.vmdk
Flexible Volume
3.vmx
3.vmdk
4.vmx
4.vmdk
NAS DATASTORE
A8-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A8-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify connectivity:
system2> ifconfig e0a
e0a: flags=948043
<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM>
mtu 1500
inet 10.254.144.91
netmask 0xfffffc00
broadcast 10.254.147.255
ether 00:a0:98:09:f2:42 (auto-1000t-fd-up)
flowcontrol full
2009 NetApp. All rights reserved.
A8-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A8-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A8-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A8-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A8-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify 10
A8-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Create the
datastore
Select Network
File System
A8-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Path
to export
A8-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NFS
Datastore
Now, Create a VM
in the datastore
A8-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A8-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Connect a NetApp volume as a vSpheres NFS
Datastores
MODULE SUMMARY
A8-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Server
Consolidation
Appendix 9
SAN Implementation Workshop
SERVER CONSOLIDATION
A9-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Migrate servers from unreliable storage to
reliable NetApp storage
MODULE OBJECTIVES
A9-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A9-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vCenter
VCENTER
A9-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vCenter
vCenter provides a enterprise management
interface for vSpheres in your data center
VCENTER
A9-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vCenter Features
vCenter provides additional ways to report
storage with the Storage Views
VCENTER FEATURES
A9-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A9-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
vCenter Plugins
Additional features are available through
vCenters plugins
VCENTER PLUGINS
A9-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Guided Consolidation
GUIDED CONSOLIDATION
A9-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A9-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A9-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Verify Configuration
Everything is installed
and running properly
VERIFY CONFIGURATION
A9-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A9-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Analysis Phase
Analysis phase
takes at least 24 hours
to gather information about
servers you plan to consolidate
ANALYSIS PHASE
A9-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Analysis phase
is complete;
ready for consolidation
to NetApp storage
Or right-click and
manually consolidate
the server
A9-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Wizard automatically
chooses best
NetApp datastore
or use manual method
to choose
A9-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Consolidation Phase
Consolidation
in progress
CONSOLIDATION PHASE
A9-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Consolidation Complete
Your important
servers now
running on NetApp
reliable storage
CONSOLIDATION COMPLETE
A9-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A9-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Migrate servers from unreliable storage to
reliable NetApp storage
MODULE SUMMARY
A9-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NPIV
Troubleshooting
Appendix 10
SAN Implementation Workshop
NPIV TROUBLESHOOTING
A10-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Convert a VMFS .vmdk to a RDM .vmdk
Describe the VPORT creation flow and
troubleshoot NPIV
MODULE OBJECTIVES
A10-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Converting a VMFS
Disk Image to RDM
A10-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Example:
# vmkfstools -i
/vmfs/volumes/storage1/rhel5/rhel5.vmdk
/vmfs/volumes/storage1/rhel5-rdm.vmdk -d
rdm:/vmfs/devices/disks/vmhba4:0:0:0
2009 NetApp. All rights reserved.
A10-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NPIV Troubleshooting
NPIV TROUBLESHOOTING
A10-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Later it
will have
the WWNN(s)
and WWPN(s)
A10-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VPORT WWPNs
A10-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NPIV
option
on?
No
VMkernel request
VPORT creation
Driver sends
FDISC to fabric
Fabric
PLOGI
Switch
doesnt support NPIV
HBA / firmware
doesnt support NPIV
Operation
unsuccessful
SCSI target
reports LUNs
VM power on complete
2009 NetApp. All rights reserved.
A10-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
created
SLI Rev: 3
NPIV Supported: VPIs max 100
RPIs max 512 RPIs used 18
VPIs used 1
A10-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A10-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
ON ON ON ON
9 10 11
12 13 14 15
ON ON ON ON ON ON ON ON
NPIV turned on
A10-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NPIV Observed
After boot up of NPIV-supported VM:
switch> switchshow
...
Area Port Media Speed State
Proto
=====================================
0
0
id
N2
Online
F-Port 50:0a:09:81:96:88:37:5d
1
1
id
N2
Online
F-Port 50:0a:09:82:96:88:37:5d
2
2
id
N2
Online
F-Port 50:0a:09:81:86:88:37:5d
3
3
id
N2
Online
F-Port 50:0a:09:82:86:88:37:5d
...
Two connections (NPIV)
8
8
id
N4
Online
F-Port 2 NPIV public
9
9
id
N4
Online
F-Port 2 NPIV public
switch> portshow 8
...
portWwn: 20:08:00:05:1e:02:99:c4
portWwn of device(s) connected:
27:ee:00:0c:29:00:05:a7
10:00:00:00:c9:58:29:9a
switch> portshow 9
...
portWwn: 20:08:00:05:1e:02:99:c4
portWwn of device(s) connected:
27:ee:00:0c:29:00:06:a7
10:00:00:00:c9:58:29:9a
NPIV OBSERVED
A10-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
scr=3
scr=3
d_id=FFFFFC
d_id=FFFFFC
switch> portloginshow 9
Type PID
World Wide Name
credit df_sz cos
=====================================================
fe 010901 27:ee:00:0c:29:00:06:a7
16 2048
c
fe 010900 10:00:00:00:c9:58:29:9b
16 2048
c
ff 010901 27:ee:00:0c:29:00:06:a7
12 2048
c
ff 010900 10:00:00:00:c9:58:29:9b
12 2048
c
scr=3
scr=3
d_id=FFFFFC
d_id=FFFFFC
A10-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A10-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Convert a VMFS .vmdk to a RDM .vmdk
Describe the VPORT creation flow and
troubleshoot NPIV
MODULE SUMMARY
A10-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VMware Snapshots
and NetApp
Snapshot Copies
Appendix 11
SAN Implementation Workshop
A11-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Distinguish between VMware snapshots and
NetApp Snapshot copies
MODULE OBJECTIVES
A11-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Snapshot
Technologies
SNAPSHOT TECHNOLOGIES
A11-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VMware Snapshots
ESX provides snapshot functionality
Managed in vCenter
Only supported on VMDKs and Virtual RDMs
Limited to 32 snapshots
VMs can remain online while taking snapshots
VMDKs are locked and disk IO is written to log files
VM memory is also snapped and logged
More VMs and/or snapshots degrades performance
Up to 30% performance penalty
VMWARE SNAPSHOTS
Performance degradations are per VMware's documentation.
A11-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A11-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VMDKs on NFS
Single File SnapRestore for VMDK recovery
RDMs
SnapRestore or LUN clone for RDM recovery
Can be connected by any server (virtual or physical)
Easy single file recovery
A11-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A11-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VMware Clones
VM clones duplicate:
Strengths
Areas of concern
VMWARE CLONES
*Thin provisioning can be accomplished at the command line.
VMware clones are good for permanent VM deployment from a template.
A11-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NetApp Clones
Permanent VM Deployment (from template)
NFS through Single File SnapRestore
Clones internally versus over Ethernet from ESX
Temporary VM Deployment
For test, dev, training, demos, and so on
NFS through FlexClone
VMFS and RDM by way of LUN clone or FlexClone
NETAPP CLONES
NetApp clones are good for fast temporary deployment of VMs for training, test, dev, demos,
and so on. For VMs with either RDMs or NFS VMDKs, disconnect disk first and complete
VM template.
A11-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Thin-provisioned VMDKs
Have performance degradation
Trade-off capacity for performance
A11-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
NFS
RDMs
A11-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A11-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Distinguish between VMware snapshots and
NetApp Snapshot copies
MODULE SUMMARY
A11-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Virtual Storage
Console
Appendix 12
SAN Implementation Workshop
A12-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe the NetApp Virtual Storage Console
and how it assist in administrating virtual
machines using NetApp storage
MODULE OBJECTIVES
A12-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Virtual Storage
Console
A12-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Provides a Storage Management pane to show discovered NetApp controllers and ESX
hosts along with information related to each (for example, IP information, Data ONTAP
version, status, capacity, usage, protocols, adapter and MPIO status settings).
Provides a drop down menu per ESX host for setting NetApp recommended HBA/CNA
Adapter settings, MPIO settings and/or NFS settings.
A12-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A12-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A12-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SAN
and
NAS
support
Automatic
discovery
A12-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Storage
system
configuration
ESX host
configuration
A12-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Optimize
host
settings
A12-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Status
Deduplication
savings
A12-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Data collection
on support
tools
A12-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
VSC Takeaways
Integrated Virtual Host and Storage
Management
See storage back and host in views of ESX
datastores (SAN and NAS)
VSC TAKEAWAYS
A12-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A12-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe the NetApp Virtual Storage Console
and how it assist in administrating virtual
machines using NetApp storage
MODULE SUMMARY
A12-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-1
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Objectives
By the end of this module, you should be able to:
Describe the steps to configure SnapDrive for
UNIX on Linux
MODULE OBJECTIVES
A13-2
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-3
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-4
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
# rpm -U -v netapp.snapdrive.linux_4_1_1.rpm
Preparing packages for installation...
netapp.snapdrive-4.1.1-1
Starting snapdrive daemon: Successfully started
daemon
Daemon starts
Explore the application
automatically
# cd /opt/NetApp/snapdrive
Configuration file
# ls
bin
docs
snapdrive.conf snapdrived.rcscript
diag SDU4_1_1_notice.txt snapdrived_cron
snapdrived_var.rcscript
# cd bin
The daemon
Main file
# ls
snapdrive snapdrived
A13-5
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
sg3_utils-1.25-4.el5.i386.rpm
# rpm -U -vh sg3_utils-1.25-4.el5.i386.rpm
A13-6
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
SnapDrive Daemon
To use SnapDrive 4.1 for Linux, start the
daemon:
# cd /opt/NetApp/snapdrive
# snapdrived start
Successfully started daemon
# snapdrived stop
Successfully stopped daemon
SNAPDRIVE DAEMON
A13-7
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-8
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
# location of
A13-9
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-10
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-11
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-12
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-13
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
LUN Management
Configure Linux environment variable
# export LVM_SUPPRESS_FD_WARNINGS=1
# snapdrived stop
Restart the
# snapdrived start
SnapDrive
daemon
LUN MANAGEMENT
A13-14
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-15
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
mountpoint: /mnt/lun
lun path
dev paths
-------------------------------------system:/vol/SANvol/lun
/dev/sdj
A13-16
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-17
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
A13-18
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
MODULE SUMMARY
A13-19
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.
Module Summary
In this module, you should have learned to:
Describe the steps to configure SnapDrive for
UNIX on Linux
MODULE SUMMARY
A13-20
2009 NetApp. This material is intended for training use only. Not authorized for reproduction purposes.