How to register BusinessEvents Enterprise Administrator Agent (BE-TEAgent) with hostname instead of IP-address

How to register BusinessEvents Enterprise Administrator Agent (BE-TEAgent) with hostname instead of IP-address

book

Article ID: KB0074883

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.x

Description

By default BE-TEAgent uses the IP-address for the TEA-Server registration.
e.g. http://192.168.56.12:9777/beTeaAgent 

With this configuration, when the IP-address of the machine that BE-TEAgent running is modified, the BE-TEAgent is then unavailable.

Issue/Introduction

Register BE-TEAgent with hostname instead of IP-address

Environment

All Operating Systems

Resolution

To Avoid the issue, you may configure the BE-TEAgent using hostname for registration.
To configure BE-TEAgent and use the hostname for the registration, open configuration file %BE_HOME%/teagent/config/be-teagent.props before start BE-TEAgent first time and add property:

 
be.tea.agent.host=<hostname>


Note:
When the BE-TEAgent has been registered with IP-address already, you have two options to modify the settings:
1.)
Unregister and register agent with modified URL (BE-TEAgent started already)
Registration:
Agent Name: BE
Agent URL: http://<url>:<port>/beTeaAgent (e.g. http://testmachine:9777/beTeaAgent)
Description: BE-TEA-Agent


2.)
Delete the registration and restart BE-TEAgent with updated configuration file.