Top
PRIMECLUSTER  Installation and Administration Guide 4.4
FUJITSU Software

7.7 cron Processing

This section describes the processing which PRIMECLUSTER performs with the cron command of a root user.

For details on each environment variable, see "PRIMECLUSTER Reliant Monitor Services (RMS) with Wizard Tools Configuration and Administration Guide."

cron entry name

Execution interval
(default setting value)

Contents

hvlogcron

Once a day (at night)

Delete all sub directories under RELIANT_LOG_PATH whose update time (ctime) is older than the number of days specified in RELIANT_LOG_LIFE.

RELIANT_LOG_LIFE: is a period for deleting RMS related log files

Setting value any numbers of days
Default value 7 (days)

RELIANT_LOG_PATH: is where RMS and wizard tools log files are stored

Setting value any valid path
Default value /var/opt/SMAWRrms/log

For the system that the operation is being stopped at the period of time hvlogcron is executed, logs are not deleted. Thus, the log volume may be increased.
Change the cron configuration so that hvlogcron is executed once a day.

hvlogcontrol

in 15-minute intervals

Prevent RMS related log files from occupying the disk space.

If the disk usage rate is more than HV_LOG_ACTION_THRESHOLD, delete all sub directories under RELIANT_LOG_PATH.
If the disk usage rate is still more than HV_LOG_ACTION_THRESHOLD even if deleting sub directories, follow HV_LOG_ACTION and delete all current log files (when HV_LOG_ACTION is "on") or the WARNING message is output (HV_LOG_ACTION is "off") every time hvlogcontrol is executed.

HV_LOG_ACTION_THRESHOLD: is the disk usage rate determined that log files occupy the disk space

Setting value 0 - 100
Default value 98 (%)

HV_LOG_ACTION: is the operation when the disk space is determined to be occupied

Setting value on / off
Default value off

sflogcontrol

in 15-minute intervals

Prevent SF related log files from occupying the disk space

When the disk usage rate is 98 % or more, delete all sub directories under /var/opt/SMAWsf/log, delete the current log files when their size are 1 M bite or larger. Then, a WARNING message is output.

sflogcontrol midnight

Once a day (at night)

Delete SF related log files created 7 days ago or earlier from all sub directories under /var/opt/SMAWsf/log.

For the system that the operation is being stopped at the period of time sflogcontrol midnight is executed, logs are not deleted. Thus, the volume of the logs is expected to increase.

Change the cron configuration so that sflogcontrol midnight is executed once a day.

hvcleanupnfs

Once a day (at night)

Execute a recovery processing required for the RFS (NFS file system) resource.
Use this cron in the Wizard for NAS (RFS) environment.

Note

Do not delete the entries which PRIMECLUSTER registered to the root user's cron, and do not move them to another user's cron as well.