Start/Stop App servers/db batch file

Here are the 2 batch files that I use for our test environment.



Stop Batch:



@echo off

echo Stopping 8.0 Services and Database...



set DLC=e:\Epicor\OE100B

set PATH=%DLC%\BIN;%PATH%

set LIB=%DLC%\LIB;%LIB%



e:



echo .

echo .



echo STOPPING TestEnvironment DB/APPSERVER...

cd \Testenvironment\MfgSys80\db

call asbman -name TestEnvironmentProcessServer -stop

call asbman -name TestEnvironmentTaskServer -stop

call asbman -name TestEnvironment -stop

call dbman -host localhost -port 20931 -database TestEnvironment -stop





echo .

echo .

echo .

echo .

echo .



REM net stop "AdminService for OpenEdge 10.0B"



echo.

echo.



Start Batch:



@echo off

echo Starting 8.0 Services and Database...



set DLC=e:\Epicor\OE100B

set PATH=%DLC%\BIN;%PATH%

set LIB=%DLC%\LIB;%LIB%



e:



echo.

echo.



REM net start "AdminService for OpenEdge 10.0B"



echo STARTING TestEnvironment DB/APPSERVER...

cd e:\TESTENVIRONMENT\mfgsys80\db

call dbman -host localhost -port 20931 -database Testenvironment -start

call asbman -name TestEnvironment -start

call asbman -name TestEnvironmentTaskServer -start

call asbman -name TestEnvironmentProcessServer -start





echo .

echo .

echo .

echo .

echo .





Lori Gustafson

Information Resources

Precision, Inc.

763-852-6718

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Norman Hutchins
Sent: Thursday, July 31, 2008 11:46 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Start/Stop App servers/db batch file...



Does anyone have a batch file that will stop and/or start the progress
database and the app servers?

Norman

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Does anyone have a batch file that will stop and/or start the progress
database and the app servers?



Norman







[Non-text portions of this message have been removed]
You can use the bat file already created called: asbman.bat located in
the \epicor\oe101b\bin directory

--sf

--- In vantage@yahoogroups.com, "Norman Hutchins" <nhutchins@...> wrote:
>
> Does anyone have a batch file that will stop and/or start the progress
> database and the app servers?
>
>
>
> Norman
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Use "dbman" to manage the status of the database.

--sf

--- In vantage@yahoogroups.com, "Norman Hutchins" <nhutchins@...> wrote:
>
> Does anyone have a batch file that will stop and/or start the progress
> database and the app servers?
>
>
>
> Norman
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
For Application Servers:

@echo off
set DLC=c:\Epicor\OE101B
set PATH=%DLC%\BIN;%PATH%
set LIB=%DLC%\LIB;%LIB%
e:
cd \mfgdata803\Mfgsys803\db
call asbman -name MfgHist803 -start
call asbman -name MfgHist803TaskAgent -start
call asbman -name MfgHist803ProcessServer -start

Replace the part with your own and replace -start with -stop for stopping them.

For the Data Base:

@echo off
set DLC=C:\Epicor\OE101B
set PATH=%DLC%\BIN;%PATH%
set LIB=%DLC%\LIB;%LIB%
e:
cd\mfgdata803\MfgSys803\db
call dbman -host localhost -port 20931 -database MfgHist803 -start

Again replace the path with your own and replace -start with -stop for stopping the database.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of sanfranc415
Sent: Thursday, July 31, 2008 11:54 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Start/Stop App servers/db batch file...


Use "dbman" to manage the status of the database.

--sf

--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>, "Norman Hutchins" <nhutchins@...> wrote:
>
> Does anyone have a batch file that will stop and/or start the progress
> database and the app servers?
>
>
>
> Norman
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>


________________________________
DISCLAIMER:
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.


[Non-text portions of this message have been removed]