Enabling the TIBCO Hawk Microagent
To use Hawk methods, enable the TIBCO Hawk microagent in the TIBCO BusinessEvents engine property file. You can also define the transport mode for Hawk microagent in the property file. Alternatively, you can set properties in CDD to customize TIBCO Hawk microagent as per cluster, processing unit, and agent.
- Procedure
Open the be-engine.tra property file located at BE_HOME/bin/ or the ptoject CDD for editing and add or set the following properties:
- To enable Hawk microagent, set the property to true:
Hawk.Enabled = true
- Set the property value to the installation location of TIBCO Hawk:
tibco.env.HAWK_HOME
- If you are using non-default transport parameters for TIBCO Hawk, add the following properties for setting Hawk service, network, and daemon parameters:
Hawk.Service=9999 Hawk.Network= Hawk.Daemon=
- To configure the Hawk transport, set the property to either
tibrvortibtcptransport mode.be.hawk.hma.transport
The default value is
tibrv.If you use
tibtcpmode then set the following additional properties applicable totibtcptransport mode.Property Description be.hawk.hma.tcp.self.urlSet to the IP address of an instance that is running the TIBCO BusinessEvents engine and a port number that is available:
<host_IP>:<port>For example:
localhost:2556Note: If multiple TIBCO BusinessEvents engines are running on the same machine then use separate ports for each engine. For example, if Cache1 binds to port 2571 then Inference1 can use port 2572.be.hawk.hma.tcp.agent.ami.urlSet to the Hawk Agent IP and AMI session port:
<hawk_agent_IP>:<AMI_session_port>For example:
localhost:2571be.hawk.hma.tcp.key.storeKey store file be.hawk.hma.tcp.trust.storeTrust store file be.hawk.hma.tcp.key.store.passwordPassword for the key store file be.hawk.hma.tcp.key.passwordEncrypted key password be.hawk.hma.tcp.trust.store.passwordPassword for the trust store file
Note: You can use thetibhawkpasswordutility at<HAWK_HOME>/binto encrypt the password. Use the password without double quotes. For more information, see TIBCO Hawk Installation, Configuration and Administration Guide.be.hawk.hma.tcp.ssl.protocolProtocol for a secure connection
The default value is
TLSv1.2.be.hawk.hma.tcp.enabled.algorithmsAlgorithms to be used for the security protocol
The default value is
TLS_RSA_WITH_AES_128_CBC_SHA.
.tra file located at
TIBCO_Admin_HOME/domain/domain_name/bin/tibcoadmin/: hawk.console.enabled=true