This article describes the basic setup of a Chassis Cluster (High Availability), also known as JSRP, on a SRX550 device. For other topics, go to the SRX Getting Started main page.
Configure SRX550 devices as a Chassis Cluster. The following topology will be used for the configuration: Topology notes:
SRX100 KB15669 [juniper.net] SRX210 KB15505 [juniper.net] SRX220 KB21312 [juniper.net] SRX240 KB15504 [juniper.net] SRX650 KB15503 [juniper.net] SRX1400 TN10 SRX3000 series TN10 SRX5000 series TN10
This section contains the following:
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@550-2> show chassis hardware detail Hardware inventory: Item Version Part number Serial number Description Chassis AL1412AA0005 SRX550 Midplane REV 16 750-035027 AAEL0658 Routing Engine REV 11 711-035026 AAEM3813 RE-SRXSME-SRX550 ad0 2000 MB CF 2GB 2012B 0000028638 Compact Flash FPC 0 FPC PIC 0 6x GE, 4x GE SFP Base PIC Power Supply 0 Rev 04 740-024283 WB18513 PS 645W AC
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: srx550 JUNOS Software Release [11.4R7.5]
root> show system license
Physically connect the two devices together to form the control and fabric (data) links.
Control link: On the SRX550 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-9/0/1 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 SRX550 device, connect ge-0/0/2 on device A to ge-0/0/2 on device B. The ge-0/0/2 interface on device B will change to ge-9/0/2 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/2 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 ge-0/0/0 and ge-0/0/1.
Enable cluster mode and reboot the devices. Note that this is done in operational mode and not with a configure mode command.
> 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
Configure the device specific configurations such as host names and management IP addresses. This is specific to each device and is the only part of the configuration that is unique to its specific node. This is done by entering the following commands (all on the primary node):
{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.
Configure the FAB links (data plane links for RTO sync, etc). For this example we will use physical ports ge-0/0/2 from each node.
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/2 -fab1 is node1 (Device B) interface for the data link # set interfaces fab1 fabric-options member-interfaces ge-9/0/2 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/2 -fab1 is node1 (Device B) interface for the data link
# set interfaces fab1 fabric-options member-interfaces ge-9/0/2
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 the 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/3 weight 255 # set chassis cluster redundancy-group 1 interface-monitor ge-0/0/4 weight 255 # set chassis cluster redundancy-group 1 interface-monitor ge-9/0/3 weight 255 # set chassis cluster redundancy-group 1 interface-monitor ge-9/0/4 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> gigether-options redundant-parent reth0 -for second interface in the group (on Device B) # set interfaces <node1-interface-name> gigether-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 ge-0/0/4 gigether-options redundant-parent reth1 -for second interface in the group (on Device B) # set interfaces ge-9/0/4 gigether-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/3 gigether-options redundant-parent reth0 -for second interface in the group (on Device B) # set interfaces ge-9/0/3 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