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.
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.
-
Open a command window on one of the instances in the cluster.
-
Navigate to the configuration directory.
-
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.
Password Protecting 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. |
Step 3 |
Use any text editor to open the xncjgroups.xml file. |
Step 4 |
Locate the following text:
|
Step 5 |
Remove the comments from the AUTH line. Example:
|
Step 6 |
(Optional) Change the password in the auth_value attribute. |
Step 7 |
Save the file and exit the editor. |