Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Resetting the Disaster Recovery Configuration

    You reset the disaster recovery configuration on both the active and the standby sites to stop the disaster recovery process and clean up the disaster recovery configuration from both sites. To reset the disaster recovery configuration, you execute the jmp-dr reset command.

    The jmp-dr reset 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
    • Starts services such as JBoss, OpenNMS, Apache, and so on at the standby site
    • Modifies the role of the cluster at the site (from active or standby to standalone)

    To reset the disaster recovery configuration:

    1. 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.

    2. 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@'s password:
      Last login: Mon Aug 17 06:17:58 2015 from
      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.

    3. Enter the administrator password.
    4. Type jmp-dr reset at the shell prompt and press Enter.

      The following is a sample output:

      [user1@host]# jmp-dr reset
      Check status of DR remote site: up
      Check current DR role: active
      Stop DR at both sites if it's running                                                                 [ OK ]
      Clean up DR related tables in DB                                                                      [ OK ]
      Clean up mysql repUser and repAdmin                                                                   [ OK ]
      Clean up NTP                                                                                          [ OK ]
      Remove DR data                                                                                        [ OK ]
      Start services in standalone mode                                                                     [ OK ]
      Remove DR configuration                                                                               [ OK ]
      Clean up firewall                                                                                     [ OK ]
      Command completed.
    5. To reset the disaster recovery configuration at the standby site, repeat steps 1 through 4 at the standby site.

    The disaster recovery configuration is reset.

    Note: We recommend that you execute the jmp-dr health command on both sites after resetting the disaster recovery configuration to check the status of the role, disaster recovery process, services, replication process, and disaster recovery watchdog.

    Modified: 2017-09-13