Ping TIBCO ActiveMatrix Nodes for Select Hosts
To ping Nodes managed by selected Host (as detailed in the Available Ant Targets section), you can run the following command:
ant -f enterprise_healthcheck_build.xml do.ping health.hosts
The following is a sample output for the command:
Ping TIBCO ActiveMatrix Nodes for Select Hosts
[AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Running Ping for below Entities [Filtered based on HOST(s) specified in the data file enterprise_healthcheck_data.xml] [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - For Environment: [DevEnvironment] [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Host [SystemHost] manages: [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node(s): DevNode [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - For Environment: [SystemEnvironment] [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Host [SystemHost] manages: [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node(s): SystemNode [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Deployment Health Check is in progress, may take a few minutes ... [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Admin Information : [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Time taken to ping Admin: 0.012 seconds [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Host information: [Showing ping timings] [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Host: SystemHost [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Host Version: 3.4.1 [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Host Ping Time: 0.0 seconds [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node: DevNode [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node Ping Time: 0.002 seconds [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node Status: Initialized [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node: SystemNode [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node Ping Time: 0.002 seconds [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Node Status: Initialized [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Enterprise Deployment Health Check is now Complete with the status PASSED. [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 31 Jan 2022 21:53:44 INFO - Publishing Health Check report to the [XML format] file: E:\AMX341V8_all_Jre\administrator\3.4\samples\DeploymentHealthCheckReport_root_healthcheck_2022-01-31-215343.xml [AMXAdminTask] 31 Jan 2022 21:53:46 INFO - Health Check report file was created successfully. [AMXAdminTask] 31 Jan 2022 21:53:46 INFO - Action finished at 1/31/22 9:53 PM in 2.331 seconds BUILD SUCCESSFUL Total time: 9 seconds
The names of the Hosts used for this Enterprise Deployment Health Check execution are input from the enterprise_healthcheck_data.xml (see the following snippet):
<?xml version="1.0" encoding="UTF-8"?> <amxdata_base:Enterprise xmlns:amxdata="http://tibco.com/amxadministrator/command/line/types" xmlns:amxdata_base="http://tibco.com/amxadministrator/command/line/types_base" xmlns:amxdata_reference="http://tibco.com/amxadministrator/command/line/types_reference" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tibco.com/amxadministrator/command/line/types_base ../schemas/amxdata_base.xsd http://tibco.com/amxadministrator/command/line/types ../schemas/amxdata.xsd"> <Environment xsi:type="amxdata:Environment" name="DevEnvironment" description="Dev environment" contact="TIBCO"> <Node xsi:type="amxdata:Node" name="DevNode"/> <!--Node xsi:type="amxdata:Node" name="DevNode2"/--> </Environment> <Host xsi:type="amxdata:Host" name="SystemHost" hostType="TibcoHost" username="test" password="test" bindIP="0.0.0.0" sourceHost="SystemHost" managementUrl="service:jmx:jmxmp://localhost:36999"/> <DAA xsi:type="amxdata:DAA" description="DAA for deployment health check" location="${basedir}${file.separator}com.tibco.amf.admin.deployment.health.app.daa" /> </amxdata_base:Enterprise>
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.