appworx nutshell:

netbanker發表於2007-09-18


when change of fail-over host:

change the entry accordingly

$ pwd
/u01/home/aw/site

$ cat sosite
# Copyright 1992-2003 AppWorx Corporation
# All Rights Reserved
SQLOPER_HOME=/u01/home/aw;export SQLOPER_HOME
AW_HOME=/u01/home/aw;export AW_HOME
AWWEB_HOME=/u01/home/aw;export AWWEB_HOME
SO_OPERATOR=BWPRD-FO;export SO_OPERATOR
. $AW_HOME/bin/sqloper.ini
# End of system maintained section

$ cat awenv.ini
[default]
AWCOMM_PORT=2136
Master=SVRPAW
Master_Ip_Address=svrpaw
Agent=BWPRD-FO
AgntMgr=No
OsType=UNIX
[Install]
remove_links=No


agent start:
startso awtcpd


server start:


ORACLE_HOME=/oracle/product/10.2.0
ORACLE_SID=
TWO_TASK=pawx
TNS_ADMIN=/oracle/product/10.2.0/network/admin
START APPWORX
apachectl start
startso awtcpd
startso rmi
startso

STOP APPWORX
apachectl stop
stopso awtcpd
stopso rmi
stopso
ps -ef|grep aw|grep -v grep|grep -v ksh|cut -c10-14
to restart, you may need to clean log and status directories

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/67/viewspace-969826/,如需轉載,請註明出處,否則將追究法律責任。