
ssunp13 

-----------ONLY DATA DISK WILL BE MIGRATED --------------------------


----- NO BOOT DISK MIGRATION ------

SRC DEVICES  
ssunp13
#1012
3E5
3DA
3DC
3E0
3DB
3EA
#820
138
#248
289



	Create RDF1 groups based on FRAMES eg. 20thJan_src_1012_ssunp13 

1. Mask/Unmask

a. Do housekeeping

####### pbrun symmask -sid 1012 -wwn 200000e06940b7e9 rename ssunp13/PathAA
####### pbrun symmask -sid 1012 -wwn 200000e06940ba48 rename ssunp13/PathBB


b. Mask the SRC devices to the TGT FA ports

1. ssunp13 
Following FA ports WWNs from #2849 need to be zoned to #1012

#2849 - 3aA  - 5006048452a79042  to 	#1012 - 7cA  	- 5006048c4a379106
#2849 - 14aA - 5006048452a7904d  to 	#1012 - 10cA  	- 5006048c4a379109

#2849 3aA/14aA (p13)

####   pbrun symmask -sid 1012 -dir 7c -p 0 -wwn 5006048452a79042  add devs "3E5,3DA,3DC,3E0"
####   pbrun symmask -sid 1012 -dir 10c -p 0 -wwn 5006048452a7904d  add devs "3E5,3DA,3DC,3E0"




c. Unmask the devices from

#p13 
#1012

####   pbrun symmask -sid 1012 -dir 3a -p 0 -wwn 200000e06940b7e9 remove devs "3E5,3DA,3DC,3E0,3DB,3EA"
####   pbrun symmask -sid 1012 -dir 14a -p 0 -wwn 200000e06940ba48 remove devs "3E5,3DA,3DC,3E0,3DB,3EA"

####   pbrun symmask -sid 655 -dir 7a -p 0 -wwn 10000000c95731c8 remove devs "3E5,3DA,3DC,3E0,3DB,3EA"
####   pbrun symmask -sid 655 -dir 10c -p 0 -wwn 10000000c9573284 remove devs "3E5,3DA,3DC,3E0,3DB,3EA"

#246

####   pbrun symmask -sid 246 -dir 4b -p 0 -wwn 10000000c95731c8 remove devs "289"
####   pbrun symmask -sid 246 -dir 13b -p 0 -wwn 10000000c9573284 remove devs "289"

#820

####   pbrun symmask -sid 820 -dir 7c -p 0 -wwn 10000000c95731c8 remove devs "138"
####   pbrun symmask -sid 820 -dir 10c -p 0 -wwn 10000000c9573284 remove devs "138"
####   pbrun symmask -sid 820 -dir 6b -p 0 -wwn 200000e06940b7e9 remove devs "138"
####   pbrun symmask -sid 820 -dir 11b -p 0 -wwn 200000e06940ba48 remove devs "138"


#p17 Reclaim devices on over allocation.
####   pbrun symmask -sid 2849 -dir 3a -p 0 -wwn 10000000c95731c8 remove devs "2c3,2c5,2e0"
####   pbrun symmask -sid 2849 -dir 14a -p 0 -wwn 10000000c9573284 remove devs "2c3,2c5,2e0"


d. Make the SRC devices write_disable

####   pbrun symdev -sid 1012 write_disable -file 20th-Jan_devices_1012_p13 -nop

#20th-Jan_devices_1012_p13
3E5
3DA
3DC
3E0




e. MAke the TGT devices not_ready

####   pbrun symdev -sid 2849  not_ready -file 20th-Jan_devices_2849_p13 -nop

#20th-Jan_devices_2849_p13 
02D1
02BC
02BF
02D6


f. Create cold pull session

####   pbrun symrcopy create -copy -name 13thjan -pull -cold -file 20thJan_p13_map nop

#20thJan_p13_map 
#Control Device  Remote Device
symdev=2849:02D1 symdev=1012:3E5
symdev=2849:02BC symdev=1012:3DA
symdev=2849:02BF symdev=1012:3DC
symdev=2849:02D6 symdev=1012:3E0



g. Start copy by activating

####  pbrun symrcopy activate -file 20thJan_p13_map nop

h. Set the pace to 2
####  pbrun symrcopy set pace 2 -file 20thJan_p13_map nop

i. Query the session

####  pbrun symrcopy -file 20thJan_p13_map query -nop

j. Terminate the session

####   pbrun symdev -sid 2849  ready -file 20thJan_p13_map -nop

k. Ready the TGT devices

####   pbrun symdev -sid 2849  ready -file 20thJan_p13_map -nop

l. Check all WWNs and make sure that there are devices only from the NEW FRAMES
 200000e06940b7e9 
 200000e06940ba48  
 10000000c95731c8 
 10000000c9573284  


m.  Check all SRC devices that there is no existing WWN assignments

n. Now reboot and verify

o. Cleanup.

a. Un-Mask the SRC devices to TFT FA ports


#2849 3aA/14aA (p13)

####   pbrun symmask -sid 1012 -dir 7c -p 0 -wwn 5006048452a79042  add devs "3E5,3DA,3DC,3E0"
####   pbrun symmask -sid 1012 -dir 10c -p 0 -wwn 5006048452a7904d  add devs "3E5,3DA,3DC,3E0"

p. Create pair

1.  sync

##### pbrun symrdf createpair -sid 2849 -file 2849_pair_2770_3014 -rdfg 1 -invalidate r2 -type rdf1

#2849_pair_2770_3014
02C7 	02C7 
2CC	2CC
02D1	02D1
02BC	02BC
02BF	02BF
02D6	02D6
02BD	02BD
02DB	02DB
02C1	02C1
02BE	02BE




##### pbrun symrdf createpair -sid 2849 -file 2849_pair_2770_3014 -rdfg 1 set mode acp_disk 
#####  pbrun symrdf  -sid 2849 -file 2849_pair_2770_3014 -rdfg 1 est 
#####  pbrun symrdf -sid 2849 -rdfg 5 query -i 5 -file 2849_pair_2770_3014

Once synchronized OR invalid tracks are less that 30K
##### pbrun symrdf createpair -sid 2849 -file 2849_pair_2770_3014 -rdfg 1 set mode sync

2. async

##### pbrun symrdf  -sid 2849 -rdfg 5 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_current
##### pbrun symrdf -sid 2849 -f async_current -rdfg 5 disable 
##### pbrun symrdf  -sid 2849 -file async_current -rdfg 5 set mode acp_disk
 
##### pbrun symrdf createpair -sid 2849 -file 2849_pair_2770_3014 -rdfg 5 -invalidate r2 -type rdf1
##### pbrun symrdf  -sid 2849 -file 2849_pair_2770_3014 -rdfg 5 set mode acp_disk  


##### pbrun symrdf  -sid 2849 -file 2849_pair_2770_3014 -rdfg 5 est  

Once synchronized 
##### pbrun symrdf  -sid 2849 -rdfg 5 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_all 
##### pbrun symrdf  -sid 2849 -file async_all -rdfg 5 set mode async 
##### pbrun symrdf  -sid 2849 -file async_all -rdfg 5 enable


q. 27th Cleanup

1. Delete pair for  1012, 820 & 246 disks

2. Split R2-BCVs for 1012, 820 & 246

3. Remove the FA zones

4. Remove the Existing Zones with old frames
 






