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 | 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.
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. |
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.
|
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. |
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.