Because registry contents can change frequently, you cannot simply
restart a failed registry host after you have been using a backup registry
host. Use this procedure if you have switched to a backup registry host (
rgy2 in
this example) and want to restore
rgy1 as primary registry host.
- When host rgy1 becomes available again, deactivate its registry
server. Follow the procedures in Defining a Rational ClearCase registry host to
reconfigure rgy1 to recognize rgy2 as the registry host.
- Make rgy1 a backup registry host in preparation for its promotion
to primary registry host:
- Log on to rgy1. You must log on as root on Linux® or on the UNIX® system,
or as a local Administrator on Windows®, to have privileges to change
the host’s registry server status.
- On Linux or
the UNIX system,
edit the file rgy_svr.conf to remove the string master;
then edit the file rgy_hosts.conf to change its first
line to rgy2 and its second line to rgy1. On a Windows host,
Click , and
then start the ClearCase program.
Click the Registry page of the ClearCase program.
Click Use registry server on host. Enter rgy2 in
the Use registry server on host field. On the Registry page,
enter rgy1 in the Backup registry host field.
Click OK or Apply.
- Stop Rational ClearCase.
- Restart Rational ClearCase.
- Run rgy_backup manually on rgy1. This updates the registry database
on rgy1 with the contents of the registry database on rgy2.
- Run rgy_switchover. Make rgy1 the primary registry host.
Make rgy2 the backup registry host by running the following command:
rgy_switchover –backup rgy2 rgy2 rgy1
- Handle unreachable clients. Follow the procedure in Promoting a backup registry host to primary registry host.