Fault Tolerance In EMSx - TIBCOmmunity

slateobservantΔίκτυα και Επικοινωνίες

26 Οκτ 2013 (πριν από 4 χρόνια και 17 μέρες)

120 εμφανίσεις

Confidential | Copyright © Larsen & Toubro Infotech Ltd.

Steps to configure
tibemsd

config

file in Primary and
Secondary EMS servers

.




A) Configuring the Primary server:Open the tibemsd config file



and give the server name ( As you wish) for



Eg
:
server = EMS
-
SERVER_TIBC


B) Next we need to configure the Listen port in tibemsd file.


Eg
: listen = tcp://<ip>:<port>


Eg
: listen = tcp://172.28.5.113:7776


C) Next configure the ft_active port in the file.


Eg
: ft_active =
tcp
<IP of Backup server>:<Secondary Listen Port>


ft_active = tcp://172.28.5.122:7222


And vice versa for tibemsd file of Secondary server but EMS server name should
remain same as Primary sever.

Make sure you save the tibemsd file and restart the EMS server for changes to reflect in
tibemsd file
.



1

Confidential | Copyright © Larsen & Toubro Infotech Ltd.

Steps to configure data store file in Secondary
sever
.





A) Open the
datastore

folder in Primary server and copy the same files to
datastore

folder of Secondary server and replace all files of Secondary server.


Files to copy:
async
-
msgs
,
logfile
, meta & sync
-
msgs
.


Once all this is done, open the Designer open an JMS connection, and enable the “Use
Shared JNDI Configuration”


and enter the server
urls

in Provider URL box.


tcp://<IP of Primary>:<Port of Primary>,tcp://<IP of Secondary>:<Port of Secondary>


Eg
: tcp://172.28.5.122:7222,tcp://172.28.5.113:7776


Now start EMS servers in Both machines, Now bring down Primary server and monitor
the Secondary server Status in Command promt.Now in Designer do a Test Connection
for JMS and it should be successful.

2