Provisioning Storage using Auto-provisioning Groups

 

Topic

Managing Storage

Selections

Select a platform: Symmetrix VMAX

Select preferred management interface: Solutions Enabler SYMCLI

Select a task: Provisioning storage using Auto-provisioning groups

 

 

Contents

·             Provisioning Storage Using Auto-provisioning Groups. 4

 


 

 

·        Provisioning Storage Using Auto-provisioning Groups

 

Overview

With the EMC Symmetrix VMAX system, Enginuity 5874, Solutions Enabler V7.0, and Symmetrix Management Console (SMC) V7.0, there is a radically new approach to storage provisioning referred to as Auto-provisioning Groups. This approach reduces the time it takes to provision storage initially and greatly simplifies the process of adding additional capacity to a host later on. Auto-provisioning Groups also simplifies the process of adding or removing HBAs and/or front-end ports.

 

The core concept of Auto-provisioning Groups is a logical grouping of related initiators, front-end ports, and storage devices and the creation of views that associates storage devices to front-end ports and initiators by performing the necessary device mapping and masking in a single operation.

 

This procedure is based on content from the following EMC manual:

  • Storage Provisioning With EMC Symmetrix Auto-provisioning Groups Technical Note

 

You can download the guide from EMC Online Support (registration required): https://support.EMC.com

 

 

1.   

Record the Worldwide Names (WWN) of each host bus adapter (HBA) used  

There are several tools that can be used to obtain the WWN of installed HBAs. For example, Emulex provides a utility called HBAnywhere that can be used to obtain this information. If Solutions Enabler has been installed on a host, the syminq hba or symaccess list hba command can be used as well.

 

 

2.   

Identify the Symmetrix FA ports to which the HBAs identified in step 1 are logged into

Identify the Symmetrix front-end ports that the HBAs identified in step 1 are logged into. (If the HBAs are logged into an FA port, this indicates that they are connected to the fabric and are zoned correctly.)

 

symacccess -sid 24 list logins

 

The symaccess list logins output shows the HBA WWNs (Identifier) with the Logged In column set to Yes

 

Symmetrix ID            : 000192601724

 

Director Identification : FA-7E

Director Port           : 0

 

                            User-generated              Logged On

Identifier       Type  Node Name      Port Name  FCID   In     Fabric

---------------- ----- ------------------------- ------ ------ ------

10000000c976b660 Fibre NULL           NULL       012d00 Yes    Yes

10000000c9874192 Fibre NULL           NULL       012e00 Yes    Yes

 

Director Identification : FA-10E

Director Port           : 0

 

                            User-generated              Logged On

Identifier       Type  Node Name      Port Name  FCID   In     Fabric

---------------- ----- ------------------------- ------ ------ ------

10000000c9874162 Fibre NULL           NULL       013e00 Yes    Yes

21fd00051e964f00 Fibre NULL           NULL       fffc01 No     Yes

 

3.   

Identify one or more devices that are to be made available to the host

Devices that are unmapped are not visible to any host and are potential candidates to be made available to the host.

 

symdev -sid 24 list -noport -raid5

 

Symmetrix ID: 000192601724

 

    Device Name        Directors                 Device

-------------------- ------------- ------------------------------------

                                                                          Cap

Sym  Physical        SA :P DA :IT  Config       Attribute    Sts   (MB)

-------------------- ------------- ------------------------------------

 

0192 Not Visible     ???:? 08B:DD  RAID-5       N/Grp'd      RW    8714

0193 Not Visible     ???:? 09C:CE  RAID-5       N/Grp'd      RW    8714

0194 Not Visible     ???:? 07A:DD  RAID-5       N/Grp'd      RW    8714

0195 Not Visible     ???:? 07B:CD  RAID-5       N/Grp'd      RW    8714

0196 Not Visible     ???:? 09B:CB  RAID-5       N/Grp'd      RW    8714

0197 Not Visible     ???:? 07A:CC  RAID-5       N/Grp'd      RW    8714

0198 Not Visible     ???:? 10B:CC  RAID-5       N/Grp'd      RW    8714

0199 Not Visible     ???:? 08A:CD  RAID-5       N/Grp'd      RW    8714

 

4.   

Create a new Storage Group

A storage group is a logical grouping of devices that are used together.  The following command can be used to create a storage group that includes four devices identified in step 3. It is a good practice to specify a descriptive name for the group. Following the command is an example of the output.

 

symaccess -sid 24 create -name sample_SG -type storage devs 192:195

 

 

5.   

Verify that the Storage Group was created

The following is an example of the command and the output.

 

symaccess -sid 24 show sample_SG -type storage

 

Symmetrix ID          : 000192601724

 

Storage Group Name    : sample_SG

Last updated at       : 04:32:27 PM on Thu Apr 22,2010

 

   Devices            : 0192:0195

 

   Masking View Names

     {

       None

     }

 

 

6.   

Create a new Port Group

A port group is a logical grouping of related front-end director ports.

The following command creates a port group that includes the ports identified in step 2.

 

symaccess -sid 24 create -name sample_PG -type port -dirport 7e:0,10e:0

 

 

7.   

Verify that the Port Group was created

The following is an example of the command and the output.

 

symaccess -sid 24 show sample_PG -type port

 

Symmetrix ID          : 000192601724

 

Port Group Name       : sample_PG

Last updated at       : 04:42:27 PM on Thu Apr 22,2010

 

   Director Identification

     {

       FA-7E:0

       FA-10E:0

     }

 

   Masking View Names

     {

       None

     }

 

8.   

Create a new Initiator Group

An initiator group is a logical grouping of related HBAs. An initiator group typically contains all HBAs used by an application, a server, or cluster of servers.  The following commands create an Initiator group and add the WWNs of the HBAs identified in step 1.

 

symaccess -sid 24 create -name sample_IG -type initiator -wwn 10000000c 9874192

 

symaccess -sid 24 add -name sample_IG -type initiator -wwn 10000000c987 4162

 

Note: An initiator can only be assigned directly to a single initiator group.  If an initiator has already been assigned to an Initiator Group, the command will fail with the error “The specified WWN is already in use.” All the initiators in another initiator group can be added to another group using the -ig <InitiatorGroupName> option.

 

9.   

Verify that the Initiator Group was created

The following is an example of the command and the output:

 

symaccess -sid 24 show sample_IG -type initiator

 

Symmetrix ID          : 000192601724

 

Initiator Group Name  : sample_IG

Last updated at       : 05:11:14 PM on Thu Apr 22,2010

 

   Host Initiators

     {

       WWN  :10000000c9874192

       WWN  :10000000c9874162

     }

 

   Masking View Names

     {

       None

     }

 

   Parent Initiator Groups

     {

       None

     }

 

10.  

Create a Masking View that contains the Storage Group, Port Group, and Initiator Group created earlier

A Masking View automatically performs the mapping and masking functions required to make the devices in a Storage Group available to the HBAs in an Initiator Group, through the ports in a Port Group.

 

symaccess -sid 24 create view -name sample_view -sg sample_SG -pg sampl e_PG -ig sample_IG

 

 

Note: Dynamic LUN addressing is enabled by default.

 

11.  

Verify that the Masking View was created

The following is an example of the command and the output. Notice the view shows the full end-to-end view including the initiators, ports and devices as well is the Dynamic LUN Addresses that were assigned.

 

symaccess -sid 24 show view sample_view

 

Symmetrix ID          : 000192601724

 

Masking View Name     : sample_view

Last updated at       : 05:40:27 PM on Thu Apr 22,2010

 

Initiator Group Name  : sample_IG

 

   Host Initiators

     {

       WWN  : 10000000c9874192

       WWN  : 10000000c9874162

     }

 

Port Group Name       : sample_PG

 

   Director Identification

     {

       FA-7E:0

       FA-10E:0

     }

 

Storage Group Name    : sample_SG

 

Sym Dev                                 Host

Name    Dir:P  Physical Device Name      Lun  Attr  Cap(MB)

------  -----  -----------------------  ----  ----  -------

0192    07E:0  Not Visible                 0           8714

        10E:0  Not Visible                 0

0193    07E:0  Not Visible                 1           8714

        10E:0  Not Visible                 1

0194    07E:0  Not Visible                 2           8714

        10E:0  Not Visible                 2

0195    07E:0  Not Visible                 3           8714

        10E:0  Not Visible                 3

                                                    -------

Total Capacity                                        34856

 

 

12.  

Run the appropriate configuration method on the host or reboot the host

Many host operating systems provide a utility that can be used to automatically configure devices that have been made available to a system. For example, in Windows you can use the Device Manager to scan for hardware changes; with AIX you can execute the cfgmgr command. Before the devices associated with the masking group will be made visible to a host, this utility must be run on the host. If no such utility exists, the affected hosts should be rebooted.

 

Refer to the online help available with each host operating system for information on how to perform online configuration changes or a reboot operation.

 

 

13.  

Verify that the devices are available to the host

Verify that the devices chosen in step 4 can be accessed by the host by executing the syminq command.

 

When this command is executed, you should see output that looks something like this:

 

           Device               Product                   Device

------------------------ ------------------------- --------------------

Name               Type  Vendor  ID           Rev  Ser Num     Cap (KB)

------------------------ ------------------------- --------------------

\\.\PHYSICALDRIVE0       Dell    VIRTUAL DISK 1028 N/A              N/A

\\.\PHYSICALDRIVE1       EMC     SYMMETRIX    5874 2400192000   8923200

\\.\PHYSICALDRIVE2       EMC     SYMMETRIX    5874 2400193000   8923200

\\.\PHYSICALDRIVE3       EMC     SYMMETRIX    5874 2400194000   8923200

\\.\PHYSICALDRIVE4       EMC     SYMMETRIX    5874 2400195000   8923200

       

 

(In the output produced by the syminq command, device serial numbers – Ser Num – are displayed in the format XX YYYYY 000 where XX is the last two digits of the Symmetrix serial number and YYYYY is the Symmetrix device number.)

 

Note: In this example, a Windows host was used.

 

 

 

7Table of Contents