OBIEE 11G - bi-init.cmd (or bi-init.sh on UNIX)

Obi Edition

About

Before you can run any of the Oracle BI Server command-line utilities, you must now run bi-init.cmd (or bi-init.sh on UNIX) to launch a command prompt or shell window that is initialized to your Oracle instance.

You can find this utility in:

ORACLE_INSTANCE/bifoundation/OracleBIApplication/coreapplication/setup

Example

cd /u01/app/oracle/product/fmw/instances/instance2/bifoundation/OracleBIApplication/coreapplication/setup/
. bi-init.sh

Content bi-init.cmd

@echo off

set ORACLE_HOME=E:\MiddelwareHome\Oracle_BI1
set ORACLE_INSTANCE=E:\MiddelwareHome\instances\instance1
set ORACLE_BI_APPLICATION=coreapplication
set JAVA_HOME=E:\MiddelwareHome\jrockit_160_17_R28.0.0-679

call %ORACLE_INSTANCE%\bifoundation\OracleBIApplication\%ORACLE_BI_APPLICATION%\setup\user.cmd

if NOT "%1" == "" set COMPONENT_NAME=%1

set PATH=%ORACLE_HOME%\common\ODBC\Merant\5.3\Drivers;%ORACLE_HOME%\bifoundation\server\bin;
%ORACLE_HOME%\bifoundation\web\bin;%ORACLE_HOME%\bin;%PATH%

if "%2" == "" start

Tip: Opening a repository in offline mode (from a remote Linux server)

  • Step 1: Just add the below code at the end
if "%3" == "" ( 
	%2 
) ELSE (
	echo OpenOffline %3 > C:\temp\OpenOffline.txt
	%2 /command C:\temp\OpenOffline.txt
)

The command syntax comes from: OBIEE 11g: How To Run the Administration Tool and Administer Repositories in Automated Mode from the Command Line

  • Step 2: modify the WinScp file association preference:

Winscp Bi Init





Discover More
Obi Edition
OBIEE - The Log Viewer (nQLogViewer)

Use the Oracle BI log viewer utility nQLogViewer (or a text editor) to view the query log. Each entry in the query log is tagged with the user ID of the user who issued the query, the session ID of the...
Bi Server Architecture With Client
OBIEE - biserverxmlgen

Generates an XML from an existing RPD. With the utility biserverxmlexec, you can generate it back as binary repository (rpd) bi-init must be first started to give the environment variable context...
Bi Server Architecture With Client
OBIEE - nqcmd.exe ODBC Client Tool

nqcmd is an ODBC client tools for BI Server that is named: nqcmd (under UNIX) nQCmd.exe (under Windows) You can use nqcmd to run queries against other ODBC data sources than the Oracle BI Server....
Bi Server Architecture With Client
OBIEE 10G/11G - Administration Tool (admintool, datamodel)

admintool.exe is the Administration tool to manage OBIEE server and have some capabilities to automate some repetitive tasks and principally his embedded tools. Oracle Business Intelligence Administration...
Bi Server Architecture With Client
OBIEE 10G/11G - BI Server Utilities

OBIEE have several executables files which permit you to automate some actions. bi-init.cmd (or bi-init.sh on UNIX) To interact with the repository, the Oracle BI Server has two system management API:...
Obiee Connection Pool
OBIEE 10G/11G - Oracle Call Interface (OCI) configuration

This page shows you how to install an OCI driver with OBIEE. To use it you have to install it on the BI Server machine through an Oracle Client installation (for instance an Oracle Database, an...
Obiee 11g Installer Directory Structure
OBIEE 11G - In-Place Upgrade - Moving from 11.1.1.5 to 11.1.1.6

Patching involves copying a small collection of files over an existing installation. A patch is normally associated with a particular version of an Oracle product and involves updating from one minor version...
Oracle Patch Overview
OBIEE 11G - In-Place Upgrade - Patch Set Installation from version 11.1.1.3.0 to version 11.1.1.5.0

Patching involves copying a small collection of files over an existing installation. A patch is normally associated with a particular version of an Oracle product and involves updating from one minor version...
Oracle Database Em Dimension
OBIEE 11G - sametaexport utility (Metadata Exchange)

sametaexport is an utility to exchange metadata with DB2 or Oracle Database (Dimension with its Hierarchy) to pre-aggregate the relational data and improve query performance. For DB2, the utility: ...



Share this page:
Follow us:
Task Runner