Appendix A. Configuration files and scripts 379
-a N\
-m 300
A.5.4 was_start_tec_adapter.sh
This script in Example A-25 is used to start the TEC adapter executing on an
IWSApplicationServer object.
Example: A-25 was_start_tec_adapter.sh
#!/bin/sh
# Usage: ./was_start_tec_adapter.sh IWSApplicationServer
if [ $# -ne 1 ] ; then
echo “Usage: ./was_start_tec_adapter.sh IWSApplicationServer”
echo “Example: ./was_start_tec_adapter.sh
AppSvr@<nodeName>@<cellName>@<serverName>”
exit 1
fi
SERVER=$1
wruntask -t Start_WebSphere_TEC_Adapter \
-l “WebSphere Event Tasks” \
-h @IWSApplicationServer:$SERVER \
-m 300
A.5.5 was_stop_tec_adapter.sh
This script Example A-26 is used to stop the TEC adapter executing on an
IWSApplicationServer object.
Example: A-26 was_stop_tec_adapter.sh
#!/bin/sh
# Usage: ./was_stop_tec_adapter.sh IWSApplicationServer
if [ $# -ne 1 ] ; then
echo “Usage: ./was_stop_tec_adapter.sh IWSApplicationServer”
echo “Example: ./was_stop_tec_adapter.sh
AppSvr@<nodeName>@<cellName>@<serverName>”
exit 1
fi
SERVER=$1

Get Implementing a Tivoli Solution for Central Management of Large Distributed Environments now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.