EMC Symmetrix Open Replicator Migration -- steps ssunacs6 Host WWNs 10000000c93dece0 #1012-7aA #1153-4bA #2246-8cA 10000000c9436380 #1012-10aA #1153-13bA #2246-9cA 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. 3. Get the zoning done for SRC frame FAs(to which the devices are mapped) with TGT frame FAs. (Done) #1012 FA-7aA 500604844a379106 with 2246 FA-8cA 5006048c52a6f987 #1012 FA-10aA 500604844a379109 with 2246 FA-9cA 5006048c52a6f988 #1153 FA-4bA 5006048452a5e853 with 2246 FA-8cA 5006048c52a6f987 #1153 FA-13bA 5006048452a5e85c with 2246 FA-9cA 5006048c52a6f988 4. Mask the source devices to Target FAs. (Not yet done) #1012 devices to #2246 8cA/9cA pbrun symmask -sid 1012 -wwn 5006048c52a6f987 -dir 7a -p 0 add dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1012 -wwn 5006048c52a6f988 -dir 10a -p 0 add dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E #1153 devices to #2246 8cA/9cA pbrun symmask -sid 1153 -wwn 5006048c52a6f987 -dir 4b -p 0 add dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 pbrun symmask -sid 1153 -wwn 5006048c52a6f988 -dir 13b -p 0 add dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 5. Mask the TGT devices to Host pbrun symmask -sid 2246 -wwn 10000000c93dece0 -dir 8c -p 0 add dev 5BC,238,3BE,3C3,3C8,3CD,41A,41F,424,429,42E,433,438,43D,442,45E,463,28D,290,4C6,2BC,468,46D,472,2C9,2F7,368,371,37A,234,4C8,477,47C,5BD,4CA,4CF,5C3,5C9,5CF pbrun symmask -sid 2246 -wwn 10000000c9436380 -dir 9c -p 0 add dev 5BC,238,3BE,3C3,3C8,3CD,41A,41F,424,429,42E,433,438,43D,442,45E,463,28D,290,4C6,2BC,468,46D,472,2C9,2F7,368,371,37A,234,4C8,477,47C,5BD,4CA,4CF,5C3,5C9,5CF 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. 9. Create the DGs for SRC/TGT devices to split/establish easily. pbrun symdg create ssunacs6_1012 -type rdf1 pbrun symld -sid 1012 -g ssunacs6_1012 add dev < 117 & remaining devices also> ## Split the Sync pair of SRC devices pbrun symrdf -sid 1012 -g ssunacs6_1012 -rdfg 2 que pbrun symrdf -sid 1012 -g ssunacs6_1012 -rdfg 2 suspend pbrun symdg create ssunacs6_1153 -type rdf1 pbrun symld -sid 1153 -g ssunacs6_1153 add dev < 181 & remaining devices also> ## Split the Sync pair of SRC devices pbrun symrdf -sid 1153 -g ssunacs6_1153 -rdfg 2 que pbrun symrdf -sid 1153 -g ssunacs6_1153 -rdfg 2 suspend pbrun symdg create ssunacs6_2246 -type rdf1 pbrun symld -sid 2246 -g ssunacs6_2246 add dev < 5BC & remaining devices also> ## Split the Sync pair of TGT devices (If already pair is created for new devices) pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 que pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 suspend ## Split the Async pair of TGT devices (If already pair is created for new devices) pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 que (We need to follow Async steps like changing mode of rdfg to acp ..) pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 suspend 10. Un-Mask the source devices from Host. #1012 Source devices from host pbrun symmask -sid 1012 -wwn 10000000c93dece0 -dir 7a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1012 -wwn 10000000c9436380 -dir 10a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E #1153 Source devices from host pbrun symmask -sid 1153 -wwn 10000000c93dece0 -dir 4b -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1153 -wwn 10000000c9436380 -dir 13b -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E 11. Make the Source devices "Write_Disable" (Pls. be careful when executing this command.Crossverify Frame ID and devices) pbrun symdev -sid 1012 write_disable -file ssunacs6_1012_srcdevs -nop ##ssunacs6_1012_srcdevs (create all these files under 22june2008) 0117 0118 011D 0122 0127 012C 0131 0136 013B 0140 0145 014A 014F 0154 0159 015E 0163 0168 016B 016E pbrun symdev -sid 1153 write_disable -file ssunacs6_1153_srcdevs -nop ##ssunacs6_1153_srcdevs (create all these files under 22june2008) 0181 0189 025C 0261 02CA 02D2 02DA 02E2 02EA 0524 0529 052B 0530 061C 06A6 06AB 072F 0735 0826 12. Make the target devices "Not_Ready" (Pls. be careful when executing this command.Crossverify Frame ID and devices) pbrun symdev -sid 2246 not_ready -file ssunacs6_2246_tgtdevs -nop 5BC 238 3BE 3C3 3C8 3CD 41A 41F 424 429 42E 433 438 43D 442 45E 463 28D 290 4C6 2BC 468 46D 472 2C9 2F7 368 371 37A 234 4C8 477 47C 5BD 4CA 4CF 5C3 5C9 5CF 13. Create Cold-Pull session between SRC-TGT devices pbrun symrcopy create -copy -name 22june2008 -pull -cold -file ssunacs6_map_22june -pace 2 -nop ### ssunacs6_map_22june #Control Device Remote Device ############### ############# symdev=2246:5BC symdev=1012:0117 symdev=2246:238 symdev=1012:0118 symdev=2246:3BE symdev=1012:011D symdev=2246:3C3 symdev=1012:0122 symdev=2246:3C8 symdev=1012:0127 symdev=2246:3CD symdev=1012:012C symdev=2246:41A symdev=1012:0131 symdev=2246:41F symdev=1012:0136 symdev=2246:424 symdev=1012:013B symdev=2246:429 symdev=1012:0140 symdev=2246:42E symdev=1012:0145 symdev=2246:433 symdev=1012:014A symdev=2246:438 symdev=1012:014F symdev=2246:43D symdev=1012:0154 symdev=2246:442 symdev=1012:0159 symdev=2246:45E symdev=1012:015E symdev=2246:463 symdev=1012:0163 symdev=2246:28D symdev=1012:0168 symdev=2246:290 symdev=1012:016B symdev=2246:4C6 symdev=1012:016E symdev=2246:2BC symdev=1153:0181 symdev=2246:468 symdev=1153:0189 symdev=2246:46D symdev=1153:025C symdev=2246:472 symdev=1153:0261 symdev=2246:2C9 symdev=1153:02CA symdev=2246:2F7 symdev=1153:02D2 symdev=2246:368 symdev=1153:02DA symdev=2246:371 symdev=1153:02E2 symdev=2246:37A symdev=1153:02EA symdev=2246:234 symdev=1153:0524 symdev=2246:4C8 symdev=1153:0529 symdev=2246:477 symdev=1153:052B symdev=2246:47C symdev=1153:0530 symdev=2246:5BD symdev=1153:061C symdev=2246:4CA symdev=1153:06A6 symdev=2246:4CF symdev=1153:06AB symdev=2246:5C3 symdev=1153:072F symdev=2246:5C9 symdev=1153:0735 symdev=2246:5CF symdev=1153:0826 14. Start "Copy" session by activating the session pbrun symrcopy activate -file ssunacs6_map_22june -consistent -nop 15. Set the pace to 2 ( *** We can include this in "symrcopy create" command) pbrun symrcopy set pace 2 -file ssunacs6_map_22june -nop 16. Query the session pbrun symrcopy -file ssunacs6_map_22june query ### Once the copy completes pbrun symrcopy -file ssunacs6_map_22june verify -copied 17. Terminate the session pbrun symrcopy -file ssunacs6_map_22june terminate -nop 18. Make the target devices ready. pbrun symdev -sid 2246 ready -file ssunacs6_2246_tgtdevs -nop 19. Makesure that only devices from "New Frame" are visible to Host. ## Devices from 2246 should be visible pbrun symmaskdb -sid 2246 -wwn 10000000c93dece0 list devs pbrun symmaskdb -sid 2246 -wwn 10000000c9436380 list devs ## No devices from 1012 should be visible pbrun symmaskdb -sid 1012 -wwn 10000000c93dece0 list devs pbrun symmaskdb -sid 1012 -wwn 10000000c9436380 list devs ## No devices from 1012 should be visible pbrun symmaskdb -sid 1153 -wwn 10000000c93dece0 list devs pbrun symmaskdb -sid 1153 -wwn 10000000c9436380 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) ###2246_pair_2337_2340 Pair is already created last week. pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 que pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 set mode acp_disk -nop pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 est -nop ###Once the status becomes "Synchronized" OR invalid tracks becomes less than 30000,Change the mode into Sync pbrun symrdf -sid 2246 -rdfg 2 -g ssunacs6_2246 set mode sync -nop ### For Async leg pbrun symrdf -sid 2246 -rdfg 8 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_current pbrun symrdf -sid 2246 -f async_current -rdfg 8 disable pbrun symrdf -sid 2246 -file async_current -rdfg 8 set mode acp_disk pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 set mode acp_disk pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 est ###Once the status becomes "Synchronized", change the mode into Async pbrun symrdf -sid 2246 -rdfg 8 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_all pbrun symrdf -sid 2246 -file async_all -rdfg 8 set mode async pbrun symrdf -sid 2246 -file async_all -rdfg 8 enable 22. COB side configurartion a. Create mirror session between 2246_2340 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 #1012 devices from #2246 8cA/9cA pbrun symmask -sid 1012 -wwn 5006048c52a6f987 -dir 7a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1012 -wwn 5006048c52a6f988 -dir 10a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E #1153 devices to #2246 8cA/9cA pbrun symmask -sid 1153 -wwn 5006048c52a6f987 -dir 4b -p 0 remove dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 pbrun symmask -sid 1153 -wwn 5006048c52a6f988 -dir 13b -p 0 remove dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 b. Delete Sync/Async pair for 1012_1450_1389 & 1153_1923_1587 devices pbrun symrdf -sid 1012 -g ssunacs6_1012 -rdfg 2 deletepair -nop pbrun symrdf -sid 1153 -g ssunacs6_1153 -rdfg 2 deletepair -nop c. Split HK R2-BCV mirror for 1389 & 1587 devices d. Remove COB masking for old frames(1389 & 1587 R2-BCV devices) e. Remove the FA-FA zoning between 1012-2246 and 1153-2246 f. Remove the zoning between Host WWN - 1012&1153 FAs / COB host- 1389 &1587 FAs OR Migration Srinadh General Symmetrix Open Replicator ssunacs6 Host WWNs 10000000c93dece0 #1012-7aA #1153-4bA #2246-8cA 10000000c9436380 #1012-10aA #1153-13bA #2246-9cA 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. 3. Get the zoning done for SRC frame FAs(to which the devices are mapped) with TGT frame FAs. (Done) #1012 FA-7aA 500604844a379106 with 2246 FA-8cA 5006048c52a6f987 #1012 FA-10aA 500604844a379109 with 2246 FA-9cA 5006048c52a6f988 #1153 FA-4bA 5006048452a5e853 with 2246 FA-8cA 5006048c52a6f987 #1153 FA-13bA 5006048452a5e85c with 2246 FA-9cA 5006048c52a6f988 4. Mask the source devices to Target FAs. (Not yet done) #1012 devices to #2246 8cA/9cA pbrun symmask -sid 1012 -wwn 5006048c52a6f987 -dir 7a -p 0 add dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1012 -wwn 5006048c52a6f988 -dir 10a -p 0 add dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E #1153 devices to #2246 8cA/9cA pbrun symmask -sid 1153 -wwn 5006048c52a6f987 -dir 4b -p 0 add dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 pbrun symmask -sid 1153 -wwn 5006048c52a6f988 -dir 13b -p 0 add dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 5. Mask the TGT devices to Host pbrun symmask -sid 2246 -wwn 10000000c93dece0 -dir 8c -p 0 add dev 5BC,238,3BE,3C3,3C8,3CD,41A,41F,424,429,42E,433,438,43D,442,45E,463,28D,290,4C6,2BC,468,46D,472,2C9,2F7,368,371,37A,234,4C8,477,47C,5BD,4CA,4CF,5C3,5C9,5CF pbrun symmask -sid 2246 -wwn 10000000c9436380 -dir 9c -p 0 add dev 5BC,238,3BE,3C3,3C8,3CD,41A,41F,424,429,42E,433,438,43D,442,45E,463,28D,290,4C6,2BC,468,46D,472,2C9,2F7,368,371,37A,234,4C8,477,47C,5BD,4CA,4CF,5C3,5C9,5CF 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. 9. Create the DGs for SRC/TGT devices to split/establish easily. pbrun symdg create ssunacs6_1012 -type rdf1 pbrun symld -sid 1012 -g ssunacs6_1012 add dev < 117 & remaining devices also> ## Split the Sync pair of SRC devices pbrun symrdf -sid 1012 -g ssunacs6_1012 -rdfg 2 que pbrun symrdf -sid 1012 -g ssunacs6_1012 -rdfg 2 suspend pbrun symdg create ssunacs6_1153 -type rdf1 pbrun symld -sid 1153 -g ssunacs6_1153 add dev < 181 & remaining devices also> ## Split the Sync pair of SRC devices pbrun symrdf -sid 1153 -g ssunacs6_1153 -rdfg 2 que pbrun symrdf -sid 1153 -g ssunacs6_1153 -rdfg 2 suspend pbrun symdg create ssunacs6_2246 -type rdf1 pbrun symld -sid 2246 -g ssunacs6_2246 add dev < 5BC & remaining devices also> ## Split the Sync pair of TGT devices (If already pair is created for new devices) pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 que pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 suspend ## Split the Async pair of TGT devices (If already pair is created for new devices) pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 que (We need to follow Async steps like changing mode of rdfg to acp ..) pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 suspend 10. Un-Mask the source devices from Host. #1012 Source devices from host pbrun symmask -sid 1012 -wwn 10000000c93dece0 -dir 7a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1012 -wwn 10000000c9436380 -dir 10a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E #1153 Source devices from host pbrun symmask -sid 1153 -wwn 10000000c93dece0 -dir 4b -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1153 -wwn 10000000c9436380 -dir 13b -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E 11. Make the Source devices "Write_Disable" (Pls. be careful when executing this command.Crossverify Frame ID and devices) pbrun symdev -sid 1012 write_disable -file ssunacs6_1012_srcdevs -nop ##ssunacs6_1012_srcdevs (create all these files under 22june2008) 0117 0118 011D 0122 0127 012C 0131 0136 013B 0140 0145 014A 014F 0154 0159 015E 0163 0168 016B 016E pbrun symdev -sid 1153 write_disable -file ssunacs6_1153_srcdevs -nop ##ssunacs6_1153_srcdevs (create all these files under 22june2008) 0181 0189 025C 0261 02CA 02D2 02DA 02E2 02EA 0524 0529 052B 0530 061C 06A6 06AB 072F 0735 0826 12. Make the target devices "Not_Ready" (Pls. be careful when executing this command.Crossverify Frame ID and devices) pbrun symdev -sid 2246 not_ready -file ssunacs6_2246_tgtdevs -nop 5BC 238 3BE 3C3 3C8 3CD 41A 41F 424 429 42E 433 438 43D 442 45E 463 28D 290 4C6 2BC 468 46D 472 2C9 2F7 368 371 37A 234 4C8 477 47C 5BD 4CA 4CF 5C3 5C9 5CF 13. Create Cold-Pull session between SRC-TGT devices pbrun symrcopy create -copy -name 22june2008 -pull -cold -file ssunacs6_map_22june -pace 2 -nop ### ssunacs6_map_22june #Control Device Remote Device ############### ############# symdev=2246:5BC symdev=1012:0117 symdev=2246:238 symdev=1012:0118 symdev=2246:3BE symdev=1012:011D symdev=2246:3C3 symdev=1012:0122 symdev=2246:3C8 symdev=1012:0127 symdev=2246:3CD symdev=1012:012C symdev=2246:41A symdev=1012:0131 symdev=2246:41F symdev=1012:0136 symdev=2246:424 symdev=1012:013B symdev=2246:429 symdev=1012:0140 symdev=2246:42E symdev=1012:0145 symdev=2246:433 symdev=1012:014A symdev=2246:438 symdev=1012:014F symdev=2246:43D symdev=1012:0154 symdev=2246:442 symdev=1012:0159 symdev=2246:45E symdev=1012:015E symdev=2246:463 symdev=1012:0163 symdev=2246:28D symdev=1012:0168 symdev=2246:290 symdev=1012:016B symdev=2246:4C6 symdev=1012:016E symdev=2246:2BC symdev=1153:0181 symdev=2246:468 symdev=1153:0189 symdev=2246:46D symdev=1153:025C symdev=2246:472 symdev=1153:0261 symdev=2246:2C9 symdev=1153:02CA symdev=2246:2F7 symdev=1153:02D2 symdev=2246:368 symdev=1153:02DA symdev=2246:371 symdev=1153:02E2 symdev=2246:37A symdev=1153:02EA symdev=2246:234 symdev=1153:0524 symdev=2246:4C8 symdev=1153:0529 symdev=2246:477 symdev=1153:052B symdev=2246:47C symdev=1153:0530 symdev=2246:5BD symdev=1153:061C symdev=2246:4CA symdev=1153:06A6 symdev=2246:4CF symdev=1153:06AB symdev=2246:5C3 symdev=1153:072F symdev=2246:5C9 symdev=1153:0735 symdev=2246:5CF symdev=1153:0826 14. Start "Copy" session by activating the session pbrun symrcopy activate -file ssunacs6_map_22june -consistent -nop 15. Set the pace to 2 ( *** We can include this in "symrcopy create" command) pbrun symrcopy set pace 2 -file ssunacs6_map_22june -nop 16. Query the session pbrun symrcopy -file ssunacs6_map_22june query ### Once the copy completes pbrun symrcopy -file ssunacs6_map_22june verify -copied 17. Terminate the session pbrun symrcopy -file ssunacs6_map_22june terminate -nop 18. Make the target devices ready. pbrun symdev -sid 2246 ready -file ssunacs6_2246_tgtdevs -nop 19. Makesure that only devices from "New Frame" are visible to Host. ## Devices from 2246 should be visible pbrun symmaskdb -sid 2246 -wwn 10000000c93dece0 list devs pbrun symmaskdb -sid 2246 -wwn 10000000c9436380 list devs ## No devices from 1012 should be visible pbrun symmaskdb -sid 1012 -wwn 10000000c93dece0 list devs pbrun symmaskdb -sid 1012 -wwn 10000000c9436380 list devs ## No devices from 1012 should be visible pbrun symmaskdb -sid 1153 -wwn 10000000c93dece0 list devs pbrun symmaskdb -sid 1153 -wwn 10000000c9436380 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) ###2246_pair_2337_2340 Pair is already created last week. pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 que pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 set mode acp_disk -nop pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 2 est -nop ###Once the status becomes "Synchronized" OR invalid tracks becomes less than 30000,Change the mode into Sync pbrun symrdf -sid 2246 -rdfg 2 -g ssunacs6_2246 set mode sync -nop ### For Async leg pbrun symrdf -sid 2246 -rdfg 8 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_current pbrun symrdf -sid 2246 -f async_current -rdfg 8 disable pbrun symrdf -sid 2246 -file async_current -rdfg 8 set mode acp_disk pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 set mode acp_disk pbrun symrdf -sid 2246 -g ssunacs6_2246 -rdfg 8 est ###Once the status becomes "Synchronized", change the mode into Async pbrun symrdf -sid 2246 -rdfg 8 list|grep -v -|grep ^0|awk '{print $1,$2}' >async_all pbrun symrdf -sid 2246 -file async_all -rdfg 8 set mode async pbrun symrdf -sid 2246 -file async_all -rdfg 8 enable 22. COB side configurartion a. Create mirror session between 2246_2340 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 #1012 devices from #2246 8cA/9cA pbrun symmask -sid 1012 -wwn 5006048c52a6f987 -dir 7a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E pbrun symmask -sid 1012 -wwn 5006048c52a6f988 -dir 10a -p 0 remove dev 0117,0118,011D,0122,0127,012C,0131,0136,013B,0140,0145,014A,014F,0154,0159,015E,0163,0168,016B,016E #1153 devices to #2246 8cA/9cA pbrun symmask -sid 1153 -wwn 5006048c52a6f987 -dir 4b -p 0 remove dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 pbrun symmask -sid 1153 -wwn 5006048c52a6f988 -dir 13b -p 0 remove dev 0181,0189,025C,0261,02CA,02D2,02DA,02E2,02EA,0524,0529,052B,0530,061C,06A6,06AB,072F,0735,0826 b. Delete Sync/Async pair for 1012_1450_1389 & 1153_1923_1587 devices pbrun symrdf -sid 1012 -g ssunacs6_1012 -rdfg 2 deletepair -nop pbrun symrdf -sid 1153 -g ssunacs6_1153 -rdfg 2 deletepair -nop c. Split HK R2-BCV mirror for 1389 & 1587 devices d. Remove COB masking for old frames(1389 & 1587 R2-BCV devices) e. Remove the FA-FA zoning between 1012-2246 and 1153-2246 f. Remove the zoning between Host WWN - 1012&1153 FAs / COB host- 1389 &1587 FAs emcquick.sh #!/bin/sh set PATH=$PATH:/usr/sbin echo Executing ---hostname---;hostname > /tmp/emcquick_hostname.out echo Executing ---date---; date > /tmp/emcquick_date.out echo Executing ---uname -a---; uname -a > /tmp/emcquick_uname.out echo Executing ---set---; set > /tmp/emcquick_set.out echo Executing ---df -k---; df -k > /tmp/emcquick_df.out echo Executing ---ifconfig -a---; ifconfig -a > /tmp/emcquick_ifconfig.out echo Executing ---dmesg---; dmesg> /tmp/emcquick_dmesg.out echo Executing ---mount---; mount> /tmp/emcquick_mount.out echo Executing ---ps -aef---;ps -aef> /tmp/emcquick_ps.out echo Executing ---swap -l---; swap -l> /tmp/emcquick_swap-l.out echo Executing ---swap -s---; swap -s> /tmp/emcquick_swap-s.out echo Executing ---pkginfo -l---; pkginfo -l> /tmp/emcquick_pkginfo.out echo Executing ---prtdiag -v---; prtdiag -v> /tmp/emcquick_prtdiag.out echo Executing ---prtconf -D---; prtconf -D> /tmp/emcquick_prtconf.out echo Executing ---prtpicl -v---; prtpicl -v> /tmp/emcquick_prtpicl.out echo Executing ---kstat---; kstat> /tmp/emcquick_kstat.out echo Executing ---sysdef -D---; sysdef -D> /tmp/emcquick_sysdef.out echo Executing ---grep . /kernel/drv/*.conf---- # grep is used, so file name is prepended grep . /kernel/drv/*.conf> /tmp/emcquick_kernelconf.out echo Executing ---grep . /etc/system---; grep . /etc/system > /tmp/emcquick_etc_system.out echo Executing ---date---; date > /tmp/emcquick_date.out echo DONE Executing. Results are in /tmp/emcquick_\*.out #### Clariion Connectivity to switches to Switch A SPA p0,SPB p1 zone with single/multiple hba/fcd to Switch B SPA p1,SPB p0 zone with single/multiple hba/fcd Sym Commands for Regular Usage /usr/lbin/modprpw -m mintm=0,exptm=0,lftm=0 ttlrep03, ttlcol02 ==================== symcfg -sid 136 list -fa ALL (to list all FA's details) Adding new LUNs on Primary Node 1. symcfg list 2. symmask list hba 3. powermt display paths (symdev -sid 137 -sa 7c -p 0 list) 4. symmaskdb -sid 137 -dev 2CB,2D3 list assignments symdev -sid 137 show 2CB 5. symmask -sid 137 -wwn 210000e08b123886 -dir 7c -p 1 add dev 2CB,2D3 symmask -sid 137 -wwn 210100e08b323886 -dir 8c -p 1 add dev 2CB,2D3 symmask -sid 137 -wwn 210000e08b12341b -dir 9c -p 1 add dev 2CB,2D3 symmask -sid 137 -wwn 210100e08b32341b -dir 10c -p 1 add dev 2CB,2D3 symmask -sid 137 refresh 6. symmaskdb -sid 137 -dev 2CB,2D3 list assignments (to cross check) powermt display paths 7. devfsadm -v powermt display paths powermt check 8. powermt config 9. powermt display paths 8. syminq |egrep '2CB|2D3' 9. format label (vxdctl hostid , if it is a new host) 10. vxdctl enable 11. vxdisksetup -i cxtydz vxdg init restore_dg disk01_417=c8t17d16s2 12. vxdg -g omdata_dg adddisk omdatadisk26=c4t16d47s2 vxresize -g aisprod_dg aisapp01 +63g disk09_636 disk10_636 vxassist -g aisprod_dg make aisdata03 50g disk09_636 disk10_636 layout=striped mkfs -F vxfs -o largefiles /dev/vx/rdsk/aisprod_dg/aisdata03 mkdir -p /ais/data03 Update /etc/vfstab mount /ais/data03 vgcreate -l 255 -p 255 -s 64 vg_ttliras /dev/dsk/c12t2d2 # lvextend -L 1590080 /dev/vg_restore/backup Logical volume "/dev/vg_restore/backup" has been successfully extended. Volume Group configuration for /dev/vg_restore has been saved in /etc/lvmconf/vg_restore.conf # fsadm -b 1628241920 /backup fsadm: /etc/default/fs is used for determining the file system type UX:vxfs fsadm: INFO: V-3-23585: /dev/vg_restore/rbackup is currently 1181351936 sectors - size will be increased # Adding new LUNs on Secondry Node 1. symcfg list 2. symmask list hba 3. powermt display paths 4. symmaskdb -sid 137 -dev 2CB,2D3 list assignments 5. symcfg discover symmask -sid 137 -wwn 210000e08b128003 -dir 7c -p 1 add dev 2CB,2D3 symmask -sid 137 -wwn 210100e08b328003 -dir 8c -p 1 add dev 2CB,2D3 symmask -sid 137 -wwn 210000e08b12c71a -dir 9c -p 1 add dev 2CB,2D3 symmask -sid 137 -wwn 210100e08b32c71a -dir 10c -p 1 add dev 2CB,2D3 symmask -sid 137 refresh devfsadm -v powermt config powermt display paths vxdctl enable vxdisk list (The disks should come online) Adding BCVs on report server. 1. symcfg list 2. symdg list symdg show omdbprd_dg symld -sid 137 -g omdbprd_dg add dev 2CB symld -sid 137 -g omdbprd dg add dev 2D3 symdg show omdbprd dg symbcv -sid 137 -g omdbprd_dg associate dev 8A3 symbcv -sid 137 -g omdbprd dg associate dev 8AB symmir -g omdbprd_dg establish -full DEV023 bcv ld BCV023 symmir -g omdbprd_dg establish -full DEV024 bcv ld BCV024 symdg show omdbprd_dg symmir -g omdbprd_dg query -i 5 symmir -g omdbprd_dg split symmir -g omdbprd_dg query -multi symdg show omdbprd_dg symmask list hba symmaskdb -sid 137 -dev 8A3,8AB list assignments symmask -sid 137 -wwn 210000e08b12ae1b -dir 07B -p 1 add dev 08A3,08AB symmask -sid 137 -wwn 210000e08b12f01b -dir 08B -p 1 add dev 08A3,08AB symmask -sid 137 -wwn 210100e08b32f01b -dir 09B -p 1 add dev 08A3,08AB symmask -sid 137 -wwn 210100e08b32ae1b -dir 10B -p 1 add dev 08A3,08AB symmask -sid 137 refresh symmaskdb -sid 137 -dev 8A3,8AB list assignments devfsadm -v vxdctl enable vxdisk list To find free decice =================== symmask list hba (note down the FA ports) symdev -sid -sa -p list on each device symmaskdb -sid -dev list assignments Mapping devices: (If unmasked devices are not available) ================ symdev -sid -noport list ( to check free decies, i.e not assigned to any FA port) symdev -sid show (to cross check) symmask list hba symcfg -sid -fa -p

list -address -available (To check available addresses) Create map file as below For SUN: ======== map dev 077B to dir 7b:1 target=0,lun=00E; map dev 0783 to dir 7b:1 target=0,lun=00F; map dev 078B to dir 7b:1 target=0,lun=010; map dev 0793 to dir 7b:1 target=0,lun=011; map dev 077B to dir 10b:1 target=0,lun=00E; map dev 0783 to dir 10b:1 target=0,lun=00F; map dev 078B to dir 10b:1 target=0,lun=010; map dev 0793 to dir 10b:1 target=0,lun=011; For HP: ======= map dev 0599 to dir 04c:1 vbus=0,target=3,lun=2; map dev 05A1 to dir 04c:1 vbus=0,target=3,lun=3; map dev 05A9 to dir 04c:1 vbus=0,target=3,lun=4; map dev 05B1 to dir 04c:1 vbus=0,target=3,lun=5; map dev 05B9 to dir 04c:1 vbus=0,target=3,lun=6; map dev 05C1 to dir 04c:1 vbus=0,target=3,lun=7; map dev 0599 to dir 13c:1 vbus=0,target=3,lun=2; map dev 05A1 to dir 13c:1 vbus=0,target=3,lun=3; map dev 05A9 to dir 13c:1 vbus=0,target=3,lun=4; map dev 05B1 to dir 13c:1 vbus=0,target=3,lun=5; map dev 05B9 to dir 13c:1 vbus=0,target=3,lun=6; map dev 05C1 to dir 13c:1 vbus=0,target=3,lun=7; Note :- In HP we can assign LUNs 0 to 7 only per target. symcfg discover symconfigure -sid verify symconfigure -sid -f preview symconfigure -sid -f prepare symconfigure -sid -f commit if any step fails symconfigure -sid 636 verify symconfigure -sid 636 -f map prepare symconfigure -sid 636 -f map commit symdev -sid 0636 list -lock symcfg -sid 0636 list -lockn symdev -sid 0636 release -lock symcfg -sid 0636 release -lockn reboot pc symconfigure -sid verify symdev -sid -sa -p list (to cross check) Note :- If prepare or commit is taking long time, run verify parallaly If any step is failed we may need to restart the service processor (laptop). Unmap devices: =============== unmap dev 2B3 from dir 7d:1 devmask_access=remove; unmap dev 2BB from dir 7d:1 devmask_access=remove; unmap dev 303 from dir 7d:1 devmask_access=remove; unmap dev 30B from dir 7d:1 devmask_access=remove; unmap dev 28B from dir ALL:ALL ; unmap dev 2C3 from dir ALL:ALL; unmap dev 2CB from dir ALL:ALL Create metas: ============= form meta from dev 023B config=striped,stripe_size=1920;add dev 23C:242 to meta 23B; form meta from dev D1B,config=striped,stripe_size=1920;add dev d1c:d22 to meta d1b; form meta from dev 09D7 config=striped,stripe_size=1920;add dev 09D8:09DA to meta 09D7; form meta from dev 0A13 config=striped,stripe_size=1920;add dev 0A14:0A1A to meta 0A13; form meta from dev 0A1B config=striped,stripe_size=1920;add dev 0A1C:0A22 to meta 0A1B; SYMCLI license: =============== cat /var/symapi/config/symapi_licenses.dat License Key: 7FBE-9150-E0BC-9CCD SYMAPI Feature: BASE License Key: 3A61-6044-C190-0196 SYMAPI Feature: SERVER License Key: 4B00-4011-EF38-1609 SYMAPI Feature: TimeFinder License Key: C7B7-B992-1954-4D99 SYMAPI Feature: DeltaMark License Key: C0C9-80AF-366B-A846 SYMAPI Feature: SOLUTION_4 License Key: A97E-6602-DABA-9E2A WIDESKY Feature: DevMasking / Symmetrix License Key: 8EC5-F23C-F234-F081 SYMAPI Feature: SRDF Switch Zoning ============= Create Zone: 0. switchshow 1. zoneshow 2. cfgshow 3. zonecreate "hostname_hba_fa_storage",";" 4. cfgadd "","hostname_hba_fa_storage" 5. cfgsave 6. cfgenable "" Delete Zone: TTLHYDSW17:admin> zoneremove "OPENREL2","50:06:01:69:30:60:33:32;50:06:04:8c:52:a5:30:57" TTLHYDSW17:admin> zoneshow OPENREL2 "OPENREL2" does not exist. TTLHYDSW17:admin> cfgremove "TTLHYDSW17","OPENREL2" TTLHYDSW17:admin> cfgsave Updating flash ... TTLHYDSW17:admin> cfgenable "TTLHYDSW17" zone config "TTLHYDSW17" is in effect Updating flash ... TTLHYDSW21:admin> zonecreate "TTLBPFX1003_hba2_fa10bB_133","50:06:04:84:4a:36:b5:79;21:00:00:e0:8b:12:ab:1b" TTLHYDSW21:admin> zonecreate "TTLBPFX1003_hba2_fa9bB_130","50:06:04:84:4a:36:b4:b8;21:00:00:e0:8b:12:ab:1b" TTLHYDSW21:admin> zonecreate "TTLBPFX1003_hba2_spA1_spB0_CX17","50:06:01:68:30:60:37:6a;50:06:01:61:30:60:37:6a;21:00:0 0:e0:8b:12:ab:1b" TTLHYDSW21:admin> cfgadd "TTLHYDSW21_CONFIG","TTLBPFX1003_hba2_fa10bB_133" TTLHYDSW21:admin> cfgadd "TTLHYDSW21_CONFIG","TTLBPFX1003_hba2_fa9bB_130" TTLHYDSW21:admin> cfgadd "TTLHYDSW21_CONFIG","TTLBPFX1003_hba2_spA1_spB0_CX17" TTLHYDSW21:admin> cfgsave You are about to save the Defined zoning configuration. This action will only save the changes on Defined configuration. Any changes made on the Effective configuration will not take effect until it is re-enabled. Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] yes Updating flash ... TTLHYDSW21:admin> cfgenable "TTLHYDSW21_CONFIG" You are about to enable a new zoning configuration. This action will replace the old zoning configuration with the current configuration selected. Do you want to enable 'TTLHYDSW21_CONFIG' configuration (yes, y, no, n): [no] yes zone config "TTLHYDSW21_CONFIG" is in effect Updating flash ... TTLHYDSW21:admin> cfgshow Update qla2300.conf (example entries) ===================== hba0-adapter-node-name="200000e08b123d1b"; hba0-adapter-port-name="210000e08b123d1b"; #SPA1 of CX-700-10 hba0-SCSI-target-id-20-fibre-channel-node-name="5006016130603332"; hba0-SCSI-target-id-20-fibre-channel-port-name="5006016130603332"; #SPB1 of CX-700-10 hba0-SCSI-target-id-30-fibre-channel-node-name="5006016930603332"; hba0-SCSI-target-id-30-fibre-channel-port-name="5006016930603332"; #FA9bB of DMX-130 hba0-SCSI-target-id-40-fibre-channel-node-name="500604844a36b4b7"; hba0-SCSI-target-id-40-fibre-channel-port-name="500604844a36b4b7"; #FA10bB of DMX-133 hba0-SCSI-target-id-50-fibre-channel-node-name="500604844a36b579"; hba0-SCSI-target-id-50-fibre-channel-port-name="500604844a36b579"; hba2-adapter-node-name="200000e08b12a21b"; hba2-adapter-port-name="210000e08b12a21b"; #SPA2 of CX-700-10 hba2-SCSI-target-id-21-fibre-channel-node-name="5006016230603332"; hba2-SCSI-target-id-21-fibre-channel-port-name="5006016230603332"; #SPB2 of CX-700-10 hba2-SCSI-target-id-31-fibre-channel-node-name="5006016A30603332"; hba2-SCSI-target-id-31-fibre-channel-port-name="5006016A30603332"; #FA8bB of DMX-130 hba2-SCSI-target-id-41-fibre-channel-node-name="500604844a36b4b8"; hba2-SCSI-target-id-41-fibre-channel-port-name="500604844a36b4b8"; #FA9bB of DMX-133 hba2-SCSI-target-id-51-fibre-channel-node-name="500604844a36b578"; hba2-SCSI-target-id-51-fibre-channel-port-name="500604844a36b578"; Update sd.conf (example entries) ============== Note :- You need to add lun 0 to 255 entries for each target. name="sd" class="scsi" target=20 lun=0; name="sd" class="scsi" target=20 lun=1; name="sd" class="scsi" target=20 lun=2; name="sd" class="scsi" target=20 lun=3; name="sd" class="scsi" target=20 lun=4; name="sd" class="scsi" target=20 lun=5; name="sd" class="scsi" target=20 lun=6; name="sd" class="scsi" target=20 lun=7; DR system board (In this example we are moving SB15 from domain G to H) ===================== 1. Find out the permanent board (You should not delete or touch this board) To check permanent memory board (On domain as root) cfgadm -av |grep -i perm (On SC as sms-svc, i.e rsh 10.1.1.1) showplatform -p domains showdevices -d G (it should show non-zero) Note:- If JASS is installed you need to uncommnet below entries in /etc/inted.conf and run kill -HUP for inetd process. sun-dr stream tcp wait root /usr/lib/dcs dcs sun-dr stream tcp6 wait root /usr/lib/dcs dcs 2. deleteboard SB15 3. addboard SB15 -d H (target domain) SUN cluster installation and configuration ========================================== Quoram device setup -------------------- scgdevs scdidadm -L scsetup use d14 as quoram device install CVM ------------- /usr/cluster/bin/scvxinstall -L -d encapsulate root disk install cluster patches Created dump devices and do root disk mirroring ------------------------------------------------ vxdisksetup -i c0t1d0 vxdg -g rootdg adddisk coredisk=c0t1d0 vxassist -g rootdg make coredump 16g coredisk vxassist -g rootdg make corevol 16g coredisk newfs /dev/vx/rdsk/corevol (default is UFS) update /etc/vfstab (/dev/vx/dsk/corevol /dev/vx/rdsk/corevol /core ufs 2 yes logging mkdir /core mount /core vxmksdpart -g rootdg coredisk-01 0 0x0 0x200 vxmksdpart -g rootdg coredisk-02 0 0x0 0x200 dumpadm dumpadm -d /dev/dsk/c0t1d0s0 -s /core vxdisksetup -i c2t0d0 old_layout (to use sector 0 also, i.e new_layout will use from sector 1) vxdg adddisk rootmir_2=c2t0d0 vxmirror rootdisk_2 rootmir_2 vxmend -g qarac_dg -r clear all applsysx02.dbf applsysx02.dbf-02 -- to clear the locks on plexes scgdevs (to register devices) scconf -a -D type=vxvm,name=eposmig_dg,nodelist=TTLPOSDB01:TTLPOSDB02,preferenced=true (to register disk group) scconf -c -D name=eposmig_dg,sync (to sync veritas dg config) scswitch -z -D eposmig_dg -h TTLPOSDB01 (to switchover the dg) --------------------------------------- Unlock user on hp-ux /usr/lbin/getprpw -l (in the output if lockout=0001000 means user got locked) /usr/lbin/modprpw -k (to unlock user) (cross check lockout in the output, it should be lockout=0000000) ------------------------------------------------------------------------- rad command on hp-ux 11.11 (olrad on hp-ux 11iv2) The rad command provides the ability to perform on-line addition and replacement of I/O cards. This command should be used while the system is in single-user state, when SAM is unavailable. --------------------------------------------------------------------------------- Clariion License Registration: root@BPFXUAT # bash root@BPFXUAT # powermt set policy=co Error: "co" is not a valid policy for CLARiiON storage systems with the installed license. root@BPFXUAT # powermt check_registration There are no license keys now registered. root@BPFXUAT # emcpreg add BVPA-3B47-YFAW-Q9MQ-MC9F-2M6W Usage: emcpreg [opts] -add key [key ...] emcpreg [opts] -remove key [key ...] emcpreg [opts] -check key [key ...] emcpreg [opts] -list emcpreg [opts] -edit emcpreg [opts] -install [-noinput] Options: -f file license file root@BPFXUAT # emcpreg -add BVPA-3B47-YFAW-Q9MQ-MC9F-2M6W 1 key(s) successfully added. root@BPFXUAT # powermt set policy=co root@BPFXUAT # powermt set policy=co dev=all root@BPFXUAT # powermt save ------------------------------------------------------------------------- Note: If EMC luns are not allowing to do vxdisksetup and if it gave error VTOC error. Then first try to scrub with them using scsi command (Cluster software needs to be installed). Ex: # scdidadm -L |grep < disk number> from the above note down the did number. # /usr/cluster/lib/scsi -c inkeys -d # If you find any inkeys then execute the below command # /usr/cluster/lib/scsi -c scrub -d If you still receive the VTOC error while vxdisksetup. Then execute cd /opt/SUNWtscsi/tset_scsi/sa_prog/scsi3 Issue the following command: do_mhiocgrp_clear /dev/rdsk/ c4t16d101s2 If we are still finding VTOC Errors while vxdisksetup then Issue the following command: ./do_mhiocgrp_register -n 2222 /dev/rdsk/ ./do_mhiocgrp_preemptandabort -r 2223 -v 1001 /dev/rdsk/ c4t16d101s2 Finally execute vxdisksetup -i -f Veritas 4.1 has got the problem when we add new disks to host from the storage and to over come this problem, please do follow the below command sequence... symmask -sid refresh devfsadm -v powermt config powermt save vxdctl enable So, we will not get duplicate entries in vxdisk list output. echo "\033[33m" vxmake -g fmsrasdev02_dg sd disk02_cx10-07 disk=disk02_cx10 len=57511680 offset=219314944 vxsd -g fmsrasdev02_dg mv fmsrasdev02-03-02 disk02_cx10-07 & rsize=32768,wsize=32768,hard scswitch -F -g fxka-rg scswitch -F -D fxkaraw_dg scswitch -z -D fxkaraw_dg -h TTLBPFX05 scswitch -z -g fxka-rg -h TTLBPFX05 ************************************************* vgreduce -l /dev/vg00 /dev/dsk/c0t6d0 prtfru "/frutree/chassis/CP/ex8?Label=ex8/EXB/sb8?Label=sb8/CPU" | grep -i speed ipcs -s bash-3.00# ipcs -s | grep 0x45 s 22 0x45187c9c --ra-ra-ra- root sys s 25 0x450c08ea --ra-ra-ra- root sys s 70683 0x451884b3 --ra-ra-ra- root sys s 20508 0x450c0c69 --ra-ra-ra- root sys s 20509 0x450c0d45 --ra-ra-ra- root sys s 76831 0x45187bcd --ra-ra-ra- root sys ipcrm -s 22 new commands.. #symmaskdb -sid <> list database #symmaskdb -sid <> backup -file to replace old wwn with new wwn #symmask -sid <> -wwn replace #symmaskdb -sid <> -wwn <> list devs #symmaskdb -sid <> list capacity -host ....# ref symmask list logins #symmaskdb -sid -devs <>,<>,<> list assignments to write disable the FA ports #symld -g DgName -SA 16A -p 0 write_disable To make symdg "not ready " mode #symld -sid <> -g <> not_ready To make SYMdev ""not ready " mode #symdev -sid <> not_ready to create the hyper: create dev, count=4, size=220, emulation=fba, config=2-way-mir; To add four new Symmetrix devices to Symmetrix array 000000012345 as two-way mirrored devices with a size of 1100 cylinders (516 MB), using FBA emulation, and to create the hypers to support the new devices in disk group 3, create a command file containing the following option: create dev count=4, size=1100,emulation=FBA, config=2-Way-Mir disk_group=3; To commit the command file that creates a concatenated metadevice in Symmetrix 12345, using device 0010 as the metahead, and 0011 - 0013 as members, enter: form meta from dev 0010, config = concatenated; add dev 0011:0013 to meta 0010; To form a concatenated metadevice 0010 and add metamembers, enter: form meta from dev 0010, config = concatenated; add dev 0011:0012 to meta 0010; Example: Forming a striped meta To form a striped metadevice 0010 and add metamembers, enter: form meta from dev 0010, config = striped,stripe_size=1920; add dev 0013:0014 to meta 0010; to see the freespace format wise, #symconfigure -sid <> list -freespace -units MB When unmapping a device, there can be no I/O activity in the specified mapped path. If you want to unmap only one path to a device that has paths to multiple front-end directors, you can write-disable just that path. The symdev command write-disables the device-0001 path specified by director 04B, port 0. #symdev –sid 120 write_disable 0001 –sa 04B –p 0 Write Disable operation successfully completed for the device. Example: 013 Not Visible ???:? 02B:C3 2-Way Mir N/Grp'd (M) RW 960 014 Not Visible ???:? 01A:C0 2-Way Mir N/Grp'd (m) RW - In this example, the ???:? displayed in the SA :P column for device 013 indicates that the metadevice is not yet mapped to a port. Subsequent commands will map the metadevice to a new host connected to front-end director 03A, port 0. The symcfg list command displays the current port settings (flags) for this port. #symcfg -sa 03A –p 0 list –v –sid 40 Dynamic RDF:- =============== vi set_sym.cmd set symmetrix dynamic_rdf=enable; #symconfigure –sid 605 –file set_sym.cmd –v –noprompt commit vi create_std.cmd create dev, count=6, size=1100, emulation=fba, config=RAID-5; #symconfigure -sid 605 -file create_std.cmd -v -noprompt commit The following command uses the vi text editor to create a text file named set_dyn_devices.cmd. As was done here, you can enter into the file the set dev entry that sets the dynamic RDF attribute for the six new devices. The dyn_rdf attribute allows a device to be dynamically converted to either an R1 or an R2 device. vi set_dyn_devices.cmd set dev 0091:0096 attribute=dyn_rdf; #symconfigure -sid 605 -file set_dyn_devices.cmd -v -noprompt commit vi create_pair.cmd 0091 0010 0092 0011 0093 0012 0094 0013 0095 0014 0096 0015 symdg create new_dyn_rdf_grp –type regular symld –g new_dyn_rdf_grp –sid 605 addall dev –range 091:096 symld –g new_dyn_rdf_grp write_disable symrdf -g new_dyn_rdf_grp establish -noprompt -sid 605 symrdf -g new_dyn_rdf_grp query -sid 605 symrdf verify -g new_dyn_rdf_grp -i 30 -sid 605 symrdf createpair -file create_pair.cmd -sid 605 -rdfg 1 -type RDF1 -invalidate R2 -noprompt ================================== symrdf -g posedm_dg -bcv query symrdf -g posedm_dg -bcv set mode acp_disk symrdf -g posedm_dg -bcv establish -nop Configuring Gatekeeper Devices You need a gatekeeper device for each device group in the consistency group that will be built in a later step. Use the following commands on all nodes on the R1 side to define gatekeepers and associate them with device groups: # symgate -sid 638 define dev 010 # symgate -sid 130 define dev 009 # symgate -sid 638 -g dgoraA associate dev 010 # symgate -sid 130 -g dgoraB associate dev 009 Use the following commands on all nodes on the R2 side to define gatekeepers and associate them with device groups: # symgate -sid 021 define dev 002 # symgate -sid 363 define dev 00B # symgate -sid 021 -g dgoraA associate dev 002 # symgate -sid 363 -g dgoraB associate dev 00B Technical Tipps: xargs echo | tr ": :" ":,:" cat test | xargs echo | tr ": :" ":,:" bdf | grep -v Filesystem|tr " " " " cut -d " " -f 3 | sort -rn | xargs echo | sed "s/ /+/g"|bc mminfo -avot -t "07/05/07" |grep -i cb | awk '{sum+=$5} END {print sum/1024}' Meta size Symmetrix cylinder size = 480 k Meta Configuration : Striped Meta Stripe Size : 960k (2 Cylinders) Mirror Set Type : [RAID-5,RAID-5,N/A,N/A] Mirror Set DA Status : [RW,RW,N/A,N/A] Solution Enable commands: To examin the Symmetrix Engunity version # symcfg list -v Symcli Avoidence and Selection file: (These files are used to limit the scope of symcli online commands) /var/symapi/config/symavoid: -> Affects the "symcfg disc" operation so that it doesn't look for devices under the specified box (Specify the 12 digit sym id in one line) /var/symapi/config/inqfile -> The inqfile file configures calls to "symcfg discover" and "syminq" to find only those PdevNames specified in this file. This may be useful if you want to limit the command(s) to view only certain Symmetrix devices from your host. (Specify one PDevName (/dev/rdsk/c2t0d2s2) per line. /var/symapi/config/gkavoid -> This file is used by several symcli command to avoid using the gate keepers specified in this file. (Specify one PDevName (/dev/rdsk/c2t0d2s2) per line) /var/symapi/config/gkselect -> This file is used by several symcli command to force using only the gate keepers specified in this file. (Specify one PDevName (/dev/rdsk/c2t0d2s2) per line) Monitor Symmetrix events thru SYMCLI: # symevent monitor eg) symevent monitor -sid 901 -i 600 -c 144 -warn => i=seconds; c=count; -warn = severity # symevent list eg) symevent list -sid 901 -v -start 09:00 -end 17:00 SRDF SRDF Sync/Async Activities (SYNC LEG) 1. pbrun symrdf -sid 2246 createpair -f 04thMay2008r1tor2 -rdfg 2 -type rdf1 -invalidate r2 2. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 2 query 3. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 2 set mode acp_disk -nop 4. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 2 query 5. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 2 est once invalid tracks becomes less than 30000 change the mode to Sync. Better wait till invalid tracks become NULL. 6. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 2 set mode sync 7. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 2 query (ASYNC LEG) - 1. pbrun symrdf -sid 2246 -f 2246_2340_hprdfa_8 -rdfg 8 disable -nop 2. pbrun symrdf -sid 2246 -f 2246_2340_hprdfa_8 -rdfg 8 set mode a acp_disk -nop 3. pbrun symrdf -sid 2246 createpair -f sunrdfa_04thMay2008 -rdfg 8 -type rdf1 -invalidate r2 4. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 8 query 5. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 8 set mode acp_disk -nop 6. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 8 query 7. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 8 est 8. run the update.sh script: ( U can this script at end once all frames done) once invalid tracks becomes less than 30000 change the mode to Sync. Better wait till invalid tracks become NULL. 9. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 2 set mode async 10. pbrun symrdf -sid 2246 -f 2246_2340_hprdfa_8 -rdfg 8 enable -nop 11. pbrun symrdf -sid 2246 -f 04thMay2008r1tor2 -rdfg 8 query List all RDF groups in a box # symcfg -sid -rdfg all list List all the RA ports in a box # symcfg -ra all list List all dynamic devices visible to that host # symdev list pd -dynamic Creating an RDF group symrdf addgrp -label -rdfg -sid -dir -remote_sid -remote_dir -remote_rdfg Creating R1 and R2 paring relation Create a file containing the R1 devices in the first column and R2 devices in 2nd column 101 401 201 501 #symrdf -file -sid -rdfg -type r1 -establish -g createpair -nop Deleting the R1 and R2 paring Create a file containing the R1 devices in the first column and R2 devices in 2nd column 101 401 201 501 #symrdf deletepair -file -sid -rdfg List all the devices in a RDF group #symrdf -rdfg list Asynchronous SRDF mode: Statistics of an SRDF/A session symstat -type cache -reptype rdfa -sid -i 5 -c 10 symrdf Query for Async mode symrdf -g query -rdfa List the remote storage association: symcfg -sid 2538 -ra all list symrdf -sid 133 ping Preparing to Convert device for SRDF: Put the R2 device in unmapped, unmasked, Write Disabled / NR symdev -sid 2538 show 01E3 symcfg disc symmaskdb -sid 2538 -dev 01E3 list assignment symdev -sid 2538 not_ready 01E3 (May not be required) map file: convert dev 0293 to RDF1-Mir(For 2-Way Mir), ra_group=3, remote_dev=01E3 invalidate=r2, start_copy=no; convert dev 09CB to RDF1-Bcv-Mir(For 2-Way BCV Mir), ra_group=3, remote_dev=08EB invalidate=r2, start_copy=no; convert dev 11B3 to RDF1-BCV(For BCV), ra_group=3, remote_dev=091B invalidate=r2, start_copy=no; convert dev 11b1 to RDF1+R-5(For RAID-5),ra_group=4, remote_dev=1253, invalidate=R2, start_copy=no; Create sym DG: symdg create -type rdf1 fxbhuparbor_dg symld -g fxbhuparbor_dg -sid 133 add dev 0293 symrdf -g fxbhuparbor estab If you are getting error like "The Symmetrix configuration could not be loaded for a remotely-attached Symmetrix" symrdf -g fxbhuparbor split symrdf -g fxbhuparbor estab Set Adaptive Copy and Disk Mode: symrdf -g fxpbarbor_dg set mode acp_disk(Adaptive copy Disk mode) symcfg -sid 417 -lockn 15 release -force -nop symclone -sid 417 -f epos-clone.txt create -precopy -diff SYMCLI symcfg list -connections -sorthost -capacity the space mapped to fa port and which host is using that space Host Symmetrix Capacity (GB) ------------ -------------------------- ----------------------------------- Node Name ID Director Port Mapped STDs Mapped BCVs Paired BCVs ------------ ------------ -------- ---- ----------- ----------- ----------- AISPROD01 000287890636 FA-7B 1 1770.1 0.0 0.0 000287890636 FA-10B 1 1770.1 0.0 0.0 ----------- ----------- ----------- AISPROD01 totals: 1770.1 0.0 0.0 AMDTEST 000287890636 FA-9A 1 748.9 5718.6 0.0 000287890636 FA-13A 0 1565.9 1497.7 0.0 ----------- ----------- ----------- AMDTEST totals: 2110.5 6739.8 0.0 symcfg list -connections will show the information about the hosts connected to FAs Symmetrix ID : 000287890130 Symmetrix Host ------------- ----------------------------------------------------------- Director Port Node Name IP Address HW Type OS Name OS Revision -------- ---- ------------- --------------- -------- -------- ----------- DF-1A N/A CK287890130 172.17.4.192 INTEL WinNT-SP 5.0.2195 FA-8A 1 INTECREP 172.17.7.164 9000/800 HPUX B.11.11 FA-7B 0 ICHARGEDB01 172.17.7.238 sun4u SunOS 5.10 0 ichargedb01 172.17.7.238 sun4u SunOS 5.10 0 ichargedb02 172.17.7.248 sun4u SunOS 5.10 FA-8B 1 TTLHYDSN02 172.17.7.144 sun4u SunOS 5.9 1 TTLHYDSN03 172.17.7.145 sun4u SunOS 5.9 symcfg list -lockn all S Y M M E T R I X L O C K S Lock Lock Lock Time SymmID Attachment Status Number Usage Held (Sec) 000287890130 Local N/A N/A N/A N/A symcfg list -fa all -port gives information about fa port is connected to san switch or not.Director status/port status/connection status Symmetrix ID: 000287890130 (Local) S Y M M E T R I X D I R E C T O R P O R T S Director Port Status Connection Status Ident Type Status P0 P1 P2 P3 P0 P1 P2 P3 FA-7A FibreChannel Online ON ON N/A N/A X X - - FA-8A FibreChannel Online ON ON N/A N/A X X - - symcfg list -fa all gives information of all fa ports wwn/vbit status/vcm enabled Symmetrix ID: 000287890130 (Local) S Y M M E T R I X F I B R E D I R E C T O R S Dir Port WWN VCM Volume Set Pnt to Pnt Enabled Addressing FA-7A 0 500604844a36b486 Yes No Yes FA-7A 1 500604844a36b4a6 Yes Yes Yes symcfg list -ra all -port gives information about ra groups Symmetrix ID: 000290100980 (Local) S Y M M E T R I X D I R E C T O R P O R T S Director Port Status Connection Status Ident Type Status P0 P1 P2 P3 P0 P1 P2 P3 RF-8D RDF-R1 Online ON N/A N/A N/A X - - - - 000290102632 2 (01) 2 (01) RF-9D RDF-R1 Online ON N/A N/A N/A X - - - - 000290102632 2 (01) 2 (01) Legend for Connection Status: (X) : Fibre Port is Connected to a Fibre Port (HBA, Switch or RF Director) (-) : Fibre Port is Not Connected. symcfg list -memory Symmetrix ID : 000287890130 Number of Memory Boards : 6 Slot Number Capacity(MB) 0 16384 1 16384 2 16384 3 8192 4 8192 5 8192 -------- Total (Usable Cache) 73728 -------- symcfg list -rdfg all Symmetrix ID : 000290100980 S Y M M E T R I X R D F G R O U P S Local Remote Group RDFA Info ------------- -------------------- ----------------------- ----------------- LL Flags Dir Flags Cycle RA-Grp (sec) RA-Grp SymmID T Name LPDS Cfg CSRM time Pri ------------- -------------------- ----------------------- ----- ----- --- 2 ( 1) 10 2 ( 1) 000290102632 S BILLGRP4 .X.. F-S -IS- 30 33 Legend: ? : Unknown Group (T)ype : S = Static, D = Dynamic Director (C)onfig : F-S = Fibre-Switched, F-H = Fibre-Hub G = GIGE, E = ESCON, T = T3, - = N/A Group Flags : Prevent Auto (L)ink Recovery : X = Enabled, . = Disabled Prevent RAs Online Upon (P)ower On: X = Enabled, . = Disabled Link (D)omino : X = Enabled, . = Disabled (S)TAR mode : N = Normal, R = Recovery, . = OFF RDFA Flags : (C)onsistency : X = Enabled, . = Disabled, - = N/A (S)tatus : A = Active, I = Inactive, - = N/A (R)DFA Mode : S = Single-session, M = MSC, - = N/A (M)sc Cleanup : C = MSC Cleanup required, - = N/A symcfg -sid 417 list -dir all -v Gives information about all the directors available in box Symm Commands: * List all the box visible to this host symcfg list * List all the HBAs of this host connected to SAN symmask list hba * Lists all the hostname using this box symcfg -sid 137 list -connections * List all the box visible to the host and all the hostname using the box symcfg list -connections * Shows the Std & BCV LUNS on this DG symdg show sapdbedm_dg * Show information of one particular LUN symdev -sid 636 show 0C93 * Lists all the luns mapped to hosts with hostname and the FA symmaskdb -sid 1168 list database * List the WWN of a port symcfg -sid 636 -fa 13a -p 1 list * Lists all the FAs with their WWN symcfg -sid 980 -fa all list * List all LUNS that are visible to an FA symdev -sid 636 -sa 13a -p 1 list * List all bcv that are not assigned to any FA symdev -sid 636 -meta -bcv -noport list * List all the assignments of a particular LUN symmaskdb -sid 636 -dev B03 list assignments * Display the WWNs of hosts that are using this port( Logged On IN & Fabric => "Yes" => currently using) symmask -sid 417 -dir 9c -p 1 list logins * Display dev from the host and physical path # syminq -pdevfile * List HBA information syminq hba -fiber Change Device configuration: convert dev 0AB3 to 2-Way-Bcv-Mir; convert dev 17F1 to BCV+R-5; SYMMIR Operation: Split One pair of LUNS symmir -g bptnedm_dg split DEV005 bcv ld BCV005 -force -symforce Full sync for one pair of LUN symmir -g bptnedm_dg establish DEV005 -full Forced sync symmir -g bptnedm_dg establish DEV005 -full -force ==================== If disks are in Invalid state =================== root@TTLBILL02 # symmir -g bptnedm_dg query Device Group (DG) Name: bptnedm_dg DG's Type : REGULAR DG's Symmetrix ID : 000287890130 Standard Device BCV Device State -------------------------- ------------------------------------- ------------ Inv. Inv. Logical Sym Tracks Logical Sym Tracks STD <=> BCV -------------------------- ------------------------------------- ------------ DEV001 0123 0 BCV001 0BB7 * 0 Split DEV002 012B 0 BCV002 0BBF * 0 Split DEV003 0193 0 BCV003 0C17 * 0 Split DEV004 0093 0 BCV004 0B47 * 0 Split DEV005 020B 0 BCV005 0C7F * 1365958 Invalid DEV006 022B 0 BCV006 0C9F * 0 Split DEV007 0333 0 BCV007 0D87 * 0 Split DEV008 0113 0 BCV008 0BA7 * 0 Split DEV009 011B 0 BCV009 0BAF * 0 Split DEV010 0213 0 BCV010 0C87 * 0 Split DEV011 021B 0 BCV011 0C8F * 0 Split DEV012 0403 0 BCV012 0DD7 * 0 Split DEV013 0203 0 BCV013 0C77 * 0 Split DEV014 033B 0 BCV014 0D8F * 0 Split DEV015 040B 0 BCV015 0DDF * 0 Split DEV016 009B 0 BCV016 0B4F * 0 Split DEV017 00BF 0 BCV017 0B63 * 0 Split DEV018 00FF 0 BCV018 0BD3 * 0 Split DEV019 0153 0 BCV019 0E6F * 0 Split Total ------- ------- Track(s) 0 1365958 MB(s) 0.0 42686.2 root@TTLBILL02 # symmir -g bptnedm_dg split DEV005 bcv ld BCV005 Execute 'Split' operation for device 'DEV005' in device group 'bptnedm_dg' (y/[n]) ? y 'Split' operation execution is in progress for device 'DEV005' paired with BCV device 'BCV005' in device group 'bptnedm_dg'. Please wait... Cannot proceed when the BCV state is 'Sync In Progress' except if the Symmetrix force flag is used root@TTLBILL02 # symmir -g bptnedm_dg split DEV005 bcv ld BCV005 -symforce Execute 'Split' operation for device 'DEV005' in device group 'bptnedm_dg' (y/[n]) ? y 'Split' operation execution is in progress for device 'DEV005' paired with BCV device 'BCV005' in device group 'bptnedm_dg'. Please wait... 'Split' operation successfully executed for device 'DEV005' in group 'bptnedm_dg' paired with BCV device 'BCV005'. root@TTLBILL02 # root@TTLBILL02 # root@TTLBILL02 # root@TTLBILL02 # symmir -g bptnedm_dg query Device Group (DG) Name: bptnedm_dg DG's Type : REGULAR DG's Symmetrix ID : 000287890130 Standard Device BCV Device State -------------------------- ------------------------------------- ------------ Inv. Inv. Logical Sym Tracks Logical Sym Tracks STD <=> BCV -------------------------- ------------------------------------- ------------ DEV001 0123 0 BCV001 0BB7 * 0 Split DEV002 012B 0 BCV002 0BBF * 0 Split DEV003 0193 0 BCV003 0C17 * 0 Split DEV004 0093 0 BCV004 0B47 * 0 Split DEV005 020B 0 BCV005 0C7F * 0 SplitBfrSync DEV006 022B 0 BCV006 0C9F * 0 Split DEV007 0333 0 BCV007 0D87 * 0 Split DEV008 0113 0 BCV008 0BA7 * 0 Split DEV009 011B 0 BCV009 0BAF * 0 Split DEV010 0213 0 BCV010 0C87 * 0 Split DEV011 021B 0 BCV011 0C8F * 0 Split DEV012 0403 0 BCV012 0DD7 * 0 Split DEV013 0203 0 BCV013 0C77 * 0 Split DEV014 033B 0 BCV014 0D8F * 0 Split DEV015 040B 0 BCV015 0DDF * 0 Split DEV016 009B 0 BCV016 0B4F * 0 Split DEV017 00BF 0 BCV017 0B63 * 0 Split DEV018 00FF 0 BCV018 0BD3 * 0 Split DEV019 0153 0 BCV019 0E6F * 0 Split Total ------- ------- Track(s) 0 0 MB(s) 0.0 0.0 Legend: (*): The paired BCV device is associated with this group. root@TTLBILL02 # symmir -g bptnedm_dg establish DEV005 -full Execute 'Full Establish' operation for device 'DEV005' in device group 'bptnedm_dg' (y/[n]) ? y 'Full Establish' operation execution is in progress for device 'DEV005' in device group 'bptnedm_dg'. Please wait... Cannot proceed when the BCV state is 'Split Before Sync' except if the force flag or exact pairing is used root@TTLBILL02 # symmir -g bptnedm_dg establish DEV005 -full -force Execute 'Full Establish' operation for device 'DEV005' in device group 'bptnedm_dg' (y/[n]) ? y 'Full Establish' operation execution is in progress for device 'DEV005' in device group 'bptnedm_dg'. Please wait... Partial Failure; BCV Lib error is: pair #8, The specified BCV device is not ready or is write disabled root@TTLBILL02 # symmir -g bptnedm_dg query -i 5 Device Group (DG) Name: bptnedm_dg DG's Type : REGULAR DG's Symmetrix ID : 000287890130 Standard Device BCV Device State -------------------------- ------------------------------------- ------------ Inv. Inv. Logical Sym Tracks Logical Sym Tracks STD <=> BCV -------------------------- ------------------------------------- ------------ DEV001 0123 0 BCV001 0BB7 * 0 Split DEV002 012B 0 BCV002 0BBF * 0 Split DEV003 0193 0 BCV003 0C17 * 0 Split DEV004 0093 0 BCV004 0B47 * 0 Split DEV005 020B 0 BCV005 0C7F * 1942131 Invalid DEV006 022B 0 BCV006 0C9F * 0 Split DEV007 0333 0 BCV007 0D87 * 0 Split DEV008 0113 0 BCV008 0BA7 * 0 Split DEV009 011B 0 BCV009 0BAF * 0 Split DEV010 0213 0 BCV010 0C87 * 0 Split DEV011 021B 0 BCV011 0C8F * 0 Split DEV012 0403 0 BCV012 0DD7 * 0 Split DEV013 0203 0 BCV013 0C77 * 0 Split DEV014 033B 0 BCV014 0D8F * 0 Split DEV015 040B 0 BCV015 0DDF * 0 Split DEV016 009B 0 BCV016 0B4F * 0 Split DEV017 00BF 0 BCV017 0B63 * 0 Split DEV018 00FF 0 BCV018 0BD3 * 0 Split DEV019 0153 0 BCV019 0E6F * 0 Split Total ------- ------- Track(s) 0 1942131 MB(s) 0.0 60691.6 Synchronization rate : 4.7 MB/S Estimated time to completion : 03:36:39 Legend: (*): The paired BCV device is associated with this group. ======================= Wait till the sync completes root@TTLBILL02 # symmir -g bptnedm_dg split DEV005 -force Execute 'Split' operation for device 'DEV005' in device group 'bptnedm_dg' (y/[n]) ? y 'Split' operation execution is in progress for device 'DEV005' in device group 'bptnedm_dg'. Please wait... 'Split' operation successfully executed for device 'DEV005' in group 'bptnedm_dg'. SYMCLONE Operation: List all the symclone sessions for specified box # symclone -sid 980 list Symclone for Backups: symclone -sid 980 -file bpfxtn_data create -copy -diff Dbase Begin backup mode symclone -sid 980 -file bpfxtn_data activte Database End backup mode symclone -sid 980 -file bpfxtn_arch -create -copy -diff symclone -sid 980 -file bpfxtn_arch activate vxdctl enable vxdg -fC import fxtnraw_dg vxdg -fC import fxtnarch_dg vxdg list Storapid Options: Enable Debugging for Sym commands: Enabling high debug level for SYMAPI for Nwr PowerSnap backups. # nsrps_shutdown -> Shutdown the ps daemon # export SYMCLI_DEBUG=yes --> All the below option are possible # nsrpsd -> Start the ps daemon ******* For High Debug ******** Edit file /var/symapi/config/options and add the following entries: SYMAPI_DEBUG=-1 SYMAPI_DEBUG1_CATEGORIES=-1 SYMAPI_DEBUG2_CATEGORIES=-1 SYMAPI_DEBUG_FILENAME= Note: Symapi debug logs are really huge. Create the log file on a non-root filesystem with adequate space. Disable storapid daemon from starting: Stop te storapid daemon Edit file /var/symapi/config/daemon_options and add the below line storapid:client_use = never Creating LUNs form meta from dev 453, config=striped, stripe_size=3840; add dev 454:45a to meta 453; form meta from dev 45b, config=striped, stripe_size=3840; add dev 45c:462 to meta 45b; form meta from dev 463, config=striped, stripe_size=3840; add dev 464:46a to meta 463; form meta from dev 46b, config=striped, stripe_size=3840; add dev 46c:472 to meta 46b; Mapping and Masking LUNs to a host 1) Check if the devices are masked to other FA #symmaskdb -sid 133 -dev 0C93,0C9B,0CA3,0CAB,0CB3,0CBB,0CC3,0CCB,0CD3,0CDB,0CE3,0CEB,0CF3,0CFB,0D03,0D0B,0D13,0D1B,0D23,0D2B,0D33,0D3B,0D43,0D4B,0D53,0D5B,0D63,0D6B,0D73,0D7B,0D83,0D8B,0D93,0D9B,0DA3,0DAB,0DB3,0DBB,0DC3,0DCB,0DD3 list assignments 2) Find the available Hexa address to be assigned to the LUNs # symcfg -sid 133 -fa 7b -p 1 list -address -available 3) Prepare map file map dev 0C93 to dir 7b:1 target=0, lun=10 (Hexa Value); map dev 0C9B to dir 7b:1 target=0, lun=11; map dev 0CA3 to dir 7b:1 target=0, lun=12; For HP: map dev 0ADB to dir 9a:1 vbus=0<0-f>, target=9<0-f>, lun=4<0-7>; 4) Apply the config #symconfigure -sid verify #symconfigure -sid -f preview #symconfigure -sid -f prepare #symconfigure -sid -f commit 5) Mask the LUNs to the host's HBA # symcfg disc #symmask list hba #symmask -sid 133 -wwn 210000e08b94dd8c -dir 7b -p 1 add dev 0C93,0C9B,0CA3,0CAB,0CB3,0CBB,0CC3,0CCB,0CD3,0CDB,0CE3,0CEB,0CF3,0CFB,0D03,0D0B,0D13,0D1B,0D23,0D2B,0D33,0D3B,0D43,0D4B,0D53,0D5B,0D63,0D6B,0D73,,,0D7B,0D83,0D8B,0D93,0D9B,0DA3,0DAB,0DB3,0DBB,0DC3,0DCB,0DD3 #symmask -sid 133 refresh #devfsadm -v #symcfg disc 6) Verify the LUNs are masked #symmaskdb -sid 133 -dev 0C93,0C9B,0CA3,0CAB,0CB3,0CBB,0CC3,0CCB,0CD3,0CDB,0CE3,0CEB,0CF3,0CFB,0D03,0D0B,0D13,0D1B,0D23,0D2B,0D33,0D3B,0D43,0D4B,0D53,0D5B,0D63,0D6B,0D73,0D7B,0D83,0D8B,0D93,0D9B,0DA3,0DAB,0DB3,0DBB,0DC3,0DCB,0DD3 list assignments #symdev -sid 133 list pd Mapping and Masking: map dev 13BB to dir 07C:0 target=0,lun=5,wwn=210000e08b9425a9; symmask -sid 136 refresh Unmapping Devs: unmap dev from dir ALL:ALL; Rename the WWN number of HBA with HOSTNAME in logins history of Symmetrix Storage. # symmask disc hba -rename SYM commands with outputs Useful commands in alphabetical order symaudit -sid 417 show root@INSPROD01 # symaudit -sid 417 show A U D I T L O G D A T A Symmetrix ID : 000290100417 Starting date : 06/08/2007 19:42:14 Ending date : 02/04/2008 02:11:14 Starting record number : 73217 Ending record number : 135087 Total record count : 61871 root@INSPROD01 # symaudit list -sid 417 -v -start_date 01/22/08 -end_date 01/23/08 A U D I T L O G D A T A Symmetrix ID : 000290100417 Record Number : 133816 Records in Seq : 6 Offset in Seq : 1 Time : 01/22/08 03:41:44 Vendor ID : EMC Corp Application ID : SYMCLI Application Version : 6.0.1.0 API Library : SEK API Version : V6.0.1.0 (Edit Level: 629) Host Name : TTLREP03 OS Name : SunOS OS Revision : 5.9Generic Client Host : Process ID : 00029628 Task ID : 00000001 Function Class : CLONE Action Code : Recreate Text : STARTING a local 'Snap Recreate' operation for 80 [STD-BCV] Pairs: Record Number : 133817 Records in Seq : 6 Offset in Seq : 2 Time : 01/22/08 03:41:44 Vendor ID : EMC Corp Application ID : SYMCLI Application Version : 6.0.1.0 API Library : SEK API Version : V6.0.1.0 (Edit Level: 629) Host Name : TTLREP03 OS Name : SunOS OS Revision : 5.9Generic Client Host : Process ID : 00029628 Task ID : 00000001 Function Class : CLONE Action Code : Recreate Text : SymmID 000290100417:[ 0453-1781 0454-1782 0455-1783 0456-1784 0457-1785 0458-1786 0459-1787 045A-1788 045B-1789 045C-178A 045D-178B 045E-178C 045F-178D 0460-178E 0461-178F 0462-1790 0463-1791 0464-1792 0465-1793 0466-1794 symaudit -sid 417 monitor -v -text -i 5 Release Sym locks symcfg -sid 626 -lockn all list symcfg -sid 626 release -lockn 15 Enable SCSI-3 persistent binding on dewices Run symconfigure using folowing procedure set dev 0D53 attribute=SCSI3_persist_reserv; set dev 0D5B attribute=SCSI3_persist_reserv; set dev 0D63 attribute=SCSI3_persist_reserv Volume Set Addressing for HP-UX Trying to set up FA port for attachment to HP host. This requires VOLS port flag enabled (also known as V-bit, VSA or Volume Set Addressing). Volume Set Addressing limits LUNs to 0-7 only. Targets 0-F and vbus 0-F values can also be used to extend addressing. The FA port had existing devices configured with LUNs which were not in this range. An address of 123 represents: vbus=1, target=2, LUN=3 (this would be a valid LUN with VOLS flag enabled). Note, the overall address of a device is commonly referred to as its LUN, and this includes all three values above. Some examples to help clarify what are acceptable with the VOLS bit set; set port 8b:1 volume_set_addressing=enable; Sym Commands symdev Performs operations on a device given the Symmetrix device name sympd Performs operations on devices given the devices physical name (c2t0d0) symgate Performs operations on gatekeeper devices symdg Performs operations on Symmetrix device groups symld Performs operations on devices within a device group symbcv Performs support operations on BCV pairs symmir Performs control operations on BCV pairs symrdf Performs control operations on RDF pairs symcfg discover Creates a local database of the attached symmetricies syminq Shows internal & external devices that the host sees Power Path powermt Commands: powermt check powercf -q powermt restore powermt check (answer to Clear the dead devices) powercf -q (removes logical links) devfsadm -C (scans for new devices, removes missing devices) powermt config (this will restore all paths) powermt display dev=all ( display paths) vxdctl enable (rescan for veritas to use) PowerPath Install powerpath; cd /usr/emc pkgadd -d . Add registration keys: # emcpreg -add BVPA-3B47-YFAW-Q9MQ-MC9F-2M6W 1 key(s) successfully added. cat /etc/emcp_registration # DO NOT EDIT! EMC PowerPath Registration data. VER 100 BVPA-3B47-YFAW-Q9MQ-MC9F-2M6W #powermt check_registration Check powerpath policy is set to SymOpt powermt display dev=all If not set ,set to SymOpt or Clariion Opt. powermt set policy=so powermt set policy=co powermt set policy=co dev=all powermt save Remove powerpath : rm /etc/powermt.custom rm /etc/powermt.custom.save rm /kernel/drv/emcp.conf rm -r /opt/EMCpower pkgrm EMCpower On Tue, Sep 29, 2015 at 8:50 PM, Sreenadh Paruchuru wrote: OR Runbook On Tue, Sep 29, 2015 at 8:07 PM, Ashok Reddy wrote: With Smile Ashok Kumar Reddy (Sent from my iPhone) Begin forwarded message: From: Ashok Reddy Date: 14 ??????????, 2015 10:41:22 [PM] GMT+8 To: Ashokvar Subject: JP Interview question -- Thanks and Regards Ashok Reddy Mob:+65 81188449 -- Reg, Sreenadh Paruchuru