Monday, October 29, 2012

How to login to OBIEE 11g with User and Password hardcoded URL?

If you would like to just login with URL into OBIEE 11g content, you can hardcode the URL and not have to worry about it anymore. The ingredients are below. The content in red indicates your input to your specific environment:

http://hostname:7001/analytics/saw.dll?answers&NQuser=username&NQpassword=Password

i.e. if your hostname is localhost; where you would like to login: answers, dashboard; username: weblogic, password: Admin123. The complete URL in this case will be:
http://localhost:7001/analytics/saw.dll?dashboard&NQuser=weblogic&NQpassword=Admin123Hope this helped!

How to Enable / Disable Recent Files List in Windows 7 Taskbar Jump List

First to edit the number of files shown in that list:

1. Right Click in your start menu and chose Properties
2. Click on Customize button under Start Menu tab
3. You'll get the Customize Start Menu dialog, at the bottom of which you will see the Start menu size section where you can set a new value for Number of recent items to display in Jump Lists
3. Set your preferred value and click on OK twice to apply the settings

Note that setting Number of recent items to display to 0 will remove the recent files list from taskbar, but still store your recent files at the back-end. So that you can restore it later.

To completely disable this feature:

1. Right Click in your start menu and chose Properties
2. Under Privacy section, You can find Store and display recently opened items in the Start Menu and the Taskbar check box. Uncheck it.
3. Click on OK to apply the settings.

Hope it helped!

Wednesday, October 10, 2012

OBIEE 11g OBI Server and Presentation Cache Management


Oracle BI Server Cache Management

  • BI server could be leveraged by multiple users and reports depending on whether they are accessing similar or subset of the cached data, though from a different reports.
  • To purge OBI Server cache the best-practice is to set it as automated process after completing ETL, because if we set the auto-purge at specified time, but for some reason ETL fails, the BI Server cache gets purged and all user queries will have to get executed all over, which will impact the BI Server performance.
  1. To complete this task, please follow these steps:
  2. Create a text file called: PurgeAllCache.txt and save it in C:\ (easier to remember)
  3. Open and type the following: Call SAPurgeAllCache()
  4. Save and Close.
  5. Create another text file called: PurgeCache.txt (we will later convert this file into batch file .bat) and save it in C:\
  6. Go to: \Oracle_BI\bifoundation\server\bin\nqcmd.exe and make sure you see the file DO NOT run it.
  7. Copy and paste the nqcmd.exe file directory somewhere temporary
    1. This is a ODBC client that runs commands
  8. Now, go to: Start > All Programs > Administrative Tools > Data Sources (ODBC)
  9. Click on System DSN tab and locate Oracle BI Server 11g_XXXXX > click on Configure…
  10.  
  11. Copy and paste the Name: with nqcmd.exe file path for now. The ODBC name in this case is: coreapplication_OH905911364
  12.  
  13. Cancel to close Oracle BI Server and ODBC windows.
  14. Open PurgeCache.txt and type the following:
    1. Echo off
    2. \Oracle_BI\bifoundation\server\bin\nqcmd.exe -d coreapplication_905911364 -u weblogic -p password -s C:\PurgeAllCache.txt
      1. Make sure this command is ALL IN ONE LINE
    3. Echo 
  • Explnation:
    • \Oracle_BI\bifoundation\server\bin\nqcmd.exe [nqcmd.exe file path]
    • -d coreapplication_905911364 [my DSN ODBC name]
    • -u weblogic [-u BI Admin Username]
    • -p password [-p BI Admin Password]
    • -s C:\PurgeAllCache.txt [-s SQL Input File to execute]
  1. Save and Close. 
  2. Change PurgeCache.txt into PurgeCache.bat this will convert the file into executable file. 
  3. Now run couple of analysis in OBIEE. 
  4. Open the RPD in an Online mode:
  5. Go to: Manage > Cache - and you'll see recent saved cache.
  6. Now run PurgeCache.bat and recheck the RPD Cache, you will see that it is cleaned :).
 

Oracle BI Presentation Cache Management

  • When users run analyses, Presentation Services can cache the results of those analyses. Presentation Services determines if subsequent analyses can use cached results. If the cache can be shared, then subsequent analyses are not stored.
  • The files for the Presentation Services cache have names such as nQS_xxxx_x_xxxxxx.TMP.
  • The files are created by the ODBC driver but generally do correspond to ODBC requests that the Presentation Services cache keeps open. The files are stored in the following directory: 
    •  ORACLE_INSTANCE\tmp\OracleBIPresentationServices\coreapplication_obipsn\obis_temp
  • The files for the cache are removed whenever Presentation Services shuts down cleanly. If Presentation Services shuts down unexpectedly, then various cache files might be left on disk. You can delete the files when Presentation Services is not running.
  • The Presentation Services cache is not the same cache that is accessed by the Oracle BI Server. You can change the defaults for the Presentation Services cache by modifying the instanceconfig.xml file to include the cache entries.
    • i.e. if the requirement is to set the cache to expire every 15 minutes; open to edit the instanceconfig.xml for OBI Presentation Services and add the following : 
    • Your code should look like this:
       
    • Save and Close the file.

Alternative Cache Management Techniques

  • Open  BI Administration Tool > Open the RPD
  • Go to: Physical table properties
  • Check: Checkeable and choose as appropriate
    • Cache never expires - self-explanatory
    • Cache persistence time - specify how often the table should purge the cache
      • Note: this implies only to this table and is not the best-techniques when you are working with 100s of tables.

Friday, October 5, 2012

OBIEE 10g vs 11g

  1. NQSconfig.INI File Path:
    1. OBIEE 10g: OracleBI/server/Config
    1. OBIEE 11G: ORACLE_INSTANCE/config/OracleBIServerComponent/coreapplication_obisn
  1. Repository (.rpd) Encryption:
    1. OBIEE 10g - certain sensitive elements within a repository are encrypted.
    2. OBIEE 11g - entire repository is encrypted using a key derived from a user supplied password. An 11g repository can ONLY be opened with the password, and there is no mechanism to recover a lost password.
  1. Defining Users and Groups
    1. OBIEE 10g - it was possible to define users and groups within a repository file using the Oracle BI Administration tool.
    2. OBIEE 11g - users and groups are defined and set from Admin Console
      1. You can no longer define users and groups within a repository. The Oracle Business Intelligence Enterprise Edition Upgrade Assistant migrates users and groups from a 10g repository into the embedded LDAP server in an 11g installation.
  1. OBIEE 10g Architecture:
    1. No WebLogic
    1. Security is set via LDAP Tables within RPD
    2. No Lookup feature
    1. No RollingPeriod - Time Series
    2. Stop Services - Copy RPD > Repository folder >
    1. NQSConfig.INI - manual
  1. OBIEE 11g Components:
    1. OBI Server
    2. OBI Presentation Server
    3. OBI Scheduler
    4. OBI Cluster Controller
    5. OBI Java Host
  1. OBIEE 11g Only Features:
    1. Admin Console
    1. Enterprise Manager - most server management are done
    2. Lookup tables
    3. Skipped Hierarchy
    4. Time Series > RollingPeriod - Measure Functions
    5. Dynamic re-arrangement of pivot tables columns in the dashboard
    6. Dynamic grouping and sorting on pivot and other views
    7. Instanceconfig.INI - OBI Server
    8. Instanceconfig.xml - OBI Presentation

"Live, Learn, Apply & Educate!" DRAZDA

OBIEE 11g: Important Path Directories

  • Start BI Services (parameter:  start_all)

  • Stop BI Services (parameter:  stop_all)

  • Sample Application Data and Repository

  • BI Repository(RPD)

  • Usage tracking and Marketing Segmentation Scripts

  • BI Server Cache file

  • BI Presentation Catalog

  • Clustered Component

  • Scheduler Components (Scheduler schema etc.)

  • BI ODBC , Javahost and other components

  • Start Weblogic Server (startWebLogic.cmd)

  • BI Config Files

  • Repository Config files (NQSConfig.INI,DBFeatures.INI etc)

  • Catalog config files(instanceconfig.xml,credentialstore.xml etc)

  • Scheduler Catalog config files (instanceconfig.xml)

  • Cluster Config files

  • OPMN Startup (parameter:  startall)
..\\\instances\instance1\bin opmnctl startall

  • OPMN Stop (parameter:  stopall)
..\\\instances\instance1\bin opmnctl stopall

  • BI PATH Initialisation

  • Weblogic Admin and Managed Server start/stop scripts(startWebLogic.cmd,startManagedWebLogic.cmd etc.)

  • BIPublisher repository and Config files

  • FMW Security Config files (system-jazn-data.xml)

  • BI Components Log files

  • BI Server Log files (NQserver.log , NQQuery.log etc.)

  • BI Presentation Server Log files (sawlog)

  • Installation Log files

  • Boot.properties:  /apps/biadmin/Oracle/user_projects/domains/bifoundation_domain/servers/AdminServer/security

  • Application Role: /apps/biadmin/OBIEE11g/user_projects/domains/bifoundation_domain/config/fmwconfig

  • Custom Skin: /apps/biadmin/OBIEE11g/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_WL_user/analytics_11.1.1/7dezjl/war/res

  • TNS path:
    • C:\app\user\product\11.2.0\dbhome_1\NETWORK\ADMIN
    • \Oracle_BI1\network\admin
    • \oracle_common\network\admin

"Live, Learn, Apply & Educate!" DRAZDA