Posts Tagged ‘Load Balancing’

Load balancing to active/active disk arrays.

Friday, March 19th, 2010

Solaris sees two paths to the same disk ( c2t8d0 and c3t8d0 )

To see both disk paths in solaris

# ls -las /dev/dsk/*t8do

Veritas creates only one metanode per LUN, this means that a disk with multipathing is seen as a single disk by the vxvm software.
To see the disk unique identifier (=serial number)

# /etc/vx/diag.d/vxdmpinq /dev/rdsk/c1t0d0s2

List the disks seen by veritas

# vxdisk list

To enable or disable paths use

# vxdiskadm

option 17. prevent multipathing

option 18. Allow multipathing

To list all controllers

# vxdmpadm listctlr all

To list the paths that are excluded

# vxdmpadm listexclude

To list subpaths to a specific controller to find out which devices are not functioning

# vxdmpadm getsubpaths ctrl=c1

To list all the paths for a disk

# vxdmpadm getsubpaths dmpnodename=c1t1d0s2

you will see that this disk is connected via c1 and c2

To see the disks names, how many paths there are, how many are disabled

# vxdmpadm getdmpnode enclosure=SENA0

To disable a paths

# vxdmpadm disable ctrl=c1

To verify status of all controllers

# vxdmpadm listctrl all

To enable a path again

# vxdmpadm enable ctrl=c1

To verify status do again

#vxdmpadm listctrl allow

! It will take 5 minutes before you see it is enabled again !

To speed this up do

# vxdctl enable