From the Agent Managers Dashboard enable the following columns in the Agent Managers table:
Agent Managers Dashboard
From the Script Console, run the following script to list each of the known Agent Managers, which (if any) HA Partition they are assigned to, what deployment set they have, who is the HA Primary and what HA State they are in.
import com.quest.nitro.service.util.MBeanRef; import javax.management.ObjectName; import com.quest.glue.adapter.service.*; def fglamAdapter = new MBeanRef(ObjectName.getInstance("FglAM:service=AgentProtocolHandler")).ref(); fglamAdapter.getHAManager().diagnosticSnapshotAsString();
Note: Ensure that the Associated Cartridge is set to FglAMAdapter before running. For additional details on how to run a script refer to Running a groovy script using the script console (4309796).
From the Foglight command-line interface, save the script to a file such as $FGLHOME/scripts/haManagerDiagSnap.groovy and run:
$FGLHOME/bin/fglcmd.sh -usr foglight -pwd foglight -cmd script:run -cartridge FglAMAdapter -f $FGLHOME/scripts/haManagerDiagSnap.groovy
From the JMX-Console, click FglAM:name=HAManager and invoke the diagnosticSnapshotAsString() method to retrieve the same output.
Note: Login with http://fms-host:port/jmx-console using the 'foglight' account.
Example output
HAManager {mService=com.quest.glue.adapter.service.GlueAdapterService@752f10a9, mHASync=com.quest.glue.adapter.service.ha.HASync@225394a4, mHAConfigCache= {cfbedf27-1357-4103-9424-09a982bff6ff=HAHostConfig {mHost= [host=hafglam2/host2, version=6.3.0 (6.3.0-202303162316-b841c373-7), os=Microsoft Windows Server 2019 Datacenter, arch=x86_64, hopcount=1, epoch=1696453265285 ], mPartitionName='ha', mPriority=1, mState=PRIMARY, mOopHostIdsCache=' [ ]', mDeploymentSet=HADeploymentSet {mPartitionName='ha', mDeployments= [DeploymentInfo {mPackageName='HostAgents', mVersion='6.3.0.1', mBuildId='6.3.0.1-202304260830.44b1936c.5', mTypes=HostAgents/6.3.0.1/MultiHostProcessMonitorAgent,HostAgents/6.3.0.1/DellWindowsEventLogMonitorAgent,HostAgents/6.3.0.1/WindowsEventLogMonitorAgent,HostAgents/6.3.0.1/DellUnixAgent,HostAgents/6.3.0.1/UnixAgent,HostAgents/6.3.0.1/WindowsAgent,HostAgents/6.3.0.1/UnixAgentPlus,HostAgents/6.3.0.1/DellFileLogMonitorAgent,HostAgents/6.3.0.1/FileLogMonitorAgent, } ], mLockboxIds= {a809ebc6-de88-4588-92bc-5da340599c7a=System } } }, 691ea252-8a81-4c8f-8b0e-99efe7c8bbaa=HAHostConfig {mHost= [host=hafglam1/host, version=6.3.0 (6.3.0-202303162316-b841c373-7), os=Linux, arch=x86_64, hopcount=1, epoch=1696453525032 ], mPartitionName='ha', mPriority=0, mState=STANDBY, mOopHostIdsCache=' ...
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center