Documente Academic
Documente Profesional
Documente Cultură
Fault Tolerance
c:\tibco\ems\bin\Backup\
users=c:\tibco\ems\bin\Backup\users.conf
groups=c:\tibco\ems\bin\Backup\groups.conf
topics=c:\tibco\ems\bin\Backup\topics.conf
queues=c:\tibco\ems\bin\Backup\queues.conf
acl_list=c:\tibco\ems\bin\Backup\acl.conf
factories=c:\tibco\ems\bin\Backup\factories.conf
routes=c:\tibco\ems\bin\Backup\routes.conf
bridges=c:\tibco\ems\bin\Backup\bridges.conf
transports=c:\tibco\ems\bin\Backup\transports.conf
tibrvcm=c:\tibco\ems\bin\Backup\queues.conf
durables=c:\tibco\ems\bin\Backup\durables.conf
Load balancing :
This topic deals with configuring both Primary and Load Balanced Server
Note:All the parameters will be in Bold and Italic that you are going to use for Load
Balancing
Configuring Primary Server
In this we are going to use 3 files which are given below for configuring Primary
server
1) tibemsd.conf
2) routes.conf
3) factories.conf
# and server are on the same computer. You will need to replace
# 'localhost' below with the the appropriate hostname of the machine
# where the server is running.
Add the following parameters, these parameters are not there in the file
[LBTopicConnectionFactory]
url=tcp://7222|tcp://7144 (From the above note actual production scenario use
url=tcp://Machine1:7222|tcp://Machine2:7144)
metric=connections
[LBQueueConnectionFactory]
url=tcp://7222|tcp://7144 (From the above note actual production scenario use
url=tcp://Machine1:7222|tcp://Machine2:7144)
metric=connections
Save and exit the configuration file
Configuration of Load Balanced server for primary
server
Create LB Directory in c:\tibco\ems\bin
Create datastore2 Directory in c:\tibco\ems\bin\LB
Copy the *.conf files from c:\tibco\ems\bin
to
c:\tibco\ems\bin\LB (only the
configuration files)
Copy the datastore files from c:\tibco\ems\bin\datastore to
c:\tibco\ems\bin\LB\datastore2 (There would be 3 files)
Note: From Now on we will work in LB Directory
The 2 files that we are going to use for Load Balancing server is tibemsd.conf and
routes.conf files
open the file c:\tibco\ems\bin\LB\tibemsd.conf set the below parameteres with
appropriate values
server=Ems-server2
Listen=tcp://7144
users=c:/tibco/ems/bin/LB/users.conf ( Note:or go for this path "\" if the other
doesn't work)
groups=c:/tibco/ems/bin/LB/groups.conf
topics=c:/tibco/ems/bin/LB/topics.conf
queues=c:/tibco/ems/bin/LB/queues.conf
acl_list=c:/tibco/ems/bin/LB/acl.conf
factories=c:/tibco/ems/bin/LB/factories.conf
routes=c:/tibco/ems/bin/LB/routes.conf
tibrvcm=c:/tibco/ems/bin/LB/tibrvcm.conf
durables=c:/tibco/ems/bin/LB/durables.conf
store=c:/tibco/ems/bin/LB/datastore2
Note:The reason why we are giving this path in LB Server is because the tibemsd
application knows where to look for the files when you execute tibemsd in primary
server, but for LB Sever tibemsd application is in bin and the files for that are in
different folder.
Open routes.conf file from location c:\tibco\ems\bin\LB\routes.conf
Go to the bottom of the file and modify them as below if anything is there or add it if
it is not there (Reason for this is we just copied the files that have been chaned for
primary server)
[EMS-SERVER1]
url=tcp://7222(This value sould be of primary server listen port)
zone_name=default_mhop_zone
zone_type=mhop
Save and exit the file