-
-
Save iacosta/a209328e2c572ea756e5 to your computer and use it in GitHub Desktop.
Script Stop All Services Fusion Middleware Services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script Stop All Services Fusion Middleware Services | |
# created by Ivan Acosta | |
MW_HOME=/u01/oracle/Middleware | |
DOMAIN_HOME=$MW_HOME/user_projects/domains/INBDomain | |
INSTANCE_HOME=$MW_HOME/asinst_1 | |
export MW_HOME DOMAIN_HOME INSTANCE_HOME | |
ORAENV_ASK=NO; export ORAENV_ASK | |
ORACLE_SID=forms; export ORACLE_SID | |
HN=`hostname`; export HN | |
. /usr/local/bin/oraenv | |
unset ORAENV_ASK | |
echo " " | |
echo "stopping forms" | |
echo " " | |
$DOMAIN_HOME/bin/stopManagedWebLogic.sh WLS_FORMS $HN:7001 | |
echo " " | |
echo "stopping reports" | |
echo " " | |
$DOMAIN_HOME/bin/stopManagedWebLogic.sh WLS_REPORTS $HN:7001 | |
echo " " | |
echo "stopping opmn managed services" | |
echo " " | |
$ORACLE_INSTANCE/bin/opmnctl stopall | |
echo " " | |
echo "stopping AdminServer" | |
echo " " | |
$DOMAIN_HOME/bin/stopWebLogic.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment