How to set unique JMX monitoring ports when running multiple inference engines

How to set unique JMX monitoring ports when running multiple inference engines

book

Article ID: KB0073500

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.6

Description

We deploy multiple inference engines on the same machine through TIBCO Administrator. How can we configure a unique JMX monitoring port for each inference agent?

Issue/Introduction

Discusses the preferred approach for setting the JMX port via a global variable (which may be overridden in the TIBCO Administrator web interface).

Environment

All Supported Platforms

Resolution

1. Create a Global Variable named JMXPort, and select the "service settable" option.  Assign a default value (e.g. 9001).
2. Add the CDD property be.engine.jmx.connector.port, and make it settable via the JMXPort Global Variable:
 be.engine.jmx.connector.port=%%JMXPort%%
3. After uploading the EAR in TIBCO Administrator, go to the Edit Service Instance screen and select the Advanced tab.  Here, you can assign a unique value for the JMXPort Runtime Variable:
User-added image