stoprep command can be used to stop replication to a Secondary in an RDS. The
stoprep command can be entered from any host in the RDS.
stoprep command fails if the Primary and Secondary RLINKs are not up-to-date. Use the
-f option to stop replication to a Secondary even when the RLINKs are not up-to-date.
Before stopping replication, the
stoprep command displays a warning and prompts the user to confirm whether or not to stop replication. To skip this confirmation, use the
-s option with the
stoprep command. The
-s option to the
stoprep command proves useful in scripts.
To stop replication to a specific Secondary in an RDS, specify the Secondary host name. For an RDS with a single Secondary, you do not have to specify the Secondary host name.
To stop replication to a specific Secondary in an RDS
vradmin -g diskgroup
stoprep local_rvgname sec_hostname
local_rvgname is the name of the RVG on the local host and represents its RDS.
sec_hostname is the name of the Secondary host as displayed in the output of the
To stop replication from the Primary RVG
seattle to the Secondary RVG on host
vradmin -g hrdg stoprep hr_rvg london