Creating Device Groups

 

Topic

Managing Storage

Selections

Select a platform: Symmetrix VMAX

Select preferred management interface: Solutions Enabler SYMCLI

Select a task: Creating device groups

 

 

Contents

·             Creating a Device Group.. 3

 


 

 

 

 

·        Creating a Device Group

 

Overview

A collection of devices can be assigned to a named group to provide a more manageable single object to query status and impart blanket control operations. Device groups and composite group definitions are created locally through an attached host.

 

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

  • EMC Solutions Enabler Symmetrix Array Management CLI Product Guide

 

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

 

 

 

1.   

Examine device groups you already have

Since device group names must be unique, before you attempt to create a new one you should find out what device groups have already been created. To view a list of device groups that have already been created, execute the following command:

 

symdg list

 

 

2.   

Create a new device group

The symdg create command is used to create a new device group. The syntax for this command is:

 

symdg create DgName [-type REGULAR | RDF1 | RDF2 | RDF21]

 

where:

 

DgName = The name to assign to the device group.

 

For example, to create a device group, assign it the name TFgroup, and specify that it is a REGULAR device group, execute a symdg create command that looks like this:

 

symdg create TFgroup –type REGULAR

 

 

3.   

Add Symmetrix devices to the group

The symld command is used to add devices to an existing device group. Individual devices can be added by specifying either the physical device name (add pd) or the Symmetrix device name (add dev), as follows:

 

symld -g TFgroup add pd /dev/rdsk/c4t0d0s2
symld -g TFgroup -sid 12345 add dev 000C

A contiguous set of devices can be added to a device group by executing a symld command that looks more like this:

 

   symld -g TFgroup –sid 12345 addall –RANGE 000C:000E

(In this example, Symmetrix devices on Symmetrix array 000000012345 were used.)

 

On the other hand, BCV devices can be added to a device group by executing a symbcv command that looks like this:

 

symbcv -g TFgroup -sid 12345 associate dev 001C

 

Keep in mind that all devices added to a device group must be part of the same Symmetrix array. (Composite groups are used to group devices that reside on different Symmetrix arrays.)

 

4.   

Verify the device group creation

To verify that the device group was successfully created and that the appropriate devices were added to it, execute the following command:

 

symdg show DgName

 

where:

 

DgName = The name that has been assigned to the device group.

 

For example, to verify that a device group named TFgroup was created and the appropriate devices were assigned to it, execute the following command:

 

symdg show TFgroup

 

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

 

Group Name:  TFgroup

 

    Group Type                                   : REGULAR

    Device Group in GNS                          : No

    Valid                                        : Yes

    Symmetrix ID                                 : 000000012345

    Group Creation Time                          : Mon Mar 23 08:50:17 2009

    Vendor ID                                    : EMC Corp

    Application ID                               : SYMCLI

 

    Number of STD Devices in Group               :    3

    Number of Associated GK's                    :    0

    Number of Locally-associated BCV's           :    0

    Number of Locally-associated VDEV's          :    0

    Number of Locally-associated TGT's           :    0

    Number of Remotely-associated VDEV's(STD RDF):    0

    Number of Remotely-associated BCV's (STD RDF):    0

    Number of Remotely-associated TGT's(TGT RDF) :    0

    Number of Remotely-associated BCV's (BCV RDF):    0

    Number of Remotely-assoc'd RBCV's (RBCV RDF) :    0

    Number of Remotely-assoc'd BCV's (Hop-2 BCV) :    0

    Number of Remotely-assoc'd VDEV's(Hop-2 VDEV):    0

    Number of Remotely-assoc'd TGT's (Hop-2 TGT) :    0

 

    Standard (STD) Devices (3):

        {

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

                                                      Sym               Cap

        LdevName              PdevName                Dev  Att. Sts     (MB)

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

        DEV001                N/A                     000C      RW      1031

        DEV002                N/A                     000D      RW      1031

        DEV003                N/A                     000E      RW      1031

        }