Weblogic and Component(OVD/OID/Web) start, stop和restart

liuf19780320發表於2012-02-01
---parameter setup

unset LANG
export MW_HOME=/prod/applcsf/fs/fmw
export WL_HOME=/prod/applcsf/fs/fmw/wlserver_10.3
export WLS_HOME=/prod/applcsf/fs/fmw/wlserver_10.3
export IDM_ORACLE_HOME=/prod/applcsf/fs/fmw/idm
export IAM_ORACLE_HOME=/prod/applcsf/fs/fmw/iam
export SOA_ORACLE_HOME=/prod/applcsf/fs/fmw/soa
export WEB_ORACLE_HOME=/prod/applcsf/fs/fmw/wt
export ORACLE_HOME=$IAM_ORACLE_HOME
export ORACLE_INSTANCE=/prod/applcsf/fs/fmw/admin/ovd_inst1
export JAVA_OPTIONS=-DDomainRegistrationEnabled=true
export JAVA_HOME=/prod/applcsf/fs/jrockit
export PATH=/prod/applcsf/fs/jrockit/bin:$PATH:.

---start weblogic

cd /prod/applcsf/fs/fmw/wlserver_10.3/server/bin; ./startNodeManager.sh &
cd /prod/applcsf/fs/fmw/admin/IDMDomain/aserver/IDMDomain/bin; ./startWebLogic.sh
cd /prod/applcsf/fs/fmw/oracle_common/common/bin; ./wlst.sh

nmConnect('admin','lf0320tcsge','adminvhn','5556','IDMDomain','/prod/applcsf/fs/fmw/admin/IDMDomain/aserver/IDMDomain')
nmStart('AdminServer')

---register component

$ORACLE_INSTANCE/bin/opmnctl registerinstance -adminHost ADMINVHN.customer.com -adminPort 7001 -adminUsername weblogic

---start component

$ORACLE_INSTANCE/bin/opmnctl status -l
$ORACLE_INSTANCE/bin/opmnctl startall
$ORACLE_INSTANCE/bin/opmnctl stopall
opmnctl startproc process-type=OHS
opmnctl stopproc process-type=OHS[@more@]

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

相關文章