PeopleSoft Start and Stop Batch Scripts

The following are some simple batch scripts for Microsoft Windows I've created for my local PeopleSoft installation to start and stop the database server, application server, process scheduler and web server through services/psadmin. I like using psadmin for starting the application server/process scheduler rather than a service so you can see what is going on.

You will need to update the environment settings at the top of each script accordingly. Copy these files to your C:\Windows directory so you can launch them easily.

startps.bat

@echo off

REM Stop PeopleSoft Instance (Web/Prcs/App/DB servers)
REM Written by Praj Basnet
REM (c) 2010 PeopleSoft Wiki

REM ** Update with your environment settings **
set DatabaseService="SQL Server (MSSQLSERVER)"
set AppServerDomain=CS90
set PrcsSchedulerServer=CS90
set WebServerService="CS90-PIA"
set PeopleSoftSignOn="http://localhost/psp/ps/?cmd=login"

echo.
echo Starting database server
echo.
net start %DatabaseService%

echo.
echo Starting application server
echo.
start /wait /D%PS_HOME%\appserv psadmin.exe -c boot -d %AppServerDomain%

echo.
echo Starting process scheduler
echo.
start /wait /D%PS_HOME%\appserv psadmin.exe -p start -d %PrcsSchedulerServer%

echo.
echo Starting web server
echo.
net start %WebServerService%

echo.
echo PeopleSoft has been started. Wait at least a minute before continuing to signon page.
echo.
pause

explorer.exe %PeopleSoftSignOn%

stopps.bat

@echo off

REM Stop PeopleSoft Instance (Web/Prcs/App/DB servers)
REM Written by Praj Basnet
REM (c) 2010 PeopleSoft Wiki

REM ** Update with your environment settings **
set WebServerService="CS90-PIA"
set PrcsSchedulerServer=CS90
set AppServerDomain=CS90
set DatabaseService="SQL Server (MSSQLSERVER)"

echo.
echo Stopping web server
echo.
net stop %WebServerService%

echo.
echo Stopping process scheduler
echo.
start /wait /D%PS_HOME%\appserv psadmin.exe -c stop -d %AppServerDomain%

echo.
echo Stopping application server
echo.
start /wait /D%PS_HOME%\appserv psadmin.exe -p shutdown -d %PrcsSchedulerServer%

echo.
echo Stopping database server service
echo.
net stop %DatabaseService%

echo.
echo PeopleSoft has been stopped
echo.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License