编辑ORACLE EBS的启动和停止脚本
ERP启动和关闭脚本
start.sh
su - oravis -c "/u01/vis/db/tech_st/10.2.0/appsutil/scripts/VIS_ebs/addbctl.sh start"
su - oravis -c "/u01/vis/db/tech_st/10.2.0/appsutil/scripts/VIS_ebs/addlnctl.sh start VIS"
sleep 10
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adalnctl.sh start"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adapcctl.sh start"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adoacorectl.sh start"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adformsctl.sh start"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adcmctl.sh start apps/apps"
######################################################
stop.sh
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adcmctl.sh stop apps/apps"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adformsctl.sh stop"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adoacorectl.sh stop"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adapcctl.sh stop"
su - applvis -c "/u01/vis/inst/apps/VIS_ebs/admin/scripts/adalnctl.sh stop"
sleep 120
kill -9 `ps -ef|grep applvis|grep -v grep|awk '{print $2}'`
su - oravis -c "/u01/vis/db/tech_st/10.2.0/appsutil/scripts/VIS_ebs/addlnctl.sh stop VIS"
su - oravis -c "/u01/vis/db/tech_st/10.2.0/appsutil/scripts/VIS_ebs/addbctl.sh stop"