This article provides video and text instructions of the basic setup of a Chassis Cluster (High Availability), also known as JSRP, on a SRX210 device. For other topics, go to the SRX Getting Started main page.
Configure SRX210 devices as a Chassis Cluster.
The following topology will be used for the configuration: Topology notes:
For the Deployment Guide for SRX Series Services Gateways in Chassis Cluster Configuration , refer to TN260 .
SRX100 KB15669 [juniper.net] SRX220 KB21312 [juniper.net] SRX240 KB15504 [juniper.net] SRX550 KB25889 [juniper.net] SRX650 KB15503 [juniper.net] SRX1400 TN10 SRX3000 series TN10 SRX5000 series TN10
Go to the KBTV video or text instructions below:
a. In the SRX configuration, remove any existing configuration associated with the interfaces that will be transformed into fxp0 (out-of-band management) and fxp1 (control link) when the chassis cluster feature is enabled.
b. Confirm that the HARDWARE on both devices is the same.
root> show chassis hardware detail Hardware inventory: Item Version Part number Serial number Description Chassis AD4109AA0352 SRX210H Routing Engine REV 33 750-021779 AAAX5645 RE-SRX210H da0 999 MB ST72682 Nand Flash usb0 (addr 1) DWC OTG root hub 0 vendor 0x0000 uhub0 usb0 (addr 2) product 0x005a 90 vendor 0x0409 uhub1 usb0 (addr 3) ST72682 High Speed Mode 64218 STMicroelectronics umass0 FPC 0 FPC PIC 0 2x GE, 6x FE, 1x 3G
For more information, refer to KB16141 - What are the minimum hardware and software requirements for a Chassis Cluster on SRX? [juniper.net]
c. Confirm that the SOFTWARE on both standalone devices is the same Junos OS version.
root> show version Model: srx210h JUNOS Software Release [11.4R7.5]
root> show system license
Control link: On the SRX210 device, connect fe-0/0/7 on device A to fe-0/0/7 on device B. The fe-0/0/7 interface on device B will change to fe-2/0/7 after clustering is enabled in Step 2. Note: It is strongly recommended that the interfaces used for the control link are connected directly with a cable (instead of a switch). If a switch must be used, then refer to KB25017 [juniper.net] .
Fabric (Data) link: On the SRX210 device, connect ge-0/0/1 on device A to ge-0/0/1 on device B. The ge-0/0/1 interface on device B will change to ge-2/0/1 after clustering is enabled in Step 2. Note: For the Fabric (Data) link, it is recommended to use a GE port. If ge-0/0/1 is not available, you can choose another open port on your devices. The Fabric (Data) link can be any available open port either onboard or gPIM other than fe-0/0/6 and fe-0/0/7.
> set chassis cluster cluster-id <0-15> node <0-1> reboot
For example: On device A: >set chassis cluster cluster-id 1 node 0 reboot On device B: >set chassis cluster cluster-id 1 node 1 reboot
>set chassis cluster cluster-id 1 node 0 reboot
>set chassis cluster cluster-id 1 node 1 reboot
commit
{primary:node0} # set groups node0 system host-name <name-node0> -Device A's host name # set groups node0 interfaces fxp0 unit 0 family inet address <ip address/mask> -Device A's management IP address on fxp0 interface
# set groups node1 system host-name <name-node1> -Device B's host name # set groups node1 interfaces fxp0 unit 0 family inet address <ip address/mask -Device B's management IP address on fxp0 interface</code> The 'set apply-groups' command is run so that the individual configs for each node, set by the above commands, are applied only to that node. This command is required.
On device A: {primary:node0} -fab0 is node0 (Device A) interface for the data link # set interfaces fab0 fabric-options member-interfaces ge-0/0/1 -fab1 is node1 (Device B) interface for the data link # set interfaces fab1 fabric-options member-interfaces ge-2/0/1 Note: There are no configuration commands for the Control link connection. Only the SRX5600 and SRX5800 platforms require configuration commands for the Control link (SPC port).
{primary:node0} -fab0 is node0 (Device A) interface for the data link # set interfaces fab0 fabric-options member-interfaces ge-0/0/1 -fab1 is node1 (Device B) interface for the data link
# set interfaces fab1 fabric-options member-interfaces ge-2/0/1
Configure the Redundancy Group 0 for the Routing Engine failover properties. Also configure Redundancy Group 1 (all the interfaces will be in one Redundancy Group in this example) to define the failover properties for the Reth interfaces.
Note: If you want to use multiple Redundancy Groups for the interfaces, refer to the Security Configuration Guide .
{primary:node0} # set chassis cluster redundancy-group 0 node 0 priority 100 # set chassis cluster redundancy-group 0 node 1 priority 1 # set chassis cluster redundancy-group 1 node 0 priority 100 # set chassis cluster redundancy-group 1 node 1 priority 1
Configure interface monitoring. Monitoring the health of the interfaces is one way to trigger Redundancy group failover. Note: Interface monitoring is not recommended for redundancy-group 0.
{primary:node0} # set chassis cluster redundancy-group 1 interface-monitor ge-0/0/0 weight 255 # set chassis cluster redundancy-group 1 interface-monitor fe-0/0/2 weight 255 # set chassis cluster redundancy-group 1 interface-monitor ge-2/0/0 weight 255 # set chassis cluster redundancy-group 1 interface-monitor fe-2/0/2 weight 255
Configure the Redundant Ethernet interfaces (Reth interface) and assign the Redundant interface to a zone. Make sure that you setup your max number of redundant interfaces as follows:
{primary:node0} # set chassis cluster reth-count <max-number> -for first interface in the group (on Device A)
# set interfaces <node0-interface-name> fastether-options redundant-parent reth0 -for second interface in the group (on Device B) # set interfaces <node1-interface-name> fastether-options redundant-parent reth0 -set up redundancy group for interfaces
# set interfaces reth0 redundant-ether-options redundancy-group <group-number> # set interfaces reth0.0 family inet address <ip address/mask> # set security zones security-zone <zone> interfaces reth0.0
For example:
{primary:node0} # set chassis cluster reth-count 2 -for first interface in the group (on Device A) # set interfaces fe-0/0/2 fastether-options redundant-parent reth1 -for second interface in the group (on Device B) # set interfaces fe-2/0/2 fastether-options redundant-parent reth1
-set up redundancy group for interfaces # set interfaces reth1 redundant-ether-options redundancy-group 1 # set interfaces reth1 unit 0 family inet address 192.168.1.1/24 -for first interface in the group (on Device A) # set interfaces ge-0/0/0 gigether-options redundant-parent reth0 -for second interface in the group (on Device B) # set interfaces ge-2/0/0 gigether-options redundant-parent reth0 -set up redundancy group for interfaces # set interfaces reth0 redundant-ether-options redundancy-group 1 # set interfaces reth0 unit 0 family inet address 10.10.10.200/24 # set security zones security-zone untrust interfaces reth0.0 # set security zones security-zone trust interfaces reth1.0
Commit and changes will be copied over to the Secondary Node, Device B.
{primary:node0} # commit
Chassis Cluster for Security Devices
show chassis cluster status show chassis cluster interfaces show chassis cluster statistics show chassis cluster control-plane statistics show chassis cluster data-plane statistics show chassis cluster status redundancy-group 1