AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

Can non-root-user uses clfindres command (AIX7.1)?

  • 1.  Can non-root-user uses clfindres command (AIX7.1)?

    Posted Fri January 15, 2016 10:27 AM

    Originally posted by: YamatoMizuki


    Hi, all.

    I want to check the server is RUNNING or STANBY by using clfindres command on non-root user.

    (AIX 7.1)

    Is there a way to solve it?


    #AIX-Forum


  • 2.  Re: Can non-root-user uses clfindres command (AIX7.1)?

    Posted Mon January 18, 2016 08:38 AM

    Originally posted by: wloszczowa


    why not? it is working on my side but I have PowerHA 6.1

    $ type clfindres
    clfindres is /usr/sbin/cluster/utilities/clfindres

    $ ls -ld /usr/sbin/cluster/utilities/clfindres
    lrwxrwxrwx    1 root     system           39 May 04 2011  /usr/sbin/cluster/utilities/clfindres -> /usr/es/sbin/cluster/utilities/clRGinfo
    $ ls -ld /usr/es/sbin/cluster/utilities/clRGinfo
    -r-xr-sr-x    1 root     hacmp        464114 Jul 09 2010  /usr/es/sbin/cluster/utilities/clRGinfo

    another way to check cluster status is:
    lssrc -ls clstrmgrES
     


    #AIX-Forum


  • 3.  Re: Can non-root-user uses clfindres command (AIX7.1)?

    Posted Wed January 20, 2016 08:56 AM

    Originally posted by: YamatoMizuki


    thank you, wloszczowa!

     

    >why not?

    http://www-01.ibm.com/support/knowledgecenter/SSPHQG_7.1.0/com.ibm.powerha.navigation/hacmp541_admin.pdf

    on this URL, I found that description

    'Alternatively, you can use the clfindres command instead of
    clRGinfo. clfindres is a link to clRGinfo. Only the root user can run
    the clRGinfo utility. '

     

    But, I could use /usr/sbin/cluster/utilities/clfindres due to its mod is 777.Smile

     


    #AIX-Forum