Configure EMC Symmetrix Storage With The CLI: Timeout Command

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

C H A P T E R

Configure EMC Symmetrix Storage with the CLI


This chapter contains the following sections:

Introduction, page 5-1 Configuring the I/O TimeOut Values for the Switch, page 5-1 Example Topology, page 5-3 Gathering WWNs for Storage Registration, page 5-4 Configuring Symmetrix Storage, page 5-7 Configuring Host Access, page 5-10

Introduction
This chapter provides a configuration sample for connecting SRP initiators to an EMC Symmetrix-style storage device. In the configuration sample, the user must add SRP initiators (that is, IB-enabled hosts) to the configuration of the EMC storage device. The sections in this chapter present a sample topology and step-by-step instructions to help you successfully configure your environment.

Configuring the I/O TimeOut Values for the Switch


When using EMC storage with your Server Fabric Switch, change the default time-out value on the switch. To use Element Manager to change the default Maximum amount of time for a logical unit to accept I/O traffic. Increase this value if you are using an EMC storage device. The value should be changed from the default (10 seconds) to 1800.
Step 1

Launch the Element Manager GUI. This procedure can also be accomplished through the CLI, using the fc srp lu logical-id min-io-timeout timeout command.

Step 2 Step 3

Click the FibreChannel menu and select SRP. The SRP window opens. Click the Global tab.

Cisco VFrame Third Party Integration Guide OL-12603-01

5-1

Chapter 5 Planning Your Storage Configuration

Configure EMC Symmetrix Storage with the CLI

Step 4 Step 5

Enter 1800 in the DefaultItlMinIoTimeout field to specify the amount of time (in seconds) for an ITL to accept I/O traffic (on non-sequential storage devices). Click the Apply button.

Planning Your Storage Configuration


Before beginning your storage configuration, you should plan the storage usage. Use the VFrame Site Planning Guide and the topology provided by your Cisco representative.

Verifying the Current Capacity of Your Storage Device


It is important to understand that the type of topology you can achieve is partially dictated by the amount of storage and WWPN registrations that are available on your storage device.
Step 1

The first step is to determine how many World Wide Port Name (WWPN) registrations can be added to your device. Every storage device has a limited number of WWPNs that can be registered to each Storage Processor (SP) port and the whole device. Check the specifications for your device to determine registration limit. The next step is to determine the number of initiators that are already registered on the SP ports so that you know how many registration entries remain.

Step 2

Verifying the Number of Initiators Needed for your Configuration


As a general guideline, use the following to determine the number of initiators that need to be available on your storage device: Registrants for One SP = Number of gateway ports in a port pool that can see an SP port per Virtual Server.

Cisco VFrame Third Party Integration Guide

5-2

OL-12603-01

Chapter 5

Configure EMC Symmetrix Storage with the CLI Example Topology

Figure 5-1

Plan for the Number of Initiator Registrations

Example Topology
Figure 5-2 displays the example topology to which the instructions in this chapter refer.
Figure 5-2 Example Topology

Cisco VFrame Third Party Integration Guide OL-12603-01

5-3

Chapter 5 Gathering WWNs for Storage Registration

Configure EMC Symmetrix Storage with the CLI

Setup
The following status applies to the example setup:

SRP hosts connect via IB cables to the Topspin 360 Server Switch. Each SRP host has two HCAs, and one port of each HCA connects to the Server Switch. Port 1 of each FC gateway connects to storage processor (SP) A on the Storage System. Port 2 of each FC gateway connect to (SP) B on the Storage System. No SRP hosts have SRP drivers loaded. The EMC Symmetrix LUs are configured.

The example in this section involves one Topspin 360 with 2 Fibre Channel gateways. Port 1 of each gateway connects to one FC switch, and port 2 on each gateway connects to a second FC switch. Each FC switch then connects to one port on the EMC storage device.

Gathering WWNs for Storage Registration


The hosts must be registered with the storage device before they are recognized. You will create a script to enter the WWNN/WWPNs into the Symmetrix storage. For VFrame configurations, you will add the following devices as hosts:
Director hosts all Virtual Servers

Locating the WWPNs of the Director(s)


To locate the WWPNS, follow these steps:
Step 1

Locate the WWPN of the Director(s):


a. b. c. d. e.

Launch VFrame Director, if you have not already done so. Click on VFrame Directors in the navigation-tree. Click on the Instances tab in the main window. Click on the hyperlinked name of the Director you want to view. Click on the WWNs sub-tab. (See Figure 5-3.)

Cisco VFrame Third Party Integration Guide

5-4

OL-12603-01

Chapter 5

Configure EMC Symmetrix Storage with the CLI Gathering WWNs for Storage Registration

Figure 5-3

WWPNs of a Single Director

Step 2

Record the WWPNs of the Director without colons so they can be added to the Symmetrix script, as shown in this example:
2fff0005ad0173b82fff0005ad0573b8 2fff0005ad0173b82fff0005ad0973b8 2fff0005ad0173b82fff0005ad0d73b8 2fff0005ad0173b82fff0005ad1173b8

Locating the WWPNs of the Virtual Servers


The WWPNs are assigned as each Virtual Server is created. Refer to the Cisco VFrame InfiniBand Director User Guide for instructions on creating your Virtual Servers.
Step 1

Locate the WWPN of the Virtual Server(s).


a. b. c. d.

Return to the VFrame window. The WWNN and WWPNs are allocated by VFrame when the Virtual Server is created. Click on Virtual Server Groups in the navigation-tree. Click on the name of a Virtual Server in the main window. Click on the WWNs sub-tab. (See Figure 5-4.)

Cisco VFrame Third Party Integration Guide OL-12603-01

5-5

Chapter 5 Gathering WWNs for Storage Registration

Configure EMC Symmetrix Storage with the CLI

Figure 5-4

WWNN and WWPN of a Virtual Server

Step 2

Record the WWPNs of the Director without colons so they can be added to the Symmetrix script, as shown in this example:
2ffe0005ad0573ba 2ffe0005ad0973ba 2ffe0005ad0d73ba 2ffe0005ad1173ba

Step 3 Step 4

Record the WWPNs of the Virtual Servers so they can be added to the Symmetrix script. Note that the Virtual Server WWNN/WWPN can also be added using the following method:
a.

Force the Virtual Server to persistently log into the storage device so that the WWPN value is discovered in storage. The persistent login is accomplished by enabling Diagnostic Mode for the Virtual Server. To enable Diagnostic Mode for a Virtual Server:

Click on your new group the Virtual Server Group menu. The Virtual Servers tab appears for the VS Group. Check the box for the Virtual Server you want to add and select Enable Diagnostic Mode for Selected Virtual Server(s) from the drop-down menu. The Virtual Server General tab appears. Note that only one Virtual Server can be selected at a time. Click the Diagnostic Report button in the Virtual Server General tab. The report shows the assigned storage configuration for the Virtual Server and verifies that storage has been configured correctly. The Virtual Server should now be logged into the storage device, and will remain logged in until you exit diagnostic mode. You can change the FC zoning, or modify the SRP configuration. Remove the Virtual Server from Diagnostic Mode before assigning it to any physical server.

Cisco VFrame Third Party Integration Guide

5-6

OL-12603-01

Chapter 5

Configure EMC Symmetrix Storage with the CLI Configuring Symmetrix Storage

Configuring Symmetrix Storage


This section shows you how to configure symmetrix storage.

Understanding the Sample Configuration


The following example uses these elements:

Two Directors (Director 1 and Director 2). Each Director has two WWPNs. This means that each Director is registered twice on each target/port. The Directors are registered with the following target/target ports on the storage device:
8b port 1 9b port 1

All LUNs are made available to the Directors. *Note that there is a limit to the number of LUNs that can be added in one entry. You may need to repeat a WWPN registration on a new line in order to add all the necessary LUNs.

Use Figure 5-5 to understand the field entries when registering a WWPN.
Figure 5-5 Understanding Field Entries When Registering a WWPN

Registering the Directors


To register the directors, follow these steps:
Step 1

Create a script to add the Directors to your storage device. Use the WWPNs gathered in step 2. to create the following entries, as shown in this syntax example:
sudo /opt/emc/symcli/bin/symmask -sid ID of storage device -wwn WWPN of Director -dir storage processor -p storage processor port number add devs lunID lunID lunID

Cisco VFrame Third Party Integration Guide OL-12603-01

5-7

Chapter 5 Configuring Symmetrix Storage

Configure EMC Symmetrix Storage with the CLI

Note

The syntax examples may vary depending on your symmetrix device and your access configurations. For example, you may not need to use the sudo command. Please check the documentation for your device and with your storage administrator.

Registering Director 1
### Director 1 sudo /opt/emc/symcli/bin/symmask -sid 840 -wwn 2ffe0005ad012c30 -dir 8b -p 1 add devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef 3f3 3f7 3fb 3ff 403 407 40b 40f sudo /opt/emc/symcli/bin/symmask -sid 840 -wwn 2fff0005ad062c30 -dir 8b -p 1 add devs 413 417 41b 41f 423 427 42b 42f 433 437 43b sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f 840 3f3 840 433 840 3f3 840 433 840 3f3 840 433 -wwn 2fff0005ad0a2c30 -dir 9b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2fff0005ad0a2c30 -dir 9b -p 1 add 437 43b -wwn 2fff0005ad162c30 -dir 8b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2fff0005ad062c30 -dir 8b -p 1 add 437 43b -wwn 2fff0005ad1a2c30 -dir 9b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2fff0005ad0a2c30 -dir 9b -p 1 add 437 43b

Registering Director 2
Register a second Director if you are configuring redundant Directors for High-Availability (HA).
### Director 2 sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f 840 3f3 840 433 840 3f3 840 433 840 3f3 840 433 840 3f3 840 433 -wwn 2ffe0005ad062c30 -dir 8b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2ffe0005ad062c30 -dir 8b -p 1 add 437 43b -wwn 2ffe0005ad0a2c30 -dir 9b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2ffe0005ad0a2c30 -dir 9b -p 1 add 437 43b -wwn 2ffe0005ad162c30 -dir 8b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2ffe0005ad062c30 -dir 8b -p 1 add 437 43b -wwn 2ffe0005ad1a2c30 -dir 9b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2ffe0005ad0a2c30 -dir 9b -p 1 add 437 43b

Cisco VFrame Third Party Integration Guide

5-8

OL-12603-01

Chapter 5

Configure EMC Symmetrix Storage with the CLI Configuring Symmetrix Storage

Registering Virtual Servers


To register a virtual server, follow these steps:
Step 1 Step 2

Locate the WWNs for a Virtual Server and add it to the storage group that you created in step 3. Make sure that you have carefully planned the storage target through which you want to grant access. Choose one of two possible methods to register the WWPN of the Virtual Server into the storage device:

Force the Virtual Server to persistently log into the storage device so that the WWPN value is discovered in storage. The persistent login is accomplished by enabling Diagnostic Mode for the Virtual Server, as described in step a. or Add the WWNs of the Virtual Servers into your Symmetrix script, as described in step b. To enable Diagnostic Mode for a Virtual Server:
Click on your new group the Virtual Server Group menu. The Virtual Servers tab appears for

a.

the VS Group.
Check the box for the Virtual Server you want to add and select Enable Diagnostic Mode for

Selected Virtual Server(s) from the drop-down menu. The Virtual Server General tab appears.
Note that only one Virtual Server can be selected at a time. Click the Diagnostic Report button in the Virtual Server General tab. The report shows the assigned storage configuration for the Virtual Server and verifies that

storage has been configured correctly.


The Virtual Server should now be logged into the storage device, and will remain logged in until

you exit diagnostic mode. You can change the FC zoning, or modify the SRP configuration.
Remove the Virtual Server from Diagnostic Mode before assigning it to any physical server. b.

Add the WWNs of the Virtual Servers into your Symmetrix script to register the Virtual Servers with your storage device. Use the WWPNs gathered in step 3. to create the following entries:

Sample Command Syntax:


sudo /opt/emc/symcli/bin/symmask -sid ID of storage device -wwn concatenated WWNN/WWPN of Director -dir storage processor -p storage processor port number add devs lunID lunID lunID

Sample of a Virtual Server 1


### Director 1 sudo /opt/emc/symcli/bin/symmask -sid 840 -wwn 2fff0005ad062c30 -dir 8b -p 1 add devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef 3f3 3f7 3fb 3ff 403 407 40b 40f sudo /opt/emc/symcli/bin/symmask -sid 840 -wwn 2fff0005ad062c30 -dir 8b -p 1 add devs 413 417 41b 41f 423 427 42b 42f 433 437 43b sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f 840 3f3 840 433 -wwn 2fff0005ad0a2c30 -dir 9b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2fff0005ad0a2c30 -dir 9b -p 1 add 437 43b

Cisco VFrame Third Party Integration Guide OL-12603-01

5-9

Chapter 5 Configuring Host Access

Configure EMC Symmetrix Storage with the CLI

sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f sudo /opt/emc/symcli/bin/symmask -sid devs 32f 3d7 3db 3df 3e3 3e7 3eb 3ef sudo /opt/emc/symcli/bin/symmask -sid devs 413 417 41b 41f 423 427 42b 42f

840 3f3 840 433 840 3f3 840 433

-wwn 2fff0005ad162c30 -dir 8b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2fff0005ad062c30 -dir 8b -p 1 add 437 43b -wwn 2fff0005ad1a2c30 -dir 9b -p 1 add 3f7 3fb 3ff 403 407 40b 40f -wwn 2fff0005ad0a2c30 -dir 9b -p 1 add 437 43b

Configuring Host Access


VFrame automatically configures the host access for you. The Gateway port access will be Unrestricted, and the LUN access will be Restricted.

Cisco VFrame Third Party Integration Guide

5-10

OL-12603-01

You might also like