Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure Chassis Cluster

This topic explains on how Firewalls are configured to operate in cluster mode, in which a pair of devices is connected and configured to function as a single system.

Use Feature Explorer to confirm platform and release support for specific features.

Review the Platform-Specific Interface Renumbering Behavior section for notes related to your platform.

See the Additional Platform Information section for more information.

In a chassis cluster configuration, the two nodes back up each other, with one node acting as the primary device and the other as the secondary device, enabling stateful failover of processes and services in the event of a system or hardware failure. If the primary device fails, the secondary device automatically takes over traffic processing.

Chassis cluster settings is not enabled in the factory-default configuration. Before enabling chassis cluster, you must remove any existing configurations from the physical interfaces that will be used for the chassis cluster. See Additional Platform Information section for more information on the physical interfaces.

Example: Configure Chassis Cluster SRX Series Firewalls

This example shows how to set up chassis clustering on a Firewall, using SRX1500 or SRX1600 as an example.

See Additional Platform Information section for more information on interface renumbering and interface settings.

Requirements

Before you begin:

  • Physically connect the two devices and ensure that they are the same models. For example, on the SRX1500 or SRX1600 Firewall, connect the dedicated control ports on node 0 and node 1.

  • Set the two devices to cluster mode and reboot the devices. You must enter the following operational mode commands on both devices, for example:

    • On node 0:

    • On node 1:

    The cluster-id is the same on both devices, but the node ID must be different because one device is node 0 and the other device is node 1. The range for the cluster-id is 0 through 255 and setting it to 0 is equivalent to disabling cluster mode.

  • After the devices are clustered, continuing with the SRX1500 or SRX1600 Firewall example, the ge-0/0/0 interface on node 1 is renumbered to ge-7/0/0.

    See Understanding SRX Series Chassis Cluster Slot Numbering and Physical Port and Logical Interface Naming

From this point forward, the cluster configuration is synchronized across all nodes, and the two devices operate as a single system.

Overview

This example shows how to set up chassis clustering on an SRX Series Firewall using the SRX1500 or SRX1600 device as example.

The node 1 renumbers its interfaces by adding the total number of system FPCs to the original FPC number of the interface.

After clustering is enabled, the system creates fxp0, fxp1, and em0 interfaces. Depending on the device, the fxp0, fxp1, and em0 interfaces that are mapped to a physical interface are not user defined. However, the fab interface is user defined.

Figure 1 shows the topology used in this example.

Figure 1: SRX1500 In Chassis Cluster SRX1500 In Chassis Cluster

Configuration

Procedure

CLI Quick Configuration

To quickly configure a chassis cluster on an SRX1500 Firewall, copy the following commands and paste them into the CLI:

On {primary:node0}

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure a chassis cluster on a Firewall:

Perform Steps 1 through 5 on the primary device (node 0). They are automatically copied over to the secondary device (node 1) when you execute a commit command. The configurations are synchronized because the control link and fab link interfaces are activated. To verify the configurations, use the show interface terse command and review the output.

  1. Set up hostnames and management IP addresses for each device using configuration groups. These configurations are specific to each device and are unique to its specific node.

    Set the default route and backup router for each node.

    Set the apply-group command so that the individual configurations for each node set by the previous commands are applied only to that node.

  2. Define the interfaces used for the fab connection (data plane links for RTO sync) by using physical ports ge-0/0/1 from each node. These interfaces must be connected back-to-back, or through a Layer 2 infrastructure.

  3. Set up redundancy group 0 for the Routing Engine failover properties, and set up redundancy group 1 (all interfaces are in one redundancy group in this example) to define the failover properties for the redundant Ethernet interfaces.

  4. Set up interface monitoring to monitor the health of the interfaces and trigger redundancy group failover.

    We do not recommend Interface monitoring for redundancy group 0 because it causes the control plane to switch from one node to another node in case interface flap occurs.

    Interface failover only occurs after the weight reaches 0.

  5. Set up the redundant Ethernet (reth) interfaces and assign the redundant interface to a zone.

Results

From operational mode, confirm your configuration by entering the show configuration command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

For brevity, this show command output includes only the configuration that is relevant to this example. Any other configuration on the system has been replaced with ellipses (...).

If you are done configuring the device, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly.

Verify Chassis Cluster Status

Purpose

Verify the chassis cluster status, failover status, and redundancy group information.

Action

From operational mode, enter the show chassis cluster status command.

Verify Chassis Cluster Interfaces

Purpose

Verify information about chassis cluster interfaces.

Action

From operational mode, enter the show chassis cluster interfaces command.

Verify Chassis Cluster Statistics

Purpose

Verify information about the statistics of the different objects being synchronized, the fabric and control interface hellos, and the status of the monitored interfaces in the cluster.

Action

From operational mode, enter the show chassis cluster statistics command.

Verify Chassis Cluster Control Plane Statistics

Purpose

Verify information about chassis cluster control plane statistics (heartbeats sent and received) and the fabric link statistics (probes sent and received).

Action

From operational mode, enter the show chassis cluster control-plane statistics command.

Verify Chassis Cluster Data Plane Statistics

Purpose

Verify information about the number of RTOs sent and received for services.

Action

From operational mode, enter the show chassis cluster data-plane statistics command.

Verify Chassis Cluster Redundancy Group Status

Purpose

Verify the state and priority of both nodes in a cluster and information about whether the primary node has been preempted or whether there has been a manual failover.

Action

From operational mode, enter the chassis cluster status redundancy-group command.

Troubleshoot with Logs

Purpose

Use these logs to identify any chassis cluster issues. You should run these logs on both nodes.

Action

From operational mode, enter these show log commands.

Understand Automatic Chassis Cluster Synchronization Between Primary and Secondary Nodes

When setting up a chassis cluster, both the Firewalls must be identical, including the software configuration. The chassis cluster synchronization feature automatically synchronizes the configuration from the primary node to the secondary node when the secondary node joins the cluster. This process eliminates the need to manually align configurations between nodes, thereby reducing operational effort and administrative overhead.

To disable automatic chassis cluster configuration synchronization between the primary and secondary nodes, enter the following command in configuration mode: set chassis cluster configuration-synchronize no-secondary-bootup-auto.

To reenable automatic chassis cluster synchronization at any time, delete the configuration by entering the delete chassis cluster configuration-synchronize no-secondary-bootup-auto command in configuration mode.

To verify whether automatic chassis cluster synchronization is enabled and to view the synchronization status, enter the show chassis cluster information configuration-synchronization operational command.

The synchronization process is all-or-nothing; the complete configuration is either successfully synchronized to the secondary node or no changes are applied.

If you create a chassis cluster using a cluster ID greater than 16, and later roll back to a Junos OS release that does not support extended cluster IDs, the system boots in standalone mode.

If a cluster is already configured and running on an earlier Junos OS release, you can upgrade to later supported Junos OS Release and re-create the cluster using a cluster ID greater than 16. However, if you subsequently revert to a Junos OS release that does not support extended cluster IDs, the system boots as standalone device after a reboot. If the configured cluster ID is less than 16 and you roll back to a previous Junos OS release, the system restores the previous chassis cluster configuration after reboot.

Platform-Specific Interface Renumbering Behavior

Use the following table to review platform-specific behavior for your platform.

See the Additional Platform Information section for more information.

Table 1: Platform-Specific Behavior

Platform

Supported Interface Renumbering

SRX Series

The following Firewalls support interface renumbering in chassis cluster mode.

  • For SRX300 Firewall, the ge-0/0/1 interface on node 1 changes to ge-1/0/1.

  • For SRX320 Firewall, the ge-0/0/1 interface on node 1 changes to ge-3/0/1.

  • For SRX340 and SRX345 Firewalls, the ge-0/0/1 interface on node 1 changes to ge-5/0/1.

After the reboot, the following interfaces are assigned and repurposed to form the chassis cluster:

  • For SRX300 and SRX320 Firewalls, ge-0/0/0 becomes fxp0 and is used for individual management of the chassis cluster.

  • SRX340 and SRX345 Firewalls contain a dedicated port fxp0.

  • For all SRX300, SRX320, SRX340, SRX345, and SRX380 Firewalls, ge-0/0/1 becomes fxp1 and is used as the control link within the chassis cluster.

  • The other interfaces are also renamed on the secondary device.

Additional Platform Information

Use Feature Explorer to confirm platform and release support for specific features.

Additional Platforms may be supported.

Table 2: Mapping Between HA Interface and Physical Interface

Device

fxp0 Interface (HA MGT)

fxp1 Interface (HA Control)

Fab Interface

SRX300

ge-0/0/0

ge-0/0/1

User defined

SRX320

ge-0/0/0

ge-0/0/1

User defined

SRX340

dedicated

ge-0/0/1

User defined

SRX345

dedicated

ge-0/0/1

User defined

SRX380

dedicated

ge-0/0/1

User defined

Table 3: SRX Series Firewalls Interface Renumbering

SRX Series Services Gateway

Renumbering Constant

Node 0 Interface Name

Node 1 Interface Name

SRX300

1

ge-0/0/0

ge-1/0/0

SRX320

3

ge-0/0/0

ge-3/0/0

SRX340

SRX345

SRX380

5

ge-0/0/0

ge-5/0/0

SRX1500

7

ge-0/0/0

ge-7/0/0

SRX1600

7

ge-0/0/0

ge-7/0/0

Table 4: SRX Series Firewalls Interface Settings

Command

SRX300

SRX320

SRX340

SRX345

SRX380

set interfaces fab0 fabric-options member-interfaces

ge-0/0/2

ge-0/0/2

ge-0/0/2

set interfaces fab1 fabric-options member-interfaces

ge-1/0/2

ge-3/0/2

ge-5/0/2

set chassis cluster redundancy-group 1 interface-monitor

ge-0/0/3 weight 255

ge-0/0/3 weight 255

ge-0/0/3 weight 255

set chassis cluster redundancy-group 1 interface-monitor

ge-0/0/4 weight 255

ge-0/0/4 weight 255

ge-0/0/4 weight 255

set chassis cluster redundancy-group 1 interface-monitor

ge-1/0/3 weight 255

ge-3/0/3 weight 255

ge-5/0/3 weight 255

set chassis cluster redundancy-group 1 interface-monitor

ge-1/0/4 weight 255

ge-3/0/4 weight 255

ge-5/0/4 weight 255

set interfaces

ge-0/0/3 gigether-options redundant-parent reth0

ge-0/0/3 gigether-options redundant-parent reth0

ge-0/0/3 gigether-options redundant-parent reth0

set interfaces

ge-0/0/4 gigether-options redundant-parent reth1

ge-0/0/4 gigether-options redundant-parent reth1

ge-0/0/4 gigether-options redundant-parent reth1

set interfaces

ge-1/0/3 gigether-options redundant-parent reth0

ge-3/0/3 gigether-options redundant-parent reth0

ge-5/0/3 gigether-options redundant-parent reth0

set interfaces

ge-1/0/4 gigether-options redundant-parent reth1

ge-3/0/4 gigether-options redundant-parent reth1

ge-5/0/4 gigether-options redundant-parent reth1