How do I test the mpxio(stms) on a dual HBA?

I have - solaris 10 on server v240, HBA dual of Qlogic(qlc model).

I can see one LUN within 2 deffrent path(2 regular device files).

I enabled the stms(stmsboot -e) and now I can see only one device file(stms device file).

3 questions:

--

How can I check the stms(to see that stms working ok)?

How can I cause (command line) to offline one path to the lun?

How can I change stms NOT use loadbalance, and how I can see that the paths bacome to be failover?

thanks

[517 byte] By [shayberya] at [2008-2-14]
# 1
I generally start some io going eg large cpThen pull out one fibre wait a while. put it back. wait a while and pull out the other fibre.If you want to stop load balancing I believe you need to edit /kernel/drv/scsi_vhci.confand edit it to read load_balance="none";
robert.cohena at 2007-7-10 > top of java,General,Installation...
# 2
there is any other way to test it?maybe CLI to disable one path?
shayberya at 2007-7-10 > top of java,General,Installation...
# 3
Pulling the fibre is the only way to be absolutely sure that the OS is going to correctly recognise channel failure.In recent updates to solaris 10, you can use the mpathadm command.But I would still recommend manually pulling the fibre to verify how the OS is going to
robert.cohena at 2007-7-10 > top of java,General,Installation...
# 4

You can "switch" primary and secondary paths with

luxadm failover primary | secondary pathname

I don't know how well this simulates a real failure, but I assume that if this doesn't work neither would pulling a cable.

I think messages a sent to syslogd noting the failure and stms' reaction.

have a good weekend,

sysglen

sysglena at 2007-7-10 > top of java,General,Installation...