Available Ant Targets
Ant Targets available in the
enterprise_healthcheck_build.xml build file, are explained in this section.
Main Targets
Main targets help you pick and choose what ActiveMatrix Service Grid entities to run Enterprise Deployment Health Check against. You must pick one of these targets to run Enterprise Deployment Health check.
Target Name (abbreviated names in parenthesis) | Description |
---|---|
health.ent (he) |
|
health.envs (hes) |
|
health.hosts (hhs) |
|
health.nodes (hns) |
|
Options Targets
Options targets helps you decide what kind of operation to perform.
Target Name (abbreviated names in parenthesis) | Description |
---|---|
get.adminMetaData (gamd)
|
|
get.adminInfo (gai)
|
|
get.adminHostInfo (gahi)
|
|
do.ping (dp)
|
|
test.deploy (td)
|
|
notification.ping (np)
|
|
Report Targets
Report targets help you set various options for the generation of the report file.
Target Name (abbreviated names in parenthesis) | Description |
---|---|
report.none (rn) | When Enterprise Deployment Health Check is run with this option, no report file is created at the end of health check execution. |
report.JSON (rj) | When Enterprise Deployment Health Check is run with this option, the report file created at the end of health check execution is in JSON format. |
report.XML (rx) | When Enterprise Deployment Health Check is run with this option, the report file created at the end of health check execution is in XML format (the XSD Schema for this XML report can be found in TIBCO_HOME/administrator/<version>/samples/EnterpriseHealthCheck/reportSchema). |
Note:
- Abbreviated target names are also valid targets. For example, you can use "
dp
" to invoke the "do.ping
" target. In the above tables, abbreviated target names are mentioned in parenthesis. - You can get the same information as above while running Ant script, via the
help
target. That is:ant -f enterprise_healthcheck_build.xml help
- By default, the report is created in the same directory as the location from where Enterprise Health Check Ant script is executed. To change this, you can edit the AMXAdminTask “options” in the
enterprise_healthcheck_build.xml file and update the
reportDir
attribute to include the required directory for the report. - By default, Enterprise Deployment Health Check is enabled for the TIBCO ActiveMatrix Enterprise. You can disable Enterprise Deployment Health Check by setting the TRA property
com.tibco.amx.admin.deployment.HealthCheck
tofalse
in the SystemNode TRA file followed by SystemNode restart:java.property.com.tibco.amx.admin.deployment.HealthCheck=false
If the TIBCO ActiveMatrix Administrator is replicated, the TRA property must be set in both the SystemNode TRA files and both SystemNodes must be restarted.