Getting Runtime ActiveMatrix Administrator Information when Performing CLI Action
You can view the runtime information of ActiveMatrix Administrator and Enterprise when performing a CLI action.
Sample CLI Output
The following sample CLI output displays the runtime information of ActiveMatrix Administrator when performing
create and
install actions using CLI.
C:\Users\test\tibco-build\scripts\workflows\340V33\config.home\admin\dev-enterprise\samples>ant -f host_build.xml create install create: [AMXAdminTask] 05 Jul 2018 23:37:44 INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode [AMXAdminTask] 05 Jul 2018 23:37:44 INFO - Connecting to AMX Admin server at 'http://localhost:8120' as user 'root'. [AMXAdminTask] 05 Jul 2018 23:37:45 INFO - Executing action 'add' for 1 objects from data file 'C:\Users\test\tibco-build\scripts\workflows\340V33\config.home\admin\dev-enterprise\samples\host_data.xml' [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - TIBCO-AMX-CLI-000962: Getting entrprise information before executing action 'add' [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Admin Info: [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Time for which Admin is up: 0 days, 11 hours, 31 minutes, 31 seconds [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Time taken for Admin to start up: 02 minutes, 14 seconds [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Time taken to ping the Database: 0.001 seconds [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Time taken to ping Qin Notification Server: 14ms [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Is this Admin Qin Notification Group leader: true [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Number of Notifications processed by Admin: 643 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Number of Runtime Artifacts in Admin Staging Area: 2 (RDA files: 2, ZIP files: 0) [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Admin Entities: [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Entities Total Last Modified/Deployed On [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Environments 3 03 Jul 2018 14:37:44,008 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Hosts 1 02 Jul 2018 19:51:16,326 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Nodes 2 05 Jul 2018 12:45:29,000 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Applications 10 05 Jul 2018 12:44:18,367 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Resource Templates 21 03 Jul 2018 14:37:46,081 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Resource Instances 56 N/A [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Application Templates 4 05 Jul 2018 12:45:24,826 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Enterprise [dev-enterprise] summary : [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Number of Nodes: 2 [2 Running, 0 Not Running] [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Number of Hosts: 1 [1 Running, 0 Not Running] [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Number of Applications: 10 [10 Running, 0 Not Running, 0 Not Deployed] [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Number of ActiveMatrix Environments: 2 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Most amount of applications deployed on Node [SystemNode] ( managed by [ SystemHost]): 6 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Most amount of applications deployed in Environment [SystemEnvironment]: 6 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Most amount of Nodes managed by Host [SystemHost]: 2 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Most amount of Host running on Machine [test-t460.apac.tibco.com]: 1 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Most amount of Node running on Machine [test-t460.apac.tibco.com]: 2 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Most amount of applications deployed on Machines [test-t460.apac.tibco.com]: 10 [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - CPU and Memory are not collected. [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - --------------------------------------------------------------------------------- [AMXAdminTask] 05 Jul 2018 23:37:46 INFO - Adding Host... [AMXAdminTask] 05 Jul 2018 23:37:48 INFO - Successfully added Host 'SecondHost' [AMXAdminTask] 05 Jul 2018 23:37:48 INFO - Action finished at 7/5/18 11:37 PM in 2.204 seconds install: [AMXAdminTask] 05 Jul 2018 23:37:48 INFO - Executing action 'install' for 1 objects from data file 'C:\Users\test\tibco-build\scripts\workflows\alacarte\340V33\config.home\admin\dev-enterprise\samples\host_data.xml' [AMXAdminTask] 05 Jul 2018 23:37:48 INFO - Installing Host(s)... [AMXAdminTask] 05 Jul 2018 23:37:48 INFO - TIBCO-AMX-ADMIN-021230: Host 'SecondHost' will be installed in background thread using source TIBCO Host instance 'SystemHost' [AMXAdminTask] 05 Jul 2018 23:37:48 INFO - Action finished in Admin at 7/5/18 11:37 PM in 0.078 seconds. Waiting for runtime tasks to be finished. Action tracked in log(s) by action-id [root:Host-Install:39] [AMXAdminTask] 05 Jul 2018 23:37:49 INFO - Host Install finished successfully [AMXAdminTask] 05 Jul 2018 23:37:49 INFO - Action finished at 7/5/18 11:37 PM in 1.448 seconds BUILD SUCCESSFUL Total time: 7 seconds
Disabling Getting Runtime ActiveMatrix Administrator Information feature when Performing CLI Action
To disable the feature for all CLI actions, set the following property in the SystemNode.tra file and restart the SystemNode:
com.tibco.amx.admin.run.edhctest.on.clirun.disabled=true
To disable the feature for specific CLI actions, add the particular action in the excluded list using the following property in the SystemNode.tra file and restart the SystemNode:
com.tibco.amx.admin.run.edhctest.exclude.actions=action1,action2
Copyright © Cloud Software Group, Inc. All rights reserved.