Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Viewing the Disaster Recovery Configuration and Status of Watchdog Services

You execute the jmp-dr api v1 config command to view the disaster recovery configuration and the status of the disaster recovery watchdog services at the local site. You can use this command to create custom failure-detection scripts. For more information about using custom failure-detection scripts, see the Failure Detection by Using Custom Failure-Detection Scripts section in the Disaster Recovery Overview topic. You can also refer to the sample scripts located at var/cache/jmp-geo/doc/samples/.

To view the disaster recovery configuration and the status of the disaster recovery watchdog services:

  1. Log in to the CLI of the Junos Space node at the site on which the VIP or the eth0:0 interface is configured.

    The Junos Space Settings Menu is displayed.

  2. Enter 7 while 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:

    You are prompted to enter the administrator password.

  3. Enter the administrator password.
  4. Enter jmp-dr api v1 config at the shell prompt.

    You can view the disaster recovery configuration and the status of all the disaster recovery watchdog services.

  5. (Optional) To view the sections of the disaster recovery configuration, enter jmp-dr api v1 config –-list at the shell prompt.

    All available sections of the disaster recovery configuration from the remote site are displayed.

    The following is a sample output:

  6. (Optional) To view selected sections of the disaster recovery configuration, enter jmp-dr api v1 config –-include <section1>,<section2> at the shell prompt.

    The following is a sample output of the core and deviceManagement sections: