Salesforce

Database and AdminServer not shutting down when rebooting a Windows 10 machine

« Go Back

Information

 
TitleDatabase and AdminServer not shutting down when rebooting a Windows 10 machine
URL NameDatabase-and-AdminServer-not-shutting-down-when-rebooting-Windows-10-machine
Article Number000158892
EnvironmentProduct: OpenEdge
Version: 11.x, 12.x
OS: Windows 10, Windows Server
Question/Problem Description
AdminServer and managed resources do not shut down when rebooting a Windows 10 machine
OpenEdge AdminService set to "Manual start" is starting automatically after restarting Windows 10 machine
Do we still need to stop the databases before rebooting or does the AdminService handle all of that now?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause

 
Resolution
Typically only stopping the AdminService before rebooting, will show as 'not running' as soon as it has sent the stop request to the AdminServer process (java.exe)
  • The AdminServer then needs to terminate managed resources and disconnect from running databases, this has not changed.
  • Before rebooting the machine, managed databases need to be stopped because these will always and have always remained running (dbman -stop -all, proshut dbname -by -shutdownTimeout)
    then stop the AdminServer (proadsv -stop, which does auto-stop all appservers unless the -keepservers flag is configured ) 
  • Assuming the 'not running' state of the AdminService, does not imply resources have shut down and consequent repercussions when the machine re-starts are often exacerbated when the restart is tied to software updates.
Since circa Windows 10+, all "Server reboot" is a little context-sensitive with respect to how Windows Power Options are configured specifically in relation to when the "Fast Startup" feature is turned on, which is similar to the Fast Boot feature in preceeding Windows 8.
  • This can result in not shutting down AdminServer and managed Databases, as when "Turn on fast startup" is enforced - the system does not actually shutdown when rebooted.
  • To Disable the "Fast Startup" feature to shutdown the Windows machine completely:
Control panel > Power options > Choose what the power buttons do > Shutdown settings > uncheck the "Turn on fast startup" Option

The Windows Fast Startup feature also affects shudown and restart actions. For further information refer to Article:
Workaround
Notes
Keyword Phrase
Last Modified Date10/2/2020 11:19 AM

Powered by