fusion applications startup shutdown Sequence

Fusion Applications 11.1.5 Startup Shutdown Sequence:

STARTING FUSION APPLICATIONS

The table below lists the tasks to be performed when starting Fusion Applications, in order of execution. Note that the sample code is provided as an example and will most likely be different depending on how your Fusion Applications environment was installed.
The following environment variables are used:

  • ORACLE_HOME: used for starting up Oracle database instances. It points at the Oracle Database home and varies depending on the database.
  • ORACLE_SID: used for starting up Oracle database instances. It varies depending on the database.
  • IDM_MW_HOME: Middleware home where Identity Management is installed. Depending on the install topology chosen during install, there may be more than one Middleware Home.
  • IDM_INSTANCE_HOME: Directory where AS Instances for OID, OVD, OHS are installed. Depending on the topology chosen during install, AS Instances may not all be located in the same directory.
  • FA_BASE: Directory where Fusion Applications are installed. Normally contains the “fusionapps” and “instance” directories (with installation defaults).
Component Sample Startup Code
Start Identity Management
Database instance(s) and DB Listener(s)
export ORACLE_HOME=<oracle_home>
export ORACLE_SID=<oracle_sid><db_oracle_home>
$ORACLE_HOME/bin/lsnrctl start
$ORACLE_HOME/bin/sqlplus / as sysdba
> startup
Node Manager(s)
$IDM_MW_HOME/wlserver_10.3/server/bin/startNodeManager &
disown
OID
$IDM_INSTANCE_HOME/oid_inst1/bin/opmnctl startall
OVD
$IDM_INSTANCE_HOME/ovd_inst1/bin/opmnctl startall
OIF (if present)
$IDM_INSTANCE_HOME/oif_inst1/bin/opmnctl startall
WebLogic AdminServer(s)
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');<nm_user>
> nmStart('AdminServer');
SOA
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');<nm_user>
> nmStart('soa_server1');

* If already connected, simply run nmStart

OIM
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');<nm_user>
> nmStart('oim_server1');

* If already connected, simply run nmStart

OAM
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');
<nm_user>> nmStart('oam_server1');

* If already connected, simply run nmStart

ODSM
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');
<nm_user>> nmStart('wls_ods1');
> exit()

* If already connected, simply run nmStart

IDM OHS
$IDM_INSTANCE_HOME/oif_inst1/bin/opmnctl startall
Start Fusion Applications
Fusion Apps Database Instance and Listener
export ORACLE_HOME=<db_oracle_home>
export ORACLE_SID=<db_sid>
$ORACLE_HOME/bin/lsnrctl start
$ORACLE_HOME/bin/sqlplus / as sysdba
> startup
Node Manager(s) on each FA server
$FA_BASE/instance/nodemanager/<server_name><host_name>/startNodeManagerWrapper.sh &
disown <server_name>

<server_name>*Always start the FA Node Manager using the command above, don’t use the regular startNodeManager

Fusion Applications Domains
$FA_BASE/fusionapps/applications/lcm/ad/bin/fastartstop.sh
-Start
-all
-username weblogic_fa
-appbase $FA_BASE/fusionapps/applications
-startAdminServer true
BI Instance
$FA_BASE/instance/BIInstance/bin/opmnctl startall
GOP (if present)
$FA_BASE/instance/gop_1/bin/opmnctl startall
IIR (if present)
$FA_BASE/InformaticaIR/bin/setfusionEnv.sh
$FA_BASE/InformaticaIR/bin/liup
$FA_BASE/InformaticaIR/bin/idsup
FA OHS
$FA_BASE/instance/CommonDomain_webtier/bin/opmnctl startall

STOPPING FUSION APPLICATIONS

The table below lists the tasks to be performed when stopping Fusion Applications, in order of execution. Note that the sample code is provided as an example only and will most likely be different depending on how your Fusion Applications environment was installed.

Component Sample Startup Code
Stop Fusion Applications
FA OHS
$FA_BASE/instance/CommonDomain_webtier/bin/opmnctl stopall
BI Instance
$FA_BASE/instance/BIInstance/bin/opmnctl stopall
GOP (if present)
$FA_BASE/instance/gop_1/bin/opmnctl stopall
IIR (if present)
$FA_BASE/InformaticaIR/bin/setfusionEnv.sh
$FA_BASE/InformaticaIR/bin/idsdown
$FA_BASE/InformaticaIR/bin/lidown
Fusion Applications Domains
$FA_BASE/fusionapps/applications/lcm/ad/bin/fastartstop.sh
-Stop
-all
-username weblogic_fa
-appbase $FA_BASE/fusionapps/applications
Fusion Apps Database Instance and Listener
$ORACLE_HOME/bin/lsnrctl stop
$ORACLE_HOME/bin/sqlplus / as sysdba
> shutdown immediate
> exit
Node Manager(s) on each FA server
ps -ef | grep weblogic.NodeManager
kill <pid_identified_above><process_number>

* There is no command or script to stop the Node Manager, so the process must be killed manually. To determine the process id, use the ps command above.

Stop Identity Management
IDM OHS
$IDM_INSTANCE_HOME/ohs_inst1/bin/opmnctl startall
SOA
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');
> nmKill ('soa_server1');

* If already connected, simply run nmKill
* nmKill may require that the StopScriptEnabled property be set to true in the nodemanager.properties file (located in $MW_HOME/wlserver_10.3/common/nodemanager)

OIM
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');
> nmKill ('oim_server1');

* If already connected, simply run nmKill
* nmKill may require that the StopScriptEnabled property be set to true in the nodemanager.properties file (located in $MW_HOME/wlserver_10.3/common/nodemanager)

OAM
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');
> nmKill ('oam_server1');

* If already connected, simply run nmKill
* nmKill may require that the StopScriptEnabled property be set to true in the nodemanager.properties file (located in $MW_HOME/wlserver_10.3/common/nodemanager)

ODSM
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');
> nmKill ('wls_ods1');

* If already connected, simply run nmKill
* nmKill may require that the StopScriptEnabled property be set to true in the nodemanager.properties file (located in $MW_HOME/wlserver_10.3/common/nodemanager)

WebLogic AdminServer(s)
$IDM_MW_HOME/oracle_common/common/bin/wlst.sh
> nmConnect('nm_user','nm_password','nm_server','nm_port', 'IDMDomain','IDMDomain_path');
> nmKill ('AdminServer');
> exit()

* If already connected, simply run nmKill
* nmKill may require that the StopScriptEnabled property be set to true in the nodemanager.properties file (located in $MW_HOME/wlserver_10.3/common/nodemanager)

OID
$IDM_INSTANCE_HOME/oid_inst1/bin/opmnctl stopall
OVD
$IDM_INSTANCE_HOME/ovd_inst1/bin/opmnctl stopall
OIF (if present)
$IDM_INSTANCE_HOME/oif_inst1/bin/opmnctl stopall
Database Instance(s) and DB Listener(s)
export ORACLE_HOME=<oracle_home>
export ORACLE_SID=<oracle_sid>
$ORACLE_HOME/bin/lsnrctl stop
$ORACLE_HOME/bin/sqlplus / as sysdba
> shutdown immediate
> exit
Node Manager(s)
ps -ef | grep weblogic.NodeManager
kill <pid_identified_above><process_number>

* There is no command or script to stop the Node Manager, so the process must be killed manually. To determine the process id, use the ps command above.

Nagulu Polagani

"We are all apprentices in a craft where no one ever becomes a master."