« Server Swap Prep | Main | rgy_backup and server upgrade »

Meetings/Script review/Backup Registry Service

  • Attended 3 meetings today which, by far, occupied most of my time
  • Script review meeting was good. In particular I've implemented the following changes to reregister
    • Script not loops through regions for vobs as well as views
    • Script now uses -host on lsvob and lsregion to restrict execution to the vob and view hosts only
    • Script mktag's for both public and private vobs
  • Cleaned up the registry a little bit. Subba created some vobs in cs-nt that were:
    1. Not public
    2. Not in the pmo-nt region

    Also cleaned up a vob or two that was tagged in another region as private while it was public in the pmo-nt region. This happens semi-silently in that if you mktag -vob -region <other region>... the mktag will prompt for registry password, giving you the illusion that it is making the tag in other region as public when it is not. If you are mktag'ing into another region a public vob you must explicitly state -public!
  • Investigated backup registry service. It is not working in the current environment. Here's how I believe it is supposed to work:
    • You must, of course, configure backup registry server setting on all clients to point to the backup registry server properly. This we had already done.
    • You can manually take a snapshot of the registry by executing rgy_backup. If run on any machine other than the designated backup registry server it will merely ask the current registry server what the backup registry server is and set the backup registry server key in the Windows registry. If run on the backup registry server it will copy a snapshot of the registry files in $CCASE_DIR/var/rgy/backup. It appends a date timestamp to the file name and in the non timestamped filename, records a pointer to this file (e.g. the backup/vob_tag file contains the machine relative path to vob_tag_).
    • Clearcase relies on the Clearcase scheduler and the Standard Daily Job to perform daily snapshots of the registry via rgy_backup. There are two problems with this:
      1. Currently the Standard Daily Job is not even scheduled by default!
      2. One can envision crude developing in the backup directory after months of these daily jobs! I'm not sure how or if there is a mechanism for cleaning up such stuff