IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Creation of secondary Database

  • 1.  Creation of secondary Database

    Posted Thu February 06, 2020 10:55 AM

    Hello everyone,

    We have a requirement to create another database on different server so that in case of any issue on primary database, we can switch to secondary database without loss of data.

    Primary Server: frhdstdrpov05.main.glb.corp.local
    Secondary Server: frhdclyrpov04.main.glb.corp.local
    Database Service Name: HRM800P_DG

    For this, DB team has created the database on another server and synced it with the primary database. They have also created a database service on each database(say HRM800P_DG) and shared the configuration string with us to configure it at our end. Below is the configuration string-

    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=frhdstdrpov05.main.glb.corp.local)(PORT=1524))(ADDRESS=(PROTOCOL=TCP)(HOST=FRHDCLYRPOV04.main.glb.corp.local)(PORT=1524))(LOAD_BALANCE=yes)(FAILOVER=on)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=HRM800P_DG)))

    Only one server will be active at one time, and when required, DB team will do the switching at their end.

    Could anyone please help me what all places I have to update this string. Few places that I have identified are-

    1. All the JDBC adapters connection strings
    2. MWS config file (mws.db.xml)
    3. All the Pool alias definitions which are connnecting to this database

    Any other files/setting i need to modify?

    Thanks in advance,
    Prateek


    #webMethods-io-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Creation of secondary Database

    Posted Fri February 07, 2020 09:04 AM

    Hi Prateek,

    when you are using Optimize you will have to reconfigure the database connections for this in MWS CentralConfiguration, redeploy the environments and restart these.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-io-Integration