End-to-End Execution with Sample Outputs

Consider a TIBCO ActiveMatrix Enterprise with 6 Hosts and 7 Nodes, all of them are in the "running" state, and the internal HTTP Connector port is changed from 19767 to 19769.

Proceed with the internal HTTP Connector Configuration update using the command:

ant -f internal_http_connector_build.xml update.internal.http

Sample Output:

update.internal.http: 
[AMXAdminTask] 16 Jun 2017 12:34:23 INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode
[AMXAdminTask] 16 Jun 2017 12:34:23 INFO - Connecting to AMX Admin server at 'http://localhost: 8120' as user 'root'.
[AMXAdminTask] 16 Jun 2017 12:34:24 INFO - Executing action 'updateInternalHttpConnector' for 1 objects from data file 'E:\tibco_data_Admin\admin\testamxadmin\samples\internal_http_connector_data.xml'
[AMXAdminTask] 16 Jun 2017 12:34:24 INFO - Starting to update internal http connector... 
(operationID:root_InternalHttpConnectorUpdate_20170616123424)
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - Checking Hosts and Nodes for eligibility, it may a take few minutes in large setup.
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - Starting to update Internal Http Connector Template. 
(operationID :root_InternalHttpConnectorUpdate_20170616123424)
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - Current Internal Http Connector:
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - SystemNode
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - host:0.0.0.0
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - port:19767
...
...
...
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - Internal Http Connector will be updated with below details:
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - host: 0.0.0.0
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - port: 19769
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - description: This is Internal HttpConnector RT
...
...
...
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - Internal Http Connector Resource Template is updated.
[AMXAdminTask] 16 Jun 2017 12:34:25 INFO - Starting to update Internal Http Connector Resource Instance.
(operationID:root_InternalHttpConnectorUpdate_20170616123424)
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - 
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - Internal Http Connector Resource Instance is updated.
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - Keystores and Host Notification Transport Configuration need to be updated since Internal Http Connector URL has been changed.
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - Waiting for Internal Http Connector(s) to be running...
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - Internal Http Connector(s) are fully running.
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO -
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - Starting to update keystore URL for hosts.
(operationID:root_InternalHttpConnectorUpdate_20170616123424)
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - Starting Notification Transport Configuration Update for Host: 'RemoteHost4'
...
...
...
[AMXAdminTask] 16 Jun 2017 12:34:31 INFO - Waiting to complete Notification Transport Update on Host: RemoteHost3,RemoteHost1,RemoteHost2,RemoteHost,RemoteHost4
[AMXAdminTask] 16 Jun 2017 12:34:36 INFO - Notification Transport Configuration Update is completed for Host: 'RemoteHost4', '1' out of '6' hosts.
...
...
...
[AMXAdminTask] 16 Jun 2017 12:34:41 INFO - Starting to update Default Keystores. 
(operationID :root_InternalHttpConnectorUpdate_20170616123424)
[AMXAdminTask] 16 Jun 2017 12:34:41 INFO - Starting Default Keystore Update for Node: 'DevEnvironment:RemoteNode6'
...
...
...
[AMXAdminTask] 16 Jun 2017 12:34:41 INFO - Waiting to complete Default Keystore Update on Node:DevEnvironment:RemoteNode5,DevEnvironment:RemoteNode2,DevEnvironment:RemoteNode4,DevEnvironment:RemoteNode6,DevEnvironment:RemoteNode3
[AMXAdminTask] 16 Jun 2017 12:34:46 INFO - Default Keystore Update is completed for Node: 'DevEnvironment:RemoteNode5', '1' out of '8' nodes.
[AMXAdminTask] 16 Jun 2017 12:34:46 INFO - Starting Default Keystore Update for Node: 'DevEnvironment:DevNode'
...
...
...
[AMXAdminTask] 16 Jun 2017 12:34:52 INFO - Default Keystore Update is completed for Node: 'DevEnvironment:RemoteNode1', '8' out of '8' nodes.
[AMXAdminTask] 16 Jun 2017 12:34:56 INFO - Internal Http Connector Update operation is done.
[AMXAdminTask] 16 Jun 2017 12:34:56 INFO - Action finished at 6/16/17 12:34 PM in 31.684 seconds
BUILD SUCCESSFUL

The ActiveMatrix Administrator UI shows Action History as "Install Successful" for Internal HTTP Connector Resource Instance, and "Update notify transport configuration Successful" for all Hosts.

While the correct status of the Hosts is seen almost immediately, in a large scale setup containing many Hosts and Nodes, it may take some time for the ActiveMatrix Administrator UI to reflect the correct status for all the Hosts and Resource Instances.

The default Keystores on Nodes are hidden, that is, they are not shown in the Administrator UI.