Upload
yogesh-nit
View
122
Download
1
Embed Size (px)
DESCRIPTION
i
Citation preview
Use of this material to deliver training without prior written permission from HP is prohibited.
Accelerated SAN Essentials
UC434S F.00
Lab guide
Use of this material to deliver training without prior written permission from HP is prohibited.
Lab guide
Accelerated SAN Essentials
UC434S F.00
Copyright 2010 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
This is an HP copyrighted work that may not be reproduced without the written permission of HP. You may not use these materials to deliver training to any person outside of your organization without the written permission of HP.
Microsoft, Windows, Windows XP, and Windows Vista are U.S. registered trademarks of Microsoft Corporation.
UNIX is a registered trademark of The Open Group.
Export Compliance Agreement
Export Requirements. You may not export or re-export products subject to this agreement in violation of any applicable laws or regulations.
Without limiting the generality of the foregoing, products subject to this agreement may not be exported, re-exported, otherwise transferred to or within (or to a national or resident of) countries under U.S. economic embargo and/or sanction including the following countries:
Cuba, Iran, North Korea, Sudan and Syria.
This list is subject to change.
In addition, products subject to this agreement may not be exported, re-exported, or otherwise transferred to persons or entities listed on the U.S. Department of Commerce Denied Persons List; U.S. Department of Commerce Entity List (15 CFR 744, Supplement 4); U.S. Treasury Department Designated/Blocked Nationals exclusion list; or U.S. State Department Debarred Parties List; or to parties directly or indirectly involved in the development or production of nuclear, chemical, or biological weapons, missiles, rocket systems, or unmanned air vehicles as specified in the U.S. Export Administration Regulations (15 CFR 744); or to parties directly or indirectly involved in the financing, commission or support of terrorist activities.
By accepting this agreement you confirm that you are not located in (or a national or resident of) any country under U.S. embargo or sanction; not identified on any U.S. Department of Commerce Denied Persons List, Entity List, US State Department Debarred Parties List or Treasury Department Designated Nationals exclusion list; not directly or indirectly involved in the development or production of nuclear, chemical, biological weapons, missiles, rocket systems, or unmanned air vehicles as specified in the U.S. Export Administration Regulations (15 CFR 744), and not directly or indirectly involved in the financing, commission or support of terrorist activities.
Printed in USA
Accelerated SAN EssentialsLab guide December 2010
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. i
Contents
Module 1 Lab 1: Fabric Documentation Objective..................................................................................................... L1-1 Requirements ............................................................................................... L1-1 Fabric documentation.................................................................................... L1-2
Topology diagram HPVL ......................................................................... L1-2 Topology Diagram For Your Environment................................................... L1-3 Host documentation example ................................................................. L1-4 Array documentation example................................................................ L1-7 Switch documentation example ............................................................ L1-10
Module 3 Lab 1: Brocade switch exploration Objectives .................................................................................................L3.1-1 Requirements .............................................................................................L3.1-1 Connecting to a fabric switch ...................................................................... L3.1-2 Using Web Tools ....................................................................................... L3.1-2
Logging into the fabric switch using Web Tools ....................................... L3.1-2 Tasks Pane ......................................................................................... L3.1-5 Port status and statistics ........................................................................ L3.1-7 Switch Admin window ......................................................................... L3.1-8 Performance Monitor ........................................................................... L3.1-9 Accessing the switch using the Telnet ....................................................L3.1-10 Name Server..................................................................................... L3.1-11 Zone Administration ...........................................................................L3.1-12 Logging into a fabric switch using Telnet ...............................................L3.1-13
Basic switch commands............................................................................. L3.1-14 Viewing port status .............................................................................L3.1-16 Switch enable/disable procedures .......................................................L3.1-17 Disabling/enabling a port ..................................................................L3.1-19
Setting the switch Domain ID...................................................................... L3.1-21 Backing up system configuration settings .....................................................L3.1-22
Module 3 Lab 2: Cisco switch management - simulation Objectives ................................................................................................L3.2-1 Requirements ............................................................................................L3.2-1 Installation and operation of the simulator ....................................................L3.2-2
Accelerated SAN Essentials
ii 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Module 4 Lab 1a: Installing and using the SANsurfer utility for QLOGIC HBAs in Windows 2008
Objectives .............................................................................................. L4.1a-1 Requirements .......................................................................................... L4.1a-1
Module 4 Lab 1b: Windows HBA Emulex information and configuration (optional)
Objectives .............................................................................................. L4.1b-1 Requirements .......................................................................................... L4.1b-1 Installing the SANsurfer HBA configuration utility......................................... L4.1b-2
Module 4 Lab 2: HP-UX HBA information and configuration Objectives ................................................................................................L4.2-1 Requirements ............................................................................................L4.2-1
Module 5 Lab 1: Installing MSA2324fc MPIO Objectives .................................................................................................L5.1-1 Prerequisites...............................................................................................L5.1-1
Installing the Microsoft Multi-path management software (MPIO) .............. L5.1-2
Module 5 Lab 2: Configuring the MSA2324fc Objectives ................................................................................................L5.2-1 Prerequisites..............................................................................................L5.2-1
Setting the IP address of the MSA2324fc............................................... L5.2-2 Launching the Storage Management Utility............................................ L5.2-4 Configuring the date and time ............................................................. L5.2-5 Configuring the host ports ................................................................... L5.2-6 Deleting Volumes ............................................................................... L5.2-7 Creating Vdisks ................................................................................. L5.2-8 Creating Volumes from Vdisks.............................................................L5.2-10 Mapping a Volume to a Host.............................................................. L5.2-11 Preparing the New Drive in Windows Disk Management ....................... L5.2-13 Configuring MSA2324fc volumes for HP-UX.......................................... L5.2-16
Module 5 Lab 3: Multi-Path Management Objectives ................................................................................................L5.3-1 Requirements ............................................................................................L5.3-1
Accessing MPIO Windows 2008......................................................... L5.3-2
Module 6 Lab 1: Fabric Zoning Objectives .................................................................................................L6.1-1 Requirements .............................................................................................L6.1-1 Domain/port zoning.................................................................................. L6.1-2
The effect of the zoning on the topology................................................. L6.1-3
Contents
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. iii
Adding to a configuration .................................................................... L6.1-3 Zoning using Web Tools ...................................................................... L6.1-4 Create a configuration using WWN zoning ........................................... L6.1-6 Create a configuration using both port and WWN zoning....................... L6.1-7 Clearing the zoning configurations........................................................ L6.1-7
Final zoning Important!............................................................................ L6.1-8
Module 6 Lab 2: Merging B-Series Fabrics Objective..................................................................................................L6.2-1 Requirements ............................................................................................L6.2-1 Merging B-series fabrics .............................................................................L6.2-2
Connecting fabrics running different zoning configurations...................... L6.2-2 Merging two fabrics using the configUpload and configDownload commands ........................................................................................ L6.2-2 Merging two fabrics using the configUpload and configDownload commands ........................................................................................ L6.2-3 Using configDownload to download the combined zoning configuration to the two fabrics ........................................................................................ L6.2-6 Splitting the fabric .............................................................................. L6.2-7
Module 8 Lab 1: iSCSI Objectives ...................................................................................................L8-1 Centralized management console installation.................................................. L8-2
Objective: ............................................................................................ L8-2 Management groups, clusters, and volumes .................................................... L8-6
Objective: ............................................................................................ L8-6 Mounting the volume ................................................................................... L8-8
Objective: ............................................................................................ L8-8 Configure the iSCSI initiator ................................................................. L8-10
Module 11 Lab 1: Data Center Fabric Manager - DCFM System Requirements .................................................................................... L11-1
Installing Enterprise trial on a Windows system .........................................L11-1 Setting up discovery ..............................................................................L11-7 Creating Users for DCFM..................................................................... L11-12
Module 12 Lab 1: Fabric security Objectives ..................................................................................................L12-1 Requirements ..............................................................................................L12-1 Configuring ports ....................................................................................... L12-2
Port types ............................................................................................ L12-2 Viewing the port configuration ............................................................... L12-3
Persistent port disable.................................................................................. L12-4 Configuring a port name ............................................................................. L12-5 Deny E-port................................................................................................ L12-6
Accelerated SAN Essentials
iv 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Connection Control Policies.......................................................................... L12-8 Creating a New User Accounts.............................................................L12-13
Module 13 Lab 1: MSA2324fc Snapshot Management Objectives ................................................................................................. L13-1 Prerequisites............................................................................................... L13-1
Creating a snapshot ............................................................................. L13-2 Create Data for the Snapshot ................................................................ L13-3 To create a snapshot ............................................................................ L13-3 To schedule a create snapshot task......................................................... L13-5 Presenting a Snapshot .......................................................................... L13-6 Resetting a snapshot............................................................................. L13-7 To schedule a reset snapshot task ........................................................... L13-8 Deleting a snapshot.............................................................................. L13-9
Module 14 Lab 1: B-series Trunking Objective................................................................................................... L14-1 Requirements ............................................................................................. L14-1 Enabling and disabling trunking on switches.................................................. L14-2
Enabling trunking................................................................................. L14-2 Displaying switch information ................................................................ L14-4
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-1
Fabric Documentation Module 1 Lab 1
Objective This is a working lab that will be used to record information, gathered through the week. By the end of the course you will have sufficient documentation to allow you to reference all your connected SAN hosts, targets and fabric switches.
Requirements Before beginning this lab, it is assumed that:
You have SAN hosts, disk targets and switches to document.
You will not complete this lab entirely before continuing to the next module. However you should make every effort to return to it when missing information becomes available to you.
Note: This is a working lab that will be used to record information, gathered through the week. By the end of the course you will have sufficient documentation to allow you to reference all your connected SAN hosts, targets and fabric switches.
Accelerated SAN Essentials
L1-2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Fabric documentation One of the most important aspects in SAN support is clear and current documentation of the environment. In this exercise you will complete a cut-down version of the documentation required for a production SAN. Documentation should be considered an organic entity continually evolving and updating. Remember in a support situation your documentation will assist you and your support co-workers problem solve more efficiently and effectively.
Topology diagram HPVL
Fabric Documentation
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-3
Topology Diagram For Your Environment
Accelerated SAN Essentials
L1-4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Host documentation example Example Host Name BL20- 362 BL20- 363
IP address 1 192.168.136.212 192.168.136.213
IP address 2
ILO/MP IP 192.168.136.220 192.168.136.221
HBA 0 Node WWN 20:00:00:00:c9:4d:33:9c 20:00:00:00:c9:4d:24:dc
Port WWN 10:00:00:00:c9:4d:33:9c 10:00:00:00:c9:4d:24:dc
HBA 1 Node WWN 20:00:00:00:c9:4d:33:9d 20:00:00:00:c9:4d:24:dd
Port WWN 10:00:00:00:c9:4d:33:9d 10:00:00:00:c9:4d:24:ddFabric A Switch name EdgeA1 EdgeA1
Domain,Port 2,4 2,5
AD member None None
Zone member BL20- 362Zone BL20- 363Zone, BackupZoneFabric B Switch name EdgeB1 EdgeB1
Domain,Port 5,4 5,5
AD member AD1 AD1Zone member BL20- 362Zone BL20- 363Zone, BackupZone
In the above example the fields have been completed for two host systems connected to two fabric switches. Zoning and Admin Domain information has been included along with switch name and domain ID & port information.
1. Use the tables in the following pages to document similar details for your SAN hosts. You may need to return to this document later in the class to complete all the data fields.
Fabric Documentation
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-5
Host Name
IP address 1
IP address 2
ILO/MP IP
HBA 0 Node WWN
Port WWN
HBA 1 Node WWN
Port WWN
Fabric A Switch name
Domain,Port
AD member
Zone member
Fabric B Switch name
Domain,Port
AD member
Zone member
Host Documentation
Host Name
IP address 1
IP address 2
ILO/MP IP
HBA 0 Node WWN
Port WWN
HBA 1 Node WWN
Port WWN
Fabric A Switch name
Domain,Port
AD member
Zone member
Fabric B Switch name
Domain,Port
AD member
Zone member
Host Documentation
Accelerated SAN Essentials
L1-6 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Host Name
IP address 1
IP address 2
ILO/MP IP
HBA 0 Node WWN
Port WWN
HBA 1 Node WWN
Port WWN
Fabric A Switch name
Domain,Port
AD member
Zone member
Fabric B Switch name
Domain,Port
AD member
Zone member
Host Documentation
Host Name
IP address 1
IP address 2
ILO/MP IP
HBA 0 Node WWN
Port WWN
HBA 1 Node WWN
Port WWN
Fabric A Switch name
Domain,Port
AD member
Zone member
Fabric B Switch name
Domain,Port
AD member
Zone member
Host Documentation
Fabric Documentation
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-7
Array documentation example
Array name
Firmware FC Port Speed 2Gb/ s
Node WWN
PortWWN
PortWWN
PortWWN
PortWWN
LUN name/No. Capacity RAID level Presented to (host) No. Paths
Logical drive 1 12GB 1+0 BL20- 363 2
Logical drive 2 8GB RAID5 BL20- 363 2
Management host name/IP BL20- 362
Array Documentation
MSA1500 CS SGA050502F
50:0 5:0 8:b3:00:90:f2:80
50:0 5:0 8:b3:00:90:f2:81
50:0 5:0 8:b3:00:90:f2:89
7.00
In the above example the fields have been completed for a single disk array. You may not be able to complete the entire form immediately but bear it in mind while you progress through SAN discovery and lab exercises during this class.
1. Complete the following array documentation forms for the array(s) in your fabric. As you create additional (or remove) logical drives during your class, remember to add/remove them to the list.
Accelerated SAN Essentials
L1-8 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Array name
Firmware FC Port Speed
Node WWN
PortWWN
PortWWN
PortWWN
PortWWN
LUN name/No. Capacity RAID level Presented to (host) No. Paths
Management host name/IP
Array Documentation
Fabric Documentation
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-9
Array name
Firmware FC Port Speed
Node WWN
PortWWN
PortWWN
PortWWN
PortWWN
LUN name/No. Capacity RAID level Presented to (host) No. Paths
Management host name/IP
Array Documentation
Accelerated SAN Essentials
L1-10 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Switch documentation example Domain ID 2F/W version 6.1.0c
Role Subordinate
# Speed Port type
0 N4 E port
1 N4 E port
2 N4 E port
3 N4 E port
4 N2 F port
5 N2 F port
6 N2 F port
7 N2 F port
8
9
10
11
12
13
14
15
10:0 0:00:05:1e:03:5c:b6
Trunk port, master 2
10:0 0:00:00:c9:4d:33:9d
10:0 0:00:00:c9:4d:24:dd
50:06:0b:00 :00:29:e5:aa
50:05:08:b3:0 0:90:f2:81
Switch nameIP addressSwitch WWNSerial numberActive zone set mastercfg
Switch port detail
EdgeA1192.168.136.2810:00:0 0:05:1e:03:62:57
10:0 0:00:05:1e:03:ab:d8
Trunk port, master 0
Device WWPN
USB640W819
In the above example the fields have been completed for a single fabric switch. You may not be able to complete the entire form immediately but bear it in mind while you progress through SAN discovery during this class.
2. Complete the following switch documentation forms for the switches in your fabric. Additional forms have been included to capture the details of ALL fabric switches in your environment.
Fabric Documentation
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-11
Domain IDF/W version
Role
# Speed Port type
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Switch WWNSerial numberActive zone set
Device WWPN
Fabric Switch Documentation
Switch nameIP address
Switch port detail
Accelerated SAN Essentials
L1-12 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Domain IDF/W version
Role
# Speed Port type
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Switch WWNSerial numberActive zone set
Device WWPN
Fabric Switch Documentation
Switch nameIP address
Switch port detail
Fabric Documentation
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-13
Domain IDF/W version
Role
# Speed Port type
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Switch WWNSerial numberActive zone set
Device WWPN
Fabric Switch Documentation
Switch nameIP address
Switch port detail
Accelerated SAN Essentials
L1-14 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Domain IDF/W version
Role
# Speed Port type
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Switch WWNSerial numberActive zone set
Device WWPN
Fabric Switch Documentation
Switch nameIP address
Switch port detail
Fabric Documentation
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L1-15
Domain IDF/W version
Role
# Speed Port type
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Switch WWNSerial numberActive zone set
Device WWPN
Fabric Switch Documentation
Switch nameIP address
Switch port detail
Accelerated SAN Essentials
L1-16 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Domain IDF/W version
Role
# Speed Port type
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Switch WWNSerial numberActive zone set
Device WWPN
Fabric Switch Documentation
Switch nameIP address
Switch port detail
You have successfully completed this lab.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 1
Brocade switch exploration Module 3 Lab 1
Objectives
After completing this lab, students will be able to:
Connect to a fabric switch using Web Tools and the CLI
Verify the status of the switch by using specific commands
Record relevant information to Fabric Documentation
Requirements To complete this lab, you need:
A HP B-Series fabric switch with firmware version 6.2.x or later
A client (server or workstation) with Telnet
Network connectivity between the client workstation and the fabric switches
The IP addresses of the fabric switches
ISL Ports between the ports should be enabled
The login name and password of the admin account for the switches
Accelerated SAN Essentials
L3.1 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Connecting to a fabric switch Using Web Tools Logging into the fabric switch using Web Tools
Web Tools is a graphical user interface (GUI) that enables administrators to monitor and manage single or small fabrics, switches, and ports from a standard workstation. It is an optionally licensed product that runs on the Brocade Fabric OS.
Note Java 1.6 (minimum) must be installed on the workstation that you will use to connect to the Web Tools interface.
Remember to record any information collected in this lab in to your Fabric Documentation.
1. From your Windows workstation or server, launch the web browser. In the Address field, enter the IP address of the switch: http://
Note Web Tools also supports the HTTPS protocol, if that protocol is enabled for the switch.
After your workstation downloads some Java files from the switch you should enter your login credentials at the Upfront Login prompt:
When the Web Tools windows launches you may see an Internet Explorer page behind the user interface. This browser window is now of no use to you so you may ignore it or close it down. Doing so will not affect your management interface.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 3
The Web Tools interface will launch:
Web Tools
Note If you are using the HP Virtual Lab the switches can also be accessed via the quick links option, account and passwords are displayed to the left. Or by Hovering the mouse over Web Interface and you will see the display change to show the username:password. Click to launch Web Tools.
Once the web tools are launched a Switch View is displayed which contains an active depiction of the switch, providing details on its Status, temp, power, fan and port status. Below there are two tabs which provide access for Switch Events and Switch Information details.
Accelerated SAN Essentials
L3.1 4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
The Switch Explorer View is the first web page that displays when you connect to a switch. The Switch Explorer includes:
Fabric Tree Displays a navigation menu of icons for all switches in the fabric.
Manage Provides easy access to fabric-level administration tasks.
Monitor Access to Name Server and other monitoring tools
Switch View Display real-time information about the selected switch.
Switch Information page Displays a synopsis of useful information about the selected switch.
Port Status information Displays real-time information about the port including status lights, and in-use lights.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 5
Tasks Pane
The Fabric Tree displays a list of all the switches in the fabric. When you select a switch from this view it is displayed in the Switch View. You can display switches in the Fabric Tree list by Name, IP address, or worldwide name (WWN).
Accelerated SAN Essentials
L3.1 6 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Switch graphic
The Switch View graphic is an interactive display of the particular switch you have selected from the Fabric Tree. The Web Tools interface replicates in real-time the switch you have selected. The displays in Web Tools correspond to the front of the actual switch and its various switch and port LEDs.
Ports that are in use are displayed as well as unused ports. You can click a port in this window to open a dialog box that displays information about that port. If you only wish to see detail of a specific port then you can right click the port to enter a context-sensitive menu:
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 7
Port status and statistics To view port status information, throughput statistics and sfp data you should double-click the port that you are interested in and the Port Administration window will appear:
The Port Administration window has a Basic and Advanced mode. These modes not only allow more/less configuration options, they also operate to display more/less context data within each selected option. For example, the additional information displayed for SFP in Advanced mode:
Accelerated SAN Essentials
L3.1 8 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
What is the SFP wavelength of the port that you are interrogating? (this information can be found in the advanced section of the SFP tab you will need to use Show Advanced Mode to access it)
_______________________________________________________________________
What do you think that the units are?
_______________________________________________________________________
Switch Admin window
Click the Switch Admin link in the Manage section of the Tasks pane to access the switch administration functions. The tabs in the resulting window may be license dependant. For example:
Switch parameter configuration
Network configuration
User management
Routing options
Firmware Download
License and feature management
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 9
Performance Monitor
Use the Performance Monitor button to graphically display throughput (megabytes per second) for each port and for the entire switch.
Note: Several features previously available in Web Tools have now migrated to the brocade Professional Management tool.
Accelerated SAN Essentials
L3.1 10 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Accessing the switch using the Telnet Use the Telnet button from the Switch View to access the switch using Telnet. You must have administrative privileges to access the Telnet option. Telnet must also be enabled on your switch.
1. Launch Web Tools.
2. From the Fabric Tree, select the desired switch. The Switch View displays.
3. Click the Telnet/SSH Client link within the Tasks pane or select it from the Tools menu.
4. You will be presented with the following dialog box:
5. You may enter a path to your preferred Telnet or SSH client on the local machine
or click OK. You will need to OK the following error message to launch the local machine default Telnet client if you have not indicated an alternative path.
6. Enter a username and password.
7. Enter the exit command to close the Telnet session. You will be returning to the command line interface later in this lab exercise.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 11
Name Server
The Name Server Table View provides the name server entries listed in the Simple Name Server database. This includes all name server entries for the fabric, not only those that are situated in the local domain. Each row in the table represents an N-Port connection to the fabric. E-Ports are not listed in the Name Server.
Note: to view all available data use the bottom scroll bar to display all the name sever information
Accelerated SAN Essentials
L3.1 12 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Zone Administration
On older switches a Zoning license is required, with the introduction of firmware 6.1 and above zoning is no longer required to have a license. To configure zoning you require administrative/zoning privileges to access the Zone Administration view. If a switch or device is added or removed from the network, it is necessary to save the changes and re-launch the Zone Administration view for the changes to take effect. You will return to Zoning in a later lab exercise.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 13
Logging into a fabric switch using Telnet To perform the initial login into a fabric switch:
1. Open a Telnet connection to one of the fabric switches from your Windows workstation or open a Telnet session from your HP-UX server. The IP addresses of the switches should have been provided to you. Consult your instructor to obtain the IP addresses of the switches if they have not already been provided for you.
From a command prompt, enter: # Telnet
The login prompt is displayed if the Telnet connection successfully found the switch on the network.
2. Enter the user ID admin at the login prompt. Press Enter.
3. Enter the admin password. Press Enter.
4. Verify that the login was successful. A prompt is displayed showing the switch name and user ID to which you are logged on with.
You are now logged on to the switch.
Accelerated SAN Essentials
L3.1 14 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Basic switch commands You can view information about the switch and port status.
As you saw in a previous exercise, the Switch Explorer in Web Tools displays basic switch information, such as name, status, Fabric OS version, domain ID, IP address, WWN, and current zone configuration. To display information about the switch and port status using the CLI:
1. Using a Telnet connection, enter the switchshow command at the command line. This command displays a switch summary and a port summary.
The following example displays the switchshow command.
Record the information provided by the switchshow command.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 15
2. What is the switch role?
.................................................................................................................
3. What is the switch Domain ID?
.................................................................................................................
4. Are there any active zoning configurations?
.................................................................................................................
Accelerated SAN Essentials
L3.1 16 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Viewing port status This command displays port status information.
1. Using a Telnet connection, enter the portshow command at the command line. This command displays a summary of a specified port. switch:admin>portshow 4
2. What is the WWN of the device connected to this port?
.................................................................................................................
3. The same information can be viewed using Web Tools. Return to your Web Tools session. From the main page, in the top left pane, click the graphical representation of port 4. Leave the current window open.
Note Ensure Advanced Mode and Device details are selected.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 17
Switch enable/disable procedures The following section describes how to disable and enable a switch.
Disabling and enabling a switch To disable a switch:
1. From the Web Tools interface click the Switch Admin link within Tasks or choose Switch Admin from the Manage menu.
2. The default tab shown is the Switch tab. From this tab, in the Switch Status section, change the radio button to Disable. Click Apply.
All Fibre Channel ports on the switch are taken offline. If the switch was part of a fabric, the fabric reconfigures.
The switch must be disabled before making configuration changes (using configure or configDefault) or before running many diagnostic tests. All commands that require the switch to be disabled send an error if invoked while the switch is enabled.
The switch does not need to be disabled before rebooting or powering off.
As each port is disabled, the front panel LED changes to a slow flashing yellow.
Accelerated SAN Essentials
L3.1 18 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
3. In the Switch Status section, change the radio button to Enable. Click Apply.
All Fibre Channel ports that passed the POST test are enabled. If the switch was part of a fabric, it rejoins the fabric. At this point in time any ports that had previously been disabled will come back online.
Note: Ports that have been persistently disabled will not be re-enabled.
As each port is enabled, the front panel LED changes to green for online ports, black for disconnected ports, or yellow for uninitialized ports.
4. Leave the current window open.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 19
Disabling/enabling a port To disable a port, follow these steps:
1. From the Switch View image of the switch in Web Tools, right click the port that you wish to interrogate and select Port Admin from the resulting menu.
Ports in the Port Administration window appear listed in the FC Ports Explorer pane to the left. When the General tab is selected in the body of the window control buttons are visible. Port online options include Enable, Disable, Persistent Enable and Persistent Disable. Functions not available appear greyed.
2. To disable a specific port, select the appropriate port in the FC Ports Explorer pane and click the Disable button in the window main body. Click Yes when asked to confirm.
If the port is connected to another switch, the fabric may reconfigure. If the port is connected to a port in a Node, that port will no longer be available to the fabric.
The front panel LED of a disabled port flashes yellow with a two second cycle.
3. Leave the Web Tools session open.
4. Using a Telnet session, enter the portdisable command using the following syntax: switch:admin>portdisable portnumber
Specify the port number that you want to disable.
5. Verify that the port has been disabled using switchshow: switch:admin>switchshow
6. Further verify that the port is disabled by using portshow: switch:admin>portshow portnumber
Notice that the portState value shows Offline.
To enable a port, follow these steps:
7. From Telnet, enter the portenable command at the command line, using the following syntax: switch:admin>portenable portnumber
If the port is connected to another switch, the fabric may reconfigure. If the port is connected to one or more devices, these devices become available to the fabric.
The front panel LED of an enabled and online port is green.
8. Verify that the port has been enabled using switchshow: switch:admin>switchshow
Accelerated SAN Essentials
L3.1 20 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
9. Return to the Prot Administration window and select the port that you disabled previously and click Enable in the main body of the window. Click Yes when asked to confirm.
10. Close the window to complete this task.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 21
Setting the switch Domain ID The Domain ID, as it applies to B-Series switches, is a unique number between 1 and 239 that identifies the switch to others in the fabric.
To configure the Domain ID:
1. Using Web Tools, from the Switch Admin window, click the Switch tab (visible in both Basic and Advanced modes). Notice that the Domain ID field is grayed out. The switch must be disabled to configure the Domain ID.
2. In the Switch Status section, select the Disable radio button. Click Apply and then click Yes to confirm.
3. Enter a unique number between 1 and 239, best practice is to use the last octet of the switches ip address. Click Apply Yes.
4. Enable the switch. Click Apply Yes
5. You may verify that the Domain ID has changed by using the switchShow command at the command prompt.
Accelerated SAN Essentials
L3.1 22 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Backing up system configuration settings
! Important HP strongly recommends saving the configuration after the initial configuration changes and periodically thereafter.
To back up the system configuration, you must use:
FTP when connecting to Windows or UNIX machines
Use these steps to upload a backup copy of the configuration settings to a host computer using Web Tools:
You may need to install IIS and the ftp service if you wish to use your Windows host to perform this task, if using the hpvl this task as already been performed for you.
Note the Username; password and Ip address that are to be used for saving the switch configuration are reference used to access your ftp server.
Using Web Tools, from the Switch Admin window of your first switch, click the Configure tab. If you do not see the Configure tab then you may need to switch to Advanced mode.
6. Click the Upload/Download sub-tab.
7. Click the Config Upload to Host radio button.
8. Enter the user name, password, file name (e.g. config.txt) and host IP information. Click Apply, and then Yes when prompted Do you want to proceed?
You can monitor the progress by looking at the Upload/Download Progress bar on the Upload/Download sub-tab.
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 23
The uploaded file can be viewed in the following location:
C:\Users\Administrator
Use wordpad to open the document for easier viewing.
Accelerated SAN Essentials
L3.1 24 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Using CLI to back up your configuration
You can also use the command line interface (CLI) to back up your configuration. Use these steps to upload a backup copy of the configuration settings to a host computer using CLI:
1. Your instructor will provide you with the host location of where the FTP service is running. The instructor will also provide you with a user name and password.
NOTE Your HP-UX host is running the ftp daemon already. If you feel comfortable doing so then you may use the unix host for this upload. If you wish to use the Windows host for this task then you may need to install the ftp service using the following steps:
Navigate to Add/Remove Programs and select the Add/Remove windows components button to the left of the window.
In the Windows component wizard double click the application server item. In the dialog box that opens double click the Internet Information Services (IIS) item. Then check the tick box for File Transfer Protocol (FTP) Service (you will see other boxes will be auto-selected also).
Click OK twice and then choose Next to install the chosen items.
During the install you may be prompted to provide the location of an i386 directory. If you are using the hpvl then you will find it at: C:\i386 or your instructor will be able to give you its location.
Click Finish and close any open windows when the installation is complete.
N.B. You will need to change the default permissions for the FTP site to allow write access.
2. Connect to your switch if you are not already. At the command line enter the following command: # configupload
3. When prompted, provide the IP address, the user name, file name, protocol, and password.
4. The following graphic shows an example of the configuration file generated when viewed in WordPad..
Brocade switch exploration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.1 25
You have completed this lab.
Accelerated SAN Essentials
L3.1 26 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L3.2 1
Cisco switch management simulation Module 3 Lab 2
Objectives
After completing this lab students will be able to:
Install Fabric Manager and Device Manager
Configure a VSAN
Configure Port Channels
Configure Zoning
Upgrade switch firmware
Requirements To complete this lab you need:
A Windows host system
Cisco Simulation installation files (your instructor will provide these for you or show you where to obtain them)
Accelerated SAN Essentials
L3.2 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Installation and operation of the simulator 1. Double click setup.exe and follow the instructions on the screen. Accept all
defaults.
2. When installed double click the icon on your desktop to launch the simulator. You may work through all five of the labs sequentially. Dont forget that you can review the objectives of each lab by selecting Lab Guide PDF from the Help menu.
The rest of this lab will be completed WITHIN the simulation.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.1a 1
Installing and using the SANsurfer utility for QLOGIC HBAs in Windows 2008
Module 4 Lab 1a
Objectives
After completing this lab, you should be able to:
Install the qlogic SANsurfer utility
Access the graphical interface
Inspect and modify the default HBA settings
Create a persistent binding to a remote target.
Requirements To complete this lab you will need:
A Windows 2008 host system with Qlogic Host Bus Adapters (HBAs)
Note if you do not have Qlogic HBAs in your server do not perform this lab
.
Accelerated SAN Essentials
L4.1a 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Installing the SANsurfer HBA configuration utility If you are using the hpvl you do not need to install the software, this task has already been performed for you and a short cut has been provided on the desktop to run this configuration software. Skip this section of the lab if SANsurfer and proceed to Login and Management.
Installation If you arfe not using the hpvl environment ask your instructor fro the location of the Qlogic SANsurfer software. Locate and double click the SANsurfer installation file:.
1. If the firewall requests that you confirm the run command then do so and follow the first steps by clicking Next.
2. Select the SANsurfer FC HBA Manager option indicated above (you will only need this selection for the following lab) and then choose Next.
3. The next installation step will prompt you to select the installation path accept the default and choose Next.
Installing and using the SANsurfer utility for QLOGIC HBAs in Windows 2008
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.1a 3
4. Install the application shortcuts in the Current Users Profile and click Next.
5. Choose Next again at the next step to accept the creation of the Desktop Icon and then click Install at the summary screen.
6. Do NOT select the tick box shown above. Doing so will enable the Qlogic failover configuration you do not want this. Choose Next.
7. Click Done at the final screen and you will have successfully installed the utility.
Accelerated SAN Essentials
L4.1a 4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Login and Management 1. Launch the SANsurfer utility by double clicking the SANsurfer icon on the
servers desktop
2. In order to begin HBA management you first need to Connect and select
localhost or your desired alternative hostname from the list.
Select localhost and click Connect
3. Start general configuration wizard by selecting Yes
Installing and using the SANsurfer utility for QLOGIC HBAs in Windows 2008
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.1a 5
4. Select the first HBA
And click Next
5. View the HBA Port Information and click Next
6. Set the HBA Port Connection Settings to Point to Point and click Next
7. On the Target Persistent Binding leave all selections unchecked and click
Next
8. On the Confirm Changes page click Next
9. Enter password of config click OK
10. Click Next and OK to configure another HBA?
Accelerated SAN Essentials
L4.1a 6 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
11. Configure the second HBA to Point to Point, following the previous steps if required.
12. In the navigation pane to the left of the window you should see the HBA ports for the host that you have connected to and, upon selection of one of those ports, to the right you should see port properties (see diagram below) Select one of the ports in the navigation pane and then click the Information tab to display some of the port properties. What is the Port Name (WWN) of this port?
______________________________________________________________ What is the Port ID? _____________________________________________ What is the Actual Connection Mode? _______________________________ What is the Actual Data Rate?______________________________________
Port and target status icons
Icon indicates failed port or connection down
Installing and using the SANsurfer utility for QLOGIC HBAs in Windows 2008
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.1a 7
Icon indicates LUN or target device offline
Icon indicates LUN or target device online
13. Select either Port0 or Port1 in the navigation pane and click the Target List tab, the image below shows an example:
How do the entries in the Port ID column relate to your zoning if its enabled on the FC switch?
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
Which service in the fabric (i.e. on the FC switch) can help you to relate the 24 bit fabric address (or Port ID) to the Port WWN a node?
__________________________________________________________________
14. Select either Port0 or Port1 in the navigation pane and click the Monitoring tab. You will see a statistics charts for your HBA port similar to the one shown below:
Accelerated SAN Essentials
L4.1a 8 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
15. Select the Set Rate box at the bottom of the window.
Type 10 in the Sampling Rate box and click OK
Type 10 in the Sampling Rate box and click OK
You should now find that the Start button is greyed out and the chart will automatically refresh. At this moment in time there may not be much information displayed due to the inactivity of environment,
Select either Port0 or Port1 in the navigation pane and click the Parameters tab.
Click the Connection Options drop-down list. What options are displayed?
Installing and using the SANsurfer utility for QLOGIC HBAs in Windows 2008
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.1a 9
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
Under what circumstances would you want to check the Enable HBA Port BIOS box?
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
Select either Port0 or Port1 in the navigation pane and click the Link Status tab.
The content page shows each visible (i.e. within the HBA ports zone) storage port WWN.
List the column headings on this page:
1. ____________________________________________________________
2. ____________________________________________________________
3. ____________________________________________________________
4. ____________________________________________________________
5. ____________________________________________________________
Close SANsurfer and look at another method of collecting information regarding the installed HBAs.
From the desktop launch the SANsurfer FC HBA CLI
Accelerated SAN Essentials
L4.1a 10 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Enter option 2 and record your HBA Information an example is shown below:
1: WWPN: _________________________________________________________________________
2: WWPN: _________________________________________________________________________
You have now finished this lab.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.1b 1
Windows HBA Emulex information and configuration (optional)
Module 4 Lab 1b
Objectives
After completing this lab, students will be able to:
View HBA information for your Windows host
Use the Emulex HBAnywhere utility
Add Host information to a Fabric Documentation
Note this lab cannot be completed if using the hpvl if in doubt which HBA cards are in your windows server please ask your instructor.
Requirements To complete this lab you need:
A Windows host system with Emulex HBAs or a blade with Emulex mezzanine cards
Fibre Channel switch to connect them to
Emulex software installation files (your instructor can provide these for you)
Note if you do not have Emulex cards in your windows servers do not attempt this lab
Accelerated SAN Essentials
L4.1b 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Installation and use of Emulex HBAnywhere
1. Double click the setupapps.exe file in the HBAanywhere folder. If you are using the hpvl then you will find it at: Z:\ HBAnywhere (your instructor will direct you to it if you cannot find it).
2. Select Run from the display prompt.
3. Click Next.
4. Select Strictly Local Management
5. Finish
6. Start All Programs Emulex HBAnyWhere Utility
Windows HBA Emulex information and configuration (optional)
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.1b 3
7. From the General tab view the entry for your local HBAs. You will see the Port WWN and the Node WWN.
Document the Node Wide Name and the Port World Wide Name for each Host Bus Adaptor below:
Node World Wide Name__________________________________________________
Port World Wide Name___________________________________________________
Node World Wide Name__________________________________________________
Port World Wide Name___________________________________________________
8. To the right of the navigation window there are the main tabs these are used for configuring your HBA and gaining feedback on what it has discovered in the fabric
9. Select the Adapter details tab. Record the following:
Accelerated SAN Essentials
L4.1b 4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Symbolic Name _______________________________________________
Hardware Version _____________________________________________
Serial Number ________________________________________________
Discovered Ports_______________________________________________
Port FC ID ______________________________________________
Port Type _______________________________________________
Select the Target Mapping tab. Document the information that you see:
WWPN WWNN D_ID SCSI ID
This information will assist you later so ensure that you document it accurately.
Note that these Mappings are automatically updated you may disable this Automapping function or change the bind type at a later stage.
Are there any Persistent Bindings active?
_________________________________
When are persistent bindings most likely to be used? ______________________________________________________________________
10. Review the Driver Parameters tab. Scroll down to the bottom of the list of parameters and record the value and description for the Topology entry: (it will help if you click it once to select it in the list)
______________________________________________________________________
You have completed this lab.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.2 1
HP-UX HBA information and configuration Module 4 Lab 2
Objectives After completing this lab, students will be able to:
View HBA information for your HP-UX host
Requirements To complete this lab you need:
A HP-UX host system with Agilent HBAs
Fibre Channel switch to connect them to
Accelerated SAN Essentials
L4.2 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
HBA information FCMSUTIL
The fcmsutil command is a diagnostic tool to be used for the TACHYON TL A5158A and TACHYON XL2 A6795A Fibre Channel Host Bus Adapters. This command provides the ability to perform Fibre Channel Test and Echo functionality, read the card's registers, etc. This command requires the use of a device file to indicate the interface over which the requested command needs to be performed.
You will first need to determine how many HBAs there are in your system and what type they are.
Remember also to record information gathered in to your fabric Documnetation.
1. To do this use the ioscan command in the following format
Ioscan fnCfc
You will see output resembling that below:
# ioscan fnCfc
2. Now that you know the device file names of your HBAs you can run the fcmsutil command thus:
fcmsutil /dev/fcd0
HP-UX HBA information and configuration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.2 3
3. Run the command for both (or all) of your HBAs and document their Node World Wide Name and Port World Wide Name below
fcmsutil /dev/fcd0
WWNN__________________________________________________________________
WWPN__________________________________________________________________
fcmsutil /dev/fcd1
WWNN__________________________________________________________________
WWPN__________________________________________________________________
You will need this information later so ensure that you document it accurately
4. Document also the speed of connection for each HBA port and its topology
/dev/fcd0
Link speed_______________________________________________________
Topology________________________________________________________________
Given the Topology, is it an N or an NL port? __________________
/dev/fcd1
Link speed_______________________________________________________
Topology________________________________________________________________
Given the Topology, is it an N or an NL port? __________________
Accelerated SAN Essentials
L4.2 4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
5. Run the following command to query the Name Server:
fcmsutil /dev/fcdx ns_query_ports (where x corresponds to the HBA device file)
Record your results below:
/dev/fcd0 /dev/fcd1
1
2
3
4
5
6
7
8
9
10
HP-UX HBA information and configuration
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L4.2 5
6. Use the get remote all switch (e.g. fcmsutil /dev/fcdX get remote all) to gather information on remote disk targets. [For more information about the other switches and options for this command type: fcmsutil]
Example output:
Record the Target Port World Wide Name and the Target Node World Wide Name values for each target device that you can see:
Target 1
WWNN_________________________________________________________________
WWPN__________________________________________________________________
Target 2
WWNN_________________________________________________________________
WWPN__________________________________________________________________
How might this information help you when you configure your zoning?
____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
Accelerated SAN Essentials
L4.2 6 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
You have completed this lab.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.1 1
Installing MSA2324fc MPIO Module 5 Lab 1
Objectives After completing this lab, you should be able to:
Install the Microsoft MPIO framework and multi-path DSM for Windows 2008 R2
Prerequisites One MSA2324fc for your group
Two PCI-Express class servers with Windows Server 2008 installed
Two single or one dual port Fibre channel HBA installed in the server
4 2m FC cables (these may or may not be connected already)
Latest PSP drivers will be pre-installed
Accelerated SAN Essentials
L5.1 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Installing the Microsoft Multi-path management software (MPIO)
! Important MPIO software is required in any configuration in which a single host has more than one data path connection to the external storage array. Without MPIO software installed, the multiple paths to the array would cause ghost drives to appear in the disk management utility. This would also lead to not being able to format or mount logical disks. Once MPIO software is installed, it should not be removed unless only one data path exists between the host server and the external storage array.
1. Logon to your windows server and open a command prompt window and run the following command:
ocsetup Mulipathio /norestart
mpclaim n I -a
2. type in mpclaim e so can see the effects of the MPIO before and after implementation.
3. Reboot the server.
Once the MPIO DSM is installed, no further configuration is required; however, after initial installation, use Windows Server Device Manager to check that the MPIO DSM has been installed correctly.
4. Once the system has rebooted, logon on to the system
5. open a new command prompt window
6. Reenter the command mpclaim e and view the results, how do the results from the mpclaim command differ in the before and after the reboot?
Installing MSA2324fc MPIO
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.1 3
..
7. Right click Computer on the desktop and select manage from the new
pop up window.
8. Expand the Diagnostic field and select Device Manager
9. To the right in the Device Manager box expand the Disk drives section and select one of the HP MSA2324fc Multi-Path Disk Device right click and select properties.
10. From the new window select the MPIO tab
11. Select the MPIO policy to Round Robin With Subset.
Accelerated SAN Essentials
L5.1 4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
12. Later you will be setting MPIO policies for the new disks added to your
configuration from the MSA2324 fc Storage Array.
13. Install MPIO on to the second windows 2008 R2 server.
When you complete the software installation for the second server, you have completed this portion of the lab and are ready to move on to configuring the MSA2324fc.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 1
Configuring the MSA2324fc Module 5 Lab 2
Objectives Completion of this lab will depend on the MSA2000 storage solution which has been provided.
After completing this lab, you should be able to:
Set and/or verify the IP address assigned to your MSA2324fc
Launch the MSA2324 Storage Management Utility
Create a RAID 5 Vdisk
Create six volumes (logical drives) within the Vdisks
Assign volumes to attached host servers
Discover volumes and format for use
Prerequisites Two PCI-E capable servers running Windows 2000/2003 and two HBAs
One HP-UX system and two HBAs
An MSA2012fc with at least six hard drives
Fibre channel cabling between the MSA2324 and each host server
MSA2012fc support software installed (from the previous lab)
Accelerated SAN Essentials
L5.2 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Setting the IP address of the MSA2324fc Management and monitoring of the MSA2000 array controller is performed through a web server located on the MSA2000 controller. This web server is named the Storage Management Utility or SMU for short. In order to access the SMU for the first time, an IP address must be configured for each of the array controllers.
Note: If you are using the hpvl an IP addresses have already been assigned to the controllers, proceed to step 4.
A mini-db9 serial cable is supplied with the MSA2324fc this needs to be connected to the back of the top array controller and the other end to a host server or laptop.
Note: If using the hpvl this task has already been performed for you.
1. Start and configure a terminal emulator such as HyperTerminal or VT100, using the following display settings:
Terminal Emulation Mode: VT100 or ANSI (for color support)
Font: Terminal
Columns: 80
Connector: Com 1 (typically)
Baud Rate: 115 200
Data Bits: 8
Parity: None
Stop bits: 1
Flow control: None
Click OK to continue.
2. Press Enter a few times. You should see a # show up in the terminal display.
3. If you are using the hpvl launch the telnet session from the quick links page. When prompted enter a user name of manage and a password of !manage
4. Enter the command SHOW NETWORK-PARAMETERS and press Enter. You should get a display back that looks something like this:
Configuring the MSA2324fc
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 3
5. Record the IP address shown on your screen for both Controller A and Controller B. You will use these in a web browser to manage the MSA2324fc.
6. Controller A
7. Controller B
Accelerated SAN Essentials
L5.2 4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Launching the Storage Management Utility 1. Open a web browser on your server. In the address field, type in the IP
address of one of the controllers.
Note: if using the hpvl a quick link is provided to launch the web page for the MSA2324fc controllers if desired.
Note
These are the default login credentials for the MSA2000 Controllers.
Username: manage
Password: !manage
The MSA2324fc has a choice of languages and these are:
English, Spanish, French, German, Italian, Japanese, Dutch, Chinese-simplified, Chinese-traditional, Korean.
Configuring the MSA2324fc
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 5
2. Enter the default username and password to see a Status Summary page.
Configuring the date and time
! Important Setting the date and time is an important step. The date/time stamps will be used to track system events in the onboard event log (such as knowing exactly when a drive failed).
3. From the top menu select Configuration System Settings Data, Time
4. From here the system date and time values can be set, or an NTP can be configured for automatically updating the date and time.
Accelerated SAN Essentials
L5.2 6 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Configuring the host ports 5. From the top menu select Configuration System Settings Host Interfaces
6. In the Main Window, locate the Link Speed box. Set the Port speeds to auto if it is not already set, and the Connection Mode to point to point.
Configuring the MSA2324fc
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 7
7. Click the Apply button to save any changes, when prompted selected apply again and then OK.
Deleting Volumes There may be in rare occasions volumes and Vdisk in your training environment that were created in a previous class, this is the process to remove them so are starting from a fresh install.
1. From the right navigation windows expand the Vdisk and select the volume to delete.
Right click select Provisioning and then Delete Volume
2. In the right pane select the volume to delete
3. Click Delete Volume(s)
4. on the next prompt Confirm Operation confirm this action by clicking Delete
Accelerated SAN Essentials
L5.2 8 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
5. Now that the volume has been deleted, delete the Vdisk, right click the Vdisk Provisioning Delete Vdisk
6. In the pane to the right select the Vdisk to delete
7. Select Delete Vdisk(s)
8. Confirm operation delete ok
9. Confirm that there are no volumes and vdisks on your build.
Creating Vdisks On the MSA2000, a Vdisk is a collection of physical disks that contain a RAID policy. The MSA2000 family supports RAID 0, 1, 3, 5, 6, 10, and 50. Once the Vdisk is created, the available logical space can be used to carve out individual volumes, similar to logical drives in previous MSA products.
For this lab, we will create a single RAID 5 Vdisk from 5 physical disks with one online spare. From there, we will carve out six volumes (logical drives) from it. Initially only three of the disks will be used with each server having only one disk allocated to it.
Configuring the MSA2324fc
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 9
1. From the top menu select Provisioning Create Vdisk
2. From the top section of the create disk option, Vdisk name, Raid Level and Chunk size can be configured, please leave as default.
3. Select the disks to be members of your Vdisk and also your spare, this is achieved by selecting the radio button by RAID5 and Spare and the check boxes to the left of the disks. Notice when selections are made the State changes from available to RAID5 or SPARE and Disks colors change, from grey to yellow and then to green. once finished selecting your disk and click Create Vdisk
Accelerated SAN Essentials
L5.2 10 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Creating Volumes from Vdisks Now that our vdisk is created, we can start creating individual volumes from the available logical space. These were referred to as logical drives in the previous MSA generation of arrays. We are going to create six volumes in this vdisk. The following screen will let you specify the volume sizes you want to create.
Note
Although we could, we will not use the entire space from the Vdisk in this lab.
1. In the left hand pane expand Logical and the Vdisks folders
2. Select your newly created Vdisks and right click and from the new menu display select Provisioning Create Volume.
4. In the Volume Name box enter Vdisk1_Server1 and a size of 1GB and select
apply.
5. Create another two volumes with the following names and sizes
Vdisk2_Server2 - 2 GB
Vdisk3_HPUX 3GB
6. Create three more volumes these will be used in later labs and call them:
7. Assign the volume name Vdisk4_Server1 and a size of 4GB
8. Assign a volume name Vdisk5_Server2 and a size of 5GB
9. Finally a volume name Vdisk6_HPUX and a size of 6GB.
10. Check the configuration view to the left, where all your new Vdsiks should be visible.
Configuring the MSA2324fc
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 11
Mapping a Volume to a Host In this exercise, we will use the LUN Mapping utility to assign the recently created storage to our servers.
1. In the left pane, expand the host folder, and select the WWN of the first windows server. Right Click the WWN and a menu window is displayed.
Accelerated SAN Essentials
L5.2 12 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
2. Select Manage Host Mappings
3. For your fist server assign Vdisk1_Server1
4. Tick the Check box map and assign a Lun Number (e.g 1)
5. Map the second HBA from the first server to the same volume assigning the
same lun number.
6. Repeat the above process for server two, mapping Vdisk2_Server2 to both HBAs, and for the HP unix server presenting Vdisk3_HPUX to both of its HBAs.
7. Assign the remaining three disks to their respective servers, remember to increment the Lun number to 2.
8. Confirm mapping of the volumes.
Highlight the volume name and select View Overview and select Map
This can also be achieved by right clicking the volume name View Overview
Configuring the MSA2324fc
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 13
Preparing the New Drive in Windows Disk Management We have created a Vdisk, created six volumes within that Vdisk, and assigned access control to each of the servers connected to the MSA2324fc to their volumes. Next, we need to have Windows mount the drive and prepare it for use.
1. Click the Start button on the Windows taskbar, and then right-click on Computer and select Manage from the submenu.
2. Scan for hardware changes, ensuring that the MSA2324fc is discovered.
3. Expand the Storage section and select Disk Management.
4. Right click the disks that are unknown and select Online.
5. Right Click the Disk and select Initialize Disk
Accelerated SAN Essentials
L5.2 14 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
6. Accept the defaults for the MBR and click OK
7. The disk should now state that they are Unallocated.
Right click the unallocated volume and select New Simple Volume
8. From the New Simple Volume Wizard Select Next
Configuring the MSA2324fc
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.2 15
9. Follow all the defaults and assign a drive letter to your new volume.
10. On the Format Partition page enter a volume e.g the name assigned when you created the volume using the MSA configuration utility.
11. Next then finish.
12. Format the second drive and assign a volume name e.g Vdisk4_Server1
13. .Repeat this exercise on the second windows Server.
Accelerated SAN Essentials
L5.2 16 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Configuring MSA2324fc volumes for HP-UX Open a telnet session to the HP-UK Host.
Use the ioscan fnCdisk command to view the new MSA2324fc Luns:
Use insf e to install the device drivers for the new Lun and then you are ready to format the Lun with a file system.
You have successfully completed this lab.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.3 1
Multi-Path Management Module 5 Lab 3
Objectives After completing this lab, students will be able to:
Consider the steps required to failover fabric traffic in a controlled way
Appreciate what happens when fabric failover occurs due to hardware failure
Requirements To complete this lab, you need:
At least two connected HP B-Series fabric switches with firmware version 6.2.x or later
A client (server or workstation) with Telnet
Network connectivity between the client workstation and the fabric switches
The IP addresses of the fabric switches
The login name and password of the administrator account for the switches
Hosts running Multi-path software
LUNs presented to those hosts from a SAN disk array
Accelerated SAN Essentials
L5.3 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Accessing MPIO Windows 2008
1. Click on Computer icon to view available storage
2. Highlight one of the external drives, right click and select properties
3. From the properties window select the Hardware tab.
Multi-Path Management
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.3 3
4. from the hardware tab select the option Properties and the select the MPIO tab.
5. From this window selections can be made on the disk about access.
6. Select the MPIO policy: what options are available
a) ..
b) ..
c) ..
d) ..
e) ..
7. Notice as you select an MPIO policy the description is displayed explaining each selection.
8. Select Details next to the DSM Name Microsoft DSM
9. On the next page is an explanation of each of the settings available and there role.
10. Tick the check box Path Verify Enabled
Accelerated SAN Essentials
L5.3 4 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Setting Definition
PathVerifyEnabled Flag that enables path verification by MPIO on all paths every N seconds (where N depends on the value set in PathVerificationPeriod).
Type is boolean and must be filled with either 0 (disable) or 1 (enable). By default, it is disabled.
PathVerificationPeriod This setting is used to indicate the time period (in seconds) with which MPIO has been requested to perform path verification. This field is only honored if PathVerifyEnabled is TRUE.
This timer is specified in seconds. The default is 30 seconds. The maximum allowed is MAXULONG.
PDORemovePeriod This setting controls the amount of time (in seconds) that the multipath pseudo-LUN will continue to remain in system memory, even after losing all paths to the device.
When this timer value is exceeded, pending I/O operations will be failed, and the failure is exposed to the application rather than attempting to continue to recover active paths.
This timer is specified in seconds. The default is 20 seconds. The max allowed is MAXULONG.
RetryCount This setting specifies the number of times a failed I/O if the DSM determines that a failing request must be retried. This is invoked when DsmInterpretError() returns Retry = TRUE. The default setting is 3.
RetryInterval This setting specifies the interval of time (in seconds) after which a failed request is retried (after the DSM has decided so, and assuming that the I/O has been retried a fewer number of times than RetryCount).
This value is specified in seconds. The default is 1 second.
Multi-Path Management
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L5.3 5
11. Highlight a path in the This device has the followingpaths and click Edit
12. From the new window MPIO Path Details notice there are only two options available, select Active/Optimized.
13. If you return to Select the MPIO policy and change the policy to other
options, such as failover or weight and return to the path failover and weight can be configured.
14. Click OK to close the MPIO.
15. Within Windows 2008 R2 there are different methods to launch the MPIO manager.
16. Open the Device Manager and select the Multi-Path Disk Device
17. Right Click the highlighted path right click Properties and select the MPIO tab.
Accelerated SAN Essentials
L5.3 6 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
18. Set all paths to Round Robin With Subset
Congratulations you have finished the MPIO lab.
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L6.1 1
Fabric Zoning Module 6 Lab 1
Objectives After completing this lab, you should be able to:
Create, configure, establish, and modify zones on a single switch.
Create a configuration using only domain/port identifiers.
Create a configuration using only Worldwide Name (WWN) identifiers.
Create a configuration that mixes Domain/port and WWN identifiers.
Requirements Before proceeding with this lab, verify the following:
Confirm that your hosts and disk array are connected and logged in to the fabric. Consider the nsshow or switchshow commands.
Accelerated SAN Essentials
L6.1 2 2010 Hewlett-Packard Development Company, L.P. UC434S F.00
Domain/port zoning 1. From your first switch, connect using Telnet. Note what your Domain ID is for this
switch, and the active ports.
# switchshow
2. From the previous commands two ports are configured as E_Ports.
What are these ports ? ____________________________________
3. So that each delegate is able to create their own zones we will need to isolate the two switches from one another, so creating two fabric.
Disable the E_Ports by using the following command:
Portcfgpersistentdisable 0
Portcfgpersistentdisable 1
This is to ensure that the two switches remain independent from each other, even during reboots.
Create aliases for ports 3-7 using hard addresses. (Domain, port numbers).
ali_portx_BL20-3xx is a name use your devices to uniquely identify youralicreatswitchshow alias.
# alicreate ali_port3_msap1, [your switch domain ID],3
# alicreate ali_port4_bl20_362, [your switch domain ID],4
# alicreate ali_port5_bl20_363, [your switch domain ID],5
# alicreate ali_port6_rp34_236, [your switch domain ID],6
# alicreate ali_port7_msap2, [your switch domain ID],7
Note that you should use the Domain_ID of YOUR switch!
! Important Aliases are case-sensitive. They can greatly simplify the administrative process; however, they are not required to define zones.
4. Display the aliases and their information.
# alishow
5. Create a zone for your storage and Windows hosts.
# zonecreate "Win_zone1"," ali_port4_bl20_362;ali_port3_msap1; ali_port7_msap2"
A Windows host and your two MSA ports
6. Create a zone for your storage and Unix host and your two MSA ports
# zonecreate "unix_zone1"," ali_port6_rp34_236;ali_port3_msap1; ali_port7_msap2"
Fabric Zoning
UC434S F.00 2010 Hewlett-Packard Development Company, L.P. L6.1 3
7. Display the zones and their aliases information
# zoneshow
8. Create a configuration named cfgport including the zone.
# cfgcreate "cfgport", "Win_zone1;Unix_zone1
9. Enable the cfgport configuration, there is an implicit save in doing this.
# cfgenable cfgport
10. Display all of the zone and configuration information.
# cfgshow
11. View the zoning configuration by port.
# portzoneshow
12. From the information you see, and from what you have learned about zoning, do you see any problems with the configuration?
.................................................................................................................
.................................................................................................................
The effect of the zoning on the topology 13. If you were to unplug the Windows host from port 4 and move it to port 8, could
the server still see the disk storage? Can you explain why?
.................................................................................................................
.................................................................................................................
14. Assume the host is back to its original port and you were to move the storage to another port. Can the host still see the disks? Explain your result.
.......................................................................................