Pausing and resuming replication to a Secondary

Pausing an RLINK prevents new and already-queued updates from reaching the Secondary from the Primary, and the Primary and Secondary do not communicate.

The vradmin pauserep command does not provide a way to pause a Secondary RLINK. To do this, use the vxrlink command on the Secondary host. The vradmin resumerep command resumes both types of pauses on the selected RLINKs.

Note:

If the latency protection is set to override, be sure you understand the consequences of pausing the Secondary.

See About Latency protection when Primary and Secondary are disconnected.

To pause and resume replication to a Secondary

  1. Pause replication by issuing the following command on any host in the RDS:
    # vradmin -g diskgroup pauserep local_rvgname [sec_hostname]

    where local_rvgname is the name of the RVG on the host where the command is issued, and sec_hostname is the name of the Secondary host to which replication is being paused. For an RDS with a single Secondary, you do not have to specify the Secondary hostname.

  2. On the Primary, issue the vxprint command to check that the state of the RLINK is PAUSE.
    # vxprint rlink_name
  3. Resume replication to the Secondary.
    # vradmin -g diskgroup resumerep local_rvgname [sec_hostname]

    where local_rvgname is the name of the RVG on the host where the command is issued, and sec_hostname is the name of the host to which replication is being resumed.