Preparing backup_registry_server to be a registry server failed

Problem(Abstract)
This technote explains why attempts to switch the backup registry server to the primary registry server on UNIX® of Linux® using the IBM® Rational® ClearCase® command rgy_switchover results in the error rgy_switchover: Error: Preparing prime_reg_svr to be a registry server failed.

Symptom

Attempts to make a backup registry server host the primary registry server host results in the following error:

Example:

Registry server: prime_reg_svr
Backup registry server: backup_reg_svr

rgy_switchover -backup prime_reg_svr prime_reg_svr backup_reg_svr
Registry switchover started at 21-Nov-05.16:07:03
rgy_switchover: Error: Preparing prime_reg_svr to be a registry server failed
Registry switchover finished at 21-Nov-05.16:07:03


Cause

This issue may be caused by either of the following:
  1. This problem can be caused when the backup registry server is believed to be a primary (master) registry server.
  2. There have been instances where there is no error when rgy_backup is run, however the backup files are not created in /var/adm/rational/clearcase/rgy/backup

Resolving the problem
  1. Check the contents of /var/adm/rational/clearcase/rgy/rgy_svr.conf on the backup registry server.

    Check the contents of /var/adm/rational/clearcase/rgy/rgy_hosts.conf.

  2. If the entry in the rgy_svr.conf says master, open the configuration file with a text editor and delete the entry.

    Ensure the first line in the rgy_hosts.conf file specifies the rgy_server name and the second line the backup registry server name.

  3. Run rgy_backup on the backup registry server.

  4. Then run rgy_switchover again.

No comments:

Post a Comment