=========================================================================
Stop services
=========================================================================
---------------------------------Step 1 Stop OPMN Components-----------
If its a clustered environment then stop opmnctl in all nodes.
cd /<MiddlewareHome>/instances/instance1/bin
./opmnctl stopall
(wait until the prompt is back)
--------------------------------Step 2 Stop Node Manager---------------
If its a clustered environment then kill the process in all nodes.
ps -ef |grep NodeManager
kill -9 <number of process above>
--------------------------------Step 3 Stop Managed Server---------------
cd /<MiddlewareHome>/user_projects/domains/bifoundation_domain/bin/
./stopManagedWebLogic.sh <bi server name>
eg.- ./stopManagedWebLogic.sh bi_server1
If its a clustered environment -
./stopManagedWebLogic.sh bi_server1 t3://weblogic.hostServerNname:7001
./stopManagedWebLogic.sh bi_server2 t3://weblogic.hostServerName:7001
If boot.properties are not set then provide user and password in the argument -
./stopManagedWebLogic.sh bi_server1 t3://obieenode1.com:7001 weblogic password
./stopManagedWebLogic.sh bi_server2 t3://obieenode1.com:7001 weblogic password
Verify that the Managed Server has shutdown completely in both nodes with -
ps -ef | grep bi_server1
ps -ef | grep bi_server2
-------------------------Step 4 Stop Admin Server------------------
Only in node1-
cd /<MiddlewareHome>/user_projects/domains/bifoundation_domain/bin/
./stopWebLogic.sh
If boot.properties are not set then provide user and password in the argument -
./stopWebLogic.sh weblogic password t3://obieenode1.com:7001
(wait until the prompt is back)
------------------------Kill any running processes----------------------------
Check if any process is running in all nodes.
ps -ef | grep -v grep | grep -i weblogic.NodeManager
ps -ef | grep Node | grep nodemanager | grep -v grep | cut -c10-15
ps -ef | grep AdminServer
=========================================================================
Start Services
=========================================================================
-------------------------Step 1 Start Admin Server------------------
only on node1 -
cd /<MiddlewareHome>/user_projects/domains/bifoundation_domain/bin/
nohup ./startWebLogic.sh &
tail -1000f nohup.out
or - log path can be provided -
nohup ./startWebLogic.sh > /service_logs_path/startWeblogic.log 2>&1 &
tail -1000f /service_logs_path/startWeblogic.log
or - if boot.properties are not set then provide user and password in the argument -
nohup ./startWebLogic.sh -Dweblogic.management.username=weblogic -Dweblogic.management.password=password > /service_logs_path/startWeblogic.log 2>&1 &
tail -1000f /service_logs_path/startWeblogic.log
Output -
<WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
--------------------------------Step 2 StartNode Manager---------------
If its a clustered environment then run on all nodes.
cd /<MiddlewareHome>/wlserver_10.3/server/bin/
nohup ./startNodeManager.sh &
tail -1000f nohup.out
or - log path can be provided -
nohup ./startNodeManager.sh > /service_logs_path/startNodeManager.log 2>&1 &
tail -1000f /service_logs_path/startNodeManager.log
Output -
<Info> <Secure socket listener started on port ####>
-----------------------------------Step 3 Start Managed Server------------
cd /<MiddlewareHome>/user_projects/domains/bifoundation_domain/bin/
nohup ./startManagedWebLogic.sh bi_server1 &
tail -1000f nohup.out
or - log path can be provided -
nohup ./startManagedWebLogic.sh bi_server1 > /service_logs_path/startManagedWebLogic.log 2>&1 &
tail -1000f /service_logs_path/startManagedWebLogic.log
If its a clustered environment then (obieenode1 is node1_hostname) -
nohup ./startManagedWebLogic.sh bi_server1 t3://obieenode1:7001 &
nohup ./startManagedWebLogic.sh bi_server2 t3://obieenode1:7001 &
nohup -1000f nohup.out
or - if boot.properties are not set then provide user and password in the argument -
nohup ./startManagedWebLogic.sh bi_server1 t3://obieenode1:7001 -Dweblogic.management.username=weblogic -Dweblogic.management.password=password > /service_logs_path/startManagedWebLogic.log 2>&1 &
nohup ./startManagedWebLogic.sh bi_server2 t3://obieenode1:7001 -Dweblogic.management.username=weblogic -Dweblogic.management.password=password > /service_logs_path/startManagedWebLogic.log 2>&1 &
nohup -1000f /service_logs_path/startManagedWebLogic.log
Output-
Server started in RUNNING mode
---------------------------------Step 4 Startup OPMN Components-----------
If its a clustered environment then run on all nodes.
cd /<MiddlewareHome>/instances/instance1/bin
./opmnctl startall
Check status -
./opmnctl status
Output -
------------------------------------+-------------------------+----------+---------
ias-component | process-type | pid | status
------------------------------------+-------------------------+----------+---------
coreapplication_obisch1 | OracleBIScheduler~ | xxxx | Alive
coreapplication_obiccs1 | OracleBIClusterCo~ | xxxx | Alive
coreapplication_obips1 | OracleBIPresentat~ | xxxx | Alive
coreapplication_obijh1 | OracleBIJavaHostC~ | xxxx | Alive
coreapplication_obis1 | OracleBIServerCom~ | xxxx | Alive
Start any particular opmnctl component -
./opmnctl startproc ias-component=coreapplication_obisch1
or stop -
./opmnctl stopproc ias-component=coreapplication_obisch1