Search This Blog

Saturday, 3 July 2010

Solaris Storage Multi pathing (MPXIO) and monitoring.


Solaris I/O multipathing gives you the ability to set up multiple redundant paths to a storage system and gives you the benefits of load balancing and failover.
Enabling Multipath

For Solaris 10: Apply the command stmsboot with below options. This require a reboot.
# stmsboot -e
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y) y
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y) y

For Solaris 9 and below do below changes.

1. Edit the file /kernel/drv/scsi_vhci.conf 

change the setting  from
mpxio-disable="yes";
to 
mpxio-disable="no";
2. Edit 

 /kernel/drv/fp.conf
mpxio-disable="yes";
to 
mpxio-disable="no";

3. Reboot the system with "reboot -- -r" option
After reboot, if you check format, all disk will appear with a virtual controller. here its C8.
For getting the information regarding the the physical path included in this virtual dissk, you can use below command.
luxadm display /dev/rdsk/cxxxxxxs2




Below command show the traffic through each fiber channel. Path to same disk using both fiber channel are highlighted.



No comments:

Post a Comment