An existing cluster added to RHEL 6 luci is showing "Status unknown" for the Status.
Environment
- Red Hat Enterprise Linux Server 5 (with the High Availability Add Ons)
- Red Hat Enterprise Linux Server 6 (with the High Availability Add Ons)
- The
lucihost is running RHEL 6. - The
riccihosts can be running RHEL 5 or RHEL 6.
Issue
- An existing cluster added to RHEL 6
luciis showingStatus unknownfor the Status. - Luci shows unknown Status
Resolution
There is no way to edit the cluster that was added showing Status unknown for the Status since the cluster nodes cannot be contacted, so that cluster will need to be deleted. After the cluster is deleted, then proceed with adding the cluster as an existing cluster, but this time change the Ricci Hostname to a hostname that can be resolved by the luci host.
Root Cause
There are two names that are entered when a cluster is added or created and each has a specific purpose:
Node Name: This is the name of this particular node as it appears in the/etc/cluster/cluster.conf.Ricci Hostname: This is an alternate name that can be used to communicate with the'lucihost. If the cluster node is configured with a dedicated private network that is used only for cluster traffic(and thelucihost cannot not communicate on that network), then set theRicci hostnameto a hostname thatlucican communicate with.
In this instance there was two network devices used for communication.
- eth0: Public Interface
- eth1: Private Interface used for cluster communication(and interface that is resolved with cluster node name)
When an existing cluster was added cluster node name was entered into both fields: Node Name and Ricci Hostname. When the luci host tried to get the status of the cluster nodes it fails because luci could not resolve the Ricci Hostname that was entered.
Diagnostic Steps
- Get
sosreportsfrom the cluster nodes that are being added and thelucihost. - Find out the values for the fields:
Node nameandRicci Hostname
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
