Translate

Monday, 10 January 2011

Shahed

OBIEE 11g Start and Stop Commands


OBIEE 11g Start and Stop Commands

Remember boot.properties files must exist for weblogic servers so you dont have to hardcode usernames and passwords.

Example is At the end of this post....

Simple Installation has fewer components


-------------STOP Simple Install

$MW_HOME/instances/instance1/bin/opmnctl stopall

ps -ef |grep Node|grep nodemanager |cut -c10-15

This will show the Node Manager process. Write down its PID. Then execute:

kill <NodeManager_PID>

Note that <NodeManager_PID> should be replaced by the PID found in the previous step
 


$MW_HOME/user_projects/domains/bifoundation_domain/bin/stopWebLogic.sh
 
 
------------Start Simple Install
 
 
nohup $MW_HOME/user_projects/domains/bifoundation_domain/bin/startWebLogic.sh -Dweblogic.configuration.schemaValidationEnabled=false &

nohup $MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh &

nohup $MW_HOME/instances/instance1/bin/opmnctl startall &


Enterprise Installation has the bi server to Start and Stop.

---Start Manual

nohup $MW_HOME/user_projects/domains/bifoundation_domain/bin/startWebLogic.sh &

nohup $MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh &

nohup $MW_HOME/user_projects/domains/bifoundation_domain/bin/startManagedWebLogic.sh bi_server1 &

nohup $MW_HOME/instances/instance1/bin/opmnctl startall &
 
 
-----Stop Manual
$MW_HOME/instances/instance1/bin/opmnctl stopall

$MW_HOME/user_projects/domains/bifoundation_domain/bin/stopManagedWebLogic.sh bi_server1

ps -ef |grep Node|grep nodemanager |cut -c10-15
This will show the Node Manager process. Write down its PID. Then execute:
kill <NodeManager_PID>

$MW_HOME/user_projects/domains/bifoundation_domain/bin/stopWebLogic.sh



Boot Properties ( Username and Password)


When we starting BI services for OBIEE 11g always the services will prompt for Admin username and password. To avoid/fix this prompt we have a workaround as follows.

Create a boot.properties file for the Administration Server and BI server. This file enables the Servers to start without prompting you for the administrator username and password.

1.  Go to the following directory:

<Middleware_HOME>/user_projects/domains/bifoundation_domains/servers
/AdminServer/security

2.  In this directory, create a file called boot.properties using a text editor and enter the following lines in the file:

username=Admin_Username
password=Admin_Password

3. Save the file and close the editor. (Make sure that the extension of the file should be boot.properties not boot.properties.txt)

4. Place the same boot.properties in following driectory too to start BI server without asking username and password.

<Middleware_HOME>/user_projects/domains/bifoundation_domains/servers
/bi_server1/security/


Note:
When you start the Administration Server, the username and password entries in the file get encrypted.  For security reasons, you want to minimize the time the entries in the file are left unencrypted. After you edit the file, you should start the server as soon as possible so that the entries get encrypted.



About Authors

Shahed Munir

Krishna Udathu

Shahed and Krishna are Oracle / Big Data Experts