Thursday, April 4, 2013

Uninstall OBIEE11g from windows box


Deinstalling an Oracle Business Intelligence installation on a single computer involves the following tasks:
  1. Run the deinstall script and select the Deinstall instances managed by a WebLogic domain option.
  2. Stop all Oracle Business Intelligence processes and servers, including all OPMN-controlled components and JEE components.
  3. Drop the Metadata Services (MDS) and Business Intelligence Platform (BIPLATFORM) schemas using RCU.
  4. Run the deinstall script and select the Deinstall the Oracle home option.
  5. Deinstall the Oracle Common home manually or by running the deinstall script that it contains.
  6. Use the Oracle WebLogic Server uninstaller to uninstall WebLogic Server.
  7. Remove the Oracle home (if necessary).
  8. Remove the Middleware home and any other homes (Domain home, Applications home, and Instance home) that might have been installed outside of the Middleware home.

Wednesday, April 3, 2013

Installation of OBIEE 11g invloves 4 steps and Pre-requisites for Installing OBIEE 11g


Installation of OBIEE invloves 4 steps:
1) Installation of Loopback adopter
2) Installation of database
3) Installation of RCU (Repository Creation Utility)
4) Installation of OBIEE software


Pre-requisites for Installing OBIEE 11g


Pre installation Steps in Windows 7
1) Java:
Ensure java jdk( V 1.6 and above ) is installed.
Point to Note
Jdk should be installed in a folder without space, say like "C:/Java/"
DONT install java in "C:/Program Files/Java"; the reason is that the Space(" ") between the  word "Program files" will cause error while installing OBIEEv11g
IF YOU HAVE INSTALLED JAVA under "PROGRAM FILES" Uninstall it and Reinstall the same
After Installation:
Add JAVA_HOME in your environment variables.
In Windows7, Right Click "My Computer"-> Properties->Advanced tab ->Environment Variables
Click the New button and add VARIABLE NAME as "JAVA_HOME" and variable path as
"C:/JAVA/JDK;"
If you have installed java in "C:/" use "C:/JAVA/JDK;" path variable

2) In Windows, Install Loopback adapter, Follow the below link to install the loopback adapter in windows 7.
After Installation:
You will see a network icon in systray. Click on that and go to "Open Network Connection" Click
on the installed Loopback Adapter Properties and Under General Tab,
Click on the Internet Protocal Ip4 and Click on the properties.
IN the PopUp under General tab give 10.10.10.10 for IP Address and for subnet mask provide
"255.255.255.0"
You can give any IP address here. But Oracle follows 10.10.10.10. Lets religiously follow what Oracle does ;)
Adding This Static IP to your windows Host
Start->search for Notepad-> RIght click and open as Administrator
Once you are in Open the following file "C:/Windows/system32/drivers/etc/hosts" Add the following at the end of file :
10.10.10.10 localhost localhost.local.com
Save & Close the file.
This Step is important because after obiee11g installation we would access the url by "10.10.10.10:<port>/analytics"
We are installing loopback adapter to create a static IP rather than to Create a dynamic IP which would keep changing whenever you connect to your ISP.
3) Install Oracle Database
You can either go for oracle 10g or 11g. Any database is fine, But its recommended to use oracle
11g DB to realise the full potential features of Database and OBIEE.
Note: While Installing Please provide the AL32UTF8 Unicode Character set. Else while installing
RCU below error will be shown :
"The database you are connecting is with non-AL32UTF8 Character set. oracle strongly
recommends using of AL32UTF8 as database character set."
4) Download & Install Repository Creation Utility - RCU


5) After all these steps; OBIEE 11g should be installed

Tuesday, April 2, 2013

Stop and Start OBIEE 11g Linux / WIndows

Stop and Start OBIEE11g on Linux

http://lamont-consulting.com/index.php/blog/obiee/11g/117-stop-and-start-obiee-11g-linux



Start the OBIEE 11g on windows


http://gerardnico.com/wiki/dat/obiee/start_11g




list of stop / start commands for each of the system components:



BI Service:
opmnctl stopproc ias-component=coreapplication_obis1
opmnctl startproc ias-component=coreapplication_obis1

Javahost:
opmnctl stopproc ias-component=coreapplication_obijh1
opmnctl startproc ias-component=coreapplication_obijh1

Presentation Service:
opmnctl stopproc ias-component=coreapplication_obips1
opmnctl startproc ias-component=coreapplication_obips1

Scheduler Service:
opmnctl stopproc ias-component=coreapplication_obisch1
opmnctl startproc ias-component=coreapplication_obisch1

Cluster Service:
opmnctl startproc ias-component=coreapplication_obiccs1
opmnctl stopproc ias-component=coreapplication_obiccs1

URL'S


Oracle Enterprise Manager 11g Fusion Middleware Control


http://machinename:7001/em


Oracle Business Intelligence

http://machinename:7001/analytics/saw.dll?bieehome

Oracle Weblogic Server Administration Console

http://machinename:7001/console


RPD AND WEBCAT PATH


Locations of Repository and Catalog in BI 11g:
We can get the rpd and catalog which we have developed from below folders.
RPD Location Path:
Drive:<BIHome>\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\repository
Catalog Location Path:
Drive:<BIHome>\instances\instance1\bifoundation\
OracleBIPresentationServicesComponent \coreapplication_obips1\catalog


OBIEE 11g Log Locations:

Catalog Path

Drive:\Oracle\Middleware\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalog

Repository Path

D:\Oracle\Middleware\instances\instance1\bifoundation\OracleBIServerComponent\coreapplication_obis1\repository

Instanceconfig.xml ----> file path

D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1

NQSConfig.INI file path :

D:\Oracle\Middleware\instances\instance1\config\OracleBIServerComponent\coreapplication_obis1

Install OBIEE11g samples from OTN


Download the Sample Application from

SampleApp V107 Install Files

http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html


Link to deployment guide:-

http://www.oracle.com/technetwork/middleware/bi-foundation/downloads/sampleapp107-deploymentguide-435786.pdf



Restoring Database Dumps
In this section, we will use Oracle data pump to import the definition and data for several database schemas. If any of these schemas exist, they must be dropped before you begin the import. In case they cannot be dropped, the schemas may be imported into different schema names using schema mapping options available for impdp command. If the schema names and/or passwords are changed, it will require additional corrections and configurations in SampleApp RPD.

Schema Password Remarks

BISAMPLE BISAMPLE Main schema that houses data for SampleApp analyses
OBIEE_NAVTEQ obiee_navteq NAVTEQ copyrighted data used for map views
BIFOD BIFOD OLTP 3NF model for FOD (Oracle Fusion Order Demo) data model.
BIBPM BIBPM
BPM (SOA) Business Process Monitoring model to show how BIEE semantic
layer can deliver analytics on BPM context
DEV_ODI_REPO DEV_ODI_REPO This supports the SampleApp Oracle Data Integrator content
ODI_STAGING ODI_STAGING This supports the SampleApp Oracle Data Integrator content


From you SampleApp installation files, copy \DataSources\ORCL\SASCHEMAS.dmp file to the machine where Oracle
database 11gR2 is up and running
Unzip this file to a folder on the database server, say “C:\datapump\”
Connect to database using a sysdba user and create a directory object to import the database dump. Change the data
base connection parameters (highlighted in red) to reflect your connection settings.
sqlplus "sys/Admin123@sampledb1 as sysdba"
create or replace directory datapumpdir as 'c:\datapump';
Import the database dump using the command below.

Need to run the below command from Windows dos.. not on sqlplus

impdp "'"sys/Admin123@sampledb1 as sysdba"'" directory=datapumpdir dumpfile=SASchemas.dmp
version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING
LOGFILE=SASchemas_imp.log
NOTE:- Change the value of Version parameter depending on the version of your target database.
During the import process you may get the warning ORA-39082: Object type
VIEW:"BISAMPLE"."ODM_SAMP_CUSTOMERS_LTV" created with compilation warnings
This a known warning and can be ignored.


Once the import is completed, connect back to the database using a sysdba user and execute the following sql
commands.
To connect use - sqlplus "sys/Admin123@sampledb1 as sysdba"
alter user BISAMPLE identified by BISAMPLE;
alter user OBIEE_NAVTEQ identified by obiee_navteq;
alter user BIFOD identified by BIFOD;
alter user BIBPM identified by BIBPM;
alter user DEV_ODI_REPO identified by DEV_ODI_REPO;
alter user ODI_STAGING identified by ODI_STAGING;

Next connect as obiee_navteq/obiee_navteq@sampledb1 and execute the following insert statements

insert into user_sdo_maps select * from obiee_navteq.my_maps;
insert into user_sdo_themes select * from obiee_navteq.my_themes;
insert into user_sdo_styles select * from obiee_navteq.my_styles;
insert into user_sdo_cached_maps select * from obiee_navteq.my_tile_cache;
commit;

Error while importing the Meta Data after Installing BI Admin Tool

Hi 

I have installed OBIEE 11g Server in my local machine which is lying on windows 7 environment. 

I tried improting the meta data using BI Admin Tool, it throws ' The Connection has failed' error.

Resolution:-

Copied the TNSNAMES.ora file ( path C: /app/product/11.2.0/dbhome_1/network/admin/tnsnames.ora)

to

C:/Oracle/Middleware/oracle_b11/network/admin/tnsnames.ora and 
C:/Oracle/Middleware/oracle_common/network/admin/tnsnames.ora

In the second path, admin folder was not there.. We need to create a folder manually and copy the tnsnames.ora file.


Its works fine..