Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Modifying the Disaster Recovery Configuration

After you have initially configured the disaster recovery setup, you may need to modify the Junos Space cluster at either sites such as addition or removal of nodes from your Junos Space setup, change IP addresses of interfaces, change device management interfaces, load balancer details (VIP address and password), and change VIP address of dedicated services such as FMPM or database. You may also need to modify disaster recovery parameters such as backup and restore settings, heartbeat settings, and failure detection settings.

You use the jmp-dr toolkit config update command to:

  • Reinitiate MySQL or PgSQL replication at a site and to the standby site if you added or removed dedicated nodes and update these changes at the standby site.

  • Update the changes in cluster configuration (addition or removal of load balancer nodes), at both sites.

    Refer to Modifying Applications and Nodes on a Disaster Recovery Setup for more information about modifying nodes.

You use the options along with jmp-dr toolkit config update command to modify backup and restore settings, heartbeat settings, failure detection settings, update load balancer details (VIP address and password), and SCP timeout settings, and update these changes at the peer site.

Note:

You must update the changes to the load balancers at both sites by using the --user-core option before modifying and updating the other sections of disaster recovery such as heartbeat settings, notification settings, failure detection settings, file backup and restore settings.

Table 1 lists the options and the group of disaster recovery configuration parameters included with the option.

Table 1: jmp-dr toolkit config update command options

Configuration Update Option

Description

--user-core

Load balancer VIP and password, and SCP timeout settings

--user-file-backup

Configuration and RRD files backup settings

--user-file-restore

Configuration and RRD files replication to standby site settings

--user-watchdog-heartbeat

Watchdog heartbeat settings

--user-watchdog-notification

Email notification settings

--user-watchdog-failureDetection

Failure detection settings

To modify 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:

  3. Enter the administrator password.
  4. Stop the disaster recovery process on both sites. To do so, type jmp-dr stop at the shell prompt and press Enter.
  5. Perform the following steps to modify the disaster recovery configuration at sites.
    • Use the jmp-dr toolkit config update command to:

      • Update the addition or removal of load balancer nodes.

      • Reinitiate MySQL or PgSQL replication at a site (after adding or removing dedicated nodes).

      • Update changes to VIP address of FMPM node or database node of a site, at both sites.

      • Update the changes to IP address of the nodes of a site, at both sites.

      • Update the addition or removal of eth3 interface for device management or change in the IP address of the eth3 interface, at both sites.

      • Update the change of IP address version for device management (IPv4 to IPv6 or IPv6 to IPv4) of a site, at both sites.

      1. Log in to the CLI of the Junos Space VIP node at the site where you made the modifications.

      2. Type jmp-dr toolkit config update at the shell prompt and press Enter.

      3. Type No and press Enter to view the cluster modifications.

        The modified cluster configuration is displayed in JSON format.

      4. Press Enter to accept the changes.

        The following is a sample output when the disaster recovery configuration is updated after adding a dedicated MySQL node.

        The disaster recovery configuration file at the local site is updated with the modified configuration of the cluster.

      5. Log in to the CLI of the Junos Space VIP node at the peer site to update the modifications made at the local site.

      6. Type jmp-dr toolkit config update at the shell prompt and press Enter.

      7. Type No and press Enter to view the modified cluster configuration at the remote site.

        The modified configuration is displayed in JSON format.

      8. Press Enter to accept the changes.

        The disaster recovery configuration file at the peer site is updated with the modified configuration of the cluster at the local site.

    • To modify the heartbeat settings at a site:

      1. Log in to the CLI of the Junos Space VIP node at the site where the heartbeat settings must be modified.

      2. Type jmp-dr toolkit config update --user-watchdog-heartbeat at the shell prompt and press Enter.

      3. Type No and press Enter to modify the heartbeat settings.

        The disaster recovery configuration parameters to modify heartbeat settings are displayed.

        The following is a sample screen output.

      4. Modify the heartbeat settings.

        The modified heartbeat settings are displayed in JSON format.

      5. Press Enter to accept the changes.

        The heartbeat settings are modified when the command is executed.

        The following is a sample screen output.

      6. Log in to the CLI of the Junos Space VIP node at the peer site to update the modifications made at the local site.

      7. Type jmp-dr toolkit config update --user-watchdog-heartbeat at the shell prompt and press Enter.

      8. Type No and press Enter to view the modified heartbeat settings at the local site.

        The modified heartbeat settings are displayed in JSON format.

      9. Press Enter to accept the changes.

        The heartbeat settings are updated when the command is executed.

    • To modify the notification settings at a site:

      1. Log in to the CLI of the Junos Space VIP node at the site where the notification settings must be modified.

      2. Type jmp-dr toolkit config update --user-watchdog-notification at the shell prompt and press Enter.

      3. Type No and press Enter to modify the notification settings.

        The disaster recovery configuration parameters to modify notification settings are displayed.

      4. Modify the notification settings.

        The modified notification settings are displayed in JSON format.

      5. Press Enter to accept the changes.

        The notification settings are modified when the command is executed.

      6. Log in to the CLI of the Junos Space VIP node at the peer site to update the modifications made at the local site.

      7. Type jmp-dr toolkit config update --user-watchdog-notification at the shell prompt and press Enter.

      8. Type No and press Enter to view the modified notification settings at the local site.

        The modified notification settings are displayed in JSON format.

      9. Press Enter to accept the changes.

        The notification settings are updated when the command is executed.

    • To modify the failure detection settings at the active site:

      1. Log in to the CLI of the Junos Space VIP node at the active site.

      2. Type jmp-dr toolkit config update --user-watchdog-failureDetection at the shell prompt and press Enter.

      3. Type No and press Enter to modify the failure detection settings.

        The disaster recovery configuration parameters to modify failure detection settings are displayed.

      4. Modify the failure detection settings.

        The modified failure detection settings are displayed in JSON format.

      5. Press Enter to accept the changes.

        The failure detection settings are modified when the command is executed.

        The following is a sample screen output.

      6. Log in to the CLI of the Junos Space VIP node at the peer site to update the modifications made at the active site.

      7. Type jmp-dr toolkit config update --user-watchdog-failureDetection at the shell prompt and press Enter.

      8. Type No and press Enter to view the modified failure detection settings at the local site.

        The modified failure detection settings are displayed in JSON format.

      9. Press Enter to accept the changes.

        The failure detection settings are updated when the command is executed.

    • To modify the file backup settings at a site:

      1. Log in to the CLI of the Junos Space VIP node at the site where the file backup settings must be modified.

      2. Type jmp-dr toolkit config update --user-file-backup at the shell prompt and press Enter.

      3. Type No and press Enter to modify the file backup settings.

        The disaster recovery configuration parameters to modify file backup settings are displayed.

      4. Modify the file backup settings.

        The modified file backup settings are displayed in JSON format.

      5. Press Enter to accept the changes.

        The file backup settings are modified when the command is executed.

      6. Log in to the CLI of the Junos Space VIP node at the peer site to update the modifications made at the local site.

      7. Type jmp-dr toolkit config update --user-file-backup at the shell prompt and press Enter.

      8. Type No and press Enter to view the modified file backup settings at the local site.

        The modified file backup settings are displayed in JSON format.

      9. Press Enter to accept the changes.

        The file backup settings are updated when the command is executed.

    • To modify the file restore settings at a site:

      1. Log in to the CLI of the Junos Space VIP node at the site where the file restore settings must be modified.

      2. Type jmp-dr toolkit config update --user-file-restore at the shell prompt and press Enter.

      3. Type No and press Enter to modify the file restore settings.

        The disaster recovery configuration parameters to modify file restore settings are displayed.

      4. Modify the file restore settings.

        The modified file restore settings are displayed in JSON format.

      5. Press Enter to accept the changes.

        The file restore settings are modified when the command is executed.

      6. Log in to the CLI of the Junos Space VIP node at the peer site to update the modifications made at the local site.

      7. Type jmp-dr toolkit config update --user-file-restore at the shell prompt and press Enter.

      8. Type No and press Enter to view the modified file restore settings at the local site.

        The modified file restore settings are displayed in JSON format.

      9. Press Enter to accept the changes.

        The file restore settings are updated when the command is executed.

    • Use the --user-core option to:

      • Update the modified VIP address of the load balancers of a site at the peer site.

      • Update the modified password of the load balancers of the standby a site at the active site.

        Note:

        You can use the --user-core option to update the modified password of the active site at the standby site.

        Refer to Modifying the Network Settings of a Node in the Junos Space Fabric in the Junos Space Network Management Platform Workspaces Feature Guide for more information about modifying the VIP address of the load balancers.

      • Modify the SCP timeout settings at a site.

      1. Log in to the CLI of the Junos Space VIP node at the site where the load balancer details are modified or where the SCP timeout settings must be modified.

      2. Type jmp-dr toolkit config update --user-core at the shell prompt and press Enter.

      3. Press Enter to update the load balancer modifications or modify the SCP timeout settings.

        The disaster recovery configuration parameters to modify load balancer settings are displayed.

      4. Modify the load balancer settings.

        The modified load balancer settings are displayed in JSON format.

      5. Press Enter to apply the changes.

        The load balancer settings are modified when the command is executed.

        The following is a sample screen output.

      6. Log in to the CLI of the Junos Space VIP node at the peer site.

      7. Type jmp-dr toolkit config update --user-core at the shell prompt and press Enter.

        The modified load balancer settings are displayed in JSON format.

      8. Press Enter to accept the changes.

        The load balancer settings are modified when the command is executed.

  6. Start the disaster recovery process on both sites from the active site. To do so, type jmp-dr start at the shell prompt and press Enter.