Translate

Thursday, 29 October 2015

OBIEE 12c Start and Stop and Restart Scripts No More OPMN


OBIEE 12c Start and Stop Scripts


No More OPMN .... All weblogic now.. FMW
obiee 12c ( No more OPMN ) . These new scripts are sooo easy... Or Use FMW still for services etc.

Custom Start Stop Script for Linux Shell

#Restart all OBIEE BI Server Services Only
#DELIVERBI 2016

#Stop all OBIEE BI Server Services Only
# Set OBIEEHOMEPTH for bitools bin

OBIEEHOMEPTH='/u01/Middlewarehomebi12/user_projects/domains/bi12/bitools/bin'
OBIEELOGPTH='/u01/Middlewarehomebi12/user_projects/domains/bi12/bitools/bin/obieestartstop'


> $OBIEELOGPTH
sh $OBIEEHOMEPTH/stop.sh -i obips1,obijh1,obiccs1,obisch1,obis1 > $OBIEELOGPTH
sleep 15s
valuestopped=$( grep -ic "Stopped" $OBIEELOGPTH )
valueshutdown=$( grep -c "SHUTDOWN" $OBIEELOGPTH )
if [ $valuestopped -eq 5 ] ||
[ $valueshutdown -eq 5 ]
then
  echo "LOG Found 5 stopped or Shutdown Services and Starting NOW" >> $OBIEELOGPTH;
fi

sleep 20s
sh $OBIEEHOMEPTH/start.sh -i obis1,obisch1,obiccs1,obijh1,obips1 >> $OBIEELOGPTH

# Check if all Services are running
sleep 10s

valuerunning=$( grep -c "RUNNING" $OBIEELOGPTH )
valuestarted=$( grep -ic "Started" $OBIEELOGPTH )
if [ $valuerunning -eq 8 ] & [ $valuestarted -eq 5 ] || [ $valuerunning -eq 13 ] & [ $valuestarted -eq 5 ]
then
echo "OBIEE Services Status End of Job" >> $OBIEELOGPTH;
echo "SUCCESS LOG Found 8 OBIEE RUNNING Services so all Components are UP" >> $OBIEELOGPTH
else
echo "OBIEE Services Status End of Job" >> $OBIEELOGPTH;
echo "OBIEE Services ERROR Have not Started Properly Please Check logs and Services" >> $OBIEELOGPTH
fi

Stopping OBIEE 12

[ORACLE_HOME]/user_projects/domains/bi12/bitools/bin

./stop.sh | stop.cmd {-i <list of instances>} {-r}
For example, ./stop.sh -i obis1,obips1
-r (optional) Stops the remote Node Managers

If no instances are specified as arguments in the command,
the administration server, managed server and all system components are shutdown by default.

Starting OBIEE 12

[ORACLE_HOME]/user_projects/domains/bi12/bitools/bin

./start.sh | start.cmd {-noprompt} {-i <list of instances>} {-r}

For example, ./start.sh -i obis1,obips1
If no instances are specified as arguments in the command,
the administration server, managed server, all system components, and local node manager are started by default.

Status of OBIEE 12 Services (All Weblogic)


./status.sh | status.cmd {-v}

where {-v} is verbose

The command displays component name, type, status, and machine name.

  • BI Server (OBIS) — This component provides the query and data access capabilities at the heart of Oracle Business Intelligence and provides services for accessing and managing the enterprise semantic model (stored in a file with an .RPD extension).
  • BI Scheduler (OBISCH) — This component provides extensible scheduling for analyses to be delivered to users at specified times. (Oracle BI Publisher has its own scheduler.)
  • BI JavaHost (OBIJH) — This component provides component services that enable Oracle BI Presentation Services to support various components such as Java tasks for Oracle BI Scheduler, Oracle BI Publisher, and graph generation. It also enables Oracle BI Server query access to Hyperion Financial Management and Hyperion Planning data sources.
  • Essbase — This component provides support for Essbase.
  • BI Presentation Server (OPBIPS) — This component provides the framework and interface for the presentation of business intelligence data to web clients. It maintains an Oracle BI Presentation Catalog service on the file system for the customization of this presentation framework.
  • Cluster Controller (OBICCS) — This component distributes requests to the BI Server, ensuring requests are evenly load-balanced across all BI Server process instances in the BI domain.

Location : [ORACLE_HOME]/user_projects/domains/bi12/bitools/bin

sh start.sh ---- This will Start all OBIEE & Weblogic components

sh stop.sh ---- This will Stop all OBIEE & Weblogic components

sh status.sh ---- This will give a Status of all services if up or down

No comments:

Post a Comment

Google Big Query Clone / Copy DataSets / Tables - PROD --> TEST --> DEV Projects

Google Big Query Cloning of Datasets & Tables across GCS Projects. We searched the internet and could not find a simple cloning / ...