Configuring High Availability Clusters
Cisco Nexus Data Broker supports high availability clustering in active/active mode with up to five controllers. To use high availability clustering with Cisco Nexus Data Broker, you must edit the config.ini file for each instance of Cisco Nexus Data Broker.
Note |
IPv6 is supported in centralized NDB mode only, it is not supported in Embedded mode. |
Note |
Cisco NDB supports only 2 node configuration or odd number node configuration. If you configure even number of nodes, the last node is not included in the cluster formation, ensuring odd number of nodes in a setup. |
Cluster Indicator |
Cluster Status |
Recommendation |
---|---|---|
Green |
Operational |
|
Yellow |
Some of the cluster nodes are not available |
Do not make any changes or add to the existing NDB configuration. |
Red |
The node is isolated from the cluster. |
Do not make any changes or add to the existing NDB configuration. Note: For two node cluster, you need to override in any one of the cluster node only, to ensure regular operation. |
Before you begin
-
All IP addresses must be reachable and capable of communicating with each other.
-
All switches in the cluster must connect to all of the controllers.
-
All controllers must have the same HA clustering configuration information in the config.ini files.
-
All controllers must have the same information in the xnc/configuration/startup directory.
-
If using cluster passwords, all controllers must have the same password configured in the xncjgroups.xml file. See Password Protecting the High Availability Clusters.
Procedure
Step 1 |
Open a command window on one of the instances in the cluster. |
Step 2 |
Navigate to the xnc/configuration directory that was created when you installed the software. |
Step 3 |
Use any text editor to open the config.ini file. |
Step 4 |
Locate the following text:
|
Step 5 |
Example:IPv4 example.
Example:IPv6 example.
|
Step 6 |
Save the file and exit the editor. |
What to do next
(Optional) Use this procedure to configure the delay time for a node and the number of retries.
-
Ensure that Cisco Nexus Data Broker is not running on any of the instances in the cluster.
-
Open a command window on one of the instances in the cluster.
-
Navigate to the xnc/configuration directory that was created when you installed the software.
-
Use any text editor to open the xncjgroups.xmlfile.
-
Locate the following text:
FD timeout="3000" max_tries="3"/
-
Modify the Latency Time value and maximum_tries value.
-
Save the file and exit the editor.
-
Repeat the above steps for all the instances of the cluster and restart NDB.