AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
  • 1.  mpio round robin activation

    Posted Thu October 07, 2010 08:16 AM

    Originally posted by: diskdur


    hi

    I have a question concerning the activation of mpio round robin on hdisks.
    when hdisks are inside a vg that is varyied on, we have to use the "-P" option of the chdev command.
    the problem is that, as soon as the chdev command is issued, the lsattr command report that round robin is enabled.
    And this is actually wrong until the reboot.

    Is there any way to query aix for current multipathing algorithm ?

    There is a kind of workaround ( iostat -d -m ), and check where go the IO... but I would prefer a system command.

    Any idea ?

    Thanks

    dd
    #AIX-Forum


  • 2.  Re: mpio round robin activation

    Posted Mon October 11, 2010 09:05 AM

    Originally posted by: Renaud


    As far as I now, You can't change the algorthym when the disk is used.
    With -P flag you have to reboot, to change this value.
    But if you are able to exclude your pv from a VG, do a rmdev -l hdiskX, run chdev -l hdiskx -attr .... , run mkdev -l hdiskx. Once the mkdev is ran the algorythm is changed.

    With nmon you can see if I/O are balanced between yours adapters.
    #AIX-Forum


  • 3.  Re: mpio round robin activation

    Posted Thu April 12, 2012 01:48 PM

    Originally posted by: brunotm


    echo scsidisk hdiskXX|kdb|egrep "algorithm|reserve_lock"
    #AIX-Forum


  • 4.  Re: mpio round robin activation

    Posted Thu April 12, 2012 01:51 PM

    Originally posted by: brunotm


    This will work in most cases. Compare the values between a known to be changed (without -P flag in chdev) and one with the default value (fail_over)
    #AIX-Forum