Jump to content

What is the use of sync.db, async.db and meta.db files in TIBCO EMS


Manoj Chaurasia

Recommended Posts

Hi Friends,

 

What is the use of sync.db, async.db and meta.db files in TIBCO EMS

 

In TIBCO BW faultolerance, when primary server get down then secondary sever will do all the activities of the primary server based on heartbeat signal.

 

But where those message will store when primary server fails

 

Thanks

Santhosh S

Link to comment
Share on other sites

Hi Santosh,

 

I have already answered to the question

 

If your both the servers are in the same machine then we should point to the same datastore location in both tibemsd.conf file

store = "TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore"

 

If your both the server are in different machine then its always advised to use db based storage.

Link to comment
Share on other sites

  • 2 years later...

Hi Santosh,

 

all the above files are used to store the persistent message and all the files gets created autometically.

By default the persistent message are writen asynchronously in async.db file.

to make the persistent message writen to synch.db we need to add the mode=sync in stores.conf file as shown below:

[$sys.failsafe]

type=file

file=sync.db

mode=sync

file_crc=disabled

file_truncate= true

 

also we need to add the property to the queue like

addprop queue Q1 store=$sys.failsafe

 

meta.db writes the server writes state information about durable subscribers, fault-tolerant connections, and other metadata in this store.

 

If your both the servers are in the same machine then we should point to the same datastore location in both tibemsd.conf file

store = "some common location"

 

If your both the server are in different machine then its always advised to use db based storage.

 

Regards,

Shamim

Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...