Stopping the Disaster Recovery Process
You stop the disaster recovery process from the active site or the standby site when you need to update the disaster recovery configuration or add nodes or applications to the disaster recovery setup. You use the jmp-dr stop command to stop the disaster recovery process on both sites. Stopping the disaster recovery process does not clean up the disaster recovery configuration from the sites.
The jmp-dr stop command does the following:
Stops the disaster recovery watchdog at the sites
Stops the replication of MySQL data, PgSQL data, configuration files, and round-robin database (RRD) files between sites
We recommend that you execute the jmp-dr health command at both sites after you stop the disaster recovery process. This is to ensure that file replication, disaster recovery watchdog services, and other services are stopped. For more information, see Checking the Status of the Disaster Recovery Configuration.
To stop the disaster recovery process at both sites:
- Log in to the CLI of the Junos Space node at the active
site on which the VIP or the eth0:0 interface is configured.
The Junos Space Settings Menu is displayed.
- Enter 6 (if you are using a
hardware appliance) or 7 (if you are using
a virtual appliance) at the Junos Space Settings Menu prompt to run
shell commands.
The following is a sample output from a virtual appliance:
admin@10.206.41.183's password: Last login: Mon Aug 17 06:17:58 2015 from 10.206.41.42 Welcome to the Junos Space network settings utility. Initializing, please wait Junos Space Settings Menu 1> Change Password 2> Change Network Settings 3> Change Time Options 4> Retrieve Logs 5> Security 6> Expand VM Drive Size 7> (Debug) run shell A> Apply changes Q> Quit R> Redraw Menu Choice [1-7,AQR]: 7
You are prompted to enter the administrator password.
- Enter the administrator password.
- Type jmp-dr stop at the shell prompt and press
Enter.
The following is a sample output:
[user1@host]# jmp-dr stop Check status of DR remote site: up Check DR stop mode: both Check current DR role: active Stop order: DR remote site and then current INFO: => stop DR at remote site Check status of DR remote site: up Check DR stop mode: solo Check current DR role: standby Stop dr-watchdog [ OK ] Stop mysql replication between sites [ OK ] Stop pgsql replication between sites [ OK ] Stop files & RRD replication [ OK ] The stop command is done. INFO: => stop DR at current site: active Stop dr-watchdog [ OK ] Stop files & RRD replication [ OK ] The stop command is done.
The disaster recovery process is stopped.