Juniper SRX HA Cluster


Starting from TKU December 2022 discovery of the Juniper SRX High Availability Clusters is supported.

Minimum supported version

BMC Discovery 21.05 (12.2)


Before you begin

To discover Juniper SRX HA cluster the following Discovery credentials are required:

  • SNMP credentials to discover Juniper SRX device
  • REST API credentials with basic authentication to discover HA cluster

On the device side, it is required that the REST API was configured. 

Product description

The pattern JuniperSRX_HA triggers on the Network Device having vendor 'Juniper Networks' and model matching 'SRX'.

The pattern runs two REST API requests using basic authorization in order to get HA cluster info:

  • To endpoint '/rpc/get-chassis-cluster-status' in order to get cluster ID and primary node name
  • To endpoint '/rpc/get-configuration' in order to get info about the second node in the cluster

Based on the information above, the pattern creates HA Cluster node and adds active and passive Network Devices to the cluster.

By default, the pattern uses port 3000 as Juniper SRX REST API HTTP port and port 3443 as Juniper SRX REST API HTTPS port. This can be changed in configuration:

configuration JuniperConfigs 1.0
    """
    Configuration options for Juniper SRX HA Cluster.
    """
    "Juniper SRX REST API HTTP port"
    srx_rest_http_port := "3000";

    "Juniper SRX REST API HTTPS port"
    srx_rest_https_port := "3443";
end configuration;

For each Network Device in the HA cluster additional attribute "status" is added (can be "active" or "passive").

image2022-12-2_17-47-2.png

Below is the example of the Juniper SRX HA cluster discovered with two nodes in it.

image2022-12-2_17-37-23.png


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*