Vous êtes sur la page 1sur 2

TIBCO Enterprise Messaging Service

Multi Daemon Setup.


~ Abhisaar Markan Technical Architect

Multiple Tibco EMS daemon on a host system.


TIBCO Enterprise Message Service is a standards-based enterprise messaging platform offered by TIBCO. It is increasingly becoming the normative messaging platform for Tibco based Integration landscapes for SOA / EDA or EAI solutions. Discussed below is a quick approach to configure and run more than one EMS servers (read daemons) on the same machine, thereby reducing hardware needs. Some situations where this can be helpful are: Testing Fault tolerance: Most of the messaging servers are run in fault tolerant mode, but in Production environment. For Testing phase, on UAT or SIT machines, multiple EMS servers can be configured to run to satisfactorily test out the fault-tolerant capability of the solution. Load Balancing: Testing of non functional requirement like performance, throughput, load balancing on non-production machines by enabling multi-EMS servers. Separating Batch & Transactional messages: For implementing the pattern of Transactional ESB and an Batch ESB, separating operational data message flows and batch sync data flows, two different EMS daemons can be used. This will enable refined tweaking of the properties and performance of the Transactional ESBs EMS server and Batch ESBs EMS server independently. Running multiple versions of EMS product or different server properties (like :secure /non secure, storage media/location etc) can be done on same machine.

Here is the quick procedure:1) Create a fresh folder called Tibco\EMS\<version>\EMS-SERVER-2 2) From <Tibco>\ems\<version>\bin folder copy configuration file tibemsd.conf to the new folder EMS-SERVER-2 3) In the folder EMS-SERVER-2 edit the tibemsd.conf file server = EMS-server-2 listen = tcp://9999 4) In the folder EMS-SERVER-2 , create a startEMS2.bat file with the following commands echo on <Tibco>\ems\<version>\bin\tibemsd -config "<Tibco>\ems\<version>\EMS-SERVER2\tibemsd.conf" pause 5) Run the startEMS2.bat to start the EMS-SERVER-2 daemon. This will create the Users.conf , factories.conf and other EMS server configuration files. 6) If needed the config files can be directly edited for customizing server properties. 7) You can now create Windows service out of this using the command SC Create Emsntsrg cannot be used to create the windows service since it creates only 1 instance of tibemsd or tibemsmcd service.

Vous aimerez peut-être aussi