Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1012540.1 : Sun StorEdge[TM] 6130 Array: How to Migrate Volumes from the Preferred Controller
PreviouslyPublishedAs 217269 Description Sun StorEdge[TM] 6130 Array: How to Migrate Volumes from the Preferred Controller This document describes how to migrate volumes on a Sun StorEdge[TM] 6130 array, This document applies to solutions(host, switch, array), in which the data path
Note: Element Manager and sscs utilities are provided as part of the
Sun StorEdge[TM]
Steps to Follow How to migrate volumes from the preferred controller : Part A: Before BeginningSince this array is an Asymmetrical type of array, the data paths to the For STMS software, or STMS with DMPSun StorEdge Traffic Manager(STMS), makes it really easy to identify the logical Example: # ./sscs list -a pts-toi-6130 volume vol0-32k-r1 | grep WWN: | grep -v Initiator WWN: 60:0A:0B:80:00:17:0E:1C:00:00:0C:1A:42:6C:E0:30 # If the ":" is removed, it is a device path, and can be matched using Example: # luxadm probe No Network Array enclosures found in /dev/es # Found Fibre Channel device(s): Node WWN:200400a0b8170e1c Device Type:Disk device Logical Path:/dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 Now you have a device path. To view the individual path status', Example: # luxadm display /dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 DEVICE PROPERTIES for disk: /dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 Vendor: SUN Product ID: CSM100_R_FC Revision: 0610 Serial Num: 1T43528121 Unformatted capacity: 1024.000 MBytes Write Cache: Enabled Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0x0 Device Type: Disk device Path(s): /dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 /devices/scsi_vhci/ssd@g600a0b8000170f660000196e4270cf85:c,raw Controller /devices/pci@8,600000/SUNW,qlc@1/fp@0,0 Device Address 200500a0b8170e1d,1 Host controller port WWN 210000e08b076cb5 Class primary State ONLINE Controller /devices/pci@8,600000/SUNW,qlc@1,1/fp@0,0 Device Address 200400a0b8170e1d,1 Host controller port WWN 210100e08b276cb5 Class secondary State STANDBY Notice that it shows that the primary path is ONLINE, as opposed to STANDBY. Finally, you can use luxadm failover secondary <logical raw device path>, Example: # luxadm failover secondary /dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 # Check luxadm display <path> for the change. Example: # luxadm display /dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 DEVICE PROPERTIES for disk: /dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 Vendor: SUN Product ID: CSM100_R_FC Revision: 0610 Serial Num: 1T43528230 Unformatted capacity: 1024.000 MBytes Write Cache: Enabled Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0x0 Device Type: Disk device Path(s): /dev/rdsk/c5t600A0B8000170F660000196E4270CF85d0s2 /devices/scsi_vhci/ssd@g600a0b8000170f660000196e4270cf85:c,raw Controller /devices/pci@8,600000/SUNW,qlc@1/fp@0,0 Device Address 200500a0b8170e1d,1 Host controller port WWN 210000e08b076cb5 Class primary State STANDBY Controller /devices/pci@8,600000/SUNW,qlc@1,1/fp@0,0 Device Address 200400a0b8170e1d,1 Host controller port WWN 210100e08b276cb5 Class secondary State ONLINE For Veritas Dynamic Multi-Pathing(DMP) ONLY1) Find the primary and secondary paths vxdmpadm getsubpaths dmpnodename=<device> Example # vxdmpadm getsubpaths dmpnodename=T30_0 NAME STATE[A] PATH-TYPE[M] CTLR-NAME ENCLR-TYPE ENCLR-NAME ATTRS ================================================================================ c2t20020F23000101B5d2s2 ENABLED PRIMARY c2 6130 61300 - c1t20020F230001020Ad2s2 ENABLED(A) SECONDARY c1 6130 61300 -
Note: If subpaths show an STMS path, recognizable by a string that is longer 2) Disable the Primary path vxdmpadm disable ctlr=<CTLR-NAME> Example: #vxdmpadm disable ctlr=c2 # Part B: Management Host ProcedureTo change the Preferred controller, using Sun StorEdge[TM] Configuration Service1) List the volume details for the volume in question USAGE: sscs list -a <array_name> volume <volume_name> | grep Controller example # ./sscs list -a 6130 volume myvol | grep Controller Controller: B Preferred Controller: A # NOTE: Be sure that the Preferred Controller does not match the Controller ''value. This indicates the the failover commands issued in part A were performed correctly. ''Matching values for a volume after performing the steps in part A, indicate that either the array is not healthy, or the steps in part A were not performed correctly. If they do match, it is advisable to stop, and check the host /var/adm/messages file for any path problems. 2) Change the preferred controller value USAGE: sscs modify -a <array_name> -c <A | B> volume <volume_name> Example: # ./sscs modify -a 6130 -c B volume myvol # 3) Check the preferred controller value USAGE: sscs list -a <array_name> volume <volume_name> | grep Controller Example # ./sscs list -a 6130 volume myvol | grep Controller Controller: B Preferred Controller: B # To Change the Preferred Controller Using Element Manager1) From the Array Summary screen, click on your array name 2) Under the Storage -> Logical -> Volumes screen click on your volume 3) Scroll down to the Owning Controller drop-down menu, and change the 4) Click OK
NOTE: If this fails to change the Preferred Controller, or if the two fields
5) Review the Preferred Controller and Owning Controller fields, they should Part C: Data Host ProcedureIf Using SSTM or SSTM with DMPBy changing the Preferred controller, the device path for the primary and 'Switched Fabric or SAN(Storage Area Network) Configurations:' To reconfigure the device paths: cfgadm -c configure <controller number> This will reset the path dedications of primary and secondary, and 'In a Direct Attached Storage(DAS) Configurations:' SSTM requires a system reboot to make the change. As always, the shutdown(1M) If Using DMP OnlyAt this time, you can only perform a system boot to correct the paths. Neither If the directions above were followed, and the primary path was disabled using Product VERITAS Volume Manager 3.5 Software VERITAS Volume Manager 3.5 Software (Localized) VERITAS Volume Manager 4.0 Software VERITAS Volume Manager 4.0 Software (Localized) Sun StorageTek Traffic Manager 4.4 Software Sun StorageTek Traffic Manager 4.5 Software (Localized) Sun StorageTek 6130 Array (SATA) Sun StorageTek 6130 Array Internal Comments See: BugID 6204434 for details on why SSTM requires a reboot for DAS configurations STMS, dmp, veritas, mpxio, 6130, treefrog, failover, preferred, cfgadm Previously Published As 81376 Change History Date: 2005-09-20 User Name: 71396 Action: Approved Comment: Publishing Version: 12 Attachments This solution has no attachment |
||||||||||||
|