How to configure as-hawk-micro-agent for metaspace.
book
Article ID: KB0089880
calendar_today
Updated On:
TIBCO ActiveSpaces
|
-
|
Not Applicable
|
-
|
Description
Description:
When you try to connect the as-hawk-micro-agent to Hawk, it fails to come up in the Hawk Display or fails to connect.
Symptoms:
1). ActiveSpaces Hawk Micro Agent does not come up in the Hawk Display.
2). ActiveSpaces Hawk Micro Agent fails to establish a connection to Hawk.
Cause:
1). Start up 3 as-agents on 3 machines.
2). Start the as-hawk-agent.jar with a shell script containing the data.
#!/bin/sh
cd /opt/tibco/as/2.1/lib
export TIBCO_AS_HOME=/opt/tibco/as/2.1
export TIBCO_RV_HOME=/opt/tibco/tibrv/8.4
export TIBCO_HAWK_HOME=/opt/tibco/hawk/4.9
export LD_LIBRARY_PATH=$TIBCO_AS_HOME/lib:$TIBCO_RV_HOME/lib/64:$TIBCO_RV_HOME/lib:$LD_LIBRARY_PATH
java -Djava.ext.dirs=$TIBCO_RV_HOME/lib/64:$TIBCO_RV_HOME/lib:$TIBCO_HAWK_HOME/lib -jar -verbose as-hawk-agent.jar -metaspace woywoy_ascluster -discovery 'tcp://10.97.70.120:15100' -listen 'tcp://10.97.70.120:15190'
Issue/Introduction
How to configure as-hawk-micro-agent for metaspace.
Resolution
Add the following parameters when starting up as-hawk-agent.jar:
-hawk_rv_service '7474' -hawk_rv_network '10.97.70.120' -hawk_rv_daemon 'tcp:7474'
to make it something as follows:
java
-Djava.ext.dirs=$TIBCO_RV_HOME/lib/64:$TIBCO_RV_HOME/lib:$TIBCO_HAWK_HOME/lib
-jar -verbose as-hawk-agent.jar -metaspace woywoy_ascluster -discovery
'tcp://10.97.70.120:15100' -listen 'tcp://10.97.70.120:15190'
-hawk_rv_service '7474' -hawk_rv_network '10.97.70.120' -hawk_rv_daemon
'tcp:7474'
Feedback
thumb_up
Yes
thumb_down
No