You are on page 1of 8

1http://obieeelegant.blogspot.in/2012/07/obiee111160-software-only-installation.

html
The following commands will help you stop and start an OBIEE 11g domain in a linux
envirnonment.
STOP OBIEE 11G
Step 1 of 4: Shutdown OPMN Components
Oracle Process Manager should be used to shutdown all system components.
Linux Command Line
$ cd /opt/app/obiee/fmw_home1/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
/opt/app/obiee/fmw_home1/user_projects/domains/bifoundation_domain/bin
$ stopManagedWebLogic.sh bi_server1 t3://machine:7001 weblogic weblogic1
$

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
/opt/app/obiee/fmw_home1/user_projects/domains/bifoundation_domain/bin
$ ./stopWebLogic.sh weblogic weblogic1 t3://machine:7001
$

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

START OBIEE 11G


Step 1 of 4: Start Admin Server
Remember to run standard variable scripts first.
Linux Command Line
$ cd
/opt/app/obiee/fmw_home1/user_projects/domains/bifoundation_domain/bin
$ nohup ./startWebLogic.sh -Dweblogic.management.username=weblogic
-Dweblogic.management.password=weblogic1 &
$ tail -f nohup.out

Linux Command Line


$

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 /opt/app/obiee/fmw_home1/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.
\InstallHome\user_projects\domains\bifoundation_domain\bin
startManagedWebLogic.cmd bi_server1 http://personal-pc:7001

Linux Command Line


$ cd /opt/app/obiee/fmw_home1/wlserver_10.3/common/bin
$ ./commEnv.sh
$ cd
/opt/app/obiee/fmw_home1/user_projects/domains/bifoundation_domain/bin
$ ./setDomainEnv.sh
$ nohup ./startManagedWebLogic.sh bi_server1 t3://machine:7001 >
bis1_startup.log &
$ tail nohup.out

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.
Linux Command Line
$ cd /opt/app/obiee/fmw_home1/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 |

Linux Command Line


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

Weblogic - Managed Server


How to Start

You have three methods to start the managed server:

with the console (recommended)

with FMW control

with the command line.

With the Console

Log in to Oracle WebLogic Server Administration Console (or WLS Console


UI) using the following URL: http://<host>:7001/console

Under the bifoundation_domain, expand the Environment node in the


navigation tree, and click Servers. There should be two servers listed:

AdminServer (the Administration Server)

and bi_server1 (the Managed Server).

Start the Managed Server, if not running with the control tab. After the
start, you may receive this message:

A request has been sent to the Node Manager to start the selected servers.

With FMW Control

Log in to Fusion Middleware Control using the following URL:


http://<host>:7001/em

Under the WebLogic Domain expand the bifoundation_domain node in the


navigation tree, and select bi_cluster. Select bi_cluster, and click the
WebLogic Cluster menu. Select the Control option from the menu, and
select Start Up to start the Managed Servers.

Verify the status of the applications

With the command line

From your server location :


\InstallHome\user_projects\domains\bifoundation_domain\bin

Run startManagedWebLogic.cmd or startManagedWebLogic.sh depending on your


environment OS. You must add the following argument :
startManagedWebLogic.cmd bi_server1
http://<administration_server_host_name>:7001

You will be prompted with your Administrator credentials created during platform install.
Bringing up this service may take a few minutes depending on your environment, wait until
the command line stops scrolling and indicates server is up. Keep this command window up
to keep server up.
The scripts to stop are:

on Windows:

stopManagedWebLogic.cmd bi_server1
http://<administration_server_host_name>:7001

On UNIX:

/stopManagedWebLogic.sh bi_server1
http://<administration_server_host_name>:7001

Status

Control the status of the managed server.

Log in to Oracle WebLogic Server Administration Console (or WLS Console


UI) using the following URL: http://<host>:7001/console

Under the bifoundation_domain, expand the Environment node in the


navigation tree, and click Servers. There should be two servers listed:

AdminServer (the Administration Server)

and bi_server1 (the Managed Server).

With the control tab, you can verify the state.

Bypass the user name password prompt

To bypass the user name password prompt when starting a managed server, you can do the
following steps:

Create the security directory under the following location (For OBI,
replace YourManagedServer with bi_server):

<MiddleWare_Home>/user_projects/domains/<Domain_Name>/servers/YourManagedSe
rver/security
MiddelwareHome\user_projects\domains\bifoundation_domain\servers\YourManage
dServer\security

Create a text file called boot.properties in the security directory with the
following two lines:

username=weblogic
password=password

You might also like