Fusion Apps / FA Node / Startup & Shutdown Scripts

* Script name: startall_fa.sh

# Script name: startall_fa.sh
#!/bin/bash
echo "Starting Node Manager"
cd /u01/app/oracle/instance/nodemanager/fahost.home.fr
nohup ./startNodeManagerWrapper.sh > /tmp/node.out &
sleep 30
cd /u01/app/oracle/fusionapps/applications/lcm/ad/bin/
echo "Starting all Fusion Applications Domains"
./fastartstop.sh -Start -all -username FAAdmin -appbase /u01/app/oracle/fusionapps/applications <<EOF_PASS
Welcome1
EOF_PASS
echo "Starting Web server"
/u01/app/oracle/instance/CommonDomain_webtier/bin/opmnctl startall
echo "Starting BI services"
/u01/app/oracle/instance/BIInstance/bin/opmnctl startall
echo "All components started"

* Script name: stopall_fa.sh

#!/bin/bash
cd /u01/app/oracle/fusionapps/applications/lcm/ad/bin/
echo "Stopping all Fusion Applications Domains"
./fastartstop.sh -Stop -all -username FAAdmin -appbase /u01/app/oracle/fusionapps/applications <<EOF_PASS
Welcome1
EOF_PASS
echo "Stopping Web server"
/u01/app/oracle/instance/CommonDomain_webtier/bin/opmnctl stopall
echo "Stopping BI services"
/u01/app/oracle/instance/BIInstance/bin/opmnctl stopall
echo "Killing Node Manager process"
ps -ef | grep NodeManager | awk '{print $2}' | xargs kill -9
echo "All components stopped"
Advertisements

About Chenda Mok

19 years of hands on experience in software design and development with emphasis on Enterprise Application Integration (EAI), Services Oriented Architecture (SOA) and Identity Management (IDM) solutions. I’m a software engineer, member of the professional service delivery team working for Salesforce. Prior to this, I worked for Oracle as Solution Architect, through SeeBeyond(06/2005), then SUN’s acquisition (04/2009). After my master’s degree in computer science in 1997; I always delivered consulting on architecture, design, implementation on integration’s field. I’m interested in architecture using EAI/SOA/IDM/BPM/Cloud technologies, software development and Java’s related technologies. I may blog about my work/activities at Salesforce, but I do not speak for my employer, past, present or future.
This entry was posted in Uncategorized. Bookmark the permalink.