You are on page 1of 3

http://rampradeeppakalapati.blogspot.

in/2013/08/export-or-import-oracle-database
.html
Export or Import Oracle Database
To Import
Open Command Prompt
> imp USERNAME/PASSWORD@SERVICENAME file='path' FULL='Y'
Example: imp scott/tiger@orcl file='D:\sales.dmp' full='Y'
To Export
Open Command Prompt
> exp USERNAME/PASSWORD@SERVICENAME file='path' FULL='Y'
Example: exp scott/tiger@orcl file='D:\sales.dmp' full='Y'
OBI client installation:
1.
2.
3.
4.
5.

Oracle DB client
JDK
Web Logic Server
RCU
OBIEE setup
-Configure the OBIEE
6. OBI apps
7. Informatica
8. DAC

why we need to Create DSN after installation of OBIEE?


The DSN (data source name) is a data structure that contains the information abo
ut a specific data source (database, ), typically used by an ODBC driver to be ab
le to connect to it.
DS(A data structure is a method to store information)
The DSN contains information about the data source such as:
the name,
the directory,
and the driver:Driver means the ODBC driver provides ODBC functions to be able to conne
ct and manage operation to a DSN.
For example, there are ODBC drivers available for most popular database
s:
Oracle,
SQL Server,
Sybase,
DB2 etc.
Each type of database (datasource) requires a different ODBC driver.
An application can only be linked with one ODBC driver library at any one time.
-the Data Source Name (DSN), which identifies the datasource to which it wants t
o connect.

When an ODBC based application connects to a database, it connects to a logical


name.
OBI connect with any database using this logical name i.e.DSN name to import the
tables(dimensions and facts) .
When an ODBC based application connects to a database, it connects to a logical
name.
The principal connection to an OBI Server inside the Oracle BI System is made t
hrough an Odbc Connection.
The BI Presentation Service and the Administration Tool use this connection meth
od to connect and manage the BI Server : Check this article for more details
OBI Server can handle multiple repository but you can connect to only one at the
same time by DSN Odbc Connection. Therefore, you must set up an ODBC connection
for each repository.
whenever we done with installtion, need to create DSN
STEPS:
1. Open the CONTROL PANEL and go to ADMINISTRATIVE TOOLS(ODBC) Administrator.
2. Go to the 2nd tab: "System DSN"
3. Click on Add and select driver of the database which you are using currently.
4. Give the credentials first assign name for the Data Source Name.
5. Give the TNS entry to connect the data source.
6. Database User Name and then click Test connection.
7. Give the credentials in test connection, user_name and password of database.
8. Check the connection is success OR not if YES then click OK.
sometimes we getting error related to DSN like :
ORA-12154: TNS: could not resolve the connect identifier
solution:
This types of errors occurs because of tnsnames.ora file is not match with the t
ns file in oracle installation.
or tnsnames.ora is not copied on installtion location
e.g.:-E:\app\shashikant.shirke\product\11.2.0\client_1\network\admin(the admin f
older must contains the tnsnames.ora file to resolved such types of errors)
once we done with the DSN we are ready to connect OBI server with data-source.
check connection is successful or not at the time of DSN creation.
2.
Once we copied the TNSNAMES.ORA file in above path i.e. oracle database installt
ion location inside the admin folder we need to copy
same TNSNAMES.ORA file in OBI home directory to overcome following error.
err: Connection has failed.
1. Drive:\<BIHome>\Oracle_BI1\network\admin\tnsnames.ora
E.g.: C:\OBIEE11g\Oracle_BI1\network\admin\tnsnames.ora
2. C:\OBIEE11g\oracle_common\network\admin\tnsname.ora
E.g: Drive:\<BIHOME>\oracle_common\network\admin\tnsname.ora
To overcome the above error
Copy the tnsnames.ora from Oracle Database home (ORACLE_HOME\NETWORK\ADMIN\)
to the following locations.
\OracleBI1\network\admin (Example: C:\OBI\Oracle_BI1\network\admin)

\oracle_common\network\admin (Example: C:\OBI\oracle_common\network\admi


n)
Set the TNS_ADMIN environment variable value with one of the copied location
s in the step 1 in user.cmd or user.sh file depending on your OS. This file will
be found under \instances\instance1\bifoundation\OracleBIApplication\coreapplic
ation\setup (Example : C:\OBI\instances\instance2\bifoundation\OracleBIApplicati
on\coreapplication\setup)

You might also like