Governance Control deployment fails with the error, "Failed to resolve agent instance on host ;Host; node ;Node;".

Governance Control deployment fails with the error, "Failed to resolve agent instance on host ;Host; node ;Node;".

book

Article ID: KB0092433

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Policy Director -
Not Applicable -

Description

Description:
After deleting Governed Objects and doing synchronization, sometimes Governance Control (GC) deployment fails with the error, "Failed to resolve agent instance on host <Host> node <Node>".
Symptoms:
GC deployment fails with the error, "Failed to resolve agent instance on host <Host> node <Node>" and GC goes into 'Deploy Error' state.

Cause:
This is caused by AgentInstance objects not getting synchronized by the synchronization operation.

Resolution

To resolve the issue, the AgentInstance objects need to be synchronized. Follow the steps below:

1). Go to http://<AMX Admin host>:<AMX Admin port>/amxadministrator/viewdata.jsp?objectType=Application&epackagename=AdminmodelPackage

2). Under 'NodeApplication objects', look for the nodes that need to be fixed (look for the node name in 'url' column) and note the corresponding IDs.

3). Download the attached files (Filenames: govobj_build.xml, govobj_syncAdd.xml, remote_props.properties and ogp-cli.properties) to a temporary directory on the AMX Admin machine.

4). Edit the file govobj_syncAdd.xml. There should be one <govobj:GovernedObjectSync> entry for each node that you want to fix. The ID attribute should be set to the ID that you noted down in step 2.

5). Edit the file ogp-cli.properties and update TIBCO_HOME .

6). From the temp directory, run the following command:

    ant -f govobj_build.xml syncadd

Issue/Introduction

Governance Control deployment fails with the error, "Failed to resolve agent instance on host ;Host; node ;Node;".

Attachments

Governance Control deployment fails with the error, "Failed to resolve agent instance on host ;Host; node ;Node;". get_app