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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Ping DB service

    Posted 07/30/21 09:51 AM

    We are using a pub/sub model to insert the records in a database. if DB is down is for a min, then the wM’s trigger is going to be suspended. So i want to add a ping DB service in resource monitoring service.

    Could you please help me on how to implement the pingDB service in resource monitoring service to check if DB is up&running or not.

    Thanks in Advance…!!!


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


  • 2.  RE: Ping DB service

    Posted 07/30/21 10:10 AM

    A ping will only check if the VM (i.e., machine) is up, but not the database application.

    You can write an adapter service that performs a “select * from DUAL” query for Oracle, or any other simple equivalent query in other databases. Wrap this in a flow service that follows the Resource Monitoring principles/specification, et voila, you are done.

    Resource Monitoring requirements are documented in the Publish Subscribe Developers Guide (link).

    KM


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


  • 3.  RE: Ping DB service

    Posted 07/30/21 10:19 AM

    Thanks @Venkata_Kasi_Viswanath_Mugada1 … for your help…!!!

    we are using MS SQL Server as DB, so i’ll do “SELECT 1” if the query runs successfully fine, if not i’ll retry for that…


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


  • 4.  RE: Ping DB service

    Posted 07/30/21 10:59 AM

    That should work, Sunil - it can even be a select query on your custom table; whatever works for you.

    KM


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