ACSLS HA Logging
The state of each node can be determined by following the current AcslsHa.log
on each node. You must be aware of the time stamps as a node running as primary may have previously been a secondary.
2020/01/07 07:31:48.611329 INFO - Monitoring with primary = True:
2020/01/07 07:31:48.611375 DEBUG - System state changed to : MONITORING PRIMARY
2020/01/07 07:31:48.611454 DEBUG - AcslsHa: Updating node status with primary = True and status = MONITORING PRIMARY
2020/01/06 13:36:37.383299 INFO - Monitoring with primary = False:
2020/01/06 13:36:37.383333 DEBUG - System state changed to : MONITORING SECONDARY
2020/01/06 13:36:37.383364 DEBUG - AcslsHa: Updating node status with primary = False and status = MONITORING SECONDARY
A running primary node that has not yet been a secondary node will contain the following logs:
Directory /var/log/acslsha – Contains the current logs.
Logs are restarted and archived when they reach 100,000 lines or when acslsha is restarted on that node (whichever happens first). Archived logs reside in directories located under /var/log/
named acslsha.0
, acslsha.1
, and up to acslsha.9
, where acslsha.0
is the most recent archive. The acslsha
directory (with no “dot” number) is always the current running set of logs.
/var/log/acslsha
directory or any acslsha.#
directory include the following:
AcslsHa.log
:The main currently running ACSLS HA log.
acslshaResourceAcsls.log
:Contains Information about ACSLS HA’s starting and stopping of ACSLS.
acslsResource.log
:Contains information about the current status of ACSLS.
acslshaResourceLogicalHost.log
:Contains information about the Logical Host IP. Initially, this log will indicate that the Logical host IP has been started.
acslshaResourceRemoteNode.log
:Contains information that the primary node logs about the remote node (the secondary). When viewed on the secondary, this log contains information that the secondary logs about it’s remote (the primary).
acslshaResourceStorage.log
:Contains the startup and the name of the storage resource (NFS file system mount). NFS errors or a loss of network connection to the NFS file server are logged here.
storageResource.log
:This log remains empty until a storage resource issue occurs.
setup.log
:Contains the responses to the questions asked when
setup.py
was run. Note that you may need to review any archived set of logs in order to locate the most recently updated version of this file as setup is typically only run once and will move with the archives during a restart of ACSLS HA.
acslshaResourceRemoteNode.log
AcslsHa.log
acslshaResourceRemoteNode.log