Professional Documents
Culture Documents
Configure EMC Symmetrix Storage With The CLI: Timeout Command
Configure EMC Symmetrix Storage With The CLI: Timeout Command
Configure EMC Symmetrix Storage With The CLI: Timeout Command
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.
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.
5-1
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.
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
5-2
OL-12603-01
Chapter 5
Figure 5-1
Example Topology
Figure 5-2 displays the example topology to which the instructions in this chapter refer.
Figure 5-2 Example Topology
5-3
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.
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.)
5-4
OL-12603-01
Chapter 5
Configure EMC Symmetrix Storage with the CLI Gathering WWNs for Storage Registration
Figure 5-3
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
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.)
5-5
Figure 5-4
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.
5-6
OL-12603-01
Chapter 5
Configure EMC Symmetrix Storage with the CLI Configuring Symmetrix Storage
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
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
5-7
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
5-8
OL-12603-01
Chapter 5
Configure EMC Symmetrix Storage with the CLI Configuring Symmetrix Storage
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
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:
5-9
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
-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
5-10
OL-12603-01