Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Setting the Chassis Cluster Node ID and Cluster ID

This example shows how to set the chassis cluster node ID and chassis cluster ID , which you must configure after connecting two devices together. A chassis cluster ID identifies the cluster to which the devices belong, and a chassis cluster node ID identifies a unique node within the cluster.

Requirements

Before you begin:

Ensure that you can connect to each device through the console port.

Overview

The system uses the chassis cluster ID and chassis cluster node ID to apply the correct configuration for each node (for example, when you use the apply-groups command to configure the chassis cluster management interface). The chassis cluster ID and node ID statements are written to the EPROM, and the statements take effect when the system is rebooted.

In this example, you configure a chassis cluster ID of 1. You also configure a chassis cluster node ID of 0 for the first node, which allows redundancy groups to be primary on this node when priority settings for both nodes are the same, and a chassis cluster node ID of 1 for the other node.

Note: Chassis cluster supports automatic synchronization of configurations. When a secondary node joins a primary node and a chassis cluster is formed, the primary node configuration is automatically copied and applied to the secondary node. See Understanding Automatic Chassis Cluster Synchronization Between Primary and Secondary Nodes.

Configuration

Step-by-Step Procedure

To specify the chassis cluster node ID and cluster ID:

  1. Connect to the first device through the console port.
    user@host> set chassis cluster cluster-id 1 node 0 rebootSuccessfully enabled chassis cluster. Going to reboot now.
  2. Connect to the second device through the console port.
    user@host> set chassis cluster cluster-id 1 node 1 rebootSuccessfully enabled chassis cluster. Going to reboot now.

Verification

Verifying Chassis Cluster Status

Purpose

Verify the status of a chassis cluster.

Action

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

{primary:node0}[edit]
user@host> show chassis cluster status
 
Cluster ID: 1
Node                  Priority          Status    Preempt  Manual failover

Redundancy group: 0 , Failover count: 1
    node0                   100         primary        no       no
    node1                   1           secondary      no       no

Redundancy group: 1 , Failover count: 1
    node0                   0           primary        no       no
    node1                   0           secondary      no       no

Published: 2015-02-27