Tuesday, March 12, 2019

How to run Exacheck for Exadata Oracle machine ?

1. Log to lst node of Exadata as root
    cd /opt/oracle.SupportTools/exachk
    ./exachk -v   
2. Check with oracle Doc ID 1070954.1 to see if current exachk version latest        
    if not,  dwonload (there is a link in the above note) exachk.zip
    and fpt to 1st node of Exadata /opt/oracle.SupportTools directory
           #mv exachk exachkold
           #mkdir exachk
           #mv exachk.zip exachk
           #cd exachk     
           #unzip exachk.zip
           ./exachk -v
3.  Set timeout big enough so exachk watchdog will not time out:
               #export RAT_TIMEOUT=28800  -- 8 hours
               #export RAT_ROOT_TIMEOUT=28800
               #export RAT_PASSWORDCHECK_TIMEOUT=28800  (if X3 and X5, number can be smaller in seconds)
4. Run at background
               #nohup ./exachk &
5. Check last few lines of nohup.out for location of exachk report
     output looks like:
         Detailed report (html) - /opt/oracle.SupportTools/exachk_servername_dbname_030417_031918/exachk_servername_dbname_030417_031918.html
         UPLOAD(if required) - /opt/oracle.SupportTools/exachk_servername_dbname_030417_031918.zip
      upload the last one to oracle SR.
ipmitool sunoem cli "show /SP system_identifier"

Exachk completes partially or failed due to old exchk process spawning in other nodes ..Please check and kill it
Example:
[root@server1 exachk]# ps -ef |grep exachk
root      53507      1  0 Oct15 ?        00:00:00 sh /opt/oracle.SupportTools/exachk/exachk -nodaemon
root      53559  53507  1 Oct15 ?        00:24:41 /opt/oracle.SupportTools/exachk/build/Python3/bin/python /opt/oracle.SupportTools/exachk/exachk.pyc -nodaemon
root      58311  53559  0 Oct15 ?        00:00:00 /opt/oracle.SupportTools/exachk/build/Python3/bin/python /root/.exachk_101518_121939/exachk_compute_dgea06.py
root      58321  58311  0 Oct15 ?        00:00:00 /usr/bin/ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet -q -t root@server1. /etc/profile>/dev/null 2>&1; if [ -f $HOME/.bash_profile ]; then . $HOME/.bash_profile>/dev/null 2>&1; fi; /root/.exachk_101518_121939/Python3/bin/python /root/.exachk_101518_121939/exachk_run_slave_dgea06.py
root      58453  53559  0 Oct15 ?        00:00:00 /opt/oracle.SupportTools/exachk/build/Python3/bin/python /root/.exachk_101518_121939/exachk_compute_dgea01.py
Find the process and kill it
[root@server1 exachk]#kill -9 <PID> --- which is used to kill the above session

No comments:

Post a Comment