Previous Topic: Restore the Message Queue Server Data FilesNext Topic: Changing Communication Encryption Methods


How To Synchronize the Message Queue Servers Data Files

When you work in a disaster recovery environment, it is crucial to synchronize the production and disaster recovery Message Queue Servers. Synchronizing the servers helps ensure that the data on both the production and disaster recovery Message Queue Servers is updated and, if the production servers do not function, the disaster recovery servers can continue servicing the data without interruptions.

Note: The synchronization solution is based on a third-party replication tool. Verify that the storage solution writes the data blocks to a shared storage in the same order as they occur in the data buffer. Verify that upon return from a synchronous write call, the storage solution help ensure that all the data was written to durable, persistent storage.

To synchronize the data files of the Message Queue Servers, do the following:

  1. On the production Distribution Server, set up message routing settings between the Message Queue Server and all the Message Queue Servers installed on the Enterprise Management Server.
  2. Set up message routing settings between the Message Queue Servers on the disaster recovery Distribution Servers and the disaster recovery Enterprise Management Server.
  3. Modify the queues.conf file on both the disaster recovery and production Message Queue Servers on the Enterprise Management Server and add a "fail-safe" line.

    For example:

    queue/snapshots secure,failsafe
    queue/audit secure, failsafe
    ac_endpoint_to_server secure, failsafe
    ac_server_to_endpoint secure,failsafe
    

    By default this file is located in the following directory, where ACServerInstallDir is the directory in which you installed the Enterprise Management Server:

    ACServerInstallDir/MessageQueue/tibco/cfgmgmt/ems/data
    
  4. Replicate the production Message Queue Server EMS data files on the Enterprise Management Server to the Message Queue Server on the disaster recovery Enterprise Management Server using a third-party replication tool.

    By default, the Message Queue Server EMS data files are located in the following directory, where ACServerInstallDir is the directory in which you installed Enterprise Management Server:

    ACServerInstallDir/MessageQueue/tibco/cfgmgmt/ems/data/datastore
    

    You have configured the Message Queue Servers EMS data files synchronization settings.