Académique Documents
Professionnel Documents
Culture Documents
Implementation
Lab Guide
Education Services
October 2007
Lab Guide
Copyright:
Copyright 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 EMC Corporation. All Rights
Reserved.
EMC believes the information in this publication is accurate as of its publication date. The information is
subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. EMC CORPORATION MAKES NO
REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN
THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires an applicable
software license.
EMC, ICDA (Integrated Cached Disk Array), and EMC2 (the EMC logo), and Symmetrix, are registered
trademarks of EMC Corporation. EMC and SRDF are trademarks of EMC Corporation.
All other trademarks used herein are the property of their respective owners.
Version 5.5
Page 2 of 197
Lab Guide
Trademark Information:
EMC
Trademarks
Third Party
Trademarks
Version 5.5
Page 3 of 197
Lab Guide
Rev #
V 5.5
File Name
Host to Storage SAN
Implementation Lab Guide
Date
October, 2007
Version 5.5
Page 4 of 197
Lab Guide
Copyright: ........................................................................................................................... 2
Trademark Information: ......................................................................................................3
Document Revision History: ...............................................................................................4
Table of Contents: Host to Storage SAN Connectivity ......................................................5
Lab Exercise 1: Site Environment Qualification .....................................................................7
Lab Exercise 1.................................................................................................................... 8
Part 1: Basic Steps............................................................................................................ 8
Lab Exercise 1.................................................................................................................... 9
Part 2: Logical Site Inspection and Data Gathering...........................................................9
Lab Exercise 1.................................................................................................................. 14
Part 3: Qualification of SAN System Components........................................................... 14
Lab Exercise 1.................................................................................................................. 15
Part 4: Compile, Document and Publish Results............................................................. 15
Lab Exercise 2: SAN/Switch Configuration ..........................................................................24
Lab Exercise 2.................................................................................................................. 25
Part 1: M-Series Switch and Director Configuration Procedures (Connectrix Manager
9) ...................................................................................................................................... 25
Lab Exercise 2.................................................................................................................. 34
Part 2: B-Series Switch Configuration Procedures .......................................................... 34
Lab Exercise 2.................................................................................................................. 37
Part 3: MDS-Series Switch Configuration Procedures .................................................... 37
Lab Exercise 3: Attaching Hosts and Configuring Host Bus Adapters (HBAs), Part 1 ......... 43
Lab Exercise 3.................................................................................................................. 44
Part 1: Array Port Allocation ............................................................................................44
Lab Exercise 3.................................................................................................................. 45
Part 2: Install Required Patches ......................................................................................45
Lab Exercise 3.................................................................................................................. 46
Part 3: Install HBA Driver and Firmware..........................................................................46
Lab Exercise 4: Configuring Zoning .....................................................................................69
Lab Exercise 4.................................................................................................................. 70
Part 1: Connectrix Manager Zoning for M-Series Directors/Switches (Connectrix
Manger 9.x) ...................................................................................................................... 70
Lab Exercise 4.................................................................................................................. 74
Part 2: M-Series Connectrix Manager Basic Zoning........................................................ 74
Lab Exercise 4.................................................................................................................. 75
Part 3: B-Series Web Tools Zoning ..................................................................................75
Lab Exercise 4.................................................................................................................. 79
Part 4: MDS Switch CLI Zoning Configuration................................................................. 79
Lab Exercise 4.................................................................................................................. 83
Part 5: Post Zoning Tasks ...............................................................................................83
Lab Exercise 5: Array Configurations EMC Symmetrix..................................................... 84
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Page 5 of 197
Lab Guide
Version 5.5
Page 6 of 197
Lab Guide
The goal of this lab is to qualify all SAN related components of the
site. Gather data on the following components which need to be
qualified:
A. Host: HBA; firmware; OS version; platform support; LVM
(logical volume manager) support
B. Switch: firmware; ISL count; hops to storage; FA to switch
connectivity
C. Array: microcode version; host-port configuration; available
free storage
Using the worksheets in this lab, in conjunction with available online tools, gather the necessary data to complete the qualification.
Objectives:
References:
Version 5.5
Page 7 of 197
Lab Guide
Lab Exercise 1
Part 1: Basic Steps
Step Action
1
Using the worksheets in this lab, gather the required data on the environment.
A. Capture data locally, make notes of software revisions and current
configurations
B. Gather data electronically using EMC grab or other scripts
C. Analyze data, complete SAN host worksheet with storage allocations
D. Working with EMC Support Matrix and Product Guides, develop
recommended steps and/or procedures to complete upgrades and site
preparation
Data gathering in this lab will be used for planning and qualification.
Additionally, such data on the environment will be used to develop final
documentation and records of what was accomplished in the planning and build
process.
By documenting the process and current status of the environment, records will
be kept. To maintain records, or review currently implemented systems at an
EMC customer site, please visit:
http://omega.eng.emc.com/omega/
Remember, the website is for internal use only.
Version 5.5
Page 8 of 197
Lab Guide
Lab Exercise 1
Part 2: Logical Site Inspection and Data Gathering
Capture the following details:
Host
1
2
3
4
Model
Operating Environment version and patch level
HBA model and firmware level
LVM (logical volume manager) version and type (e.g. native or Veritas)
Gather the necessary data using the following OS specific commands. Record your
results in the space provided:
AIX
Step Action
1
Model
#indicates model number
uname M
Version 5.5
Page 9 of 197
Lab Guide
LVM (logical volume manager) version and type (e.g. native or Veritas)
#Find LVM software installed on system
lslpp L bos.rte.lvm
#Finds all software sets installed on system
lslpp L |more
Solaris
Step Action
1
Model
#Model number, OS version, and latest kernel patch applied
uname a
LVM (logical volume manager) version and type (e.g. native or Veritas)
#Look for ODS and VRTS on the system
pkginfo L |grep i ods
pkginfo L |grep i vrts
Version 5.5
Page 10 of 197
Lab Guide
Linux
Step Action
1
Operating Environment version and patch level
#Model number, OS version, and latest kernel patch applied
uname a
HP-UX
Step Action
1
Model
#Model number, OS version, and latest kernel patch applied
uname a
LVM (logical volume manager) version and type (e.g. native or Veritas)
#Look for LVM software information
swlist l product PH* |more
Version 5.5
Page 11 of 197
Lab Guide
Windows
Step Action
1
Model, Operating Environment version and patch level
#Model number, OS version, and latest kernel patch applied. From
DOS:
winver
If the systems are known to have specific HBA models, check with the
vendor tools to access local configuration tools. For example, check for
lputil on UNIX for Emulex cards.
Version 5.5
Page 12 of 197
Lab Guide
GRAB Utility
NOTE: If you are not an EMC employee or do not have physical access to the
equipments, please skip to LAB 2.
Lastly, before leaving the site, try running the EMC Grab utility to gather data and
experiment with the grab output. The grab utility can be sourced from:
ftp://ftp.emc.com/pub/emcgrab
Step
1
Action
Once connected, select either Unix or Windows to download the appropriate
compressed file. For example:
ftp> bin
200 Type set to I.
ftp> get emcgrab_AIX_v3.7_1.tar
After downloading the emcgrab file, uncompress the tar file, using tar. For
example:
tar -xvf emcgrab_AIX_v3.7_1.tar
Run the grab script and save the output. Once the data has been collected,
visit the GS Tools website at: http://toolbox.isus.emc.com/
This site will list other utilities which are useful for gathering data and for
analyzing the output from grab files (e.g. look for the link to the Heat (Host
Environment Analysis Tool) utility under the Analysis Tools menu)
Analyze all data and prepare it for input into the host matrix worksheet for
system planning.
Version 5.5
Page 13 of 197
Lab Guide
Lab Exercise 1
Part 3: Qualification of SAN System Components
Qualification of each host, HBA, software component, switch, and array within a SAN
can be both a tedious and time-consuming task. Leverage any online tools available to
help save time and aid in the qualification process.
Manually qualify your SAN systems by researching each component building towards
and aggregate plan by using the EMC Support Matrix. Available at:
http://www.emc.com/interoperability/matrices/EMCSupportMatrix.pdf OR as a zip:
http://www.emc.com/interoperability/matrices/EMCSupportMatrix.zip
As an alternative you can use e-lab navigator:
http://elabnavigator.emc.com
Version 5.5
Page 14 of 197
Lab Guide
Lab Exercise 1
Part 4: Compile, Document and Publish Results
Using the following spreadsheets, create a version representing the current
configuration and one for your recommended target system upgrades. The second
spreadsheet should list all upgrades and recommendations for the steps in performing
the upgrades. If all work can be done at once, simply remove the steps and proceed
with the following order:
OS upgrade
HBA firmware upgrade
LVM software patch/upgrade
Any other miscellaneous upgrade
Version 5.5
Page 15 of 197
Lab Guide
Status
not started
Version 5.5
Task
Page 16 of 197
Assigned To
Comments
The following document is from the Checklist Worksheet within the EMC Planning and Design Guide workbook. The full
EMC Planning and Design Guide Workbook is available at: http://powerlink.emc.com
Version 5.5
Page 17 of 197
Lab Guide
Lab Guide
IP Configuration
Physical Location
IP Address:
Default Gateway:
Details
Version 5.5
Location
SNMP Server:
SNMP Server IP:
Community String:
Password:
Subnet Mask:
Device Name
Manufacturer
Model Number
Firmware
Mgmt Software version
Serial Number
Cabinet Serial No.
Number of
Blades/Modules
Number of Total Ports
Dial Home Number
Domain
Mode
Page 18 of 197
Site ID XXXXXXX
Not Configured
Not Configured
Not Configured
Not Configured
Switch 1
Site ID XXXXXXX
Not Configured
Not Configured
Not Configured
Not Configured
Switch 2
Site ID XXXXXXX
Not Configured
Not Configured
Not Configured
Not Configured
Switch 3
The following document is from the Hardware Info Worksheet within the EMC Planning and Design Guide workbook. The
full EMC Planning and Design Guide Workbook is available at: http://powerlink.emc.com
Physical Location
Director Cards
Multiprotocol Directors
SA Director Cards
Storage
Cache
General
Version 5.5
Location
Model Number
Serial Number
Device Name
Enginuity Version
Dial Home Number
Total Existing
Configuration
# Drives 36GB
# Drives 73GB
# Drives 146GB
# Drives 181GB
Vacant Drive Bays
Total Raw Disk (GB)
Used Ports
Free Ports
Used Ports
Free Ports
Used Ports
Free Ports
Used Ports
Free Ports
Total DA Cards
Free Slots
Page 19 of 197
Site ID XXXXXXX
8530
8530
Site ID XXXXXXX
Array 2
Array 1
Site ID XXXXXXX
Array 3
Lab Guide
(Continued)
SP B Cache
SP A Cache
CLARiiON Cache
General
Version 5.5
Model Number /
FLARE
Serial Number
SP A Name
SP A IP Address
SP A Subnet Mask
SP A Default Gateway
SP B Name
SP B IP Address
SP B Subnet Mask
SP B Default Gateway
Enforce Fair Access
ClarAlert Tel. Number
Page Size
Low Watermark
High Watermark
Read Cache
Write Cache
Total Cache
Read Cache
Write Cache
Total Cache
Page 20 of 197
Array 1
Array 2
Array 3
Lab Guide
Physical Location
Version 5.5
Location
Storage Data
# of DPEs
# of DAEs
# drives 181GB
# drives 146GB
# drives 73GB
# drives 36GB
Vacant Drive Bays
Page 21 of 197
Site ID XXXXXXX
Array 1
Site ID XXXXXXX
Array 2
Site ID XXXXXXX
Array 3
Lab Guide
Lab Guide
Vendor
Model
OS
Patch
Level
Application
OS Information
Host
Name
Host Identification
Number
of HBA &
Type
Version 5.5
Cluster
HBA
Driver
Page 22 of 197
HBA F/W
HBA Information
Array
Boot
Total
Required
Storage
MultiPath
SYMM
CLI
The following document is from the Hosts Worksheet within the EMC Planning and Design Guide workbook. The full
EMC Planning and Design Guide Workbook is available at: http://powerlink.emc.com
Vendor
Model
OS
Patch
Level
Application
OS Information
Cluster
Host
Name
Host Identification
Version 5.5
Number
of HBA &
Type
HBA
Driver
Array
Boot
Page 23 of 197
HBA F/W
HBA Information
Total
Required
Storage
Multipath
SYMM
CLI
Lab Guide
Lab Guide
The goal of this lab is to configure all SAN switch and directors for
the local environment. The following will be expected:
A. Latest possible firmware installed on all switches and
directors
B. Set all ports to auto-detect/auto-negotiate speed
C. Set all ports for generic fabric use
D. Create aliases for all array host port (FAs)
E. Set domain IDs on each director
Using the instructions in this lab, configure the switches to support
a mixed host SAN environment.
Objectives:
References:
Version 5.5
Page 24 of 197
Lab Guide
Lab Exercise 2
Part 1: M-Series Switch and Director Configuration Procedures
(Connectrix Manager 9)
Using Connectrix Manager, complete the following tasks to configure the switch:
*All steps require that the administrator be logged into the Connectrix Manager Console
Review firmware currently installed and running on the switch/director:
Step Action
1
Login to the switch/director
On the Physical Map, right-click a switch icon and select Properties from the
menu.
Version 5.5
Page 25 of 197
Lab Guide
Set / Check that all ports are set to auto-negotiate/auto-detect link speed
Step Action
1
On the Physical Map, right-click a switch icon and select Element Manager
option
Version 5.5
Page 26 of 197
Lab Guide
From the top most menu bar, select the Configure menu item and select Port.
Check negotiate speed and set ports to either G-port or F-port on the Configure
Ports Window
Version 5.5
Page 27 of 197
Lab Guide
Once changes have been made to a port, click Activate. When the warning
window opens, click OK to accept changes
Version 5.5
Page 28 of 197
Lab Guide
Select from the main top menu, Maintenance then select Set Online State
Version 5.5
Page 29 of 197
Lab Guide
Select the Configure menu from the top menu bar, then select Operating
Parameters
Version 5.5
Page 30 of 197
Lab Guide
Select the Domain tab and change the Preferred Domain ID to a decided upon
value.
Version 5.5
Page 31 of 197
Lab Guide
Select the Configure menu from the top menu bar and select Nicknames
Version 5.5
Page 32 of 197
Lab Guide
Find and select the WWN of the component for which the nickname will be created
Version 5.5
Page 33 of 197
Lab Guide
Lab Exercise 2
Part 2: B-Series Switch Configuration Procedures
In this section configure the B-series switch/director similarly to the M-series environment.
Each of the following configuration steps will be shown via the Brocade WebTools Switch
Explorer web based interface, followed by the CLI procedure. The base requirement for
connecting to the Brocade environment is a host with a supported browser and the latest
required JVM (Java Virtual Machine) installed.
Step Action
1
Review firmware currently installed and running on the switch/director:
From the main GUI window, look for Fabric OS version directly below the hardware
display, in the Switch Information frame.
Main GUI Configuration Window
Set / Check that all ports are set to auto-negotiate/auto-detect link speed
From the main GUI window select any port in the hardware display. This will bring
up the Port Administration window which will have several configuration options:
Port Administration Services Window / Port Configuration Wizard
Version 5.5
Page 34 of 197
Lab Guide
Version 5.5
Page 35 of 197
Lab Guide
From the within the Switch Status area, select the Disable radio button. Next,
click Apply. A prompt will be displayed confirming the change, select OK. Once
the switch is off-line itll be possible to change the Domain ID.
Domain ID Accessible After Switch Off-Line
B. Change the value in the Domain ID box to the pre-determined agreed upon
value. Once the value has been changed, select Apply and follow the
prompt to activate the changes. Once all off-line changes have been made,
bring the switch back on-line by selecting Enable from the Switch Status
area.
CLI command:
switchDisable - Disables the switch.
configure Configure switch-parameters (make sure to disable switch)
Fabric parameters (yes, y, no, n): [no] y Configure Fabric parameters
Domain: (1..239) [1] <#> - Type desired domain id number.
switchEnable Enables the switch.
Version 5.5
Page 36 of 197
Lab Guide
Lab Exercise 2
Part 3: MDS-Series Switch Configuration Procedures
The following procedures are a high-level of how to use the MDS CLI to configure some
switch, port, and zone settings in an MDS environment. As on the other switch platforms, it
is a good idea to take configuration backups and notes before proceeding with any changes
to an existing environment.
The first step in working in the MDS environment should include some investigation of the
current switch configuration and connectivity.
Show the current software
Step Action
1
Check the version and determine via the EMC Support Matrix whether the switch
code needs to be upgraded.
show version
Show version will output all code versions running on all modules. The code
implementation is interested in is both the kickstart and system code.
Version 5.5
Page 37 of 197
Lab Guide
Investigate and view what entries are currently in the fibre channel name server
database.
#Show Fibre Channel Name Server Database
Show fcns database
Version 5.5
Page 38 of 197
Lab Guide
After verifying current configuration and status of the switch, begin configuring it for
connectivity in a fabric environment. First, well open the ports and configure the ports which
have hosts attached for the proper fibre channel SAN connectivity:
Step Action
1
Enter configuration mode, select interfaces to change, open ports, change xmit
speed, etc.
#Enter Terminal Configuration Mode
config t
#Select Interface
interface fc1/1
#Set to not shutdown
no shut
#End Configuration
end
Next, review the changes and make sure that the desired effect has been
committed. Run the command:
#review changes
show port internal info interface fc1/1
Version 5.5
Page 39 of 197
Lab Guide
Copy the running-config to start-up. This ensures that your changes will persist
between reboots/reloads of the switch environment.
#Copy the current configuration to the configuration on startup
copy running-config startup-config
Version 5.5
Page 40 of 197
Lab Guide
Version 5.5
Page 41 of 197
Lab Guide
10
Version 5.5
Page 42 of 197
Lab Guide
Objectives:
References:
Version 5.5
Page 43 of 197
Lab Guide
Lab Exercise 3
Part 1: Array Port Allocation
Host OS
Type
HP-UX
Solaris
Windows
AIX
Array Port 1
Port 2
2cB
15cB
5006048ACCC8BDA1
5006048ACCC8BDAE
15cA
2cA
5006048accc8bd8e
5006048accc8bd81
15cA
2cA
5006048accc8bd8e
5006048accc8bd81
15cA
2cA
5006048accc8bd8e
5006048accc8bd81
Port Port
3
4
Bit
Settings
Volsetaddr
DMX
662
662
662
662
A. For specific director configuration settings, refer to the EMC Support Matrix, available either on
http://powerlink.emc.com or http://www.emc.com/interoperability/matrices/EMCSupportMatrix.zip View array details (E.G. Symmetrix DMX Series), Fibre Bit Settings
Version 5.5
Page 44 of 197
Lab Guide
Lab Exercise 3
Part 2: Install Required Patches
It may be necessary to install vendor updates to the system in order to have it operate
properly in a SAN attached environment. Additionally, the latest patch cluster or
maintenance levels may be required in order for the system to be fully supported in an
EMC SAN environment. Using the data gathered in Lab One, and the qualification that
was performed previously, determine if the system needs to be upgraded. If the system is
deemed to be at an appropriate patch level, skip this step and proceed to installing and
configuring the HBAs.
HP-UX:
Install latest PHKL bundles for both HBAs and the Operating Environment. HP Patches are
available from:
http://support.hp.com
To install PHKL bundles:
swinst l /location/to/depot
Solaris:
Install latest approved/supported patch cluster. Patch clusters are publicly available at:
http://sunsolve.sun.com
To install Sun patch clusters:
./install_cluster nosave
AIX:
Install latest supported maintenance level for the version of AIX being deployed in the
environment. AIX maintenance kits are available from:
http://www.ibm.com/support/
To install AIX maintenance kits:
installp
Windows:
Install the latest Service Pack. MS Service Packs are available from:
http://www.microsoft.com
To install:
Run the installer from the Microsoft web.
Version 5.5
Page 45 of 197
Lab Guide
Lab Exercise 3
Part 3: Install HBA Driver and Firmware
Solaris Emulex LP-9802 / LP-10000
Following these steps, the HBA will be verified, software installed, and configured:
Verify that the HBA is installed in the system
Install the driver
Find the WWN for the HBAs
Check for HBA to switch login
Configure the HBA driver file
For Solaris 10 follow these steps, instructions for version below Solaris 10 can be found in
the appendix ?
Step Action
1
Search for the HBAs installed on the system
prtdiag |grep i lpfc
Version 5.5
Page 46 of 197
Lab Guide
Acquire the latest driver, firmware, and boot code for the Solaris Emulex HBA
A.
B.
C.
D.
E.
F.
G.
Version 5.5
Page 47 of 197
Lab Guide
Version 5.5
Page 48 of 197
##
##
##
##
Lab Guide
The following files are already installed on the system and are
being
used by another package:
/opt <attribute change only>
Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <EMLXemlxu> [y,n,?]
y
Installing Emulex LightPulse Fibre Channel Adapter Utilities (usr)
as <EMLXemlxu>
## Installing part 1 of 1.
[ verifying class <none> ]
Installation of <EMLXemlxu> was successful.
<Cleaning directory>
<emlxu_install complete>
<Execute "emlxu_remove" when ready to uninstall>
DO NOT REBOOT YET!
C. Upgrade firmware:
If the firmware is compressed, extract it
Copy the firmware file to the appropriate directory
/opt/EMLXemlxu/downloads
cp XXXXXX.all /opt/EMLXemlxu/downloads
Version 5.5
Page 49 of 197
Lab Guide
Version 5.5
Page 50 of 197
Lab Guide
E. Once upgrades are complete, reboot the host to have all changes take effect.
To reboot:
/usr/sbin/reboot -- -rv
Once the host has rebooted, check for the availability of the Emulex HBA the WWN
should be found in /var/adm/messages:
cat /var/adm/messages |grep WWN
Version 5.5
Page 51 of 197
Lab Guide
B. View the details for each fcs device configured on the system, note WWNs.
lscfg v l <fcs#>
Version 5.5
Page 52 of 197
Lab Guide
Download the xxxsvcptfs.tar from the site and copy it (by ftp) to the host.
Untar the file and remember the directory where files were extracted. In our case
(/tmp/hba_driver/xxxsvscrptfs.tar)
tar vvf /tmp/hba_driver/xxxsvscrptfs.tar
Version 5.5
Page 53 of 197
Lab Guide
Version 5.5
/tmp/hba_driver
Page 54 of 197
Lab Guide
d. Leave everything else as it is and hit the Enter key to execute. When
prompted for confirmation hit the Enter key again.
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Page 55 of 197
Lab Guide
e. Once the installation completes a report is shown with the status. Make
sure everything installed correctly and press F10 to exit.
Version 5.5
Page 56 of 197
Lab Guide
C. If the driver device files exist, view each driver instance using the fcmsutil
binary. fcmsutil is located in /opt/fcms/bin
/opt/fcms/bin/fcmsutil /dev/td0
Version 5.5
Page 57 of 197
Lab Guide
G. FTP the driver to your host and save it in a location you will remember, in this
case /tmp/hba_driver
3
Version 5.5
Page 58 of 197
Lab Guide
Install Patches
A. Untar the patch file
tar xvf /tmp/hba_driver/patches/ hpux__11.00_XXXXXX.tar
C. Verify that the file has been downloaded correctly using the swlist command.
NOTE: You must specify the complete path of the source depot for the swlist and
swinstall commands.
swlist -d @ /tmp/bundle/depot >
The output should be the following
# Initializing...
# Contacting target "hpdev-64"...
#
# Target:
hpdev-64:/tmp/bundle/depot
#
#
# Bundle(s):
#
BUNDLE
B.11.00
Patch Bundle
Version 5.5
Page 59 of 197
Lab Guide
E. Using the ALT key and arrow navigate to the ACTIONS menu, hit enter and
select INSTALL
F. Wait until the Install Analysis is complete and then select OK, accept any
confirmation and wait for install completion.
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Page 60 of 197
Lab Guide
G. When the installation is complete press Done and when prompted to Reboot
accept.
Install Driver
A. To install the driver on a stand-alone system, run the following command:
swinstall -s /tmp/hba_driver/ FibrChanl-00_XXXXXX.depot
B. Using the ALT key and arrow navigate to the ACTIONS menu, hit enter and
select INSTALL
C. Wait until the Install Analysis is complete and then select OK, accept any
confirmation and wait for install completion
D. When the installation is complete press Done and when prompted to Reboot
accept.
Version 5.5
Page 61 of 197
Lab Guide
C. Choose the Firmware and download it. Download the firmware version
zipped file to the Windows host and unzip it. Create an /emulex directory and
copy the executable file
Version 5.5
Page 62 of 197
Lab Guide
D. Choose the OS type to download the driver from the Resources section on
the right.
E. Download the driver on the FC Port Driver column. Copy the zip file to the
/emulex directory created previously.
Version 5.5
Page 63 of 197
Lab Guide
F. In the left pane of the Computer Management window, click the Device
Manager icon.
G. This step depends on the HBA model and Windows version. If Windows
automatically detects the HBA, you will follow an upgrade procedure,
otherwise you will follow an install procedure:
LP9802DC-E / LP10000-E / LP10000DC-E
Version 5.5
Page 64 of 197
Lab Guide
Note: If you select the wrong <HBA model> from the list, you will
receive an Incompatible Hardware warming message. Select No
to cancel the update and return to the selection windows, and
then select the correct model. When the correct model is
selected, the warning message will not appear.
P. In the next window, click Next.
Q. Click YES to continue the installation.
R. Click Finish to complete the installation.
S. When the system requests that you reboot the system, select NO; then click
Close.
T. When the system again requests that you reboot the system, select NO;
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Page 65 of 197
Lab Guide
Install Firmware
b) Change to the /emulex directory (to which you copied the executable
file) and run the firmware version executable.
c) Follow the instructions to install the firmware.
Version 5.5
Page 66 of 197
Lab Guide
Step Action
1
Verify the HBA is installed and accepted by the system.
To determine whether the HBA is installed and accepted in the Linux system, run
the following commands.
A. Issue the dmesg command
dmesg |grep scsi
Acquire the latest driver for the Linux Emulex HBA. Goto: Emulex Web site. Locate
the appropriate code for the card to be installed and configured.
A. Access http://www.emulex.com/ts/index.jsp
B. From the Emulex home page, select the EMC link
Version 5.5
Page 67 of 197
Lab Guide
Version 5.5
Page 68 of 197
Lab Guide
Objectives:
References:
Version 5.5
Page 69 of 197
Lab Guide
Lab Exercise 4
Part 1: Connectrix Manager Zoning for M-Series
Directors/Switches (Connectrix Manger 9.x)
Following these procedures, implement zones for all hosts in the environment using MSeries Connectrix Manager. Once zones have been created, load the zones to the
appropriate ZoneSet.
Step Action
1
Login to the Connectrix Manager application
2
Right click on the switch and select Zoning
Version 5.5
Page 70 of 197
Lab Guide
At the Product/Ports column expand the switch to find the WWN logged in
Add the WWNs you wish to be members of your zone to the Zones column
Version 5.5
Page 71 of 197
Lab Guide
Once selecting Zones select File then New from the top menu bar within the
Zoning Library window
Move the new zones to the desired Zone Set in Zone Sets column
Version 5.5
Page 72 of 197
10
11
Lab Guide
Version 5.5
Page 73 of 197
Lab Guide
Lab Exercise 4
Part 2: M-Series Connectrix Manager Basic Zoning
Creating a Zone
Step Action
1
Open the browser and access the switch M-series IP-Address (refer to lab
configuration book)
User = Administrator
Password = *********
2
Select your switch on the main screen and click on Configure, Zoning.
Insert a zones name. For example, to create a zone for the host hp3-68, hba0 to
Storage device DMX800 Symm id 187900662, FA 15c Port b use a zone name that
reminds this setup. For instance, create the name hp3-68_hba0_dmx662_15cb
Choose the members WWN (for the hp3-68 the WWN is 50:06:0B:00:00:07:7C:40
) that will be added and select to the zone. (make this step for the other member,
in this case, the Symm DMX800, port 15cB, WWN 50:06:04:8A:CC:C8:BD:AE).
Select your zone to the Zone Set and select Activate.
Version 5.5
Page 74 of 197
Lab Guide
Lab Exercise 4
Part 3: B-Series Web Tools Zoning
In some datacenter / storage environments, B-Series switches and directors are used as
an alternative to M-series products. Detailed here are the steps to create zones, aliases,
and activate new configurations to the switches.
Step Action
1
Create Zones for newly created Configuration and move into Configuration
Open the Zone Administration
window from the main GUI window.
A. Click on the Zone tab on the upper left-hand tab bar.
B. Then, click the Create button to make a new zone.
Version 5.5
Page 75 of 197
Lab Guide
located, click the Add Member > button in the middle of the screen. This
will add the WWNs to the defined zone in the Name box directly above the
Member Selection List.
E. If the WWN is not found, or currently off-line, select to manually add the
WWN by selecting Edit from the top most menu bar then selecting Add
WWN. By performing an Add WWN the WWN will automatically be added
to the currently open zone.
F. Once all required Zones are created, select Zoning Actions from the top
most menu bar then select Save Config Only. This will save the zone
information but not activate any changes to the switch.
Version 5.5
Page 76 of 197
Lab Guide
Once changes have been made to the configuration (zones added or removed),
once again select the Zoning Actions menu from the top most menu, and then
select Save Config Only.
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Page 77 of 197
Lab Guide
Version 5.5
Page 78 of 197
Lab Guide
Lab Exercise 4
Part 4: MDS Switch CLI Zoning Configuration
Next, well configure zoning and all associated configurations for zoning in our MDS
environment. The first thing to continue configuring from the previous lab is the preferred
domain ID for each VSAN. This may not be a tactical step for all environments. It is useful to
give VSANs unique domain IDs since then they can be setup for inter-vsan-routing.
Step Action
1
Preferred domain Ids for VSAN 5, 10:
Run the fcdomain command for each vsan in the environment.
Restart the VSANs if required
config t
fcdomain domain <domain id> preferred vsan <vsan #>
fcdomain restart vsan <vsan #>
Configuring Zoning:
Look for the ports you want to join into a zone together. Eg. AIX WWN to Symm
show fcns database
Version 5.5
Page 79 of 197
Lab Guide
As shown in the above screen, VSAN 20 includes the unix ports, fc1/4, fc1/9, and
fc1/14. This was setup when in the previous lab the ports were included as part of
the VSAN creation.
A. First, configure aliases for the ports, if desired
config t
fcalias name <alias name> vsan <vsan #>
Add the fcalias name, and then add a pwwn to assign to the name. From
this point, zoning can be completed either by fcalias, fcid, pwwn, etc.
member pwwn <WWN>
exit
B. Create your zoning; first create your zoneset, assign it to a particular vsan
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Page 80 of 197
Lab Guide
From within the zoneset submenu, create your zone. This is called creating
the zone inline
zone name <descriptive_zone_name>
Add the members to the zone, in this example, we add by fcalias, since
fcaliases have been configured. Zones can also be constructed by domain
location, fcid, fwwn, pwwn, interface (ports), ip-address, symbolicnodename.
member fcalias <dmx fc alias>
member fcalias <host fc alias>
D. Backup modifications
Before finishing, backup the switch configuration to two locations. The first
location should be local switch startup memory. This allows the
configuration to persist between reboots. Secondly, if possible save the
configuration to another host in the environment. This can be done using
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Page 81 of 197
Lab Guide
Backup the config to another filename on the switch, and then copy the
backup to another location:
copy running-config sw03_2007_03_15.cfg
Finally, capture the output of running-config and save the output on another
host offline. In worst case scenarios, configurations can be re-written from
output of the running-configuration
show running-config
Version 5.5
Page 82 of 197
Lab Guide
Lab Exercise 4
Part 5: Post Zoning Tasks
Once the zones have been created and added to the currently configured and running
ZoneSets, verify the host HBAs have logged into the switch and are online. In some cases,
it maybe required to reboot the server to have the HBA driver restart. Follow these
instructions to reboot different host environments
Solaris:
/usr/sbin/reboot -- -r
The above command performs a reconfiguration reboot. When passing the r option at
reboot, the Solaris kernel will be rebuilt.
HP-UX:
ioscan
insf -e
/usr/sbin/reboot (reboot only if the commands above do not work)
AIX:
emc_cfgmgr or cfgmgr
/usr/sbin/reboot (reboot only if the commands above do not work)
Linux:
modprobe r hba_module
modprobe hba_module
(reboot if the commands above do not work)
Windows:
Start Menu->Shutdown->Restart
Version 5.5
Page 83 of 197
Lab Guide
Objectives:
References:
Version 5.5
Page 84 of 197
Lab Guide
Lab Exercise 5
Part 1: Preamble: The Array Environment Configuration Array
Host Port Allocations
Host OS
Type
HP-UX
Solaris
Windows
AIX
Array Port 1
Port 2
2cB
15cB
5006048ACCC8BDA1
5006048ACCC8BDAE
15cA
2cA
5006048accc8bd8e
5006048accc8bd81
15cA
2cA
5006048accc8bd8e
5006048accc8bd81
15cA
2cA
5006048accc8bd8e
5006048accc8bd81
Port Port
3
4
Bit
Settings
Volsetaddr
DMX
662
662
662
662
Management Environment
In the event there is no access to, or no EMC ControlCenter Management system, install
Solutions Enabler on the newly SAN attached host. Solutions Enabler is available from the
following location:
http://powerlink.emc.com Resources / Tools CS Support Downloads and
Patches Downloads S - Z Solutions Enabler
Additionally, the software is available on the student resource CD in the Solutions Enabler
directory. License keys for the product are in the Solutions Enabler folder, in the file
symapi_licenses.dat
Version 5.5
Page 85 of 197
Lab Guide
Lab Exercise 5
Part 2: Installing Solutions Enabler (SE) - UNIX
Step Action
1
Acquire the software, and copy to the UNIX host:
NOTE: In this example the file has a .tar extension, in other versions it can have
different extensions.
Run the installation script to install Solutions Enabler:
./emc_install.csh
Version 5.5
Page 86 of 197
Lab Guide
Version 5.5
Page 87 of 197
Lab Guide
Next, license the product. Enter a key for each product which will be licensed (see
the symapi_licenses.dat file on the support/resources CD):
/opt/emc/SYMCLI/V6.3.2/bin/symlmf
The product is now installed, licensed, and ready for use. Proceed to the next
section to begin configuring the storage array environment
Version 5.5
Page 88 of 197
Lab Guide
Lab Exercise 5
Part 3: Discovering and Viewing the Storage Environment
Step Action
1
Verify that Solutions Enabler is installed in the environment:
Run symcli with no arguments to see if it is in the path and installed:
symcli
If symcfg discover executes without error, run a list to see what was found:
symcfg list
Version 5.5
Page 89 of 197
Lab Guide
Once Solutions Enabler is installed and licensed, and the array is configured and
verified to be online, begin viewing and configuring array ports
View the Array Port
symcfg sid <symm id> FA ALL list
Version 5.5
Page 90 of 197
Lab Guide
Version 5.5
Page 91 of 197
Lab Guide
Document device selection for hosts in the lab environment (work with instructor
define exact requirements): refer to the masking table on the Config guide
Hostname
symdev #
LUN #
Type
Meta mbrs
Version 5.5
Notes
Page 92 of 197
Lab Guide
Lab Exercise 5
Part 4: Modifying Storage Host Port (FA ports) Configuration
Settings
When adding different host systems to the SAN attached array, it may be necessary to
make changes to the settings/configurations of the host ports. Solutions Enabler or
ControlCenter can make these configuration changes to the array. Make the changes
required, per the EMC Support Matrix, to support the different host environment types in
the lab environment. Configuration changes / modifications with Solutions Enabler are
shown in this lab.
Step Action
1
Setting up two host ports for HP-UX connectivity (Volume Set Addressing)
HP-UX requires volume_set_addressing to be set on the ports in which they will
connect to. VSA mode allows for octal addressing of devices on the HP-UX
designated FA ports.
A. build a symconfigure script file (fa_port_cfg.cmd)on a SAN attached host
(ControlCenter server) or server with Solutions Enabler
Version 5.5
Page 93 of 197
Lab Guide
B. To verify / list available target ids, vbus availability, and lun numbers, issue
the following command per FA port target:
symcfg sync
symcfg -sid 662 -FA 2C -address list
C. Once the changes have completed, verify that all devices are now mapped:
symcfg discover
symdev sid 662 list |more
Version 5.5
Page 94 of 197
solaris_0_78
9
solaris_1_78
9
001-007
001-007
Volume
Numbers
Totals
solaris_1
solaris_0
Host Alias
Storage
Alias
01-007
001-007
SCSI
LUNs
(decimal
)
Version 5.5
001-007
001-007
SCSI
LUNs
(hex)
M2
M2
STD
STD
Type
Quantit
y
Page 95 of 197
Protectio
n
LUN Assignments
Lab Guide
8.43
8.43
Size
(GB)
59.01
59.01
Usable
Storage
(GB)
Assigne
d BCVs
Lab Guide
Objectives:
References:
Version 5.5
Page 96 of 197
Lab Guide
Lab Exercise 6
Preamble : The Array Configuration Array Host Port
Allocations
Host OS Type SP Port 1
HP-UX
Solaris
Windows
AIX
SP Port 2
Port 3
Port 4
CLARiiON
Lower A
Lower B
Upper A
Upper B
Management Environment
CLARiiON management can be performed using Navisphere Manager or Navisphere CLI.
You can install CLI on Unix and/or Windows hosts. Navisphere Manager jar files can be
installed on Windows hosts. Navisphere is available from the following location:
http://powerlink.emc.com -> Home -> Support -> Software Downloads
Additionally, the software is available on the student resource CD in the Navisphere
directory.
Navisphere licenses have already been installed on the array.
Version 5.5
Page 97 of 197
Lab Guide
Lab Exercise 6
Part 1: Installing CLARiiON Procedure Generator
Note: If you are a customer please skip to lab 6.2
Step Action
1
Download latest Procedure Generator from:
http://www.cs.isus.emc.com/csweb2/dgweb/CPG/clarproc.exe
2
Once installation completes, run the CLARiiON Procedure Generator from the
StartPrograms Menu.
Version 5.5
Page 98 of 197
Lab Guide
Version 5.5
Page 99 of 197
Lab Guide
Lab Exercise 6
Part 2: Installing Navisphere
Agent/CLI - UNIX
Step Action
1
Get the file from your Resource CD
2
Version 5.5
Lab Guide
Follow the release notes to install Navisphere Agent/CLI on a platform other than
Solaris.
4
5.
Add Security File, the username and password must already exist
/opt/Navisphere/bin/naviseccli -AddUserSecurity -scope 0 -user claradmin
-password claradmin
Version 5.5
Lab Guide
Verifying connectivity
/opt/Navisphere/bin/naviseccli h <SP IP Address> getcrus
Each SP has its own IP so to verify connectivity, you have to run it against both SP
CLARiiON Data:
IP of SP A: _____________
IP of SP B: _____________
Version 5.5
Lab Guide
Navisphere UI Windows
Step Action
1
Get the content of Navisphere Agent and CLI for Windows from the Resource CD
2
Version 5.5
Lab Guide
C. Do the same with Navisphere CLI. Make sure you install Navisphere
Secure CLI
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Login screen
When you login for the first time, you will notice the storage array objects.
Navisphere Worksheet:
1. What are the objects you see above?
Version 5.5
Lab Guide
Lab Exercise 6
Part 3: Discovering Storage
Next, we will use Navisphere to obtain the storage configuration of the CLARiiON.
Note: These tasks can be performed using the CLI as well as Web UI. We will be using the
CLI for this and consequent labs
Step Action
1
Number of disks in the storage array
/opt/Navisphere/bin/naviseccli -h 10.127.96.128 getdisk | grep "Bus "
Version 5.5
Lab Guide
How many disks are in the array and what are their sizes?
________________________________________________________________
2
Version 5.5
Lab Guide
How many raid groups are in the array and how many disks are in each? Which
disks are they (list using the Bus#_Encl#_slot# convention discussed above)?
__________________________________________________________________
What raid types does the raid group support?
__________________________________________________________________
How many LUNs can be configured in this Raid group?
Number of LUNS
/opt/Navisphere/bin/naviseccli h <SP name> getlun [lun id]
getlun without any arguments lists all the disks. The output is very verbose so using
a pipe to regular expression parser such as grep will print a summary.
Version 5.5
Lab Guide
How many LUNs have been bound on the array? What are their capacities? Which
SP is each LUN bound to?
Storage groups
/opt/Navisphere/bin/naviseccli h <SP name> storagegroup list
Version 5.5
Lab Guide
Cache
/opt/Navisphere/bin/naviseccli h <SP name> getcache
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Objectives:
References:
Version 5.5
Lab Guide
Lab Exercise 7
Part 1: Integrating the Host to an EMC Fibre Channel
Environment - UNIX
Configure HBA Driver & System Specific Files
AIX
To configure an AIX system to connect to an EMC SAN, the emc_odm support fileset must
be installed. The EMC ODM fileset can be be acquired at:
ftp://ftp.emc.com/pub/elab/aix/ODM_DEFINITIONS
Step Action
1
To configure the AIX host for EMC Fabric attach:
Download the correct ODM for the version of AIX being configured. In this
case, acquire the EMC.AIX.5.3.0.0.tar.Z file
Uncompress and untar the source file in /tmp/emc
Install the EMC ODM support fileset
A. Verify first if the ODM has already been installed if it has been installed,
you will see the following (minimum, more filesets for HA):
B. Load ODM
cd /tmp/emc;
cp EMC.AIX.X.X.X.X /usr/sys/inst.images
Version 5.5
Lab Guide
If the host is correctly zoned and connect (logged in) to the SAN, the Symmetrix
VCMDBDEVICE should be visible after this step. Run inq to view devices.
/usr/lpp/EMC/Symmetrix/bin/inq.aix32
After the emc_cfgmgr command completes its run, the AIX host is now configured
for the EMC SAN environment.
NOTE: It is required to run the emc_cfgmgr program whenever devices are presented (Standard
and BCV devices) to an AIX host. Additionally, if volume t/l addresses change, or storage is
remapped to the host, the emc_cfgmgr program should be run.
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Lab Guide
Sun Solaris
The Leadville driver (emlxs) implicitly does persistent port binding, therefore no further
configuration needs to be made at this time.
HP-UX
If the HP-UX server has been properly patched and brought up-to-date, no further software
installation needs to be made at this time.
Linux
If the HBAs BIOS has been properly configured according EMC specifications, no further
software installation needs to be made at this time.
Verify Local System Settings
AIX
Verify that the EMC ODM fileset has been installed:
Lslpp L EMC*
Solaris
Add the following attributes to /etc/system on a Sun System for support / compatibility within
an EMC SAN environment
Run devfsadm to scan for new devices, if it fails, reboot.
devfsadm
reboot -- -r
HP-UX
If the HP-UX server has been properly patched and brought up-to-date, no further software
configuration needs to be made at this time.
Linux
If the HBAs BIOS has been properly configured according EMC specifications, no further
software installation needs to be made at this time.
Windows
If the Windows server has been properly patched and brought up-to-date, no further
software configuration needs to be made at this time.
Version 5.5
Lab Guide
Objectives:
References:
Version 5.5
Lab Guide
Lab Exercise 8
Part 1: Solutions Enabler - Symmetrix
Step Action
1
Initialize the VCMDB (symmaskdb)
symmaskdb sid <symm id> init f newinit.db
Version 5.5
Lab Guide
Setup access. Allow access to a range of devices over an array host port to a
specific host WWN. The devices can be separated by commas or if you want a
range, use a colon (01A2:01AF) . These are symmetrix device IDs, not LUN IDs.
Remember to assign dual path to the devices:
symmask sid <symm id> wwn <WWN> dir <FA> p <port #> add devs <devices
to add>
Since you are assigning dual path to the same devices, accept the alert which
states:
The following devices are already assigned in at least one entry:
Would you like to continue(y/[n])? y
Once all symmask entries have been issued to allow access to devices in the SAN,
issue a refresh command
symmask refresh
Version 5.5
Lab Guide
Version 5.5
Lab Guide
List devices available within the array assigned to a specific host component
symmaskdb sid <symm id> host <wwn> list capacity
10
Backup the last working copy (loaded on the array) of the VCMDBDEVICE
symmaskdb -sid <symm_id> -f sid662_vcmbackup_03192007.vcm backup
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Lab Exercise 8
Part 2: Navisphere CLARiiON
Assigning storage in a CLARiiON has the following components
1. If raid group does not exist, select disks for a raid group. If raid group exists, proceed
to step 3
2. Create raid group
3. Create LUN from the raid group
4. Create storage group
5. Add LUN to the storage group
6. Register the host
7. Connect the host to the storage group
We will be using Navicli to perform these steps:
Action
Step
1
Select disks
Example: Get disks in array with SP ip 10.127.96.128 (use your SP IP for this)
/opt/Navisphere/bin/naviseccli -h 10.127.96.128 getdisk
Disk 1:___________________________
Disk 2:___________________________
Disk 3:___________________________
Disk 4:___________________________
Format for disk list: Bus#_Enclosure#_slot#
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Lab Guide
LUN parameters:
ID: ____________________________________________
Bound to SP: ____________________________________
RG ID: _________________________________________
LUN Raid type: __________________________________
Read cache: Y/N
Write cache: Y/N
Size: ___________________________________________
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Lab Guide
Example: Verify port information about the HBA from the host. Verify that both
HBAs show up.
/opt/Navisphere/bin/naviseccli -h 10.127.96.128 port list hba
Version 5.5
Lab Guide
-connecthost
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Objectives:
References:
Version 5.5
Lab Guide
Lab Exercise 9
Part 1: Multipathing in Solaris
PowerPath on Solaris now includes PowerVolume. This section will describe how to install
both PowerPath and PowerVolume but only how to configure PowerPath in the
environment. The target version of PowerPath is: 5.0.6
Step Action
1
Acquire source package, either via Powerlink or resource CD and ftp it to a location
(/tmp/pp) on your host.
2
Once the package is unpacked from the tar.gz file, install using pkgadd
pkgadd -d .
Version 5.5
Lab Guide
After installation, register the product using the key found in the PowerPath directory
on the resource CD:
empreg install
Version 5.5
Lab Guide
Lab Exercise 9
Part 2: Multipathing in AIX
Setup access to the array and configure volumes/devices to be working on the system first.
Step Action
1
Acquire source package, either via Powerlink or resource CD and ftp it to a location
(/tmp/pp) on your host.
2
Version 5.5
Lab Guide
Version 5.5
Lab Guide
D. Configure the PowerPath devices from within smit, perform the following:
smitty p
Select Devices->PowerPath Disk->Configure All PowerPath Devices
E. After smit completes configuring all PowerPath devices, run the following rc
setup:
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Lab Guide
rc.emcpower start
Version 5.5
Lab Guide
Lab Exercise 9
Part 3: Multipathing in HP-UX
PowerPath on HP-UX now includes PowerVolume. This section will describe only how to
install PowerPath and how to configure PowerPath in the environment. The target version of
PowerPath is: 5.0.6
The details for installing PowerPath in a HP-UX environment can be read in the document,
PowerPath for HP-UX Installation and Administration Guide
Step Action
1
Acquire source package, either via Powerlink or resource CD and FTP it to you
host
2
Once the package is uncompressed from the tar.gz file, install using swinstall
swinstall x autoreboot=true x mount_all_filesystems=false s
/tmp/pp/EMCPower.HP.X.X.X.tar EMCpower
After the swinstall process completes, the host will reboot. After reboot,
administrative tasks must be performed before PowerPath will operate properly.
License PowerPath. Using the registration key found on the resource CD, license
the product by running the following command:
emcpreg install
Once installation completes, configure PowerPath and display the paths available
to storage. Run the following commands:
powermt config
powermt display
powermt display dev=all
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Lab Exercise 9
Part 4: Multipathing in Windows
Step Action
1
Acquire source package, either via ftp or resource CD the resource CD is in
Windows format so it is possible to mount the CD directly on the Windows server
2
Run the package which was copied to the directory by double-clicking on the
package
Follow the Install Shield installer prompts to install the package. Accept or change
defaults for installation location (most likely and recommended is to accept defaults)
Version 5.5
Lab Guide
Click Add to have the entered key registered with the product configuration
Testing PowerPath
After installing PowerPath, verify that all devices are operating correctly and that the host
sees the devices which were planned for. If additional configuration work or troubleshooting
is required, this is the time in which to address any issues before proceeding.
Version 5.5
Lab Guide
Objectives:
References:
The goal of this lab is to create basic LVM objects using the newly
assigned EMC storage presented to the host. Volumes may be
created with either the native LVM package or via third party
package such as Veritas VxVM.
Version 5.5
Lab Guide
Lab Exercise 10
Part 1: LVM Implementation in HP-UX
From a telnet or SSH window, connect to a host. We will performing all operations using
sam
Step Action
1
Confirm that the host sees the new devices
ioscan fnC disk
Version 5.5
Lab Guide
Hit tab to go to the menu, navigate to Actions, press enter and select Create
Version 5.5
Lab Guide
Edit new volume group properties by navigating to them and hitting Enter
Version 5.5
Lab Guide
Disks: Hit enter on Select disks, navigate to desired disks and select by pressing
Enter
Version 5.5
10.
Lab Guide
11
Tab to Ok and press Enter to complete the creation of the Volume Group, when
the new volume group is created go to File and Exit.
Version 5.5
Lab Guide
12
Now select Logical Volume from the Menu and press Enter
13
Version 5.5
Lab Guide
14
On the Create New Logical Volumes popup set the Volume Group to myvg
15
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Version 5.5
Lab Guide
E. Exit sam
16
Version 5.5
Lab Guide
Lab Exercise 10
Part 2: HP-UX Volumes with PV-Links Multipathing
PV Links is a multipathing feature that ships with HP-UX, and that is tightly integrated with
the native Logical Volume Manager. PV Links thus serves as a native alternative to
PowerPath on HP-UX hosts only. PV Links provides failover capability, but cannot
dynamically balance load over multiple active paths to a LUN. This lab exercise will
familiarize you with deploying HP-UX volumes with PV Links providing the multipathing.
Step Action
1
Ensure that PowerPath is not installed on the HP-UX system.
swlist | grep i power
Confirm that all disks are visible via two paths to the HP-UX system.
The recommended path configuration for PV Links implementation is: one primary
path and one alternative (or secondary) path to each LUN. The primary and
alternative paths should use distinct HBAs and Symmetrix FA ports. For a
CLARiiON-attach, the primary and alternative paths should use one port each on
different SPs e.g. SPA-0 and SPB-0.
Run ioscan to get a listing of all available disks on the system. The example here is
specific to a Symmetrix-attach.
ioscan fnC disk | more
Version 5.5
Lab Guide
The ioscan listing should be similar to the above. Here there are two controllers
i.e. HBAs - c24 and c28, and Symmetrix LUNs visible via both controllers.
Use symcfg to verify that each LUN is accessible via two different FA ports:
symcfg sid <###> -FA <FA and Port> address list
Version 5.5
Lab Guide
In our example above, we see that our four Symmetrix LUNs are accessible via two
FA ports, 16B and 03A.
Next, run the symmaskdb command to verify that each HBA can access all LUNs via
its own distinct FA port:
symmaskdb sid <###> list database
Version 5.5
Lab Guide
Note that the Identifier column shows the WWPN (ending in 74e6 and 74d6) of
the HBA connected to each of the two FA ports.
4
Check FA port settings with the symcfg command for each FA port. For PV Links, in
addition to the V-bit (Volume Set Addressing), the C-bit (Common Serial Number)
should also be enabled:
symcfg sid <symm id> SA <fa> v list | grep Common
Version 5.5
Lab Guide
After the symconfigure commit step, verify that the new FA port settings are correct
using symcfg.
6
Make a directory and the device file named group for the new volume group that will
contain the multipathed devices.
mkdir /dev/my_vg
Next, use the mknod command to create the group device file for the volume group.
For major device number, specify the value 64. For minor device number, use
0xNN0000 where NN is in the range 00 through 09. The screenshot below shows the
procedure.
The output of ls l /dev/*/group shows that the minor device number 0x000000
is already in use for the volume group vg00. So for my_vg, we use the number
0x010000:
ls l /dev/*/group
mknod /dev/my_vg/group c 64 0x0<##>0000
Version 5.5
Lab Guide
Initialize the primary path device only, for each LUN, using pvcreate.
pvcreate /dev/rdsk/c#t#d#
Note that each controller can provide a primary path for some LUNs, and a
secondary path for all other LUNs. This enables static load-balancing by spreading
the traffic to multiple LUNs over both available paths.
In the example above, the c24 path is the desired primary for LUN 1, while the c28
path is the desired primary for LUN 2.
8
Add the primary paths to the volume group using vgcreate. Then specify the
alternate paths to the volume group using vgextend :
vgcreate /dev/my_vg
/dev/dsk/c24t0d1
/dev/dsk/c28t0d2
vgextend /dev/my_vg
/dev/dsk/c28t0d1
/dev/dsk/c24t0d2
Version 5.5
Lab Guide
Verify the presence of both primary and Alternate Link for each physical volume
in the volume group. This information is at the tail-end of the listing from:
vgdisplay v my_vg
10
Build logical volumes within the volume group my_vg, and filesystems on the logical
volumes. This is done in the same way as in the previous lab (10.1).
11
Switch the primary and secondary paths for one physical volume, using the
pvchange command:
pvchange s /dev/dsk/c28t0d1
Rerun vgdisplay v my_vg, and verify that the primary and alternate devices have
changed for this physical volume.
vgdisplay v my_vg
Version 5.5
Lab Guide
Lab Exercise 10
Part 3: LVM Implementation on AIX
From a telnet or SSH window, connect to a host. We will be performing all operations
using smit. You are free to perform these operations using the command line.
Step Action
1
Confirm that all disks are visible to the system
A. Using inq
inq
B. Using smit
Devices -> List Devices -> List All Defined devices
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Create a filesystem
Version 5.5
Lab Guide
Objectives:
Group A:
A. unmap and unassign all volumes from server A1-SUN1
B. Map assign meta device to A1-SUN1
Group B:
A. Map and assign two meta volumes to host A1-NT1
B. Map and assign 1 meta volume to host A2-SUN3
Group C:
A. Move 10 volumes from A3-SUN1 to A3-NT
(unmap/unassign from A3-SUN1, map and assign to A3NT)
Group D:
A. Zone host A4-SUN2 to Symm, disconnect from CLARiiON,
map and assign 2 meta volumes
Final, extra credit, Create a new Meta:
A. Using Solutions Enabler, create a single concatenated
meta volume. The meta volume should consist of at least
5 hyper volumes
B. Additionally, create a second meta device for use as a
boot volume for the host environment. Plan on making the
volume at least 8.43GB in size
C. Configure the host to access the meta volumes perform
all necessary SAN configurations to allow the host to
access the newly created meta
D. Create filesystem, volume group, etc. for this new volume
E. Write test data to the volume
Version 5.5
Lab Guide
References:
Version 5.5
Lab Guide
Step Action
1
Removing device access permissions
The first step in changing storage configurations for a host(s) is to remove access
(lun masking) to any host which might be able to access the device. This is
performed via SYMCLI in a Symmetrix environment and navicli in a CLARiiON
environment.
Remove access to devices 001 005 for host with HBA 50060b0000077f12 on FA
15cB
A. Output the current contents of the VCMDB to a file
symmaskdb -sid <symm id> list database >/tmp/vcmdb.list
C. View /parse the file listing which WWNs are to be removed (or list HBAs on
server using symmask)
grep <WWN> /tmp/vcmdb.list
symmask list hba v
D. Remove devices which will be presented to host WWNs via the SAN
symmask -sid <symm id>
devs <DEV RANGE>
E. Alternatively, remove the WWN from the VCMDB thus removing any access
priveledges
symmask sid <symm id> delete wwn <WWN>
***:* 01B:CB
2-Way Mir
N/Grp'd
(m) RW
***:* 16B:CE
2-Way Mir
N/Grp'd
(m) RW
Version 5.5
Lab Guide
***:* 01A:CE
2-Way Mir
N/Grp'd
(m) RW
By looking in the 10th column listing, it is show that the device is set to RW (write
enabled) and that it is currently not grouped (8th column listing)
B. Create Symmetrix device group
symdg create unmap_grp -type REGULAR
unmap_grp
Group Type
Device Group in GNS
Valid
Symmetrix ID
Group Creation Time
Vendor ID
Application ID
Number
Number
Number
Number
Number
Number
Number
of
of
of
of
of
of
of
:
:
:
:
:
:
:
REGULAR
No
Yes
000187900084
Fri Jul 30 12:46:53 2004
EMC Corp
SYMCLI
3
0
0
0
0
0
0
Looking at the Sts column, at the end of the output, see that the devices are listed
as RW.
E. Perform the write_disable on the group, thus write disabling all devices in
the group
symld -g unmap_grp write_disable
Write Disable ALL devices in group 'unmap_grp' on
ALL Directors, ALL Ports (y/[n]) ? y
Version 5.5
Lab Guide
F. Once the write disable is complete, list the device group and check for WD
in the STS field
symdg show unmap_grp
Group Name:
unmap_grp
Group Type
Device Group in GNS
Valid
Symmetrix ID
Group Creation Time
Vendor ID
Application ID
Number
Number
Number
Number
Number
Number
Number
of
of
of
of
of
of
of
:
:
:
:
:
:
:
REGULAR
No
Yes
000187900084
Fri Jul 30 12:46:53 2004
EMC Corp
SYMCLI
4
0
0
0
0
0
0
G. Once the write disable operations are complete, the Symmetrix device
group can be destroyed since it is no longer needed/required
symdg -force delete unmap_grp
Version 5.5
Lab Guide
Once the symconfigure unmap command file has been constructed, verify that
symconfigure is operating and then run the script:
symconfigure -sid <symm id> verify
symconfigure sid <symm id> commit f unmap.cmd
List available free address space on each target FA for the host
symcfg sid <symm id> list FA <FA> p <port #> address
Build a map command file with the devices and required target/lun addresses.
Listed here is a sample map file:
map_aix.cmd:
map
dev 0057 to dir 15d:0 target=0, lun=002;
map
dev 0058 to dir 15d:0 target=0, lun=003;
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Lab Guide
map
dev 0059 to dir 15d:0 target=0, lun=004;
map
dev 005a to dir 15d:0 target=0, lun=005;
Once the map file is complete, run the script through symconfigure:
symconfigure sid <symm id>
f <filename> commit
Once the mapping is complete, again list the devices in the array (run symcfg
discover first) to make sure all is as configured (expected).
After verification, provide access to the newly assigned storage with symmask.
List available free address space on each target FA for the host
symcfg sid <symm id>
Version 5.5
Lab Guide
List all devices within the array, comparing devices with what is assigned in
the VCMDB
symdev sid <symm id> list
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Compile a list of available devices for building the two required meta devices
List of devices for Meta Head Dev 1:
Version 5.5
Lab Guide
If all configurations check, and the changes are ready to be committed, run the
symconfigure command with the commit option.
symconfigure sid <symm id> f <filename> commit
Once the command finishes successfully, you should be able to view the newly
created devices with symdev
symdev sid <symm id> show <dev> |more
Version 5.5
Lab Guide
Test the syntax of the command file by issuing a preview before attempting a
commit.
symconfigure sid <symm id> f <filename> preview
Lastly, these newly created devices must be accessible and configured to be seen
on the hosts. As done in previous labs, perform the required volume masking and
host configuration in order to have the host access the new meta volumes.
Copyright 2007 EMC Corporation. All Rights Reserved.
Version 5.5
Lab Guide
Use the following simple worksheet to note the final meta configuration in the
environment:
Host Name
Ibmdev1-76
Meta Device
(head)
005b
FA Port
Mapping
15D:0
Version 5.5
Meta Members
003,005,006:013
Lab Guide
Objectives:
References:
The goal of this lab is to reclaim all storage and SAN ports for the
services in the environment.
NOTE: This section includes an example of one host type, HP-UX. The functions of
removing a host from a SAN and unconfiguring a volume are generic and should be
applicable to most host platforms.
Version 5.5
Lab Guide
Step Action
1
Unmount/Unconfigure Volumes From the Host
A. First, determine which volumes are mounted to the host. This can be
accomplished with either CLI or the system administration tool, sam.
Run, bdf to determine what is currently mounted as a block device. This
command can be substituted by df k
bdf
C. Verify that the volume has been unmounted by running bdf again
bdf
D. Remove any entries for /dev/vg00/lvol5 (/myfs) from the local filesystems
file (/etc/fstab or /etc/vfstab)
Version 5.5
Lab Guide
Once PowerPath has been removed, it maybe required to reboot the host (HPUX). Once remove/reboot is completed, check that PowerPath has been
removed:
HP-UX: swlist
AIX: lslpp ad |grep i EMCpower
Solaris: pkginfo |grep i EMCpower
3
|grep i ecc
Version 5.5
Lab Guide
Version 5.5
Lab Guide
D. Remove the volume group. From SAM, select the volume group, then
choose to remove.
Version 5.5
Lab Guide
Version 5.5
Lab Guide
C. View /parse the file listing which WWNs are to be removed (or list HBAs on
server using symmask)
grep <WWN> /tmp/<backup_file>
symmask list hba v
D. Remove devices which will be presented to host WWNs via the SAN
symmask -sid <symm id> -wwn <WWN> -dir <fa> -p <port #> remove devs
<device range>
E. Alternatively, remove the WWN from the VCMDB thus removing any access
privileges
symmask sid <symm id> delete wwn <WWN>
Version 5.5
Lab Guide
Once the command file is written, execute the commands in the file by running the
file against symconfigure:
symconfigure sid <symm id> f <file> commit
Unmapping devices
Once devices have been dissolved and access revoked, it is appropriate to unmap
from the array host ports (Symm FA ports)..
Use the Solutions Enabler symconfigure command to unmap devices from array
host ports.
<cmd file>
unmap
dev ### from dir 16C:1;
unmap
dev 4c9 from dir 16C:1;
After writing the command file, run the commands through symconfigure:
symconfigure sid <symm id> f <file> commit
Remove zones
Using either B-Series WebTools or M-Series Connectrix Manager, remove zones
from the active zone Sets.
Version 5.5
Lab Guide
Objectives:
References:
Version 5.5
Lab Guide
Acquire the latest driver, firmware, and boot code for the Solaris Emulex HBA
J.
K.
L.
M.
N.
O.
P.
Q.
Version 5.5
Lab Guide
Uncompress Emulex code and install driver, and Emulex HBA Anywhere Utility
F. Change to the /var/tmp/emulex directory (to which you copied the Driver
and Applications kit) and untar the kit:
cd /emulex
tar xvf Solaris-xxx.tar
Version 5.5
Lab Guide
J. Upgrade firmware:
Copy the firmware file to the appropriate directory /usr/sbin/lpfc
cp XXXXXX.all /usr/sbin/lpfc
Version 5.5
Lab Guide
L. Once upgrades are complete, reboot the host to have all changes take effect.
To reboot:
/usr/sbin/reboot -- -rv
Once the host has rebooted, check for the availability of the Emulex HBA the WWN
should be found in /var/adm/messages:
grep lpfc* /var/adm/messages |more
Version 5.5
Lab Guide
Step Action
1
Setting up lpfc.conf:
A. Setup persistent binding for the Emulex HBAs must be done for both the
lpfc.conf and sd.conf files. Use the /usr/sbin/lpfc/lputil binary to
setup persistent binding in the lpfc.conf file:
1
2
3
4
5
6
/usr/sbin/lpfc/lputil
Select: 5 persistent bindings
Note: Array port WWNs will only be accessible/seen from within lputil once zones have been
created between the host HBA and array FA ports. Setup persistent binding with the lputil after
zoning has been created.
Version 5.5
Lab Guide
B. Following the procedures found on page 27, in EMC Fibre Channel with
Emulex Host Bus Adapters in the Solaris Environment. Configure the
HBAs in the Solaris host. This document is found in the TOOLS/Solaris
directory of the resource CD
Edit the /kernel/drv/lpfc.conf to contain the following values:
log-verbose = 0x10
log-only = 1
fcp-bind-WWNN = lputil tool to setup
automap = 2
fcp-on = 1
lun-queue-depth = 20
tgt-queue-depth = Symmetrix = 512 | CLARiiON CX = 512
no-device-delay = 0
xmt-que-size = 256
scan-down = (for FC-SW) 0
linkdown-tmo = 60
nodev-holdio = 0
nodev-tmo = 60
num-iocbs = 2048
topology = (FC-SW) 2
Setting up /kernel/drv/sd.conf:
Modify /kernel/drv/sd.conf to have the following definitions for each target ID that
needs to support multiple LUNs:
name=sd parent=lpfc target=X lun=Y hba=lpfcZ;
Where:
X is the target number that corresponds to the fcp_bind_WWNID lpfcZtX.
This target number is displayed in the lpfc.conf file
Y is the LUN number that corresponds to Symmetrix volume mapping on the
Symmetrix port WWN. Make sure this lun value is decimal and not hex.
Z is the lpfc driver instance number that corresponds to the
fcp_bind_WWN_ID lpfcZtX
A sample /kernel/drv/sd.conf file will look like:
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Appendix 2: Commands
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Version 5.5
Lab Guide
:: POWERPATH COMMANDS ::
powermt manage powerpath environment
powercf configure powerpath devices
emcpreg manage powerpath license registration
emcpupgrade convert powerpath configuration files
:: INQ ::
INQ
Inq h
list options and syntax
Inq hba
list hba wwn
Inq btl
display Bus Target and Lun
Inq show_vol
display Symmetrix Volume Number.
Inq winvol
show Windows filesystems
Inq dev ## page0 Raw unformatted data on a single device
Inq -clariion
display CLARiiON device information
:: SOLUTIONS ENABLER COMMANDS ::
Symcfg Commands
symcfg discover discover the storage environment
symcfg list -list local and remote symmetrixes
symcfg list clariion -list clariions
symcfg -dir all list - To get configuration and status information about all directors
symcfg list v lists whether the Symmetrix director has device masking turned on
symcfg list FA all list lists all fibre directors in a Symmetrix system
symcfg list -dir all -address -sid 6196 - identify the address information for devices
symcfg list -dir all -address -available -sid 6196 -returns the next available LUN address
symcfg list -lockn all - list of visible Symm exclusive locks
symcfg -sid 098712341357 -lockn 15 release - release a lock on a Symmetrix array.
Symconfigure Commands
symconfigure sid <sid> -f <filename> preview checks file to make sure it is ok to exe
symconfigure sid <sid> -f <filename> commit makes the changes from file
symconfigure sid <sid> -f <filename> prepare
Symdev Commands
symdev list -list all devices on symm
symdev sa p list -list devices maped to that one FA
symdev list bcv or rdf1 -list all bcv or rdf1 volumes
symdev list noport
- list devices not mapped to any FE ports
symdev list -clariion
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Version 5.5
Lab Guide
Version 5.5
Lab Guide
format
Disk partitioning and maintenance program
sysdef
Device Listing
prtvtoc
Disk Label
metadevadm
Checks device ID configuration.
metainit
Configures volumes.
metastat
Displays the status of volumes or hot spare pools.
metaset
Version 5.5
Lab Guide
Version 5.5