This article provides upgrade requirements and troubleshooting guidance for a VMware vRealize Log Insight cluster.
If a cluster upgrade is started and becomes stuck part-way through, the cluster may be left in a partially-upgraded state. See Resuming rolling upgrade of a VMware vRealize Log Insight cluster (2123064).
If all requirements described by this article are met but retry of the upgrade fails, collect a log bundle from every node in the cluster and engage VMware Support for further investigation. For more information, see Collecting diagnostic information for VMware vRealize Log Insight (2056760)
There are several known scenarios which can cause Log Insight upgrades to fail. Validate whether these scenarios are present in the affected environment and address them, then retry the upgrade.
Log Insight 2.5 and higher has Apache Cassandra installed on every node. Quorum is required in order to perform many operations, including upgrade. Upgrades are performed one node at a time to maintain quorum. If another node in the cluster is down, the cluster may not be able to attain quorum.
Validate the status of nodes:
https://LogInsightHostnameOrIpAddress/admin/
Connected
.root
.cd /usr/lib/loginsight/application/lib/apache-cassandra-*/bin
./nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host ID Rack
UN 10.11.12.100 151.99 MB 256 19.6% 75fd0bf8bd0556fcc3b073fed6aefb36 rack1
UN 10.11.12.101 156.46 MB 256 20.6% f79845ca3e7fab13448340b4403ad80f rack1
UN 10.11.12.102 135.12 MB 256 19.2% fe90f17b7f8ff0f45df7aed699b50fbf rack1
UN 10.11.12.103 134.84 MB 256 20.6% b1ab7493430c60e9ded8644f66bc4c11 rack1
DN 10.11.12.104 127.27 MB 256 20.0% 63e4a2884fad9907fe87347c43ba341a rack1
Log Insight requires that time synchronization is configured correctly on all nodes. If time gets out of sync, this can cause failures of cross-cluster operations.
localhost
produces a non-loopback addressValidate the content of /etc/hosts
on all Log Insight nodes. If localhost
resolves to an address other than 127.0.0.1
, nodetool
may fail to connect to the running Cassandra service.
root
./opt/vmware/share/vami/vami_ip_addr
/etc/hosts
configuration file in a text editor. For more information, see Editing files on an ESX host using vi or nano (1020302)./etc/hosts
configuration file. A correct configuration lists the Log Insight node's fully-qualified domain name (FQDN) and/or hostname on the same line as the static IP, and localhost
on the same line as the loopback address 127.0.0.1
. For example:10.11.12.13 loginsight-node.example.com loginsight-node
127.0.0.1 localhost
/etc/hosts
configuration file contains a line pairing the static IP address with the name localhost
, correct it to match the example./etc/hosts
configuration file.localhost
produces the loopback address using the command:host localhost
localhost has address 127.0.0.1
service loginsight restart
vRealize Log Insight nodes are virtual machines. Prior to an upgrade, we expect that the virtual machines running vRealize Log Insight nodes are not affected by performance bottlenecks or have network connectivity problems when communicating with each other. If you suspect either of these are occurring, review the following KB articles:
Editing files on an ESX host using vi or nano
Collecting diagnostic information for VMware vRealize Log Insight
Resuming rolling upgrade of a VMware vRealize Log Insight cluster