Performing Notification Ping for Selected Nodes
To perform the Notification ping for selected Nodes (as detailed in the
Available Ant Targets section), specify names of the Nodes in the
enterprise_healthcheck_data.xml file and run the following command:
ant -f enterprise_healthcheck_build.xml np hns
The following is the sample output for the command:
As shown in the following output, Notification ping runs for the Nodes mentioned in the
enterprise_healthcheck_data.xml file along with Hosts managing the Nodes. You can view exactly how many entities responded to Notification ping in the CLI output. In the following sample output, all entities have replied, so result is displayed as
Received 2 out of 2 replies.
[AMXAdminTask] 9 Jan 2022 16:48:58 INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode [AMXAdminTask] 9 Jan 2022 16:48:59 INFO - Connecting to AMX Admin server at 'http://test-t470:8120' as user 'root'. [AMXAdminTask] 9 Jan 2022 16:49:00 INFO - Executing action 'checkDeploymentHealth' for 1 objects from data file 'D:\AMX_Installations\AMX_341\DATA_EDHC_Changes\admin\amxadmin\samples\enterprise_healthcheck_data.xml' [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Starting Enterprise Deployment Health Check (Invocation ID: root:healthcheck:2022-01-09-164902) CLI options in use: [ping,notificationPing] [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - XML report will be created in [D:\AMX_Installations\AMX_341\DATA_EDHC_Changes\admin\amxadmin\samples] [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - For ActiveMatrix Enterprise: amxadmin [access URL: http://test-t470:8120] [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Running Ping for below Entities [Filtered based on NODE(s) specified in the data file enterprise_healthcheck_data.xml] [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - For Environment: [Env1] [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Host [HostB] manages: [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Node(s): NodeZ [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Deployment Health Check is in progress, may take a few minutes ... [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Admin Information : [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Time taken to ping Admin: 0.007 seconds [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Host information: [Showing ping timings] [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Host: HostB [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Host Version: 3.4.1 [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Host Ping Time: 0.0 seconds [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Node: NodeZ [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Node Ping Time: 0.004 seconds [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - Node Status: Initialized [AMXAdminTask] 9 Jan 2022 16:49:02 INFO - [AMXAdminTask] 9 Jan 2022 16:49:03 INFO - Enterprise Notification ping initiated at - 9 Jan 2022 16:49:03 [AMXAdminTask] 9 Jan 2022 16:49:03 INFO - . [AMXAdminTask] 9 Jan 2022 16:49:04 INFO - Enterprise Notification ping completed in 1 seconds [AMXAdminTask] 9 Jan 2022 16:49:04 INFO - Received 2 out of 2 replies [1 Host(s) and 1 Node(s).] [AMXAdminTask] 9 Jan 2022 16:49:10 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 9 Jan 2022 16:49:10 INFO - Enterprise Deployment Health Check is now Complete with the status PASSED. [AMXAdminTask] 9 Jan 2022 16:49:10 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 9 Jan 2022 16:49:10 INFO - Publishing Health Check report to the [XML format] file: D:\AMX_Installations\AMX_341\DATA_EDHC_Changes\admin\amxadmin\samples\DeploymentHealthCheckReport_root_healthcheck_2022-01-09-164902.xml [AMXAdminTask] 9 Jan 2022 16:49:11 INFO - Health Check report file was created successfully. [AMXAdminTask] 9 Jan 2022 16:49:11 INFO - Action finished at 1/09/22 4:49 PM in 8.942 seconds
The names of the Nodes used for this Notification ping execution are input from the enterprise_healthcheck_data.xml file.
Sample
enterprise_healthcheck_data.xml:
<Environment xsi:type="amxdata:Environment" name="Env1" description="Dev environment" contact="TIBCO"> <Node xsi:type="amxdata:Node" name="NodeZ"/> </Environment>
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.