Health Check on Exadata Using Exachk Utility

Health Check on Exadata Using Exachk Utility

Exachk is a tool to assess the overall health of your Exadata system. This tool checks your Oracle Exadata Database Machine configuration, software, hardware, critical issue and provides a Maximum Availability Architecture (MAA) score. When using the exachk it is possible to schedule periodic executions specific to your needs.

Exachk reports will be saved in the directory that the exachk daemon was launched “/opt/oracle.SupportTools/exachk”.

 

The AUTORUN_SCHEDULE is similar to cron:

AUTORUN_SCHEDULE     * * *  *

? ? ? ?
? ? ? +—- day of week
? ? +——  month
? +——–  day of month
+———– hour

Where:

– day of week (0 – 6), (where 0=Sunday and 6=Saturday)
– month (1 – 12)
– day of month (1 – 31)
– hour (0 – 23)

Use the asterisk (*) as a wildcard to specify multiple values separated by commas.

The below example shows how to create an auto-run schedule that executes every Sunday at 11 p.m:

# ./exachk -id SUNDAY_11pm -set "AUTORUN_SCHEDULE=23 * * 0; NOTIFICATION_EMAIL=person1@company.com;
Created autorun_schedule for ID[SUNDAY_11pm]

Created notification_email for ID[SUNDAY_11pm]

Launch exachk with the “-get all” parameters if you want to see all of the schedules configured with the exachk daemon:

# ./exachk -get all

ID: SUNDAY_11pm
----------------------------------
autorun_schedule = 23 * * 0
notification_email = person1@company.com

You can query the exachk daemon to see when the next automatic run will occur:

# ./exachk -d nextautorun

ID: SUNDAY_11pm

Next auto run starts on May 17, 2020 23:00:00

 

 

References

Managing the Oracle ORAchk and Oracle EXAchk Daemons. Available at: https://docs.oracle.com/en/database/oracle/oracle-database/20/atnms/managing-daemons.html#GUID-CBC922F4-9260-48A1-86D4-209520F950D9