Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
TOC
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

Description

This options opens the ‘crontab’ root file in order to schedule those recursive jobs with ‘vi’ editor or if installed, with the ‘nano’ editor, or, if possible, with the ‘gedit’ graphical editor (Windows notepad like) or ‘emacs’.

...

 

# root crontab
#------------------------------------------------------------------------------
# Syntax:
#
# *    *    *    *    * command to execute
# |    |    |    |    |
# |    |    |    |    |
# |    |    |    |    +----- day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names)
# |    |    |    +---------- month (1 - 12)
# |    |    +--------------- day of month (1 - 31)
# |    +-------------------- hour (0 - 23)
# +------------------------- min (0 - 59)
#
# Checks for license expiration: runs everyday at 09:00 with alert set to 15 days before expiration
0 9 * * * /opt/charon/utils/charon_expchk 15
#
# Monitor unrequested guests stop
* * * * * /opt/charon/utils/charon_mongstop
#
# Log events report
* * * * * /opt/charon/utils/charon_logevent
#
# Console autoconnect utility
* * * * * /opt/charon/utils/charon_console_autoconnect

# Logs archiving utility (each Monday 00:00)
0 0 * * 1 /opt/charon/utils/charon_logarchive -keep=60 -zip

 

Expiration check alert (charon_expchk)

Note the expiration check alert is displayed by default 7 days before expiration, 15 days in the default crontab settings.

...

The ‘-nomail’ parameter makes the script to run and just check if the key can be read: if not or if a timeout reading is detected, the aksusbd drivers are restarted.

Monitor abnormal termination of the guests (charon_mongstop)

This job is active by default, it is recommended not to prevent it from running. It's goal is to send alerts if a guest has been stopped whereas it was not requested.

Log events (charon_logevent)

This job is active by default, it is recommended not to prevent it from running. It's goal is to scan for events in the guests active log files and send alerts based on alert level defined by the administrator.

Console autoconnect (charon_console_autoconnect)

This utility will check if the guest is running: if the console log is not defined in the configuration file (set OPA0 log=xxx), it will check no one is connected to the console via “telnet localhost <port>”. If no one if connected, it will connect to the console via the ‘screen’ command and will record the console output

Note: if you want to connect to the console, via Connect to guest console menu option, you will have the option to kill the active one and then connect interactively.

Logs archiving utility

This utility will archive services log files and guests console log files.

...