Beruflich Dokumente
Kultur Dokumente
Technical Notes
P/N 300-009-148 REV A02 May 25, 2010
Steps for provisioning storage ............................................................................................................... 52 Example of provisioning storage .......................................................................................................... 53 Presenting storage to a production and a backup host ........................................................................... 61 Steps for provisioning storage ............................................................................................................... 61 Example of provisioning storage .......................................................................................................... 62 Adding existing storage, ports, or initiators to an existing view ...................................................... 76 Example of adding storage to an existing storage group .................................................................. 76 Presenting storage to a cluster.................................................................................................................... 80 Steps for provisioning storage using a cascaded initiator group ..................................................... 81 Example of using a cascaded initiator group ...................................................................................... 82 Removing a masking view and its associated groups ............................................................................ 92 Example of deleting a masking view and associated groups............................................................ 93 Specifying LUN addresses .......................................................................................................................... 97 Specifying HBA flags................................................................................................................................. 100 Overriding port flags ................................................................................................................................. 107 Insuring consistent LUNs across initiators ............................................................................................. 112
Executive summary
Introduced in EMC Solutions Enabler and EMC Symmetrix Management Console (SMC) version 7.0, the Autoprovisioning Groups feature provides an easier, faster way to provision storage in EMC Symmetrix VMAX arrays running EMC Enginuity 5874. Most of the applications running on Symmetrix arrays require a fault-tolerant environment with clustered hosts as well as multiple paths to devices. Autoprovisioning Groups was developed to make storage allocation easier and faster, especially with these types of configurations. Mapping and masking devices in previous versions of Solutions Enabler required a separate command for each initiator/port combination through which devices would be accessed. Both the symaccess command in Solutions Enabler and SMC allow the user to create a group of devices (storage group), a group of director ports (port group), and a group of host initiators (initiator group), and associate them in a masking view. When the masking view is created, the devices are automatically mapped and masked. After the masking view is created, any objects (devices, ports, or initiators) added to an existing group automatically become part of the associated masking view. This means that no additional steps are necessary to add additional devices, ports, or initiators to an existing configuration. All necessary operations to make them part of the configuration are handled automatically by Symmetrix Enginuity once the objects are added to the applicable group. This reduces the number of commands needed for mapping and masking devices and allows for easier storage allocation and de-allocation.
Introduction
These technical notes describe how to provision storage by using the Symmetrix Autoprovisioning Groups feature. The goals of this paper are: To summarize the functionality of the feature To provide examples showing how to use Autoprovisioning Groups to provision storage
Audience
This document is intended for use by the technology professional who works in an environment with Symmetrix VMAX disk arrays. It is
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 3
specifically targeted at EMC field technical staff and EMC customers who need to understand how to provision storage to hosts attached to a VMAX disk array.
Figure 1 Creating individual paths to gatekeepers Steps for provisioning storage In a simple configuration it is possible to create a masking view for a single initiator on a single port with any number of devices using just one symaccess command. The following are the general steps that can be followed to accomplish this goal: 1. 2. Create a view and specify a view name, HBA WWN, front-end port, and Symmetrix volumes for the first path. Create a view and specify a view name, HBA WWN, front-end port, and Symmetrix volumes for the second path.
Once the masking view has been created, the devices are available to the initiators on the storage ports. Host-specific commands can then be run to configure the devices to the operating system. Example of provisioning storage Step 1 - Create a view and specify a view name, HBA WWN, front-end port, and Symmetrix volumes for the first path. When using this method, the view is given a name by the user and that name is used for the initiator, port, and storage groups. The symaccess list hba command can be used to print the HBA WWNs and the ports that they are zoned to:
# symaccess list hba
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
Step 2 - Create a view and specify a view name, HBA WWN, front-end port, and Symmetrix volumes for the second path. Gatekeepers 093 096 will be made available on the second path:
# symaccess create view -name mgmtGKpath1 -wwn 10000000c9767817 -dirport 7F:1 devs 093:096 -sid 54
The devices are now available to the initiators on the storage ports. After the host configures the devices, they are available to the operating system on both paths:
# symaccess list view -sid 54 Symmetrix ID Masking View Name ------------------mgmtGKpath0 mgmtGKpath1 # syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t50*8d0s2 GK /dev/rdsk/c3t50*8d1s2 GK /dev/rdsk/c3t50*8d2s2 GK /dev/rdsk/c3t50*8d3s2 GK /dev/rdsk/c3t50*8d4s2 GK /dev/rdsk/c4t50*9d0s2 GK /dev/rdsk/c4t50*9d1s2 GK /dev/rdsk/c4t50*9d2s2 GK /dev/rdsk/c4t50*9d3s2 GK /dev/rdsk/c4t50*9d4s2 GK # symcfg discover This operation may take up to a few minutes. Please be patient... Product -------------------------Vendor ID Rev -------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 540008F000 5760 5400090000 5760 5400091000 5760 5400092000 5760 5400054000 5760 5400093000 5760 5400094000 5760 5400095000 5760 5400096000 5760 : 000192601254 Initiator Group ------------------mgmtGKpath0 mgmtGKpath1 Port Group ------------------mgmtGKpath0 mgmtGKpath1 Storage Group ----------------mgmtGKpath0 mgmtGKpath1
# symaccess show view mgmtGKpath0 -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : mgmtGKpath0 : mgmtGKpath0
Director Identification { FA-7E:0 } Storage Group Name Sym Dev Name -----008F 0090 0091 0092 Dir:P ----07E:0 07E:0 07E:0 07E:0 : mgmtGKpath0 Host Lun ---1 2 3 4 Attr ---Cap(MB) ------5 5 5 5
# symaccess show view mgmtGKpath1 -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : mgmtGKpath1 : mgmtGKpath1
Director Identification { FA-7F:1 } Storage Group Name Sym Dev Name -----0093 0094 0095 0096 Dir:P ----07F:1 07F:1 07F:1 07F:1 : mgmtGKpath1 Host Lun ---1 2 3 4 Attr ---Cap(MB) ------5 5 5 5
Additional elements such as initiators, ports, or volumes can be added, as needed, to the groups that are created by the command.
Note: Running symcfg discover is not required; however, the Physical Device Name field in symaccess show view will display the devices as Not Visible until they are configured by the host and symcfg discover is run.
Figure 2 Storage presented to a production and a backup host Steps for provisioning storage To make the storage available to the appropriate host, the storage groups, port group, and initiator groups must be created. The applicable groups must then be combined into a masking view for each host, which will do the mapping and masking so that the storage is accessible. In this example a Symmetrix device group will be created and will be used to provide the device lists for the storage groups.
The following are the general steps that can be followed to accomplish this goal: 1. 2. 3. 4. 5. 6. 7. Create a Symmetrix device group that contains the production volumes and the clone target volumes. Create the production storage group that contains the production volumes. Create the backup storage group that contains the clone target volumes. Create the port group. Create the production server initiator group. Create the backup server initiator group. Create the production server masking view containing the production storage group, port group, and production initiator group. Create the backup server masking view containing the backup storage group, port group, and backup initiator group.
8.
Once the masking view has been created, the devices are available to the initiators on the storage ports. Host-specific commands can then be run to configure the devices to the operating system. Example of provisioning storage Step 1 - Create a Symmetrix device group, add the production volumes, and add the clone target volumes:
# symdg create proddb_dg # symld -g proddb_dg addall dev -range 798:79B -sid 54 # symld -g proddb_dg addall dev -range 912:915 tgt
The device group now contains the standard volumes (STD) for the production host and the target volumes (TGT) for the backup host:
# symdg show proddb_dg Group Name: proddb_dg : : : : : : : REGULAR No Yes 000192601254 Fri Jan 30 16:06:03 2009 EMC Corp SYMCLI
9
Group Type Device Group in GNS Valid Symmetrix ID Group Creation Time Vendor ID Application ID
Number Number Number Number Number Number Number Number Number Number Number Number Number
of of of of of of of of of of of of of
STD Devices in Group : Associated GK's : Locally-associated BCV's : Locally-associated VDEV's : Locally-associated TGT's : Remotely-associated VDEV's(STD RDF): Remotely-associated BCV's (STD RDF): Remotely-associated TGT's(TGT RDF) : Remotely-associated BCV's (BCV RDF): Remotely-assoc'd RBCV's (RBCV RDF) : Remotely-assoc'd BCV's (Hop-2 BCV) : Remotely-assoc'd VDEV's(Hop-2 VDEV): Remotely-assoc'd TGT's (Hop-2 TGT) :
4 0 0 0 4 0 0 0 0 0 0 0 0
Standard (STD) Devices (4): { -------------------------------------------------------------------Sym Cap LdevName PdevName Dev Att. Sts (MB) -------------------------------------------------------------------DEV001 N/A 0798 RW 4314 DEV002 N/A 0799 RW 4314 DEV003 N/A 079A RW 4314 DEV004 N/A 079B RW 4314 } TGT Devices Locally-associated (4): { -------------------------------------------------------------------Sym Cap LdevName PdevName Dev Att. Sts (MB) -------------------------------------------------------------------TGT001 N/A 0912 RW 4314 TGT002 N/A 0913 RW 4314 TGT003 N/A 0914 RW 4314 TGT004 N/A 0915 RW 4314 }
Step 2 - Create the production storage group that contains the production volumes. For this step, the device group will be used to provide the device list for the symaccess command. The standard devices will be added to the group by default:
# symaccess create -name dbprod_stor -type storage -g proddb_dg -sid 54
Groups that have been created can be viewed using symaccess list and symaccess show commands:
# symaccess list -type storage -name dbprod_stor -sid 54 -v Symmetrix ID Storage Group Name
10
: 000192601254 : dbprod_stor
# symaccess show dbprod_stor -type storage -sid 54 Symmetrix ID Last updated at Storage Group Name Devices Masking View Names { None } : 000192601254 : 09:47:30 PM on Fri Jan 30,2009 : dbprod_stor : 0798:079B
Step 3 - Create the backup storage group that contains the clone target volumes. For this step, the device group will be used with the tgt flag to add the target devices:
# symaccess create -name dbbackup_stor -type storage -g proddb_dg -tgt -sid 54 # symaccess show dbbackup_stor -type storage -sid 54 Symmetrix ID Last updated at Storage Group Name Devices Masking View Names { None } : 000192601254 : 10:48:42 PM on Fri Jan 30,2009 : dbbackup_stor : 0912:0915
Step 4 Create the port group containing the two Symmetrix ports to which the HBAs are zoned:
# symaccess create -name dbsrv_port -type port -dirport 7E:0,7F:1 -sid 54 # symaccess show dbsrv_port -type port -sid 54 Symmetrix ID Last updated at Port Group Name : 000192601254 : 04:09:19 PM on Mon Feb 02,2009 : dbsrv_port
Director Identification {
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 11
The detail option can also be used with symaccess list to generate output with the port and view counts in columns:
# symaccess list -type port -name dbsrv_port -sid 54 -detail Symmetrix ID : 000192601254 Port Count ----2 View Count ----0
Step 5 Create the production server initiator group. In this example, the HBA WWNs are entered by using a file. They can also be entered manually on the command line. Each WWN in the file must contain the string WWN: followed by the 16-digit WWN. It cannot contain blank spaces or empty lines:
# cat /prod_WWN_file WWN:10000000c9767816 WWN:10000000c9767817 # symaccess create -name dbprodsrv_init -type initiator -file /prod_WWN_file -sid 54 # symaccess show dbprodsrv_init -type initiator -sid 54 Symmetrix ID Last updated at Initiator Group Name : 000192601254 : 04:34:31 PM on Mon Feb 02,2009 : dbprodsrv_init
Host Initiators { WWN :10000000c9767816 WWN :10000000c9767817 } Masking View Names { None }
12 Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
Host Initiators { WWN :10000000c97683e0 WWN :10000000c97683e1 } Masking View Names { None } Parent Initiator Groups { None }
Step 7 Create the production server masking view containing the production storage group, port group, and production initiator group. Once the masking view command completes and the prompt returns, the devices will be mapped and masked and available to the production host:
# symaccess create view -name dbprodsrv_view -storgrp dbprod_stor -portgrp dbsrv_port initgrp dbprodsrv_init sid 54
The production masking view has now been created. Both symaccess list and symaccess show display the view along with its associated initiator group, port group, and storage group:
# symaccess list view -name dbprodsrv_view -sid 54 Symmetrix ID Masking View Name : 000192601254 Initiator Group Port Group Storage Group
13
------------------- ------------------- ------------------- -----------------dbprodsrv_view dbprodsrv_init dbsrv_port dbprod_stor # symaccess show view dbprodsrv_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : dbprodsrv_view : dbprodsrv_init
Host Initiators { WWN : 10000000c9767816 WWN : 10000000c9767817 } Port Group Name : dbsrv_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----0798 07E:0 07F:1 0799 07E:0 07F:1 079A 07E:0 07F:1 079B 07E:0 07F:1 : dbprod_stor Host Lun ---1 1 2 2 3 3 4 4 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible
After running the host-specific commands to configure new devices, the Symmetrix volumes in the storage group are available to the host:
# syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t50*8d0s2 GK /dev/rdsk/c3t50*8d1s2 /dev/rdsk/c3t50*8d2s2 /dev/rdsk/c3t50*8d3s2 /dev/rdsk/c3t50*8d4s2 /dev/rdsk/c4t50*9d0s2 GK /dev/rdsk/c4t50*9d1s2 /dev/rdsk/c4t50*9d2s2
14
Product -------------------------Vendor ID Rev -------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874
Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 5400798000 4417920 5400799000 4417920 540079A000 4417920 540079B000 4417920 5400054000 5760 5400798000 4417920 5400799000 4417920
/dev/rdsk/c4t50*9d3s2 /dev/rdsk/c4t50*9d4s2
EMC EMC
SYMMETRIX SYMMETRIX
4417920 4417920
Step 8 Create the backup server masking view that contains the backup storage group, port group, and backup initiator group:
# symaccess create view -name dbbackupsrv_view -storgrp dbbackup_stor -portgrp dbsrv_port initgrp dbbackupsrv_init sid 54
The backup masking view has now been created. Both symaccess list and symaccess show display the view along with its associated initiator group, port group, and storage group:
# symaccess list view -name dbbackupsrv_view -sid 54 Symmetrix ID : 000192601254
Masking View Name Initiator Group Port Group Storage Group ------------------- ------------------- ------------------- -----------------dbbackupsrv_view dbbackupsrv_init dbsrv_port dbbackup_stor # symaccess show view dbbackupsrv_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : dbbackupsrv_view : dbbackupsrv_init
Host Initiators { WWN : 10000000c97683e0 WWN : 10000000c97683e1 } Port Group Name : dbsrv_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----0912 07E:0 07F:1 0913 07E:0 07F:1 0914 07E:0 07F:1 0915 07E:0 : dbbackup_stor Host Lun ---1 1 2 2 3 3 4 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314
15
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible
07F:1
Not Visible
4314
After running the host-specific commands to configure new devices, the Symmetrix volumes in the storage group are available to the host:
# syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t50*8d0s2 GK /dev/rdsk/c3t50*8d1s2 /dev/rdsk/c3t50*8d2s2 /dev/rdsk/c3t50*8d3s2 /dev/rdsk/c3t50*8d4s2 /dev/rdsk/c4t50*9d0s2 GK /dev/rdsk/c4t50*9d1s2 /dev/rdsk/c4t50*9d2s2 /dev/rdsk/c4t50*9d3s2 /dev/rdsk/c4t50*9d4s2 Product -------------------------Vendor ID Rev -------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 5400912000 4417920 5400913000 4417920 5400914000 4417920 5400915000 4417920 5400054000 5760 5400912000 4417920 5400913000 4417920 5400914000 4417920 5400915000 4417920
Adding existing storage, ports, or initiators to an existing view Adding additional Symmetrix volumes, array ports, or host initiators to the existing masking view is as simple as adding the desired element to an existing storage, port, or initiator group. If the production environment in the previous example is running out of space and needs more storage, the following steps can be followed to make additional Symmetrix volumes available to the production host with corresponding target devices available to the backup host. As in the original example, the Symmetrix device group is used to provide the device lists for the symaccess commands: 1. 2. 3. 4. Add the standard devices to the device group. Add the target devices to the device group Run the symaccess add command to add the standard devices that were placed in the device group into the production storage group. Run the symaccess add command to add the target devices that were placed in the device group into the backup storage group.
Example of adding storage to an existing storage group Step 1 - Add standard devices 7C3 and 7C4 to the device group.
# symld -g proddb_dg addall dev -range 7C3:7C4
16
Step 2 - Add target devices 916 and 917 to the device group.
# symld -g proddb_dg addall dev -range 916:917 -tgt # symdg show proddb_dg Group Name: proddb_dg : : : : : : : REGULAR No Yes 000192601254 Fri Jan 30 16:06:03 2009 EMC Corp SYMCLI 6 0 0 0 6 0 0 0 0 0 0 0 0
Group Type Device Group in GNS Valid Symmetrix ID Group Creation Time Vendor ID Application ID Number Number Number Number Number Number Number Number Number Number Number Number Number of of of of of of of of of of of of of
STD Devices in Group : Associated GK's : Locally-associated BCV's : Locally-associated VDEV's : Locally-associated TGT's : Remotely-associated VDEV's(STD RDF): Remotely-associated BCV's (STD RDF): Remotely-associated TGT's(TGT RDF) : Remotely-associated BCV's (BCV RDF): Remotely-assoc'd RBCV's (RBCV RDF) : Remotely-assoc'd BCV's (Hop-2 BCV) : Remotely-assoc'd VDEV's(Hop-2 VDEV): Remotely-assoc'd TGT's (Hop-2 TGT) :
Standard (STD) Devices (6): { -------------------------------------------------------------------Sym Cap LdevName PdevName Dev Att. Sts (MB) -------------------------------------------------------------------DEV001 c3t5000097208139918d1s* 0798 RW 4314 DEV002 c3t5000097208139918d2s* 0799 RW 4314 DEV003 c3t5000097208139918d3s* 079A RW 4314 DEV004 c3t5000097208139918d4s* 079B RW 4314 DEV005 N/A 07C3 RW 4314 DEV006 N/A 07C4 RW 4314 } TGT Devices Locally-associated (6): { -------------------------------------------------------------------Sym Cap LdevName PdevName Dev Att. Sts (MB) -------------------------------------------------------------------TGT001 N/A 0912 RW 4314 TGT002 N/A 0913 RW 4314 TGT003 N/A 0914 RW 4314 TGT004 N/A 0915 RW 4314 TGT005 N/A 0916 RW 4314 TGT006 N/A 0917 RW 4314
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
17
Step 3 Run the symaccess add command to add the standard devices that were placed in the device group into the production storage group:
# symaccess add -name dbprod_stor -type storage -std -g proddb_dg -sid 54 # symaccess show view dbprodsrv_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : dbprodsrv_view : dbprodsrv_init
Host Initiators { WWN : 10000000c9767816 WWN : 10000000c9767817 } Port Group Name : dbsrv_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----0798 07E:0 07F:1 0799 07E:0 07F:1 079A 07E:0 07F:1 079B 07E:0 07F:1 07C3 07E:0 07F:1 07C4 07E:0 07F:1 : dbprod_stor Host Lun ---1 1 2 2 3 3 4 4 5 5 6 6 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314
Physical Device Name ----------------------c3t5000097208139918d1s* c4t5000097208139959d1s* c3t5000097208139918d2s* c4t5000097208139959d2s* c3t5000097208139918d3s* c4t5000097208139959d3s* c3t5000097208139918d4s* c4t5000097208139959d4s* Not Visible Not Visible Not Visible Not Visible
Note: The new devices will be listed as N/A in the PdevName field in symdg show output and Not Visible in the symaccess show view output until they are configured by the host and symcfg discover is run.
Step 4 Run the symaccess add command to add the target devices that were placed in the device group into the backup storage group:
18 Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
# symaccess add -name dbbackup_stor -type storage -tgt -g proddb_dg -sid 54 # symaccess show view dbbackupsrv_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : dbbackupsrv_view : dbbackupsrv_init
Host Initiators { WWN : 10000000c97683e0 WWN : 10000000c97683e1 } Port Group Name : dbsrv_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----0912 07E:0 07F:1 0913 07E:0 07F:1 0914 07E:0 07F:1 0915 07E:0 07F:1 0916 07E:0 07F:1 0917 07E:0 07F:1 : dbbackup_stor Host Lun ---1 1 2 2 3 3 4 4 5 5 6 6 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible
After running the applicable host commands, standard devices 7C3 and 7C4 are available to the production host and target devices 916 and 917 are available to the backup host:
# syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t50*8d0s2 GK /dev/rdsk/c3t50*8d1s2 /dev/rdsk/c3t50*8d2s2 /dev/rdsk/c3t50*8d3s2 /dev/rdsk/c3t50*8d4s2 Product -------------------------Vendor ID Rev -------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 5400798000 4417920 5400799000 4417920 540079A000 4417920 540079B000 4417920
19
/dev/rdsk/c3t50*8d5s2 /dev/rdsk/c3t50*8d6s2 /dev/rdsk/c4t50*9d0s2 GK /dev/rdsk/c4t50*9d1s2 /dev/rdsk/c4t50*9d2s2 /dev/rdsk/c4t50*9d3s2 /dev/rdsk/c4t50*9d4s2 /dev/rdsk/c4t50*9d5s2 /dev/rdsk/c4t50*9d6s2 # syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t50*8d0s2 GK /dev/rdsk/c3t50*8d1s2 /dev/rdsk/c3t50*8d2s2 /dev/rdsk/c3t50*8d3s2 /dev/rdsk/c3t50*8d4s2 /dev/rdsk/c3t50*8d5s2 /dev/rdsk/c3t50*8d6s2 /dev/rdsk/c4t50*9d0s2 GK /dev/rdsk/c4t50*9d1s2 /dev/rdsk/c4t50*9d2s2 /dev/rdsk/c4t50*9d3s2 /dev/rdsk/c4t50*9d4s2 /dev/rdsk/c4t50*9d5s2 /dev/rdsk/c4t50*9d6s2
Product -------------------------Vendor ID Rev -------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874
Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 5400912000 4417920 5400913000 4417920 5400914000 4417920 5400915000 4417920 5400916000 4417920 5400917000 4417920 5400054000 5760 5400912000 4417920 5400913000 4417920 5400914000 4417920 5400915000 4417920 5400916000 4417920 5400917000 4417920
20
Steps for provisioning storage using a cascaded initiator group In this example, no Symmetrix device groups will be created. Both a device file and command line ranges will be used for the device lists. 1. 2. 3. 4. 5. 6. 7. 8. 9. Create a storage group containing the volumes that will be presented to Node A only. Create a storage group containing the volumes that will be presented to Node B only. Create the port group. Create the initiator group for Node A. Create the initiator group for Node B. Create the cascaded initiator group and add the initiator group for Node A to the cascaded initiator group. Add the initiator group for Node B to the cascaded initiator group. Create the clustered device masking view containing the shared storage group, the port group, and the cascaded initiator group. Create the Node A masking view containing the Node A storage
21
group, port group, and Node A initiator group. 10. Create the Node B masking view containing the Node B storage group, port group, and Node B initiator group. After running the host commands to configure the new devices, they are available to the operating system. Example of using a cascaded initiator group Step 1 Create a storage group that contains the volumes (92A 92D) that will be shared among both nodes of the cluster. In this example, the device list is provided in a device file:
# cat devs 92A 92B 92C 92D # symaccess create -name clustnodeAB_stor -type storage -file devs -sid 54 # symaccess show clustnodeAB_stor -type storage -sid 54 Symmetrix ID Last updated at Storage Group Name Devices Masking View Names { None } : 000192601254 : 02:17:57 PM on Wed Apr 08,2009 : clustnodeAB_stor : 092A:092D
Step 2 Create a storage group that contains the volumes that will be presented to Node A only (7DB:7DC). The devices to be added will be specified in the CLI command:
# symaccess create -name clustnodeA_stor -type storage devs 7DB:7DC -sid 54 # symaccess show clustnodeA_stor -type storage -sid 54 Symmetrix ID Last updated at Storage Group Name Devices Masking View Names
22 Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
{ None }
Step 3 Create a storage group that contains the volumes that will be presented to Node B only (7DD:7DE). The devices to be added will be specified in the CLI command:
# symaccess create -name clustnodeB_stor -type storage devs 7DD:7DE -sid 54 # symaccess show clustnodeB_stor -type storage -sid 54 Symmetrix ID Last updated at Storage Group Name Devices Masking View Names { None } : 000192601254 : 02:19:23 PM on Wed Apr 08,2009 : clustnodeB_stor : 07DD:07DE
23
# symaccess create -name clustnodeA_init -type initiator -file clustnodeA_WWN_file -sid 54 # symaccess show clustnodeA_init -type initiator -sid 54 Symmetrix ID Last updated at Initiator Group Name : 000192601254 : 02:31:15 PM on Wed Apr 08,2009 : clustnodeA_init
Host Initiators { WWN :10000000c9767816 WWN :10000000c9767817 } Masking View Names { None } Parent Initiator Groups { None }
Create a storage group that contains the volumes that Create the initiator group for Node B:
# cat clustnodeB_WWN_file WWN:10000000c97683e0 WWN:10000000c97683e1 # symaccess create -name clustnodeB_init -type initiator -file clustnodeB_WWN_file -sid 54 # symaccess show clustnodeB_init -type initiator -sid 54 Symmetrix ID Last updated at Initiator Group Name : 000192601254 : 02:32:45 PM on Wed Apr 08,2009 : clustnodeB_init
Host Initiators { WWN :10000000c97683e0 WWN :10000000c97683e1 } Masking View Names { None }
24
Step 7 Create the cascaded initiator group: One of the existing initiator groups, in this case, clustnodeA,_init is added when the cascaded IG is created:
# symaccess create -name clustnodeAB_init -type initiator -ig clustnodeA_init -sid 54
Step 8 Add the initiator group for Node B to the cascaded initiator group:
# symaccess add -name clustnodeAB_init -type initiator -ig clustnodeB_init -sid 54 # symaccess show clustnodeAB_init -type initiator -sid 54 Symmetrix ID Last updated at Initiator Group Name : 000192601254 : 02:34:03 PM on Wed Apr 08,2009 : clustnodeAB_init
Host Initiators { IG :clustnodeA_init IG :clustnodeB_init } Masking View Names { None } Parent Initiator Groups { None }
Step 9 Create the clustered device masking view containing the shared storage group, the port group, and the cascaded initiator group:
# symaccess create view -name clustnodeAB_view -storgrp clustnodeAB_stor -portgrp clust_port -initgrp clustnodeAB_init -sid 54
Running symaccess show view on the cascaded initiator group will display the child initiator groups in the Host Initiators field:
# symaccess show view clustnodeAB_view -sid 54
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
25
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----092A 07E:0 07F:1 092B 07E:0 07F:1 092C 07E:0 07F:1 092D 07E:0 07F:1 : clustnodeAB_stor Host Lun ---1 1 2 2 3 3 4 4 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible
The -ig <child_ig> option can be chosen to see the cascaded group from the child groups perspective:
# symaccess show view clustnodeAB_view -ig clustnodeA_init -sid 54 Symmetrix ID Last updated at Masking View Name Initiator Group Name : 000192601254 : 02:35:17 PM on Wed Apr 08,2009 : clustnodeAB_view : clustnodeA_init *
26
: clust_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----092A 07E:0 07F:1 092B 07E:0 07F:1 092C 07E:0 07F:1 092D 07E:0 07F:1 : clustnodeAB_stor Host Lun ---1 1 2 2 3 3 4 4 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible
* Denotes a cascaded Initiator Group within the specified Masking View # symaccess show view clustnodeAB_view -ig clustnodeB_init -sid 54 Symmetrix ID Last updated at Masking View Name Initiator Group Name : 000192601254 : 02:35:17 PM on Wed Apr 08,2009 : clustnodeAB_view : clustnodeB_init *
Host Initiators { WWN : 10000000c97683e0 WWN : 10000000c97683e1 } Port Group Name : clust_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----092A 07E:0 07F:1 : clustnodeAB_stor Host Lun ---1 1 Attr ---Cap(MB) ------4314 4314
27
2 2 3 3 4 4
Step 10 Create the Node A masking view containing the Node A storage group, the port group, and the Node A initiator group:
# symaccess create view -name clustnodeA_view -storgrp clustnodeA_stor -portgrp clust_port -initgrp clustnodeA_init -sid 54 # symaccess show view clustnodeA_view -sid 54 Symmetrix ID Last updated at Masking View Name Initiator Group Name : 000192601254 : 02:36:02 PM on Wed Apr 08,2009 : clustnodeA_view : clustnodeA_init
Host Initiators { WWN : 10000000c9767816 WWN : 10000000c9767817 } Port Group Name : clust_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----07DB 07E:0 07F:1 07DC 07E:0 07F:1 : clustnodeA_stor Host Lun ---5 5 6 6 Attr ---Cap(MB) ------4314 4314 4314 4314
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible
Step 11 Create the Node B masking view containing the Node B storage group, the port group, and the Node B initiator group:
# symaccess create view -name clustnodeB_view -storgrp clustnodeB_stor -portgrp clust_port -initgrp clustnodeB_init -sid 54
28 Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
# symaccess show view clustnodeB_view -sid 54 Symmetrix ID Last updated at Masking View Name Initiator Group Name : 000192601254 : 02:37:05 PM on Wed Apr 08,2009 : clustnodeB_view : clustnodeB_init
Host Initiators { WWN : 10000000c97683e0 WWN : 10000000c97683e1 } Port Group Name : clust_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----07DD 07E:0 07F:1 07DE 07E:0 07F:1 : clustnodeB_stor Host Lun ---5 5 6 6 Attr ---Cap(MB) ------4314 4314 4314 4314
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible
After configuring the devices from the operating systems, the correct devices are available to each cluster node: Cluster Node A sees thin devices 92A 92D as well as RAID-6 devices 7DB 7DC:
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c3t5000097*18d5s2 /dev/rdsk/c3t5000097*18d6s2 /dev/rdsk/c4t5000097*59d0s2 GK /dev/rdsk/c4t5000097*59d1s2 /dev/rdsk/c4t5000097*59d2s2 Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 540092A000 4417920 540092B000 4417920 540092C000 4417920 540092D000 4417920 54007DB000 4417920 54007DC000 4417920 5400054000 5760 540092A000 4417920 540092B000 4417920
29
Cluster Node B also sees thin devices 92A 92D, but it sees RAID-6 devices 7DD 7DE:
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c3t5000097*18d5s2 /dev/rdsk/c3t5000097*18d6s2 /dev/rdsk/c4t5000097*59d0s2 GK /dev/rdsk/c4t5000097*59d1s2 /dev/rdsk/c4t5000097*59d2s2 /dev/rdsk/c4t5000097*59d3s2 /dev/rdsk/c4t5000097*59d4s2 /dev/rdsk/c4t5000097*59d5s2 /dev/rdsk/c4t5000097*59d6s2 Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 540092A000 4417920 540092B000 4417920 540092C000 4417920 540092D000 4417920 54007DD000 4417920 54007DE000 4417920 5400054000 5760 540092A000 4417920 540092B000 4417920 540092C000 4417920 540092D000 4417920 54007DD000 4417920 54007DE000 4417920
Note: The order in which the parent and child initiator groups are created will have an effect on what LUNs are assigned to the devices in the groups. If the order used in this example was reversed, meaning that the views for the child groups were created before the view for the parent group, the LUNs of the devices would be different. For example, if clustnodeA_view and clustnodeB_view were created before clustnodeAB_view, devices 7DB-7DC would have LUNs 001-002, devices 7DD-7DE would also have LUNs 001-002, and devices 92A-92D in the parent initiator group would have LUNs 003-006.
30
1. 2. 3. 4.
Delete the masking view and, optionally, unmap the devices in the associated storage group. Delete the initiator group. Delete the port group. Delete the storage group.
Example of deleting a masking view and associated groups In the following example, the proddb_view masking view will be deleted and the devices in the associated storage group will be unmapped. Following that, the initiator group, port group, and storage group will also be removed:
# symaccess show view proddb_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : proddb_view : proddb_init
Host Initiators { WWN : 10000000c97683e0 WWN : 10000000c97683e1 } Port Group Name : proddb_port
Director Identification { FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----07B0 07E:0 07F:1 07B1 07E:0 07F:1 07B2 07E:0 07F:1 07B3 07E:0 07F:1 00A8 07E:0 07F:1 00A9 07E:0 07F:1 00AA 07E:0 : proddb_stor Host Lun ---0 0 1 1 2 2 3 3 4 4 5 5 6 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314 5 5 5 5 5
31
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible
00AB
6 7 7
5 5 5
Step 1 Delete the masking view and, optionally, unmap the devices in the associated storage group by using the unmap option:
# symaccess delete view -name proddb_view -sid 54 -unmap nop
When the prompt returns, the view has been deleted and the devices in the storage group have been ummapped from the FA ports:
# symaccess show view proddb_view -sid 54 No Masking Views could be found for the specified input parameters # symdev list -sid 54 -noport Symmetrix ID: 000192601254 Device Name Directors Device -------------------------- ------------- ------------------------------------Cap Sym Physical SA :P DA :IT Config Attribute Sts (MB) -------------------------- ------------- ------------------------------------... 00A8 00A9 00AA 00AB ... 07B0 07B1 07B2 07B3 ... Not Not Not Not Not Not Not Not Visible Visible Visible Visible Visible Visible Visible Visible ???:? ???:? ???:? ???:? ???:? ???:? ???:? ???:? 09A:D3 09C:C2 09B:D4 10D:C0 10A:DA 10D:D9 10C:DA 09A:D5 2-Way 2-Way 2-Way 2-Way RAID-5 RAID-5 RAID-5 RAID-5 Mir Mir Mir Mir N/Grp'd N/Grp'd N/Grp'd N/Grp'd N/Grp'd N/Grp'd N/Grp'd N/Grp'd RW RW RW RW RW RW RW RW 6 6 6 6 4314 4314 4314 4314
Step 2 Delete the initiator group. If the initiator group is not empty, the initiators must be removed from the group prior to the delete or the force flag must be used:
# symaccess delete -name proddb_init -type initiator -sid 54 -force nop
Step 3 Delete the port group. If the port group is not empty, the ports must be removed from the group prior to the delete or the force flag must be used:
# symaccess delete -name proddb_port -type port -sid 54 -force nop
32
Step 4 Delete the storage group. If the storage group is not empty, the volumes must be removed from the group prior to deleting the group or the force flag must be used:
# symaccess delete -name proddb_stor -type storage -sid 54 -force nop
Masking View Name Initiator Group Port Group Storage Group ------------------ ------------------- ------------------- ------------------view_LICOA067 init_LICOA067 port_LICOA067 stor_LICOA067 ctrlsrv_licoa068 ctrlsrv_licoa068 ctrlsrv_licoa068 ctrlsrv_licoa068 licoa057_1_view licoa057_1_hbas licoa057_1_ports licoa057_1_stor # symaccess list -sid 54 -detail Symmetrix ID : 000192601254 Count ----2 2 2 2 2 2 8 24 12 View Count ----3 1 1 3 1 1 1 1 1 Type --------Initiator Initiator Initiator Port Port Port Storage Storage Storage
Group Name -------------------------------init_LICOA067 licoa057_1_hbas ctrlsrv_licoa068 port_LICOA067 licoa057_1_ports ctrlsrv_licoa068 stor_LICOA067 licoa057_1_stor ctrlsrv_licoa068
33
An initiator group, storage group, and port group have already been created for the host:
# symaccess list -sid 54 -detail Symmetrix ID : 000192601254 Count ----2 2 4 View Count ----0 0 0 Type --------Initiator Port Storage
# symaccess show proddb_init -type initiator -sid 54 Symmetrix ID Last updated at Initiator Group Name : 000192601254 : 08:35:04 PM on Thu Feb 12,2009 : proddb_init
Host Initiators { WWN :10000000c97683e0 WWN :10000000c97683e1 } Masking View Names { None } # symaccess show proddb_stor -type storage -sid 54 Symmetrix ID Last updated at Storage Group Name Devices Masking View Names { None } # symaccess show proddb_port -type port -sid 54
34 Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
A masking view can now be created that will mask and map the four devices in the storage group (7B0 - 7B3) on the ports in the port group to the WWNs in the initiator group. When the mapping is done, the devices in the storage group will get the next four LUNs available on the FA port. By specifying a starting LUN value, in this case LUN 1, the LUN values will be assigned dynamically:
# symaccess create view -name proddb_view -storgrp proddb_stor -portgrp proddb_port initgrp proddb_init -lun 1 -sid 54
Because mapping is also being done, the prompt will take a few moments to return. After the command completes, the devices are mapped and masked and available to be configured by the host operating system. The devices have been dynamically assigned LUNs 001 004, which are displayed in the Host LUN column of the storage group:
# symaccess show view proddb_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : proddb_view : proddb_init
Host Initiators { WWN : 10000000c97683e0 WWN : 10000000c97683e1 } Port Group Name : proddb_port
Director Identification {
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
35
FA-7E:0 FA-7F:1 } Storage Group Name Sym Dev Name Dir:P ------ ----07B0 07E:0 07F:1 07B1 07E:0 07F:1 07B2 07E:0 07F:1 07B3 07E:0 07F:1 : proddb_stor Host Lun ---1 1 2 2 3 3 4 4 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314
Physical Device Name ----------------------Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible Not Visible
These LUN values differ from the LUNs actually assigned on the FA (0B1-0B4):
# symcfg list -address -FA 07E -P 0 -sid 54 Symmetrix ID: 000192601254 Director Device Name Attr Address ---------------------- ----------------------------- ---- -------------Ident Symbolic Port Sym Physical VBUS TID LUN ------ -------- ---- ---- -------------------------- --- --FA-7E 0054 c3t500009720139918d0s* ACLX 0055 Not Visible 0056 Not Visible 0088 Not Visible ... 0091 Not Visible 0092 Not Visible 07B0 Not Visible 07B1 Not Visible 07B2 Not Visible 07B3 Not Visible 00B0 Not Visible 00B1 Not Visible ... 00A5 Not Visible 00A6 Not Visible 00A7 Not Visible Total ---Mapped Devices: 205 Including Metamembers: 205 Available Addresses: 3884 (s) 07E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000 001 002 003 0AF 0B0 0B1 0B2 0B3 0B4 0C0 0C1 0F5 0F6 0F7
After running the host commands to configure the devices, they are now available to the operating system on two paths with LUNs 001 - 004:
# syminq -sym
36
Device --------------------------------Name Type --------------------------------/dev/rdsk/c3t500009*18d0s2 GK /dev/rdsk/c3t500009*18d1s2 /dev/rdsk/c3t500009*18d2s2 /dev/rdsk/c3t500009*18d3s2 /dev/rdsk/c3t500009*18d4s2 /dev/rdsk/c4t500009*19d0s2 GK /dev/rdsk/c4t500009*59d1s2 /dev/rdsk/c4t500009*59d2s2 /dev/rdsk/c4t500009*59d3s2 /dev/rdsk/c4t500009*59d4s2
Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874
Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 54007B0000 4417920 54007B1000 4417920 54007B2000 4417920 54007B3000 4417920 5400054000 5760 54007B0000 4417920 54007B1000 4417920 54007B2000 4417920 54007B3000 4417920
When adding devices to an existing storage group using a list of devices in the command line, both a starting LUN and specific LUNs for the devices in the list may be specified. In the following example, an existing host has a group of devices assigned but only sees the ACLX device. If gatekeepers are assigned, it might be desirable to give them high LUN numbers so that they appear at the end of the device list while also adding new devices that use the next LUNs available to the initiator. Devices 907 and 908 and gatekeepers 0AC and 0AD will be added to the storage group. The first two devices will be given LUNs 015 and 016 (21 and 22 in decimal); the second two devices will be given LUNs 0F0 and 0F1 (240 and 241):
# symaccess show view licoa057_1_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : licoa057_1_view : licoa057_1_hba
Director Identification { FA-7E:0 } Storage Group Name Sym Dev Name -----07DB 07DC Dir:P ----07E:0 07E:0 : licoa057_1_stor Host Lun ---1 2 Attr ---Cap(MB) ------4314 4314
37
07DD 07DE 0833 0834 0835 0836 0837 0838 0839 083A 083B 083C 083D 083E 092A 092B 092C 092D
07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0
c3t5000097208139918d3s* c3t5000097208139918d4s* c3t5000097208139918d5s* c3t5000097208139918d6s* c3t5000097208139918d7s* c3t5000097208139918d8s* c3t5000097208139918d9s* c3t5000097208139918d10* c3t5000097208139918d11* c3t5000097208139918d12* c3t5000097208139918d13* c3t5000097208139918d14* c3t5000097208139918d15* c3t5000097208139918d16* c3t5000097208139918d17* c3t5000097208139918d18* c3t5000097208139918d19* c3t5000097208139918d20*
3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14
4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314
# symaccess -sid 54 -name licoa057_1_stor -type storage add devs 907,908,0AC,0AD -lun 015,016,0F0,0F1
The devices have been added to the storage group and are mapped and masked with the specified dynamic LUN addresses:
# symaccess show view licoa057_1_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : licoa057_1_view : licoa057_1_hba
Director Identification { FA-7E:0 } Storage Group Name Sym Dev Name -----07DB 07DC 07DD 07DE 0833 0834 0835
38
: licoa057_1_stor Host Lun ---1 2 3 4 5 6 7 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314
Physical Device Name ----------------------c3t5000097208139918d1s* c3t5000097208139918d2s* c3t5000097208139918d3s* c3t5000097208139918d4s* c3t5000097208139918d5s* c3t5000097208139918d6s* c3t5000097208139918d7s*
0836 0837 0838 0839 083A 083B 083C 083D 083E 092A 092B 092C 092D 0907 0908 00AC 00AD
07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0
c3t5000097208139918d8s* c3t5000097208139918d9s* c3t5000097208139918d10* c3t5000097208139918d11* c3t5000097208139918d12* c3t5000097208139918d13* c3t5000097208139918d14* c3t5000097208139918d15* c3t5000097208139918d16* c3t5000097208139918d17* c3t5000097208139918d18* c3t5000097208139918d19* c3t5000097208139918d20* Not Visible Not Visible Not Visible Not Visible
8 9 a b c d e f 10 11 12 13 14 15 16 f0 f1
4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 5 5
The LUNs that are actually assigned on the FA are different from the dynamically assigned LUNs:
# symcfg list -address -FA 07E -P 0 -sid 54 Symmetrix ID: 000192601254 Director Device Name Attr Address ---------------------- ----------------------------- ---- -------------Ident Symbolic Port Sym Physical VBUS TID LUN ------ -------- ---- ---- -------------------------- --- --FA-7E 0054 c3t5000097208139918d0s* ACLX 0055 Not Visible 0056 Not Visible 0088 Not Visible ... 00AA Not Visible 00AB Not Visible 00AC c3t5000097208139918d24* 00AD c3t5000097208139918d24* 00AE Not Visible 00AF Not Visible 0907 c3t5000097208139918d21* 0908 c3t5000097208139918d22* 00B0 Not Visible 00B1 Not Visible ... 00A4 Not Visible 00A5 Not Visible 00A6 Not Visible 00A7 Not Visible Total ---Mapped Devices: 215 Including Metamembers: 215 Available Addresses: 3874 (s) 07E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000 001 002 003 0B7 0B8 0B9 0BA 0BB 0BC 0BD 0BE 0C0 0C1 0F4 0F5 0F6 0F7
After configuring the devices to the host, the host special device files
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 39
After running symcfg discover, the special device files appear in the symaccess show view output:
# symaccess show view licoa057_1_view -sid 54 Symmetrix ID Masking View Name Initiator Group Name : 000192601254 : licoa057_1_view : licoa057_1_hba
Storage Group Name Sym Dev Name -----07DB 07DC 07DD 07DE 0833 0834 0835 0836 0837 0838 0839 083A 083B 083C 083D 083E 092A 092B 092C 092D 0907 0908 00AC 00AD Dir:P ----07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0 07E:0
: licoa057_1_stor Host Lun ---1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 f0 f1 Attr ---Cap(MB) ------4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 4314 5 5
Physical Device Name ----------------------c3t5000097208139918d1s* c3t5000097208139918d2s* c3t5000097208139918d3s* c3t5000097208139918d4s* c3t5000097208139918d5s* c3t5000097208139918d6s* c3t5000097208139918d7s* c3t5000097208139918d8s* c3t5000097208139918d9s* c3t5000097208139918d10* c3t5000097208139918d11* c3t5000097208139918d12* c3t5000097208139918d13* c3t5000097208139918d14* c3t5000097208139918d15* c3t5000097208139918d16* c3t5000097208139918d17* c3t5000097208139918d18* c3t5000097208139918d19* c3t5000097208139918d20* c3t5000097208139918d21* c3t5000097208139918d22* c3t5000097208139918d24* c3t5000097208139918d24*
More information about using dynamic LUN addressing can be found in the Symmetrix Dynamic LUN Addressing Technical Note, which is available on the EMC Powerlink website.
OpenVMS [OVMS] SCSI_3 [SC3] SPC2_Protocol_Version [SPC2] SCSI_Support1 [OS2007] All of the HBA flags can be set on an individual HBA or an entire initiator group with the exception of the Volume Set Addressing flag. As the Volume Set Addressing flag affects the LUN addressing scheme in support of HP-UX environments, it can only be set at the initiator group level. The V flag prevents LUNs 8 F from being assigned to a volume. It is not applicable for any other host environment and must be set on the port or on the initiator group. The V flag can apply to both child and parent initiator groups, but must be consistent across them. If an attempt is made to add an initiator group to another IG to form a cascaded IG and a child group has the V flag set but the parent does not, the command will fail:
Note: In many cases, setting a flag at the group level is preferable to setting it at the initiator level. Setting the flag on the IG propagates the setting to all initiators in the group and guarantees that any initiators added to the group at a later time will inherit the same settings.
: 000192601554 : licoa057_init : 10:06:11 AM on Mon Dec 21,2009 : No : No : : : : : : : : : : : : : : 10000000c9767817 10000000c9767817/10000000c9767817 No No No N/A Fibre 10000000c9767816 10000000c9767816/10000000c9767816 No No No N/A Fibre
The Disable_Q_Reset_on_UA is now set on the initiator group and all initiators belonging to it. The Port Flag Overrides field indicates that a port flag has been set on the IG, and also for each HBA:
# symaccess -sid 54 -type init show licoa057_init -detail Symmetrix ID Initiator Group Name Last updated at Port Flag Overrides Enabled Disabled Consistent Lun Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides Enabled Disabled CHAP Enabled Type Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides Enabled Disabled CHAP Enabled Type : 000192601554 : licoa057_init : 12:07:00 PM on Mon Mar 15,2010 : : : : Yes Disable_Q_Reset_on_UA(D) N/A No : : : : : : : : : : : : : : : : : : 10000000c9767817 10000000c9767817/10000000c9767817 No No Yes Disable_Q_Reset_on_UA(D) N/A N/A Fibre 10000000c9767816 10000000c9767816/10000000c9767816 No No Yes Disable_Q_Reset_on_UA(D) N/A N/A Fibre
Consistent Lun Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type
To set a flag by using the HBA WWN, the following can be run, which in this case sets the D flag on only one of the initiators in the IG and not the entire group:
# symaccess -sid 54 -wwn 10000000c9767817 set hba_flags on D enable
The Port Flag Overrides field indicates that the override applies only to one of the HBAs in the IG:
# symaccess -sid 54 -type init show licoa057_init -detail Symmetrix ID Initiator Group Name Last updated at Port Flag Overrides Consistent Lun : 000192601554 : licoa057_init : 09:53:14 AM on Tue Mar 16,2010 : No : No : : : : : : : : : : : : : 10000000c9767817 10000000c9767817/10000000c9767817 No No Yes Disable_Q_Reset_on_UA(D) N/A N/A Fibre 10000000c9767816 10000000c9767816/10000000c9767816 No No
Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides Enabled Disabled CHAP Enabled Type Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host
44
: No : N/A : Fibre
Note: There is some dependency between the OS2007 and SPC2 flags. The OS2007 flag can only be set or enabled on the initiator or group when the SPC2 flag is set or enabled on the same initiator or group. The reverse is also true; the SPC2 flag can not be set, disabled, or turned off while the OS2007 flag is set or enabled.
Last updated at
Director Identification { FA-7E:0 FA-10E:1 } Masking View Names { licoa057_view } # symcfg -sid 54 list -FA 7E -p 0 -v Symmetrix ID: 000192601554 ... SCSI Flags { Negotiate_Reset(N) Soft_Reset(S) Environ_Set(E) HP3000_Mode(B) Common_Serial_Number(C) Disable_Q_Reset_on_UA(D) Sunapee(SCL) Siemens(S) Sequent(SEQ) Avoid_Reset_Broadcast(ARB) Server_On_AS400(A4S) SCSI_3(SC3) SPC2_Protocol_Version(SPC2) SCSI_Support1(OS2007) } Fibre Specific Flags { Volume_Set_Addressing(V) Non_Participating(NP) Init_Point_to_Point(PP) Unique_WWN(UWN) Access_Logix(ACLX) OpenVMS(OVMS) AS400(AS4) Auto_Negotiate(EAN) } # symcfg -sid 54 list -FA 10E -p 1 -v Symmetrix ID: 000192601554 ... SCSI Flags { Negotiate_Reset(N) Soft_Reset(S)
46
: : : : : : : : : : : : : :
Disabled Disabled Disabled Disabled Enabled Disabled Disabled Disabled Disabled Disabled Disabled Enabled Enabled Disabled
: : : : : : : :
: Disabled : Disabled
Environ_Set(E) HP3000_Mode(B) Common_Serial_Number(C) Disable_Q_Reset_on_UA(D) Sunapee(SCL) Siemens(S) Sequent(SEQ) Avoid_Reset_Broadcast(ARB) Server_On_AS400(A4S) SCSI_3(SC3) SPC2_Protocol_Version(SPC2) SCSI_Support1(OS2007) } Fibre Specific Flags { Volume_Set_Addressing(V) Non_Participating(NP) Init_Point_to_Point(PP) Unique_WWN(UWN) Access_Logix(ACLX) OpenVMS(OVMS) AS400(AS4) Auto_Negotiate(EAN) }
: : : : : : : : : : : :
Disabled Disabled Enabled Disabled Disabled Disabled Disabled Disabled Disabled Enabled Enabled Disabled
: : : : : : : :
The common serial number flag causes the serial number returned in response to a SCSI inquiry to end in all zeros:
# syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t5*d0s2 /dev/rdsk/c3t5*d1s2 /dev/rdsk/c3t5*d2s2 /dev/rdsk/c3t5*d3s2 /dev/rdsk/c3t5*d4s2 /dev/rdsk/c3t5*d5s2 /dev/rdsk/c3t5*d6s2 /dev/rdsk/c3t5*d7s2 ... Product --------------------------Vendor ID Rev --------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------54003A9000 4417920 54003AA000 4417920 54003AB000 4417920 54003AC000 4417920 54003AD000 4417920 54003AE000 4417920 54003AF000 4417920 54003B0000 4417920
The IG currently has no port flags set and no port flags overridden:
# symaccess -sid 54 -type init show licoa057_init -detail Symmetrix ID Initiator Group Name Last updated at Port Flag Overrides Consistent Lun : 000192601554 : licoa057_init : 09:58:16 AM on Tue Mar 16,2010 : No : No
47
Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type
: : : : : : : : : : : : : :
To unset the flag for just the initiators in an IG while leaving it set on the port, the disable option is used along with the on option. The flag cannot simply be turned off at the IG level because the IG is not overriding the flag. It must be turned 'on' at the initiator group to turn on the override of the flag. It can then be disabled so that the override action is to unset the flag:
# symaccess -sid 54 -name licoa057_init -type initiator set ig_flags on C disable # symaccess -sid 54 -type init show licoa057_init -detail Symmetrix ID Initiator Group Name Last updated at Port Flag Overrides Enabled Disabled Consistent Lun Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides Enabled Disabled CHAP Enabled Type Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides
48
: 000192601554 : licoa057_init : 07:33:24 AM on Wed Mar 17,2010 : : : : Yes N/A Common_Serial_Number(C) No : : : : : : : : : : : : : : 10000000c9767817 10000000c9767817/10000000c9767817 No No Yes N/A Common_Serial_Number(C) N/A Fibre 10000000c9767816 10000000c9767816/10000000c9767816 No No Yes
: : : :
The full serial number, which now includes FA and port numbers, is now being displayed in syminq output:
# syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t57208* /dev/rdsk/c3t57208* /dev/rdsk/c3t57208* /dev/rdsk/c3t57208* /dev/rdsk/c3t57208* /dev/rdsk/c3t57208* /dev/rdsk/c3t57208* /dev/rdsk/c3t50208* ... Product --------------------------Vendor ID Rev --------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------54003A9470 4417920 54003AA470 4417920 54003AB470 4417920 54003AC470 4417920 54003AD470 4417920 54003AE470 4417920 54003AF470 4417920 54003B0470 4417920
Now that the flag is set on the IG, it can be turned off on the IG by using the off option:
# symaccess -sid 54 -name licoa057_init -type initiator set ig_flags off C # symaccess -sid 54 -type init show licoa057_init -detail Symmetrix ID Initiator Group Name Last updated at Port Flag Overrides Consistent Lun : 000192601554 : licoa057_init : 07:53:07 AM on Wed Mar 17,2010 : No : No : : : : : : : : : : : : : : 10000000c9767817 10000000c9767817/10000000c9767817 No No No N/A Fibre 10000000c9767816 10000000c9767816/10000000c9767816 No No No N/A Fibre
Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type
49
# syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t5*d0s2 /dev/rdsk/c3t5*d1s2 /dev/rdsk/c3t5*d2s2 /dev/rdsk/c3t5*d3s2 /dev/rdsk/c3t5*d4s2 /dev/rdsk/c3t5*d5s2 /dev/rdsk/c3t5*d6s2 /dev/rdsk/c3t5*d7s2 ... Product --------------------------Vendor ID Rev --------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------54003A9000 4417920 54003AA000 4417920 54003AB000 4417920 54003AC000 4417920 54003AD000 4417920 54003AE000 4417920 54003AF000 4417920 54003B0000 4417920
When the consistent_lun flag is set on an IG and when it is added to a masking view, all volumes in associated storage groups will be assigned
50 Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
identical LUNs on all channels as mapping and masking are performed by the Symmetrix. The -consistent_lun option can apply to both child and parent initiator groups but must be consistent across them. If an attempt is made to add an initiator group to another IG to form a cascaded IG and a child group has the consistent_lun flag set but the parent does not, the command will fail:
# symaccess -sid 51 create -name licoa099_init -type initiator -f clustnodeB_WWN_file # symaccess -sid 51 show licoa099_init -type initiator -detail Symmetrix ID Initiator Group Name Last updated at Port Flag Overrides Consistent Lun Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type Originator Port wwn User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type : 000192601551 : licoa099_init : 11:15:31 AM on Tue Mar 23,2010 : No : No : : : : : : : : : : : : : : 10000000c976c3e5 10000000c976c3e5/10000000c976c3e5 No No No N/A Fibre 10000000c976c3e6 10000000c976c3e6/10000000c976c3e6 No No No N/A Fibre
# symaccess -sid 51 show licoaCLUST_init -type initiator -detail Symmetrix ID Initiator Group Name Last updated at Port Flag Overrides Consistent Lun Group Name User-generated Name FCID Lockdown Heterogeneous Host Port Flag Overrides CHAP Enabled Type : 000192601551 : licoaCLUST_init : 11:13:35 AM on Tue Mar 23,2010 : No : Yes : : : : : : : licoa098_init N/A N/A N/A N/A N/A Initiator Group
51
# symaccess -sid 51 add -name licoaCLUST_init -type initiator -ig licoa099_init The operation will result in consistent lun violation
In this situation, the set command would allow the user to set this flag on the child after it has been created. This would allow the child initiator group to be added to the parent IG:
# symaccess -sid 51 set -name licoa099_init set consistent_lun on
Figure 3 Creating individual paths to gatekeepers Steps for provisioning storage The following are the general steps that can be followed to accomplish this goal:
52 Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
1. 2. 3. 4. 5. 6. 7. 8.
Create a storage group containing the gatekeepers that will be accessed on path 0. Create a storage group containing the gatekeepers that will be accessed on path 1. Create a port group containing the port for path 0. Create a port group containing the port for path 1. Create an initiator group containing the HBA for path 0. Create an initiator group for the initiator for path 1. Create a masking view for path 0. Create a masking view for path 1.
Once the masking view has been created, the devices are available to the initiators on the storage ports. Host-specific commands can then be run to configure the devices to the operating system. Example of provisioning storage The folders containing all of the initiator groups entities can be found in the Masking Views folder in the tree view pane under the Symmetrix serial number:
Figure 4
Step 1 - Create a storage group containing the gatekeepers that will be accessed on path 0. The dialog box used to create storage groups can be accessed by rightclicking on either the Symmetrix serial number, the Symmetrix Masking Views folder, or the Storage Groups folder, then by selecting Device
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 53
Masking and Mapping > Storage Groups Maintenance > Create Storage Group ...
Figure 5
54
In the Create dialog box, the group name can be entered. The user can also choose the Devices Source Type from a pull-down menu. This allows the user to choose devices manually from a list of available Symmetrix devices or from a device group, composite group, or storage template. In this example, three gatekeepers (05A, 05B, and 05C) are chosen from a list of available Symmetrix devices. After selecting them and clicking Add they are put into the Group Members field. After clicking OK, the storage group is created.
Figure 6
Step 2 Follow the same steps and create a storage group containing the gatekeepers that will be accessed on path 1. Step 3 Create a port group containing the port for path 0. The dialog box used to create port groups can be accessed by rightclicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Port Groups folder, then by selecting Device Masking and Mapping > Port Groups Maintenance > Create Port Group ...
55
Figure 7
56
After naming the port group, selecting the desired port (7E:0), clicking Add, and clicking OK, the port group will be created:
Figure 8
Step 4 Follow the same steps and create a port group containing the port that will be used on path 1. Step 5 Create an initiator group containing the HBA for path 0. The dialog box used to create initiator groups can be accessed by rightclicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Initiator Groups folder, then by selecting Device Masking and Mapping > Initiator Groups Maintenance > Create Initiator Group ...
57
Figure 9Creating initiator groups With initiator groups, the WWN of the HBA can be chosen from a list of available initiators or a new initiator that has not been discovered yet can be entered manually. After naming the initiator group, selecting the initiator, clicking Add, and clicking OK, the initiator group will be created:
Figure 10
58
Step 6 Follow the same steps and create an initiator group containing the HBA for path 0. Step 7 Create a masking view for path 0. The dialog box used to create a masking view can be accessed by rightclicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Masking Views folder, then by selecting Device Masking and Mapping > Masking Views Maintenance > Create Masking View ... After entering in the masking view name, the storage group can be selected from a list by clicking the Select button to bring up the Select a Storage Group dialog box.
Figure 11
After the storage group is selected, the port and initiator groups can be selected in the same manner.
59
Figure 12
After they have been chosen, clicking OK will cause SMC to perform the mapping and masking. When the operation is complete, the masking view is created and the gatekeepers are available to the host:
Figure 13
# syminq -sym
Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874
Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 540005A000 5760 540005B000 5760 540005C000 5760 5400054000 5760
60
Step 8 Follow the same steps and create a masking view for Path 1.
Figure 14 Storage presented to a production and a backup host Steps for provisioning storage To make the storage available to the appropriate host, the storage groups, port group, and initiator groups must be created. The applicable groups must then be combined into a masking view for each host, which will do the mapping and masking so that the storage is accessible. In this example a Symmetrix device group will be created and will be used to provide the device lists for the storage groups. The following are the general steps that can be followed to accomplish this goal: 1. 2. Create a Symmetrix device group that contains the production volumes and the clone target volumes. Create the production storage group that contains the production
61
volumes. 3. 4. 5. 6. 7. Create the backup storage group that contains the clone target volumes. Create the port group. Create the production server initiator group. Create the backup server initiator group. Create the production server masking view containing the production storage group, port group, and production initiator group. Create the backup server masking view containing the backup storage group, port group, and backup initiator group.
8.
Once the masking view has been created, the devices are available to the initiators on the storage ports. Host-specific commands can then be run to configure the devices to the operating system. Example of provisioning storage Step 1 - Create a Symmetrix device group, add the production volumes, and add the clone target volumes. The dialog box used to create device groups can be accessed by right-clicking on the Device Groups folder then by selecting DG/CG Management > Create Group ...
62
Figure 15
The standard volumes (STD) for the production host and the target volumes (TGT) for the backup host can now be selected. Selecting the STD device type brings up a list of available Standards. The following figure shows four devices (7DB 7DE) are chosen:
63
Figure 16
Selecting volumes
Selecting the TGT device type brings up a list of devices that are available to be used as clone targets. The four clone targets (7DF 7E2) can be selected and added to the device group:
64
Figure 17
Figure 18
Step 2 - Create the production storage group that contains the production volumes. For this step, the device group will be used to provide the device list. The dialog box used to create storage groups can be accessed by rightclicking on either the Symmetrix serial number, the Symmetrix Masking
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 65
folder, or the Storage Groups folder, then selecting Device Masking and Mapping > Storage Groups Maintenance > Create Storage Group ...
Figure 19
After naming the storage group, Device Group can be selected from the pull-down menu for Devices Source Type. The correct device group can then be chosen by clicking Select... next to the Device Source Name field. When the dialog box opens, all of the devices in the device group will populate the Group Members list. In this example, only the STD devices will be part of this storage group, so the TGT devices must be removed before the storage group is created.
66
Figure 20
Step 3 The storage group for the backup server can be created in the same way except the STD devices will be removed before clicking OK:
67
Figure 21
Figure 22
Step 4 Create the port group containing the two Symmetrix ports to which the HBAs are zoned. The dialog box used to create port groups can be accessed by rightclicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Port Groups folder, then by selecting Device Masking and Mapping > Port Groups Maintenance > Create Port Group ...
68
Figure 23
In the Create dialog box, the Port Group Name can be entered and the ports chosen. In this example, both the Standard and Target devices will be available on ports 07E:0 and 07F:1:
69
Figure 24 Creaing a port group After clicking OK, the port group is created:
Figure 25
Step 5 Create the production server initiator group. The dialog box used to create initiator groups can be accessed by right-clicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the
70
Initiator Groups folder, then by selecting Device Masking and Mapping > Initiator Groups Maintenance > Create Initiator Group ...
Figure 26
With initiator groups, the WWN of the HBA can be chosen from a list of available initiators or a new initiator that has not been discovered yet can be entered manually. After naming the initiator group, selecting the initiator, clicking Add, and then OK, the initiator group will be created:
71
Figure 27
Step 6 Create the backup server initiator group in the same manner. Step 7 Create the production server masking view containing the production storage group, port group, and production initiator group. The dialog box used to create a masking view can be accessed by rightclicking on either the Symmetrix serial number, the Symmetrix Masking
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
72
folder, or the Masking Views folder, then by selecting Device Masking and Mapping > Masking Views Maintenance > Create Masking View ...
Figure 28
After entering in the masking view name, the storage group can be selected from a list by clicking Select ... to bring up the Select a Storage Group dialog box.
73
Figure 29
After the storage group is selected, the port and initiator groups can be selected in the same manner:
Figure 30
After they have been chosen, clicking OK will cause SMC to perform the mapping and masking. When the operation is complete, the masking view is created and the devices are available:
74
Figure 31
After running the host-specific commands to configure new devices, the Symmetrix volumes in the storage group (7DB-7DE) are available to the host:
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c4t5000097*59d0s2 GK /dev/rdsk/c4t5000097*59d1s2 /dev/rdsk/c4t5000097*59d2s2 /dev/rdsk/c4t5000097*59d3s2 /dev/rdsk/c4t5000097*59d4s2 Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 54007DB000 4417920 54007DC000 4417920 54007DD000 4417920 54007DE000 4417920 5400054000 5760 54007DB000 4417920 54007DC000 4417920 54007DD000 4417920 54007DE000 4417920
Step 8 Create the backup server masking view containing the backup storage group, port group, and backup initiator group.
Figure 32
After running the host-specific commands to configure new devices, the Symmetrix volumes in the storage group (7DF-7E2) are available to the
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 75
host:
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c4t5000097*59d0s2 GK /dev/rdsk/c4t5000097*59d1s2 /dev/rdsk/c4t5000097*59d2s2 /dev/rdsk/c4t5000097*59d3s2 /dev/rdsk/c4t5000097*59d4s2 Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 54007DF000 4417920 54007E0000 4417920 54007E1000 4417920 54007E2000 4417920 5400054000 5760 54007DF000 4417920 54007E0000 4417920 54007E1000 4417920 54007E2000 4417920
Adding existing storage, ports, or initiators to an existing view Adding additional Symmetrix volumes, array ports, or host initiators to the existing masking view is as simple as adding the desired element to an existing storage, port, or initiator group. If the production environment in the previous example is running out of space and needs more storage, the following steps can be followed to make additional Symmetrix volumes available to the production host with corresponding target devices available to the backup host. 1. 2. Add the standard devices that were placed in the device group into the production storage group. Add the target devices that were placed in the device group into the backup storage group.
Example of adding storage to an existing storage group Step 1 Add standard devices 7E8 and 7E9 into the production storage group. The dialog box used to modify storage groups can be accessed by rightclicking on the storage group to be modified under the Storage Groups folder, then by selecting Device Masking and Mapping > Storage Groups Maintenance > Modify Storage Group ...
76
Figure 33
Choose the devices from the list of available devices, click Add to add them to the list for group members, and click OK.
77
Figure 34
After clicking OK, the devices are part of the storage group. The mapping and masking is done automatically.
Figure 35
Step 2 Add target devices 7EA and 7EB into the backup storage group in the same way.
78
Figure 36
After running the applicable host commands, standard devices 7E8 and 7E9 are available to the production host:
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c3t5000097*18d5s2 /dev/rdsk/c3t5000097*18d6s2 /dev/rdsk/c4t5000097*59d0s2 GK Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 54007DB000 4417920 54007DC000 4417920 54007DD000 4417920 54007DE000 4417920 54007E8000 4417920 54007E9000 4417920 5400054000 5760
79
Target devices 7EA and 7EB are available to the backup host:
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c3t5000097*18d5s2 /dev/rdsk/c3t5000097*18d6s2 /dev/rdsk/c4t5000097*59d0s2 GK /dev/rdsk/c4t5000097*59d1s2 /dev/rdsk/c4t5000097*59d2s2 /dev/rdsk/c4t5000097*59d3s2 /dev/rdsk/c4t5000097*59d4s2 /dev/rdsk/c4t5000097*59d5s2 /dev/rdsk/c4t5000097*59d6s2 Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 54007DF000 4417920 54007E0000 4417920 54007E1000 4417920 54007E2000 4417920 54007EA000 4417920 54007EB000 4417920 5400054000 5760 54007DF000 4417920 54007E0000 4417920 54007E1000 4417920 54007E2000 4417920 54007EA000 4417920 54007EB000 4417920
Note: It is also possible to use the Expand Storage wizard to add devices to a storage group. The wizard can be accessed by right-clicking on the storage group to be modified under the Storage Groups folder, then clicking Device Masking and Mapping > Storage Groups Maintenance > Expand Storage Group ...
Steps for provisioning storage using a cascaded initiator group In this example, no Symmetrix device groups will be created. Both a device file and command line ranges will be used for the device lists. The following are the general steps that can be followed to accomplish this goal: 1. 2. 3. 4. 5. 6. 7. 8. Create a storage group that contains the volumes that will be shared among both nodes of the cluster. Create a storage group that contains the volumes that will be presented to Node A only. Create a storage group that contains the volumes that will be presented to Node B only. Create the port group. Create the initiator group for Node A. Create the initiator group for Node B. Create the cascaded initiator group. Create the clustered device masking view containing the shared storage group, port group, and cascaded initiator group.
81
9.
Create the Node A masking view containing the Node A storage group, port group, and Node A initiator group.
10. Create the Node B masking view containing the Node B storage group, port group, and Node B initiator group. After running the host commands to configure the new devices, they are available to the operating system. Example of using a cascaded initiator group Step 1 - Create a storage group that contains the volumes (92A 92D) that will be shared among both nodes of the cluster. In this example the device list is provided in a device file. The dialog box used to create storage groups can be accessed by right clicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Storage Groups folder, then by selecting Device Masking and Mapping > Storage Groups Maintenance > Create Storage Group ...
After naming the storage group, Symmetrix can be selected from the pull-down menu for Devices Source Type. The Available Devices list can be filtered or can contain all available Symmetrix devices.
82
Devices 92A to 92D are chosen and added to the Group Members list by selecting them and then by clicking Add. The storage group is then created by clicking OK:
Step 2 - Create a storage group that contains the volumes that will be presented to Node A only (7DB:7DC).
83
Step 3 - Create a storage group that contains the volumes that will be presented to Node B only (7DD:7DE).
The dialog box used to create port groups can be accessed by right clicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Port Groups folder, then by selecting Device Masking and Mapping > Port Groups Maintenance > Create Port Group ...
After naming the port group, select the desired ports (7E:0 and 7F:1), click Add and OK. The port group will be created:
85
Step 5 - Create the initiator group for Node A. The dialog box used to create initiator groups can be accessed by right clicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Initiator Groups folder, then by selecting Device Masking and Mapping > Initiator Groups Maintenance > Create Initiator Group ...
86
Both HBA WWNs can be selected from the Available Initiators list. They can then be put in the Selected Initiators list by clicking Click OK to create the port group.
87
Step 6 - Create the initiator group for Node B. Use the same steps to create the initiator group for Node B. Step 7 - Create the cascaded initiator group that contains the node A and Node B initiator groups. Cascaded initiator groups are created in the same way that regular initiator groups are created except other initiator groups are added to the cascaded group instead of individual initiators. Existing initiator groups will appear at the end of the list of available initiators. They can be selected and added to the cascaded initiator group just as regular initiators are added.
88
The Cascaded or parent initiator group now contains the two child initiator groups:
Step 8 - Create the clustered device masking view containing the shared storage group, port group, and cascaded initiator group. The dialog box used to create a masking view can be accessed by right clicking on either the Symmetrix serial number, the Symmetrix Masking folder, or the Masking Views folder, then by selecting Device Masking and Mapping > Masking Views Maintenance > Create Masking View ...
89
Provide a name to the view and then click the Select... next to each group and choose the correct storage, port, and initiator groups. Then click OK to create the view.
Step 9 - Create the Node A masking view containing the Node A storage group, the port group, and the Node A initiator group.
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes
90
Use the same steps to create the masking view for the devices that will be seen only by Node A.
Step 10 - Create the Node B masking view containing the Node B storage group, the port group, and the Node B initiator group. Use the same steps to create the masking view for the devices that will be seen only by Node B.
After configuring the devices from the operating systems, the correct devices are available to each cluster node: Cluster Node A sees thin devices 92A 92Das well as RAID-6 devices 7DB 7DC:
# syminq -sym Device Product Device ---------------------------------- --------------------- --------------------Name Type ID Rev Ser Num Cap (KB)
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 91
---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c3t5000097*18d5s2 /dev/rdsk/c3t5000097*18d6s2 /dev/rdsk/c4t5000097*59d0s2 GK /dev/rdsk/c4t5000097*59d1s2 /dev/rdsk/c4t5000097*59d2s2 /dev/rdsk/c4t5000097*59d3s2 /dev/rdsk/c4t5000097*59d4s2 /dev/rdsk/c4t5000097*59d5s2 /dev/rdsk/c4t5000097*59d6s2
--------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874
--------------------5400054000 5760 540092A000 4417920 540092B000 4417920 540092C000 4417920 540092D000 4417920 54007DB000 4417920 54007DC000 4417920 5400054000 5760 540092A000 4417920 540092B000 4417920 540092C000 4417920 540092D000 4417920 54007DB000 4417920 54007DC000 4417920
Cluster Node B also sees thin devices 92A 92D, but it sees RAID-6 devices 7DD 7DE:
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d1s2 /dev/rdsk/c3t5000097*18d2s2 /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c3t5000097*18d5s2 /dev/rdsk/c3t5000097*18d6s2 /dev/rdsk/c4t5000097*59d0s2 GK /dev/rdsk/c4t5000097*59d1s2 /dev/rdsk/c4t5000097*59d2s2 /dev/rdsk/c4t5000097*59d3s2 /dev/rdsk/c4t5000097*59d4s2 /dev/rdsk/c4t5000097*59d5s2 /dev/rdsk/c4t5000097*59d6s2 Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 540092A000 4417920 540092B000 4417920 540092C000 4417920 540092D000 4417920 54007DD000 4417920 54007DE000 4417920 5400054000 5760 540092A000 4417920 540092B000 4417920 540092C000 4417920 540092D000 4417920 54007DD000 4417920 54007DE000 4417920
92
3. 4.
Example of deleting a masking view and associated groups In the following example, the dbprodsrv_view masking view will be deleted and the devices in the associated storage group will be unmapped. Following that, the initiator group, port group, and storage group will also be removed: Step 1 Delete the masking view and, optionally, unmap the devices in the associated storage group. The dialog box used to delete views can be accessed by right-clicking on the dbprodsrv_view view in the Properties pane, then clicking Device Masking and Mapping > Masking Views Maintenance > Delete Masking View ...
Figure 38
Select the Unmap removed devices checkbox, click OK, and confirm the operation to remove the view.
93
Figure 39
Unmapping devices
Step 2 Delete the initiator group. The dialog box used to delete an initiator group can be accessed by rightclicking on the dbprodsrv_init group in the Properties pane, then clicking Device Masking and Mapping > Initiator Groups Maintenance > Delete Initiator Group ...
94
Figure 40
Figure 41
Step 3 Delete the port group. The dialog box used to delete a port group can be accessed by rightclicking on the dbsrv_port group in the Properties pane, then clicking Device Masking and Mapping > Port Groups Maintenance > Delete Port Group ...
Figure 42
95
Step 4 Delete the storage group. The dialog box used to delete a storage group can be accessed by rightclicking on the dbprod_stor group in the Properties pane, then clicking Device Masking and Mapping > Storage Groups Maintenance > Delete Storage Group ...
Figure 43
96
Figure 44
Figure 45
97
# syminq -sym Device ---------------------------------Name Type ---------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c4t5000097*19d0s2 GK Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 5400054000 5760
An initiator group, storage group, and port group have already been created for the host. A masking view can now be created that will mask and map the devices:
Clicking Set Dynamic LUN Addresses... brings up the Set LUN Addresses dialog box and allows the user to choose a range and also to manually change individual LUN values. The first two devices in the device list are gatekeepers. It is common to assign gatekeepers high LUN values so that they appear at the end of host or syminq output. In this example, the LUN addresses for the two gatekeepers (0AC and 0AD) have been changed to 0F0 (240) and 0F1 (241):
98
After creating the masking view, the devices are available with the specified dynamic LUN addresses:
# syminq -sym Device -----------------------------------Name Type -----------------------------------/dev/rdsk/c3t5000097*18d0s2 GK /dev/rdsk/c3t5000097*18d2s2 M(2) /dev/rdsk/c3t5000097*18d3s2 /dev/rdsk/c3t5000097*18d4s2 /dev/rdsk/c3t5000097*18d5s2 /dev/rdsk/c3t5000097*18d6s2 /dev/rdsk/c3t5000097*18d7s2 R1 /dev/rdsk/c3t5000097*18d8s2 R1 /dev/rdsk/c3t5000097*18d9s2 R1 /dev/rdsk/c3t5000097*18d10s2 R1 /dev/rdsk/c3t5000097*18d11s2 /dev/rdsk/c3t5000097*18d12s2 /dev/rdsk/c3t5000097*18d13s2 /dev/rdsk/c3t5000097*18d14s2 /dev/rdsk/c3t5000097*18d15s2 /dev/rdsk/c3t5000097*18d16s2 /dev/rdsk/c3t5000097*18d17s2 /dev/rdsk/c3t5000097*18d18s2 /dev/rdsk/c3t5000097*18d19s2 Product --------------------ID Rev --------------------SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5400054000 5760 54007B0000 8835840 54007DB000 4417920 54007DC000 4417920 54007DD000 4417920 54007DE000 4417920 5400833000 4417920 5400834000 4417920 5400835000 4417920 5400836000 4417920 5400837000 4417920 5400838000 4417920 5400839000 4417920 540083A000 4417920 540083B000 4417920 540083C000 4417920 540083D000 4417920 540083E000 4417920 5400907000 4417920
99
To set the Disable_Q_Reset_on_UA or D flag on an initiator group, rightclick the masking view and select Device Mapping and Masking > Initiator Groups Maintenance > Modify Initiator Group.:
101
Select the flag to set, and check Override and Enable and then click OK on both dialog boxes:
102
The Disable_Q_Reset_on_UA is now set on the initiator group and all initiators belonging to it:
103
To remove the IG flag that was just set, uncheck both boxes in the Set HBA Flags dialog box and click OK on both dialog boxes. To set a flag by using the HBA WWN, expand the list of fibre host bus adapters, right-click the chosen WWN, and select Device Masking and Mapping > Set Initiator Attributes:
104
In the Set Initiator Attributes dialog box, click Set HBA Flags:
Check both the Override and Enable boxes to enable the D bit:
105
Click OK on both dialog boxes. The flag is now set on the HBA:
106
To unset the flag on the WWN, uncheck both boxes in the Set HBA Flags dialog box and click OK on both dialog boxes.
Note: There is some dependency between the OS2007 and SPC2 flags. The OS2007 flag can only be set or enabled on the initiator or group when the SPC2 flag is set or enabled on the same initiator or group. The reverse is also true; the SPC2 flag can not be set, disabled, or turned off while the OS2007 flag is set or enabled.
107
The common serial number flag causes the serial number returned in response to a SCSI inquiry to end in all zeros:
# syminq Device ---------------------------Name Type ---------------------------/dev/rdsk/c3t5*d0s2 /dev/rdsk/c3t5*d1s2 /dev/rdsk/c3t5*d2s2 /dev/rdsk/c3t5*d3s2 /dev/rdsk/c3t5*d4s2 Product --------------------------Vendor ID Rev --------------------------EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 EMC SYMMETRIX 5874 Device --------------------Ser Num Cap (KB) --------------------5100278000 4417920 5100279000 4417920 510027A000 4417920 510027B000 4417920 510027C000 4417920
The IG currently has no port flags set and no port flags overridden:
108
The flag cannot simply be turned off at the IG level because the IG is not overriding the flag. It must be turned 'on' at the initiator group to turn on the override of the flag. It can then be disabled so the override action is to unset the flag:
Right-click the initiator group, select Device Mapping and Masking > Initiator Groups Maintenance > Modify Initiator Group. In the Initiator Group Management Modify dialog box, click Set HBA Flags:
109
In the Set HBA Flags dialog box, check Override for the Common Serial Number flag followed by OK at both dialog boxes:
110
The full serial number, which now includes FA and Port numbers, is
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 111
When the Consistent LUN flag is set on an IG and it is added to a masking view, all volumes in associated storage groups will be assigned
112
identical LUNs on all channels as mapping and masking are performed by the Symmetrix. The Consistent LUN option can apply to both child and parent initiator groups but must be consistent across them. If an attempt is made to add an initiator group to another IG to form a cascaded IG and a child group has the Consistent LUN flag set but the parent does not, the command will fail:
If this occurs, the flag can be set on the child group, which can then be added to the parent IG. More information about using dynamic LUN addressing can be found in the Symmetrix Dynamic LUN Addressing Technical Note, which is available on Powerlink:
Conclusion
Mapping and masking devices in previous versions of Solutions Enabler required a separate operation for each initiator/port combination through which devices would be accessed. In Solutions Enabler and SMC 7.0 the Autoprovisioning Groups feature allows the user to create a group of devices (storage group), a group of director ports (port group), and a group of host initiators (initiator group), and associate them in a masking view. When the masking view is created, the devices are automatically mapped and masked. After the masking view is created, any objects (devices, ports, or initiators) added to an existing group automatically become part of the associated masking view. This means that no additional steps are necessary to add additional devices, ports, or initiators to an existing configuration. All necessary operations to make them part of the configuration are handled automatically by Symmetrix Enginuity once the objects are added to the applicable group. This reduces the number of commands needed for mapping and masking devices and allows for easier storage allocation and de-allocation. Autoprovisioning Groups makes storage allocation easier and faster, especially in modern storage environments where fault-tolerant
Storage Provisioning With Symmetrix Autoprovisioning Groups Technical Notes 113
configurations with clustered hosts as well as multiple paths to devices are normally required.
114
All other trademarks used herein are the property of their respective owners.
115