Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • Unknown Mushrooms 2
  • Easier Programming Language
  • Managing is Common Sense
  • Improve Cereal Packaging
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (52)
  • HELP THE WORLD (102)
  • IMPROVE GOVERNMENTS (99)
  • PERSONAL DEVELOPMENT (272)
  • COMPUTER HELP (130)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: How to Delete a VOB Replica


    These are the procedures for turning off a VOB replica. This is also known as VOB decommission or obsolete VOB replica.
    1. The first step is to stop all synchronization exports to the VOB replica that you are decommissioning. I recommend finding all of these replicas by looking up which replicas this obsolete VOB is exporting to, then contacting the ClearCase administrators of those replicas. Skip this step if the VOB is not MultiSited.
    2. Find all checked out elements in the local VOB replica.

      cleartool lsco –all VOB_TAG
    3. You will have to checkin or uncheckout each checkedout element found in the previous step, and that may require root access to log in as the users that have the checkedout elements.
    4. Change mastership of each local object to the master site (or the new master site). You will need to be logged in as VOB owner or root to do this step. Skip this step if the VOB is not MultiSited. First, find the master replica name, then change mastership.

      cleartool describe vob:VOB_TAG

      cleartool setview VIEW_NAME
      cd VOB_TAG
      multitool chmaster –vob . –all –long MASTER_REPLICA_NAME

    5. Push the final synchronization export of the obsolete VOB replica. You should wait until the remote master site imports and confirms these changes. Skip this step if the VOB is not MultiSited.

      multitool syncreplica -export -fship replica:MASTER_REPLICA_NAME@vob:VOB_TAG
    6. Next, turn off all local synchronization exports and imports for this obsolete VOB replica. Skip this step if the VOB is not MultiSited.
    7. Remove the local obsolete VOB replica. Skip this step if the VOB is not MultiSited.

      multitool rmreplica replica:OBSOLETE_REPLICA_NAME@vob:VOB_TAG
    8. The master site should rename the deleted replica. Skip this step if the VOB is not MultiSited.

      multitool rename replica:OBSOLETE_REPLICA_NAME@vob:VOB_TAG replica:OBSOLETE_REPLICA_NAME.deleted@vob:VOB_TAG
    9. It is strongly recommended that the VOB is backed up in permanent storage, such as tape or DVDs.
    10. It is strongly recommended that the VOB is backed up in permanent storage, such as tape or DVDs.
    11. Remove the VOB TAG.

      cleartool rmtag –vob –password REGISTRY_PASSWORD VOB_TAG
    12. Next, un-register the VOB TAG.

      cleartool unreg –vob VOB_STORAGE_DIRECTORY
    13. Finally, delete the obsolete VOB storage directory.
    You are done deleting a VOB replica.

    by Phil B.

    Related Articles
     » ClearCase Support: How to Synchronize 2 VOBs
     » ClearCase Support: How to Replicate a VOB
     » ClearCase Support: How to Backup a VOB







    Copyright © 2006-2010, Phil for Humanity. All Rights Reserved.