Stop and start Appian gracefully when a server is restarted

Has anyone found a way to make Appian shut down and start up automatically and gracefully when a server is restarted? I'd love to make the Windows services set to Automatic so they can be somewhat self-healing (particularly when server patching happens in the middle of the night), but I don't how to do it so that the application server doesn't try starting up until the engines are ready. Any ideas/solutions out there?...

OriginalPostID-116556

OriginalPostID-116556

  Discussion posts and replies are publicly visible

Parents
  • Hi Jordan,

    Appian already has a provisioning to handle unexpected Server Restarts.

    You need to setup your Appian Services with Quick Stop Service Installation. For more information, please review the following Documentation:
    forum.appian.com/.../Installing_Appian_as_a_Windows_Service.html

    Note that when you set up Appian with QS (Quick Stop), you need to use the stop-suite.bat file to stop the Engines if you need properly check-pointed Engine Database Files (KDB's) that are required during upgrades / data back-loads, as the QS will not check-point the KDB's, but simple stop the GW's.

    Also, keep in mind that since the Engine Database Files (KDB's) are not check pointed when the Service Stops, the Appian Engines will need to replay the transactions, once they are brought back up. As a result, bringing the engines back up might take slightly longer than usual, depending on the number of transactions each Engine has to replay.

    Hope this helps!
Reply
  • Hi Jordan,

    Appian already has a provisioning to handle unexpected Server Restarts.

    You need to setup your Appian Services with Quick Stop Service Installation. For more information, please review the following Documentation:
    forum.appian.com/.../Installing_Appian_as_a_Windows_Service.html

    Note that when you set up Appian with QS (Quick Stop), you need to use the stop-suite.bat file to stop the Engines if you need properly check-pointed Engine Database Files (KDB's) that are required during upgrades / data back-loads, as the QS will not check-point the KDB's, but simple stop the GW's.

    Also, keep in mind that since the Engine Database Files (KDB's) are not check pointed when the Service Stops, the Appian Engines will need to replay the transactions, once they are brought back up. As a result, bringing the engines back up might take slightly longer than usual, depending on the number of transactions each Engine has to replay.

    Hope this helps!
Children
No Data