Below are some helpful step in making changes for the Symmetrix VMAX storage allocation and the use of Auto provisioning Group.

 

1.       How to create a storage group for Oracle RAC devices.

symaccess -name SANDUELORAC_devs -type storage devs 680:6AE create

 

2.       How to create a port group with storage port 8E:1 and 9E:1

symaccess -name SANDUELORAC_ports -type port -dirport 8E:1,9E:1 create

 

3.       How to create an initiator group for each of cluster node's HBA.

symaccess -name SANDUELORAC1_HBAs -type initiator -file ./SANDUELORAC1_HBAs.txt create

The file SANDUELORAC1_HBAs.txt contains the WWN details.

WWN:10000000c9876c233

WWN:10000000c9576c335

 

symaccess -name SANDUELORAC2_HBAs -type initiator -file ./SANDUELORAC2_HBAs.txt create

The file SANDUELORAC2_HBAs.txt contains the WWN details.

WWN:10000000c9776c413

WWN:10000000c9776c314

 

 

4.       Cascade the cluster node initiator group into a single one for the entire cluster server.

symmaccess -name SANDUELORAC_HBAs -type initiator create

symmaccess -name SANDUELORAC_HBAs -type initiator add -ig SANDUELORAC1_HBAs

symmaccess -name SANDUELORAC_HBAs -type initiator add -ig SANDUELORAC2_HBAs

 

5.       How to create the view for the entire Oracle RAC cluster storage provisioning

symmaccess create view -name SANDUELORAC_view

                -storgrp SANDUELORAC_devs -portgrp SANDUELORAC_port -initgrp SANDUELORAC_HBAs

 

 


 

 

 

For new server presentation, first step is to create initiator group and following with port group and storage group. Create masking View and add all the above three groups to the view.

 

How to add the Data devices to tier3 pool and enabling the devices.

Below are some sample scripts:

 

symconfigure -sid 1234 -cmd "add dev 0090:0128 to pool Tier3 type=thin, member_state = ENABLE;" -noprompt commit

symconfigure -sid 5678 -cmd "add dev 0090:0128 to pool Tier3 type=thin, member_state = ENABLE;" -noprompt commit

 

 

Create the Thin Devices for SQL Cluster - This is for the Dump Devices

 

symconfigure -sid 1234 -cmd "create dev count=22, size=36866MB, emulation=fba, config=TDEV, binding to pool=Tier3, dynamic_capability = dyn_rdf, preallocate size =39324;" -noprompt preview39324

symconfigure -sid 5678 -cmd "create dev count=22, size=36866MB, emulation=fba, config=TDEV, binding to pool=Tier3, dynamic_capability = dyn_rdf, preallocate size =39324;" -noprompt preview39324

 

 

symconfigure -sid 1234 -cmd "set pool Tier3, type=thin, max_subs_percent=125;" -noprompt preview

symconfigure -sid 5678 -cmd "set pool Tier3, type=thin, max_subs_percent=125;" -noprompt preview

 

symaccess -sid 1234 -name SANDUELHOST01 -type storage dev 04C9:04DB add

symaccess -sid 5678 -name SANDUELHOST01 -type storage dev 04C9:04DB add

 

 

After issues the above command, do a symcfg discover on both management servers incase the LUN creation and binding was done on respective server.

The next step is to write disable the devices for DR server.

 

symdev -sid 5678 write_disable 04C9 -noprompt

symdev -sid 5678 write_disable 04CA -noprompt

symdev -sid 5678 write_disable 04CB -noprompt

symdev -sid 5678 write_disable 04CC -noprompt

symdev -sid 5678 write_disable 04CD -noprompt

symdev -sid 5678 write_disable 04CE -noprompt

symdev -sid 5678 write_disable 04CF -noprompt

symdev -sid 5678 write_disable 04D0 -noprompt

symdev -sid 5678 write_disable 04D1 -noprompt

symdev -sid 5678 write_disable 04D2 -noprompt

symdev -sid 5678 write_disable 04D3 -noprompt

 

*Note: Be careful when you are using the -noprompt command, make sure you are clear on what you are doing. :o)

 

After the symdev command, proceed to create the rdf device group for R1 and R2.

symrdf -sid 1234 -f R1R2_SANDUELHOST01 createpair -type R1 -RDFG 1  -invalidate R2

symrdf -sid 1234 -f R1R2_SANDUELHOST01 -RDFG 1 establish