Configure EMC Clariion Storage with the CLI by lso20334

VIEWS: 153 PAGES: 6

									                                                                          C H A P T E R                     4
                        Configure EMC Clariion Storage with the CLI

                        This chapter contains the following sections:
                         •   Introduction, page 4-1
                         •   Configuring the I/O TimeOut Values for the Switch, page 4-1
                         •   Locating and Documenting the WWN of the Director, page 4-3
                         •   Creating a Storage Group, page 4-4
                         •   Adding the WWPNs of the Director into the Storage Group, page 4-4
                         •   (Optional) Adding the WWPNs for Redundant Director, page 4-5
                         •   Adding Virtual Servers to Storage Device, page 4-5



Introduction
                        This chapter provides an example of a storage configuration for an EMC Clariion storage device using
                        navicli.



Configuring the I/O TimeOut Values for the Switch
                        When using EMC storage with a 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.
                        You can also use the CLI by entering the fc srp lu logical-id min-io-timeout timeout command.
               Step 2   Click the FibreChannel menu and select SRP. The SRP window opens.
               Step 3   Click the Global tab.
               Step 4   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).
               Step 5   Click the Apply button.




                                                                                  Cisco VFrame Third Party Integration Guide
 OL-12603-01                                                                                                                   4-1
                                                                                 Chapter 4   Configure EMC Clariion Storage with the CLI
   Planning Your Storage Configuration




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.
            Step 2     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.




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. (See Figure 4-1.)




            Cisco VFrame Third Party Integration Guide
 4-2                                                                                                                        OL-12603-01
 Chapter 4     Configure EMC Clariion Storage with the CLI
                                                                                          Locating and Documenting the WWN of the Director




                            Figure 4-1           Plan for the Number of Initiator Registrations




Viewing the Number of WWPNs Registered for all Storage Groups
                            View all the World Wide Port Names (WWPNs) registered on all storage groups for storage processor B.
                            ./Navisphere/bin/navicli -h io-cx700-spa storagegroup              -list | grep SP B.*3 | wc -l




Locating and Documenting the WWN of the Director
                            To locate and document the WWN, follow these steps:


                Step 1      Locate the WWN of the Director. The WWN is a value made up of both the WWNN and WWPN.
                            a.   Launch VFrame, if you have not already done so.
                            b.   Click VFrame Directors in the navigation tree.
                            c.   Click the Instances tab. The VFrame Director Instances window appears.
                            d.   Click the name of the Director. The Director Instance Properties window appears.
                            e.   Click the WWNs tab. (See Figure 4-2.)




                                                                                       Cisco VFrame Third Party Integration Guide
 OL-12603-01                                                                                                                           4-3
                                                                                   Chapter 4   Configure EMC Clariion Storage with the CLI
   Creating a Storage Group




                       Figure 4-2           World Wide Port Names (WWPNs) for the Director




           Step 2      Copy the WWPNs for the Directors into a text file for later use.




Creating a Storage Group
                       To create a storage group, follow this step:


           Step 1      Create one Storage Group for the Director and all Virtual Servers.
                       ./navicli -h 10.2.0.218 storagegroup -setpath -o -gname VF_Cluster




Adding the WWPNs of the Director into the Storage Group
                       You can add one of more WWPN to the storage group.


Adding the First Director WWPN to one SP Port
                       To add a director WWPN to an SP port, follow these steps:


           Step 1      Add the first Director WWN (both the WWNN and WWPN), as shown in Figure 4-2.


                       Note      Use this same step to add additional directors.


            Cisco VFrame Third Party Integration Guide
 4-4                                                                                                                          OL-12603-01
 Chapter 4     Configure EMC Clariion Storage with the CLI
                                                                                        (Optional) Adding the WWPNs for Redundant Director




                            The following example shows one of the Director WWNs being added to storage group VF_Cluster
                            through storage process (SP) B. The node in this example is named vf_Director_1.
                            ./navicli -h 10.3.1.130 storagegroup -setpath -o -gname VF_Cluster -hbauid
                            2f:ff:00:05:ad:01:82:29:2f:ff:00:05:ad:05:82:29 -sp B -spport 3 -type 0x03 -host
                            vf_Director_1 -ip 1.1.1.1 -failovermode 1 -arraycommpath 0




Viewing the Number of WWPNs Registered for the Storage Group
                            After each WWPN entry, verify that the entry has been registered correctly.
                            The following example displays the WWPN count on Storage Processor (SP) b3 for a specific Storage
                            Group named VF_Cluster.
                            ./navicli -h io-cx700-spa storagegroup -list -gname VF_Cluster | grep SP B.*3 | wc -l


Adding the First Director WWPN to Additional SP Port(s)
                            In most configurations the Director access all SP ports that are being used in the VFrame environment,
                            but the Virtual Server may only access certain SP ports.


                Step 1      Add the WWPN through additional SP ports if you want the Director to access LUNs through multiple
                            target ports.
                            In this example, the Director is granted access to SP A:
                            ./navicli -h 10.3.1.130 storagegroup -setpath -o -gname VF_Cluster -hbauid
                            2f:ff:00:05:ad:01:82:29:2f:ff:00:05:ad:05:82:29 -sp A -spport 3 -type 0x03 -host
                            vf_Director_1 -ip 1.1.1.1 -failovermode 1 -arraycommpath 0




(Optional) Adding the WWPNs for Redundant Director
                Step 1      Locate the WWNs for the standby Director, if one has been configured, as described in step 1 above
                Step 2      Add all standby Director WWNs to all SP ports through which you want the host to access LUNs.
                            a.   Repeat Step 1 above for the standby Director.




Adding Virtual Servers to Storage Device
                Step 1      Locate the WWNs for a Virtual Server and add it to the storage group that you created in step 1. Make
                            sure that you have carefully planned the storage target through which you want to grant access.




                                                                                       Cisco VFrame Third Party Integration Guide
 OL-12603-01                                                                                                                           4-5
                                                                                 Chapter 4   Configure EMC Clariion Storage with the CLI
  Adding Virtual Servers to Storage Device




           Step 2      Choose one of two possible methods to register the WWPN of the Virtual Server into the storage device:
                       a.   Manually enter the WWPN into storage, as described in “Adding the WWPNs of the Director into the
                            Storage Group” on page 4.
                       b.   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
4-6                                                                                                                         OL-12603-01

								
To top