Consultor Eletrônico



Kbase P179385: How to shut down the Database and Adminserver on Windows 2008 when the system is restarted
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/7/2011
Status: Unverified

GOAL:

How to shut down the Adminserver on Windows 2008 when the system is restarted

GOAL:

How to shut down the database on Windows 2008 when the system is restarted

GOAL:

Is there a way to shutdown the Adminserver when the system restarts?

GOAL:

Is there a way to shutdown the database when the system restarts?

FACT(s) (Environment):

Windows Server 2008
OpenEdge 10.x

FIX:

1. create a StopDB.bat file which runs:

dbman -database sports -stop
(assuming you have a Sports database set up and registered in Progress Explorer)



NET STOP "AdminService for OpenEdge 10.2B" <<put in your version of the Adminserver here

2.Then set up StopDB.bat in the shutdown script for the windows group policy editor:

Run gpedit.msc

Under Local Computer Policy -> Computer Configurations -> Windows Settings -> Scripts (startup/Shutdown).
Doubleclick on Shutdown in the right hand pane to go to the properties dialog.
Click Add to add your bat file in the Script Name field.

NOTE: Make sure the Adminserver is started using the Administrator account or an account in the
Administrator group as the System account will not work when using this group policy editor method of Adminserver shutdown (a bug has been logged for this).