![]() |
![]() |
![]() |
![]() |
![]() |
We recommend that you create RLINKs between the hosts london
and tokyo
when setting up the RDS.
In this example the Primary host seattle
has failed. The example explains how to take over from the original Primary host seattle
to the Secondary host london
. This example also explains how to start replication from the new Primary london
to the additional Secondary tokyo
.
To take over from the Primary seattle to Secondary RVG on host london
consistent
flag is set:
hr_rvg
the new Primary RVG by typing the following command on the Secondary london
:
london
:
london
and the additional Secondary tokyo
, host tokyo
is automatically added to the new configuration.
Otherwise, you must manually add tokyo
as a Secondary to the new Primary london
. To do this, create RLINKs between london
and tokyo
and associate them to the respective RVGs using the following commands.
# vxmake -g hrdg rlink rlk_tokyo_hr_rvg local_host=london \
remote_host=tokyo remote_rlink=rlk_london_hr_rvg \
# vxrlink -g hrdg assoc hr_rvg rlk_tokyo_hr_rvg
# vxmake -g hrdg rlink rlk_london_hr_rvg local_host=tokyo \
remote_host=london remote_rlink=rlk_tokyo_hr_rvg \
# vxrlink -g hrdg assoc hr_rvg rlk_london_hr_rvg
Note
By default, the
vxmake
rlink
command creates the RLINK with the protocol set to UDP/IP. To change the protocol to TCP/IP, see Setting the network transport protocol.
tokyo
to the original primary seattle
still remains attached. Detach this RLINK using the following command on the new Primary london
or on the Secondary tokyo
:
# vradmin -g hrdg stoprep hr_rvg tokyo
# vradmin -g hrdg -c checkpt syncrvg hr_rvg tokyo
The -c
option when used with the vradmin syncrvg command automatically starts a checkpoint with the specified name, checkpt
, in this example. After the data volumes are synchronized, the checkpoint is ended.
london
. Starting the applications on the new Primary after a takeover may require an application recovery to be run.