Monday, February 20, 2012

Startup & Shutdown & Status of OBIEE services on LINUX

Startup the BI services
Set the BI_HOME to the Oracle BI Home path e.g. /opt/oracle/product/OracleBI
$export BI_HOME=/opt/oracle/product/OracleBI
#Start the BI sever
$$BI_HOME/setup/run-sa.sh start
#Start the presentation service
$$BI_HOME/setup/run-saw.sh-start
#Start the scheduler
$$BI_HOME/setup/run-sch.sh start
#Start the cluster controller – only required when BI servers clustered
$$BI_HOME/setup/run-ccs.sh start
Shutdown the BI services
Set the BI_HOME to the Oracle BI Home path e.g. /opt/oracle/product/OracleBI
$export BI_HOME=/opt/oracle/product/OracleBI
#Stop the cluster controller – only required when BI servers clustered
$$BI_HOME/setup/run-ccs.sh stop
#Stop the BI sever
$$BI_HOME/setup/run-sa.sh stop
#Stop the presentation service
$$BI_HOME/setup/run-saw.sh stop
#Stop the scheduler
$$BI_HOME/setup/run-sch.sh stop



-----------------------------------
Oracle BI uses shell scripts located in the directory OracleBI_HOME/setup to set environment variables and run specific component shell commands.

The main administration scripts (scripts which call other scripts) are:

oc4j (start OC4J)
run-sa.sh (calls user.sh and starts the Oracle BI Server)
run-saw.sh (calls saw.sh and starts the Oracle BI Presentation Services.)
run-sch.sh (for BI Scheduler)
run-ccs.sh (for the Cluster Controller)
sa-cli.sh (Sets up the environment for running the Oracle BI Client)

Under Linux, no initialization process is necessary.

The order in which the services are stopped, then restarted, is important. Use the following sequence to start the OBI Component:
■OC4J
■Oracle Business Intelligence Server service.
■Oracle Business Intelligence Presentation Services service.
■Oracle Business Intelligence Scheduler Server service.

-----------------------------------------
Testing the Oracle BI Client
To test the Oracle BI Client :

Run Oracle BI Client by opening another session.
From the setup directory OracleBI_HOME/setup, run the shell command:
.sa-cli.shTo test the client/server connectivity, run the command:

nqcmd If the test is successful, press the Enter key several times to quit nqcmd.

----------------------------------------------
How to check that a service is running?

With Linux - ps (process statut)

[root@oel11g ~]# ps -ef|grep sawserver
obi 5102 1 0 15:16 pts/3 00:00:00 /bin/sh /usr/local/OracleBI/setup/sawserver.sh
obi 5109 5102 0 15:16 pts/3 00:00:08 /usr/local/OracleBI/web/bin/sawserver
root 5984 4661 0 15:39 pts/2 00:00:00 grep sawserver
[root@oel11g ~]# ps -ef|grep nqsserver
obi 5081 1 0 15:16 pts/3 00:00:12 /usr/local/OracleBI/server/Bin/nqsserver -quiet
root 6001 4661 0 15:40 pts/2 00:00:00 grep nqsserver

No comments:

Post a Comment