Tuesday, December 1, 2015

Scripts start, stop BI Publisher 11G

Prerequisite:

[obiee@PTUD-S07 security]$ pwd
/u02/obiee/fmw/user_projects/domains/bifoundation_domain/servers/AdminServer/security
[obiee@PTUD-S07 security]$ more boot.properties 
#Tue Dec 01 18:38:07 ICT 2015
username=weblogic
password=********

[obiee@PTUD-S07 security]$ cd ../..
[obiee@PTUD-S07 servers]$ ls
AdminServer  AdminServerTag  bi_server1  domain_bak
[obiee@PTUD-S07 servers]$ cp AdminServer/security/boot.properties bi_server1/security/


Start BI Publisher Scripts

[obiee@PTUD-S07 bin]$ cat start.sh
export FM_HOME=/u02/obiee/fmw
export DOMAIN_HOME=$FM_HOME/user_projects/domains/bifoundation_domain
export INSTANCE_HOME=$FM_HOME/instances/instance1

cd $DOMAIN_HOME/bin
nohup ./startWebLogic.sh >> weblogic.log &
#tailf weblogic.log

nohup ./startManagedWebLogic.sh bi_server1 >> bi_server1.log &
#tailf bi_server1.log

cd $INSTANCE_HOME/bin
./opmnctl startall
./opmnctl status



Stop BI Publisher Scripts

[obiee@PTUD-S07 bin]$ cat stop.sh 

export FM_HOME=/u02/obiee/fmw
export DOMAIN_HOME=$FM_HOME/user_projects/domains/bifoundation_domain
export INSTANCE_HOME=$FM_HOME/instances/instance1
cd $DOMAIN_HOME/bin
./stopManagedWebLogic.sh bi_server1
./stopWebLogic.sh
cd $INSTANCE_HOME/bin
./opmnctl stopall
./opmnctl status

Post-step:

[obiee@PTUD-S07 bin]$ chmod 775 start.sh stop.sh 






Share this

0 Comment to "Scripts start, stop BI Publisher 11G"

Post a Comment