Automation with Power

Power Business Continuity and Automation

Connect, learn, and share your experiences using the business continuity and automation technologies and practices designed to ensure uninterrupted operations and rapid recovery for workloads running on IBM Power systems. 


#Power
#TechXchangeConferenceLab

 View Only
  • 1.  Clanalyze not working

    Posted Mon September 04, 2023 08:18 AM

    Hello all!

    What I am possibly doing wrong here:

    root@tommipha1:/home/root # halevel -s 

    7.2.7 SP1

    root@tommipha1:/home/root #           

    root@tommipha1:/home/root # 

    root@tommipha1:/home/root # /usr/es/sbin/cluster/clanalyze -a -p "Nodefailure"

    ksh: /usr/es/sbin/cluster/clanalyze: 0403-006 Execute permission denied.

    root@tommipha1:/home/root #                                                   

    root@tommipha1:/home/root # 

    root@tommipha1:/home/root #ls -lart  /usr/es/sbin/cluster/clanalyze

    total 648

    -r-x------    1 root     system       165526 Nov 11 2022  clerroranalysis

    -r-x------    1 root     system         2769 Nov 11 2022  clanalyze_timer

    -r-x------    1 root     system       131025 Nov 11 2022  clanalyze

    -r-x------    1 root     system        23348 Nov 11 2022  analyzelib

    drwxr-xr-x    2 root     system          256 Sep 01 12:38 .

    drwxr-xr-x   20 root     system         4096 Sep 04 07:32 ..

    root@tommipha1:/home/root #                                         

    root@tommipha1:/home/root # 

    root@tommipha1:/home/root # file /usr/es/sbin/cluster/clanalyze

    /usr/es/sbin/cluster/clanalyze: directory



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry, Compute Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------

    #PowerHAforAIX


  • 2.  RE: Clanalyze not working

    Posted Thu September 07, 2023 05:03 AM
    You are trying to execute a directory = imposssible.
    Perhaps, the executable program is within that directory
    You have a directoy clanalyse and a program clanalyse within it.
    Guessing here: /usr/es/sbin/cluster/clanalyze/clanalyze -a -p "Nodefailure"
     
    cheers, Nigel


    ------------------------------
    nigel griffiths
    nigelgriffiths
    ------------------------------



  • 3.  RE: Clanalyze not working

    Posted Thu September 07, 2023 05:23 AM

    check with /usr/es/sbin/cluster/clanalyze/clanalyze -a -p "Nodefailure"



    ------------------------------
    JES KIRAN CHITTIGALA
    ------------------------------



  • 4.  RE: Clanalyze not working

    Posted Thu September 07, 2023 05:32 AM

    Hi,

    Thanks Nigel & Jez; 

    Yeah, "double" clanalyze  worked ;) /usr/es/sbin/cluster/clanalyze/clanalyze

    I just monkey-copied the original cmd from the redbook, so my bad, didn't give any more thoughts  / checks.. :D 

    Br,

    tommi



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry, Compute Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------