Checks whether a replica's epoch numbers have rolled back when the replica is not in restoration mode
Product | Command Type |
---|---|
MultiSite | MultiSite command |
Platform |
---|
UNIX |
Windows |
Check for rollback of epoch numbers:
Print help on command options:
On UNIX, epoch_watchdog is located in ccase-home-dir/config/scheduler/tasks. On Windows, epoch_watchdog is located in ccase-home-dir\config\scheduler\tasks.
epoch_watchdog checks whether a VOB replica's epoch numbers have rolled back without a restorereplica command being run. If the epoch numbers have rolled back and the replica is not in restoration mode, the VOB may have been improperly restored from backup. This script is intended to be run regularly by the ClearCase scheduler. For more information, see the schedule reference page in the Command Reference.
epoch_watchdog writes a replica's epoch number to a log file in /var/adm/atria/log/epoch_logs on UNIX or ccase-home-dir\var\log\epoch_logs on Windows. The next time the script is run, it compares the current epoch number to the logged number. If epoch_watchdog finds that the current number is lower than the logged number, it checks to see if the replica is in restore mode. If the replica is not being restored, epoch_watchdog attempts to lock the affected VOB, and optionally sends email notification (you must specify email addresses in the scheduled job). In this situation, you must contact Rational Support before unlocking the VOB or attempting any repair procedures.
NOTE: If the time window between scheduled jobs of epoch_watchdog is large enough, the activity level in the replica can be high enough that a rollback can go undetected in the case where restorereplica is not performed.
If an error occurs, epoch_watchdog creates an entry in /var/adm/atria/log/error_log on UNIX or the Event Viewer on Windows. This entry references the epoch_logs file.
You must be root on UNIX or a member of the ClearCase administrators group on Windows.
/var/adm/atria/log/epoch_logs (UNIX)
/var/adm/atria/log/error_log (UNIX)
ccase-home-dir\var\log\epoch_logs (Windows)
schedule (in the Command Reference)
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |