WSCP script to start WebSphere AppServer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | echo off
:: call tcl script to start WebSphere App Servers
echo ****************************************
echo * start servers on %computername%
echo ****************************************
call wscp -p c:\scripts\websphere\wscp_properties.txt ^
-f c:\scripts\tcl\startservers.tcl
-----------------------------------------------------------------------
startservers.tcl
#
# start WebSphere AppServer
#
source c:\\SCRIPTS\\tcl\\showserverstatus.tcl
foreach server [ApplicationServer list] {
puts "\n*******start SERVER $server\n"
catch {ApplicationServer start $server}
}
showServerStatus
|
Automate app server startup.