shpp26
Host WWNs
50060b000021b332	#702-7aA	#1013-4aA		
50060b000021cd5e	#702-10aA	#1013-13aA
702_1452_1739
1013_2095_1456
		
1. Identify Target frame/FAs. 

2. Get the details of source devices and cut the disks in target frame with same properties(meta config/size) and map to 
   decided FAs.  --- Completed

3. Get the zoning done for SRC frame FAs(to which the devices are mapped) with TGT frame FAs.-- Scheduled for this weekend

	#702 7aA	500604844A374386	#1013 4aA	500604844A379143
	#702 10aA	500604844A374389	#1013 13aA	500604844A37914C

4. Mask the source devices to Target FAs. (NOt yet done)

	#702 devices to #1013 4aA/13aA
	pbrun symmask -sid 702 -wwn 500604844A379143 -dir 7a -p 0 add dev 2F8,300,303,384,99A,99B,99C,99D,99E,99F,9A0,9A1,9A3,9AB,9B5,9BD,9C3,9C9,9CF,9D5,9DB
	pbrun symmask -sid 702 -wwn 500604844A37914C -dir 10a -p 0 add dev 2F8,300,303,384,99A,99B,99C,99D,99E,99F,9A0,9A1,9A3,9AB,9B5,9BD,9C3,9C9,9CF,9D5,9DB
	
5. Mask the TGT devices to Host ( done. Created DG and checking IOs)

	pbrun symmask -sid 1013 -wwn 50060b000021b332 -dir 4a -p 0 add dev 2E4,2E8,2EA,2ED,2F0,2F3,2F9,2FF,305,30B,311,317,318,319,31A,31B,31C,31D,31E,31F,320
	pbrun symmask -sid 1013 -wwn 50060b000021cd5e -dir 13a -p 0 add dev 2E4,2E8,2EA,2ED,2F0,2F3,2F9,2FF,305,30B,311,317,318,319,31A,31B,31C,31D,31E,31F,320
	
6. Get the confirmation from Platform team regarding newly added devices.

7. Stop the Application/Bring down the database/Shutdown the server.Get confirmation from platform team.

8. Suspend the SRDF/S for the Source devices to maintain point-in-time copy on the R2 (CT2) site.( Created DGs in smm02 for all these)
 
9. Create the DGs for SRC/TGT devices to split/establish easily.
   For SRC devices: 
	pbrun symdg create shpp26_702 -type rdf1
	pbrun symld -sid 702 -g shpp26_702 add dev < 2F8 & remaining devices also>
  ## Split the Sync pair of SRC devices	
	pbrun symrdf -sid 702 -g shpp26_702 -rdfg 2 que
	pbrun symrdf -sid 702 -g shpp26_702 -rdfg 2 suspend
   For TGT devices:
	pbrun symdg create shpp26_1013 -type rdf1
	pbrun symld -sid 1013 -g shpp26_1013 add dev < 2E4 & remaining devices also>
	
  ## Split the Sync pair of TGT devices (If already pair is created for new devices)
	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 2 que
	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 2 suspend

  ## Split the Async pair of TGT devices (If already pair is created for new devices)
	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 9 que
	(We need to follow Async steps like changing mode of rdfg to acp ..)
	
	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 9 suspend

10. Un-Mask the source devices from Host.

	#702 Source devices from host
	pbrun symmask -sid 702 -wwn 50060b000021b332   -dir 7a -p 0 remove dev 2F8,300,303,384,99A,99B,99C,99D,99E,99F,9A0,9A1,9A3,9AB,9B5,9BD,9C3,9C9,9CF,9D5,9DB
	pbrun symmask -sid 702 -wwn 50060b000021cd5e   -dir 10a -p 0 remove dev 2F8,300,303,384,99A,99B,99C,99D,99E,99F,9A0,9A1,9A3,9AB,9B5,9BD,9C3,9C9,9CF,9D5,9DB

11. Make the Source devices "Write_Disable"  (Pls. be careful when executing this command.Crossverify Frame ID and devices)
	
	pbrun symdev -sid 702 write_disable -file shpp26_702_srcdevs -nop
	##shpp26_702_srcdevs (create all these files under 22june2008)
	2F8
	300
	303
	384
	99A
	99B
	99C
	99D
	99E
	99F
	9A0
	9A1
	9A3
	9AB
	9B5
	9BD
	9C3
	9C9
	9CF
	9D5
	9DB

12. Make the target devices "Not_Ready" (Pls. be careful when executing this command.Crossverify Frame ID and devices)
	pbrun symdev -sid 1013 not_ready -file shpp26_1013_tgtdevs -nop
	2E4
	2E8
	2EA
	2ED
	2F0
	2F3
	2F9
	2FF
	305
	30B
	311
	317
	318
	319
	31A
	31B
	31C
	31D
	31E
	31F
	320

13. Create Cold-Pull session between SRC-TGT devices
	pbrun symrcopy create -copy -name 22june2008 -pull -cold -file shpp26_map_22june -pace 2 -nop
	### shpp26_map_22june
	
	#Control Device		Remote Device
	###############		#############
	symdev=1013:2E4         symdev=702:2F8
	symdev=1013:2EA         symdev=702:300
	symdev=1013:2ED         symdev=702:303
	symdev=1013:317         symdev=702:384
	symdev=1013:318         symdev=702:99A
	symdev=1013:319         symdev=702:99B
	symdev=1013:31A         symdev=702:99C
	symdev=1013:31B         symdev=702:99D
	symdev=1013:31C         symdev=702:99E
	symdev=1013:31D         symdev=702:99F
	symdev=1013:31E         symdev=702:9A0
	symdev=1013:31F         symdev=702:9A1
	symdev=1013:2E8         symdev=702:9A3
	symdev=1013:2F0         symdev=702:9AB
	symdev=1013:320         symdev=702:9B5
	symdev=1013:2F3         symdev=702:9BD
	symdev=1013:2F9         symdev=702:9C3
	symdev=1013:2FF         symdev=702:9C9
	symdev=1013:305         symdev=702:9CF
	symdev=1013:30B         symdev=702:9D5
	symdev=1013:311         symdev=702:9DB

14. Start "Copy" session by activating the session

	pbrun symrcopy activate -file shpp26_map_22june -consistent -nop

15. Set the pace to 2 ( *** We can include this in "symrcopy create" command)

	pbrun symrcopy set pace 2 -file  shpp26_map_22june -nop

16. Query the session
	pbrun symrcopy -file shpp26_map_22june query

### Once the copy completes
	pbrun symrcopy -file shpp26_map_22june verify -copied
17. Terminate the session
	pbrun symrcopy -file shpp26_map_22june terminate -nop

18. Make the target devices ready.
	pbrun symdev -sid 1013 ready -file shpp26_1013_tgtdevs -nop

19. Makesure that only devices from "New Frame" are visible to Host.

	## Devices from 1013 should be visible
	pbrun symmaskdb -sid 1013 -wwn 50060b000021b332   list devs
	pbrun symmaskdb -sid 1013 -wwn 50060b000021cd5e   list devs

	## No devices from 702 should be visible
	pbrun symmaskdb -sid 702 -wwn 50060b000021b332   list devs
	pbrun symmaskdb -sid 702 -wwn 50060b000021cd5e   list devs

20. Ask platform to boot the server and do sanity check.

21. Create Sync/Async pair for "New devices" (If it is not done prior)

	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 2 que
	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 2 set mode acp_disk -nop
	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 2 est -nop

  ###Once the status becomes "Synchronized" OR invalid tracks becomes less than 30000,Change the mode into Sync
	pbrun symrdf -sid 1013 -rdfg 2 -g shpp26_1013 set mode sync -nop

  ### For Async leg
	pbrun symrdf -sid 1013 -rdfg 9 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_current
	pbrun symrdf -sid 1013 -f async_current -rdfg 9 disable 
	pbrun symrdf -sid 1013 -file async_current -rdfg 9 set mode acp_disk

 	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 9 set mode acp_disk  
	pbrun symrdf -sid 1013 -g shpp26_1013 -rdfg 9 est  

  ###Once the status becomes "Synchronized", change the mode into Async
	pbrun symrdf  -sid 1013 -rdfg 9 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_all 
	pbrun symrdf  -sid 1013 -file async_all -rdfg 9 set mode async 
	pbrun symrdf  -sid 1013 -file async_all -rdfg 9 enable
	
22. COB side configurartion
	a. Create mirror session between HK R2-BCV new devices
	b. Mask BCVs to COB server.

23. After getting confirmation from platform , do cleanup activity 
	a. Removal of SRC devices from TGT FAs

	#702 devices from #1013 4aA/13aA
	pbrun symmask -sid 702 -wwn 500604844A379143 -dir 7a -p 0 remove dev 2F8,300,303,384,99A,99B,99C,99D,99E,99F,9A0,9A1,9A3,9AB,9B5,9BD,9C3,9C9,9CF,9D5,9DB
	pbrun symmask -sid 702 -wwn 500604844A37914C -dir 10a -p 0 remove dev 2F8,300,303,384,99A,99B,99C,99D,99E,99F,9A0,9A1,9A3,9AB,9B5,9BD,9C3,9C9,9CF,9D5,9DB
	
	b. Delete Sync/Async pair for 702_1452_1739  devices
	pbrun symrdf -sid 702 -g shpp26_702 -rdfg 2 deletepair -nop
	
	c. Split HK R2-BCV mirror for 1739 devices
	
	d. Remove COB masking for old frames( 1739 R2-BCV devices)

	e. Remove the FA-FA zoning between 702-1013

	f. Remove the zoning between Host WWN - 702 FAs / COB host- 1739 FAs

	
