AIX

AIX

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

 View Only
  • 1.  changing ODM CuAt default setting for alogrithm

    Posted Wed July 17, 2013 02:37 PM

    Originally posted by: adubeau


    I need to know if it is possible to set a default setting for alogrithm= round_robin If so how do you do it.... Ihave found the solution for  reserve_policy...

     



  • 2.  Re: changing ODM CuAt default setting for alogrithm

    Posted Wed July 17, 2013 03:26 PM

    Originally posted by: GarlandJoseph


    What class are you talking about?  Are you wanting to do some sort of odmchange?  What is the solution that you found?  You sure it's not the PuAt database you're concerned about? Can you provide more information?



  • 3.  Re: changing ODM CuAt default setting for alogrithm

    Posted Tue July 23, 2013 09:41 AM

    Originally posted by: bdh002


    Default values can be changed as follows:

    odmget -q              'values = "fail_over,round_robin" AND attribute = "algorithm" AND deflt = "fail_over"' PdAt|tee /var/tmp/odmtmp_$$_1 >>log.PdAt
    odmdelete -o  PdAt  -q 'values = "fail_over,round_robin" AND attribute = "algorithm" AND deflt = "fail_over"'
    sed 's/deflt = "fail_over"/deflt = "round_robin"/' </var/tmp/odmtmp_$$_1 >/var/tmp/odmtmp_$$_2
    odmadd /var/tmp/odmtmp_$$_2
     

    Additional AND clauses can be needed to change  only the targeted entries. 

    Bernard 

     

     



  • 4.  Re: changing ODM CuAt default setting for alogrithm

    Posted Wed July 24, 2013 08:30 AM

    Originally posted by: JLGuyot


    This is what i use for EMC over MPIO.

    As you can see, information is in PdAt and not CuAt.

    odmchange -o PdAt -q"uniquetype LIKE disk/fcp/MSYMM* and attribute=reserve_policy"  << EOF

    PdAt:
            deflt = "no_reserve"
    EOF
     

    odmchange -o PdAt -q"uniquetype LIKE PCM/friend/MSYMM* and attribute=algorithm"  << EOF

    PdAt:
            deflt = "round_robin"
    EOF
     

    But that's for EMC ;)



  • 5.  Re: changing ODM CuAt default setting for alogrithm

    Posted Tue July 30, 2013 07:43 AM

    Originally posted by: cfrs_au


    Keep in mind changing PdAt like that is unsupported.

    One problem that can happen is a loss of customised device attributes when doing a migration or TL update due to the way some scripts used in the update process work. It can cause things to happen to your CuAt, which you don't want to happen to your CuAt.