webMethods

webMethods

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.

 View Only
  • 1.  Windows batch script for startup/shutdown

    Posted Thu September 27, 2012 04:44 PM

    It’s been quite a while since I’ve worked with DOS commands. I’m trying to write a simple batch script for startup/shutdown of webMethods components. In my script, I want to determine if the webMethods database is running or not. The tricky part is that the database server is on a separate server than the webMethods IS server. Also, we have dedicated servers for some of the webMethods components (IS/TN and MWS). I want to check to see if those are running and startup/shutdown accordingly. The reason behind creating a custom batch script is that our Windows VM does a reboot of the server whenever a patch has been installed. Because our window services for webMethods are set to “Manual”, someone needs to start each of the webMethods components up. We could have the window services set to “Automatic” startup but if the wM database isn’t available, I would think IS would complain about the database when IS starts up. If someone confirms that it’s okay to set the window service as “Automatic”, then custom startup/shutdown script is not needed.


    #webMethods-Archive
    #webMethods
    #If-it-doesn-t-fit-anywhere-else


  • 2.  RE: Windows batch script for startup/shutdown

    Posted Thu September 27, 2012 06:27 PM

    My suggestion is to set the service as Automatic. For the one or two times a year (if that often) that the DB is down when IS starts, just manually restart after you hear from the DB team that the DB is up.


    #If-it-doesn-t-fit-anywhere-else
    #webMethods-Archive
    #webMethods


  • 3.  RE: Windows batch script for startup/shutdown

    Posted Thu September 27, 2012 06:56 PM

    If the DB starts up at the same time as the wM IS, wouldn’t that be a problem?


    #webMethods
    #If-it-doesn-t-fit-anywhere-else
    #webMethods-Archive


  • 4.  RE: Windows batch script for startup/shutdown

    Posted Thu September 27, 2012 07:49 PM

    Probably yes/no depends on how fast IS/db comes up and db restart pick up soon but ofcourse you will see lot of errors in the logs and it slows down the IS start up.


    #webMethods
    #If-it-doesn-t-fit-anywhere-else
    #webMethods-Archive


  • 5.  RE: Windows batch script for startup/shutdown

    Posted Thu September 27, 2012 09:54 PM

    “You will see lot of errors in the logs…” that should be okay once the database is available, right? There should be no need to restart IS again after the database is available, correct?


    #webMethods-Archive
    #webMethods
    #If-it-doesn-t-fit-anywhere-else


  • 6.  RE: Windows batch script for startup/shutdown

    Posted Fri September 28, 2012 05:14 AM

    This too seems to me to be a rare occurrence.


    #webMethods
    #If-it-doesn-t-fit-anywhere-else
    #webMethods-Archive


  • 7.  RE: Windows batch script for startup/shutdown

    Posted Fri September 28, 2012 04:32 PM

    correct:


    #If-it-doesn-t-fit-anywhere-else
    #webMethods-Archive
    #webMethods