EMC VMAX: Example of Disk Add

 

  • adding 8 x 30GB disks for replication
  • adding 8 x 120GB disks non-replicated
  • replicating from frame 2146 to 1826

 

Production - reservations 

 

1. symconfigure script to create thin devices on frame 2146.

 

symconfigure -sid 2146 -cmd "create dev count=8, size=30 gb, emulation=fba, config=TDEV;" commit

New symdevs: 0A99:0AA0 - 30gb replicated

 

symconfigure -sid 2146 -cmd "create dev count=8, size=120 gb, emulation=fba, config=TDEV;" commit

New symdevs: 0AA1:0AA8 - 120gb

 

2. symconfigure script to bind the thin devices to frame 2146.

symconfigure -sid 2146 -cmd "bind tdev 0A99:0AA8 to pool <pool name>;" commit

 

3. check that devices are bound

symcfg -sid 2146 list -tdev -bound -gb

 

4.  set SCSI3 attribute on the devices

symconfigure -sid 2146 -cmd "set dev 0A99:0AA8 attribute=SCSI3_persist_reserv;" commit

 

5.  set dyn rdf attribute

symconfigure -sid 2146 -cmd "set dev 0A99:0AA0, attribute=dyn_rdf;" commit

 

6. script to create the storage group.

symaccess -sid 2146 add -name <PROD hostname01_strg> -type storage devs 0A99:0AA8

 symaccess -sid 2146 add -name <PROD hostname02_strg> -type storage devs 0A99:0AA8

 

7. check devices

symaccess -sid 2146 show view <production host name01_02_mask>

 

 

 

 

DR - reservations 

 

1. symconfigure script to create thin devices on frame 1826.

 

symconfigure -sid 1826 -cmd "create dev count=8, size=30 gb, emulation=fba, config=TDEV;" commit

New symdevs: 0AEE:0AF5 - 30gb replicated

 

symconfigure -sid 1826 -cmd "create dev count=8, size=120 gb, emulation=fba, config=TDEV;" commit

New symdevs: 0AF6:0AFD - 120gb

 

2. symconfigure script to bind the thin devices to frame 2146.

symconfigure -sid 1826 -cmd "bind tdev 0AEE:0AFD to pool <pool name>;" commit

 

3. check that devices are bound

symcfg -sid 1826 list -tdev -bound -gb

 

4.  set SCSI3 attribute on the devices

symconfigure -sid 1826 -cmd "set dev 0AEE:0AFD attribute=SCSI3_persist_reserv;" commit

 

5.  set dyn rdf attribute

symconfigure -sid 1826 -cmd "set dev 0AEE:0AF5, attribute=dyn_rdf;" commit

 

6. script to create the storage group.

symaccess -sid 1826 add -name <DR Hostname01_strg> -type storage devs 0AEE:0AFD

symaccess -sid 1826 add -name <DR Hostname02_strg> -type storage devs 0AEE:0AFD

 

7. check devices

symaccess -sid 1826 show view <DR Hostname01_mask>

 

 

 

RDF setup 

 

symrdf addgrp -label <PROD Host label> -rdfg 38 -sid 2146 -dir 7h,10h -remote_rdfg 38 -remote_sid 1826 -remote_dir 7h,10h -link_limbo 60 -rem_link_limbo 60

 

cat > rdf_setup.txt

0A99 0AEE

0A9A 0AEF

0A9B 0AF0

0A9C 0AF1

0A9D 0AF2

0A9E 0AF3

0A9F 0AF4

0AA0 0AF5

 

symrdf -sid 2146 -file rdf_setup.txt -rdfg 38 query

 

symrdf -sid 2146 -file rdf_setup.txt -rdfg 38 set mode acp_disk

symrdf -sid 2146 -file rdf_setup.txt -rdfg 38 set mode async

 

symrdf -sid 2146 -file rdf_setup.txt -rdfg 38 set mode enable

 

BCV Setup

 

DR servers plus Dev needs access to clones

DR Server 01, DR Server 02 

DEV Server 01 

 

symconfigure -sid 1826 -cmd "create dev count=8, size=30 gb, emulation=fba, config=TDEV;" commit

New symdevs: 0AFE:0B05

 

symconfigure -sid 1826 -cmd "bind tdev 0AFE:0B05 to pool r5_fc15k_gp1;" commit

 

symaccess -sid 1826 add -name <DR Server 01_strg> -type storage devs 0AFE:0B05

symaccess -sid 1826 add -name <DR Server 02_strg> -type storage devs 0AFE:0B05

symaccess -sid 1826 add -name <DEV Server 01_strg> -type storage devs 0AFE:0B05

 

cat > clone_devs.txt

0AFE

0AFF

0B00

0B01

0B02

0B03

0B04

0B05

 

symrdf -sid 1826 -g werner_IB -rdfg 38 query

 

cat clone_devs.txt | while read line

do

symld -g werner_IB add dev $line -tgt

done

 

symclone -g werner_IB create DEV001 sym ld TGT001 -precopy -differential -noprompt

symclone -g werner_IB create DEV002 sym ld TGT002 -precopy -differential -noprompt

symclone -g werner_IB create DEV003 sym ld TGT003 -precopy -differential -noprompt

symclone -g werner_IB create DEV004 sym ld TGT004 -precopy -differential -noprompt

symclone -g werner_IB create DEV005 sym ld TGT005 -precopy -differential -noprompt

symclone -g werner_IB create DEV006 sym ld TGT006 -precopy -differential -noprompt

symclone -g werner_IB create DEV007 sym ld TGT007 -precopy -differential -noprompt

symclone -g werner_IB create DEV008 sym ld TGT008 -precopy -differential -noprompt

 

symclone -g werner_IB query

 

 

symclone -g werner_IB activate -tgt

symclone -g werner_IB recreate -precopy -tgt

 

###Terminate the relationship - do not need to run normally

symclone -g clone1 terminate DEV001 sym ld TGT001 -noprompt