Search This Blog

Wednesday, 20 November 2013

OBIEE 11g Log Files and Configuration

·     Specifying Query Log Maximum Log Age for all log files


This post best describes what are all the log file we have to consider for OBIEE 11g. We could check and configure both online as well online.

Using Enterprise Manager:
----------------------------------------------------------------------------------------------------
The right way to check them is using the Enterprise Manager (EM) Console page.
EM Console. Login to the URL http://servername:7001/em and navigate to: 

Farm_bifoundation_domain-> Business Intelligence-> coreapplications-> Diagnostics-> Log Messages
You will find the available files:

  • Presentation Services Log
  • Server Log
  • Scheduler Log
  • JavaHost Log
  • Cluster Controller Log
  • Action Services Log
  • Security Services Log
  • Administrator Services Log
If we are looking at the ‘Log Configuration’ tab which will allow to do the following changes
·     Specify Maximum file Size for all log files
·     Specifying Maximum Log Age for all log files
·     Specifying Query Log Maximum file size for all log files
However, we could also directly browse them on the hard disk in the below specified locations. 
The log files for OBIEE components are under <OBIEE_HOME>/instances/instance1/diagnostics/logs.  Specific log files and their location is defined in the following table:
Log File Name                                           Physical Path
Installation log <OBIEE_HOME>/logs
NQQuery Log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
NQSServer Log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
ServerName_NQSAdminTool Log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
ServerName_NQSUDMLExec log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
servername_obieerpdmigrateutil log (Migration log) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
sawlog0 log (presentation) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
JH  log (Java Host) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIJavaHostComponent\coreapplication_obijh
WebcatUpgrade Log (Web Catalog Upgrade) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
NQScheduler  Log (Agents) <OBIEE_HOME>/instances/instance1/diagnostics/logsOracleBISchedulerComponent/coreapplication_obisch1
NQCluster  Log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIClusterControllerComponent\coreapplication_obiccs1
ODBC log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIODBCComponent/coreapplication_obips1
OPMN Log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
Debug log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
LogQuery log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
Service log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
OPMN Out <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
Upgrade Assistant log <OBIEE_HOME>Oracle_BI1/upgrade/logs


Till Next Post,
Cheers!
Bose

Friday, 1 November 2013

Opening Catalog Manager in Windows for Linux OBIEE 11g

This post describes how to open Catalog Manager in Windows for the Linux OBIEE 11g. 
In this situtation, OBIEE 11g is installed in Linux machine and in some extent we could launch catalog manager in linux server but most of the time we could not have access to server and even if we have that to can access only via VNC or some of third party server. 

So If we want to open catalog through catalog manger, It is possible to open using our catalog manager object which is installed in our local windows machine. 

All we know the default location of the catalog manager
OSPath
WindowsORACLE_INSTANCE\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\
catalogmanager\runcat.cmd
LinuxORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/
catalogmanager/runcat.sh

Online / Offline

Many of the operations that you can perform using Catalog Manager are available in both online mode and offline mode. A few operations are available in only one mode or the other. Generally, the operations available in:
  • Online mode are read-only operations and write operations that do not affect the entire catalog, such as setting permissions for an object.
  • Offline mode include most of the operations available in online mode and write functions that affect the entire catalog, such as searching for and replacing catalog text
Note: Using catalog Manager in OBIEE client, we have the privilege to catalog only in online as we couldn't directly point physical to open in offline mode.

Here is the steps how to open repository online using Administration Tool in our local machine.

Step1: 
Start -> All Programs -> click 'Catalog Manager' from OBIEE Client

Step2:
Now Catalog Manager windows will be opened. From there click File -> Open Catalog
Step3:
In the next step, we will be prompted to enter catalog path, weblogic username and password to open catalog online. Enter all the detail and click 'OK'

Link: http://hostname:9704/analytics/saw.dll
User Name: Weblogic
Passowrd: Admin123
Now we could see the catalog is opened in catalog manager.
Step4:
As per my work I have assign privileges for some users to My Folder. So right click on 'My Folder' from the left side pane of catalog manager and select 'Permission'
Step5:
In the next sceen we could see what are the users having access to My Folder and from that selecting 'All' and then click 'List' will list out all the other user. so from the user list we could add some user to the left side pane and the click 'OK' to apply the changes.  

Now close catalog manager and check with privileges of the new users which you altered.

Cheers!
Bose

Opening Repository Online Using Administration Tool in Windows for Linux OBIEE

This post describes how to open repository online using OBIEE 11g Administration Tool in Windows for the Linux OBIEE. 
In this situtation, OBIEE 11g is installed in Linux machine and all we know that Administration Tool will not work in Linux. 

For the major development, we could develop reository through installed OBIEE Client in our local machine and could upload the same repository to linux server through enterprise manager. But for every minor changes, imports we no need to develop the same in local machine. We could directly open repository online using our Administration Tool from our local machine.

Here is the steps how to open repository online using Administration Tool in our local machine.

Step1:
Go to Control Panel -> Administration Tool -> ODBC Source  and then select 'System DSN' tab
 Step2:
Click 'Add' from the above select 'Oracle BI Server1' driver and then finish with the below screen
 Step3:
The above step prompt the 'Oracle BI Server DSN Configuration' window.
       1. Enter DSN Name
      2. Enter OBIEE Server Host Name or IP Address
and then click 'Next'
 Step4:
In the next step click Login ID and Password. After entering weblogic username and password click 'Next'
 Step5:
With the below screen just click 'Finish' and complete the DSN configuration.
 After sucessful creation We could see DSN Name which we have created under System DSN
Verfication:
Now Open Administration Tool from our OBIEE Client installed in our Local machine and click open online. Now we could see the DSN which we have created in ODBC Sources. 

Here enter Repository Password and weblogic Username and Passworkd
 We could see repository opened online in Administration Tool
Points to remember:
To create the connection we have to be in local network where OBIEE Server installed or have to be connected with network atleast through VPN.

in The Next Post read How to open catalog manager for the changes for the same Env

Cheers! 
Bose

Friday, 4 October 2013

Windows 64bit Informatica 9.0.1 Client Complete Installation

This article provides complete step by step instruction for installation and configuration of Informatica PowerCenter 9.x. This includes the installation Informatica Client.
Continuation of the previous Informatica 901 Server Installation post, we can take this forward to know how to install Informatica 9.0.1 client.

Step1: Double Click on “install.exe” 


Step2: Installation wizard Starts. Click “Next”. 




Step3: Installation wizard Starts. Choose the installation type as in the below image. Click “Next”. 
 
Step4: Installation Pre-requisites will be shown before the installation starts as below. Click “Next”.

Step5: Choose the client tools you need. Only PowerCenter Client is mandatory. Click “Next”. 

Step6: Choose the client installation directory. Click “Next”.  

Step7: Pre-installation summery will give the items installed during the installation process. Click “Install”. 
Step8: Installation Begins. It takes one or two minutes to complete this step. I


Step9: Installation is complete and you get the post-installation summary. Click “Done”, and you are done with Informatica 9.0.1 Client Installation.

With the above step you have successfully installed Informatica 9.0.1 Client installation successfully.

Happy Blogging!!
Bose

Thursday, 3 October 2013

Windows 64bit Informatica 9.0.1 Server Complete Installation

Informatica 9.0.1 Server Installation:
 This post provides complete step by step instruction for installation and configuration of Informatica PowerCenter 9.0.1. This includes the installation of server components, configuration of different Informatica services and client installation and configuration.

Pre-requisites of Informatica Installation:
It is needed to create a schema in an oracle database while installing Informatica server. This schema will be have the metadata repository. And this data will be used by Informatica both server and client. Metadata can include information such as mappings describing how to transform source data, sessions indicating when you want the Informatica Server to perform the transformations, and connect strings for sources and targets.

Script to create a tablespace in Oracle Database:
CREATE TABLESPACE INFAREP_TS DATAFILE 'D:\app\hp\oradata\orcl\infarep_ts.dbf' SIZE 100M AUTOEXTEND ON MAXSIZE 500M;

Note: 
Datafile path should be your machine oracle installed path where the tablespace will be created after executed the above query.

SQL Syntax to create schema to hold metadata:
CREATE USER INFAREP
IDENTIFIED BY INFAREP
DEFAULT TABLESPACE INFAREP_TS
TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT
ACCOUNT UNLOCK;

SQL syntax to extend password life to lifetime:
ALTER profile DEFAULT limit password_life_time UNLIMITED;

Script to create role that will be given to user:
Create role SSE_ROLE;
Grant connect, resource to SSE_ROLE;
Grant select any table to SSE_ROLE;
Grant create session to SSE_ROLE;
Grant insert any table, delete any table, update any table to SSE_ROLE;

SQL Script to create schema to hold metadata:
GRANT SSE_ROLE TO infarep;
GRANT GLOBAL QUERY REWRITE TO infarep;
GRANT CREATE MATERIALIZED VIEW TO infarep;
GRANT CREATE TABLE TO infarep;
GRANT CREATE ANY VIEW, DROP ANY VIEW TO infarep;
GRANT CREATE ANY SEQUENCE, DROP ANY SEQUENCE TO infarep;
GRANT CREATE ANY INDEX, DROP ANY INDEX TO infarep;
GRANT UNLIMITED TABLESPACE TO infarep WITH ADMIN OPTION;

Note: All Scripts shown above should be executed in the same sequence as specified above before starting the installation.

Informatica 9.0.1 Server Installation:
Step1: Download all the necessary files and unpack and keep it in folder. Now start Installation of server from the folder by Double clicking on “install.exe”
Install Anywhere window will open and will guide through the next step

Step2: Installation wizard starts. Click the radio button as shown in screenshot below and click on “Next”.


Step3: Installation Pre-requisites will be shown before the installation starts as below. Click “Next”.

Step4: Enter the license key. You can locate the license key from the desired path where the file “Oracle_All_OS_Prod.key” is there in your system.
Click “Next”.
Note: if the  oracle key store place path have space then it won't go the next step. It will give error like below screen shot, If it is not happened to you just move to next step

Step5: Pre-installation summary will give the items installed during the installation process based on the license key.
Click “Install” 


Step6: Installation Begins. It takes couple of minutes to finish. Soon after completion of this step, Configuring Domain window opens. Continue the steps from Domain Configuration. 

Domain Configuration Steps:
Step7: Creating a domain
o Choose “Create a Domain” radio button.
o Un-Check “Enable HTTPS for Informatica Administrator”
o Leave the Port number as it is and choose “Use a keystore file generated by the installer”
Click “Next”. 

Step8: Provide the Repository database details as below.
o Database Type: Choose your Repository database (Oracle/SQL Server/Sybase)
o Database user ID: Database user ID to connect database.
o User Password: Password to connect to database.
o Schema Name: If Schema name is not provided default schema will be used.
o Database Address and Port: Machine on which database in installed and default port number.
o Database Service Name: Database Name.

Below image shows the configuration using Oracle. Click “Next”.
Step9: You can give the Domain details, Admin user details now.
o Domain Name: Name of your Domain.
o Node Host Name: Machine name on which Informatica Server is running.
o Node Name: Name of the Node.
o Node Port Number: Leave the default port Number.
o Domain user name : This is the Administrator user
o Domain password : Administrator password

Note: Remember the Admin User ID, Password to log on to Admin Console later in the installation. 
Step10: Use the default configuration and Click “Next”. 

Step11: Installation is complete and you get the post-installation summery. You get a link to the installation log file and a link to Admin console. Click “Done”. 
************************************************************************************************************
Important Note:
with the above step we have successfully installed the server. Now in order to configure the Power Center Repository and Integration Services, there are few things we have to make sure. In my case I'm installing theInformatica Client and Server in my local machine were I have my Oracle Server database 64 bit. However in order to configure the Powercenter Repository Services we should also install Oracle Client 32 bit in the same machine. The reason is Informatica can talk to the server only through the 32 bit Client machine.


1. Install Oracle 32 bit client in your system . click here for Oracle 32bit Client Download Link

b. Copy the tnsnames.ora file from installed oracle server 64bit path to to the client path.

*********************************************************************************
Configuring / Creating Repository Services:
Step1: Go to Start menu and Click on “Informatica Administrator Home Page”. This will open up the Admin Console in a web browser. 

Step2: Log on to Admin console using your Admin User ID and Password. You set your Admin User ID and Password in “Step9” above.

Step3: Once you Log on you will see the Screen just like shown below.

Step4: Choose your Domain Name from “Domain Navigator”, Click on “Actions”, Choose “New” and “PowerCenter Repository Service”.

Step5: A new screen will appear, in which you need to fill in details. 

Step6: Fill in following details.
o Repository Name: Appropriate Repository Name.
o Description: An optional description about the repository.
o Location: Choose the Domain you have already created. If you have only one Domain, this value will be pre populated.
o License: Choose the license key from the drop down list.
o Node: Choose the node name from the drop down list.
Click “Next”. 

Step7: A new screen will appear, provide the Repository database details.
o Database Type : Choose your Repository database (Oracle/SQL Server/Sybase)
o Username: Database user ID to connect database.
o Password: Database user Password.
o Connection String: Database Connection String.
o Code Page: Database Code Page
o Table Space: Database Table Space Name
o Choose “No content exists under specified connection string. Create new content”
Click “Finish”.

Step8: It takes couple of minutes create Repository content. After the repository creation below screen will be seen.

Step9: The repository service will be running in “Exclusive” mode as shown below. This needs to be change to “Normal” before we can configure Integration service. Click “Edit” Repository Properties. 


Step10: A pop up window appears, set the properties
o Operation Mode : Normal
o Security Audit Trail : No
Click “OK”.
State is now changed to “Normal” mode.

Configuring Integration Services:
Step1: Choose your Domain Name from “Domain Navigator”, Click on “Actions”, Choose “New” and “PowerCenter Integration Service”.

Step2: Following screen appears. 

Step3: A new window will appear, provide the details as shown below.
o Name: Desired Integration Service Name.
o Description: An optional description about the repository.
o Location: Choose the Domain you have already created. If you have only one Domain, this value will be pre populated.
o License: Choose the license key from the drop down list.
o Node: Choose the node name from the drop down list.
Click “Next”.

Step4: A new window will appear, provide the details as shown below.
o PowerCenter Repository Service: Choose your Repository Service Name from the drop down list.
o Username: Admin user name.
o Password: Admin password.
o Data Movement Mode: ASCII.
Click “Finish”. 
Step5: A pop up window will appear, Choose the Code Page as ANSI. Click “OK”.

Step6: Window will be closed and you can see all the configured services in the “Domain Navigator”.

With that we are all done with the installation and configuration for Informatica PowerCenter Server 9.0.1.

we will see Complete step for Installing Informatica Client Installation in the next Post

Happy Blogging!
Bose

What is Oracle Database Link and How to create database link (DB Link)

 https://www.oracletutorial.com/oracle-administration/oracle-create-database-link/

Recent Posts