Showing posts with label Restart. Show all posts
Showing posts with label Restart. Show all posts

Sunday, 20 September 2015

BIEE START / STOP

It's very easy to start/stop BI server

START

Step 1 of 4: Start Admin Server
Remember to run standard variable scripts first.                                            
Linux Command Line
cd /u01/biee/user_projects/domains/bifoundation_domain/bin 
nohup ./startWebLogic.sh -Dweblogic.management.username=weblogic -Dweblogic.management.password=oracle123> wls.out&
tail -f wls.out


After issueing the start command we tail the log until we see the message below, indicating that the server has started successfully.
<WebLogicServer><BEA-000360><Server started in RUNNING mode>

Step 2 of 4: StartNode Manager
There should be a single Node Manager for the machine.  Start it up with the command below.
 Linux Command Line
cd /u01/biee/wlserver_10.3/server/bin
nohup ./startNodeManager.sh> NOD.out &
tail -f NOD.out

After issueing the start command we tail the log until we see the message below, indicating that the server has started successfully.
<Info> <Secure socket listener started on port ####>

Step 3 of 4: Start Managed Server
By default there should be one managed server, bi_server1 that we will start up.  At this point you should start  any other Managed Servers in this WebLogic domain.
 Linux Command Line
cd /u01/biee/wlserver_10.3/common/bin
./commEnv.sh
cd
/u01/biee/user_projects/domains/bifoundation_domain/bin
./setDomainEnv.sh
nohup ./startManagedWebLogic.sh bi_server1 t3://db:7002 > bis1_startup.log &
tail bis1_startup.log

After issueing the start command we tail the log until we see the message below, indicating that the server has started successfully.
Server started in RUNNING mode
Step 4 of 4: Startup OPMN Components
Oracle Process Manager should be used to shutdown all system components.
ulimit -n 10240
Linux Command Line
cd /u01/biee/instances/instance1/bin
./opmnctl startall
./opmnctl status
The opmnctl command stopall should shutdown all running components including opmnctl.  You can verify this by running the status command which should return an error.  You should see ouput such as below.

Linux Command Line
Processes in Instance: instance1
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
ias-component | process-type | pid | status | uid | memused | uptime | ports
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
coreapplication_obiccs1 | OracleBIClusterCo~ | 11741 | Alive | 70916792 | 55188 | 0:01:01 | N/A
coreapplication_obisch1 | OracleBIScheduler~ | 11740 | Alive | 70916789 | 122388 | 0:01:01 | N/A
coreapplication_obijh1 | OracleBIJavaHostC~ | 11739 | Alive | 70916790 | 1186088 | 0:01:01 | javahost:9810
coreapplication_obips1 | OracleBIPresentat~ | 11742 | Alive | 70916791 | 261576 | 0:01:01 | N/A
coreapplication_obis1 | OracleBIServerCom~ | 11738 | Alive | 70916788 | 150904 | 0:01:01 | N/A
////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////



STOP
Step 1 of 4: Shutdown OPMN Components
Oracle Process Manager should be used to shutdown all system components.
Linux Command Line
cd /u01/biee/instances/instance1/bin
./opmnctl stopall

Step 2 of 4: Shutdown Managed Server
By default there should be one managed server, bi_server1 that we will shut down.  At the point you should shut down any other Managed Servers in this WebLogic domain.

Linux Command Line
cd /u01/biee/user_projects/domains/bifoundation_domain/bin
./stopManagedWebLogic.sh bi_server1 t3://dwh:7002 weblogic oracle123

Verify that the Managed Server has shutdown completely with ps -ef | grep bi_server1.

Step 3 of 4: Shutdown Node Manager
There should be a single Node Manager for the machine.  Shut it down with the command below.

Linux Command Line
ps -ef | grep node | grep nodemanager | grep - v grep | cut -c10-15
kill -9 ####
$

Step 4 of 4: Shutdown Admin Server
There should be a single Node Manager for the machine.  Shut it down with the command below.

Linux Command Line
cd /u01/biee/user_projects/domains/bifoundation_domain/bin
./stopWebLogic.sh weblogic oracle123 t3://dwh:7001
 Verify that the Managed Server has shutdown completely with ps -ef | grep AdminServer.