Ping TIBCO ActiveMatrix Nodes and Hosts for Select Environments
To ping Hosts and Nodes associated with selected Environments (as detailed in the Available Ant Targets section), you can run the following command:
ant -f enterprise_healthcheck_build.xml do.ping health.envs
Below is a sample output for the command:
Ping TIBCO ActiveMatrix Nodes and Hosts for Select Environments
[AMXAdminTask] 31 Jan 2022 21:52:50 INFO - Running Ping for below Entities [Filtered based on ENVIRONMENT(s) specified in the data file enterprise_healthcheck_data.xml] [AMXAdminTask] 31 Jan 2022 21:52:50 INFO - For Environment: [DevEnvironment] [AMXAdminTask] 31 Jan 2022 21:52:50 INFO - Host [SystemHost] manages: [AMXAdminTask] 31 Jan 2022 21:52:50 INFO - Node(s): DevNode [AMXAdminTask] 31 Jan 2022 21:52:50 INFO - [AMXAdminTask] 31 Jan 2022 21:52:50 INFO - Deployment Health Check is in progress, may take a few minutes ... [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Admin Information : [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Time taken to ping Admin: 0.012 seconds [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Host information: [Showing ping timings] [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Host: SystemHost [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Host Version: 3.4.1 [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Host Ping Time: 0.001 seconds [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Node: DevNode [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Node Ping Time: 0.003 seconds [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Node Status: Initialized [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Enterprise Deployment Health Check is now Complete with the status PASSED. [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 31 Jan 2022 21:52:51 INFO - Publishing Health Check report to the [XML format] file: E:\AMX341V8_all_Jre\administrator\3.4\samples\DeploymentHealthCheckReport_root_healthcheck_2022-01-31-215250.xml [AMXAdminTask] 31 Jan 2022 21:52:52 INFO - Health Check report file was created successfully. [AMXAdminTask] 31 Jan 2022 21:52:52 INFO - Action finished at 1/31/22 9:52 PM in 2.385 seconds BUILD SUCCESSFUL Total time: 9 seconds
The names of the Environments 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.