Quantcast
Channel: DELIVERBI Blog GCP Google | BIG DATA | OBIEE | OBIA | Oracle | Trino
Viewing all 90 articles
Browse latest View live

Migrating from Oracle BI 11g to 12c OBIEE

$
0
0

Migrating from Oracle BI 11g to 12c

Migrating the metadata from Oracle BI 11g to 12c is a two step process, and is carried out by using the BI Migration Script (migration-tool.sh). The process involves creating an export bundle from a read-only 11g certified Release (11.1.1.7 or later) using the BI Migration Tool (bi-migration-tool.jar) and then importing it in to the 12c system.
This procedure is applicable only for Oracle BI EE and BI Publisher.
Oracle supports Essbase migration from Release 11.1.2.4 to Release 12.2.1. It is carried out using a separate command-line migration utility (EssbaseCagentToJagentMigrationUtility.sh|bat). To migrate Essbase data and metadata from 11.1.2.4 to 12.2.1, follow the procedure described in “Migrating Essbase 11.1.2.4 Data and Metadata to Essbase 12.2.1” in Oracle® Essbase Database Administrator's Guide 12.2.1.
Note:
The export process is read-only. Data, configuration, or existing binaries are not modified or deleted on the source system. During export, the metadata and configuration (specifically the data model and connection pools), the catalog content, and the security store authorization policy are retained. You must reconfigure the following:
  • The WebLogic authentication configuration
  • Mid-tier database content (such as BI Publisher schedules, the job history of agents, scorecard annotations, and usage tracking tables)
  • Application-specific data such as TimesTen aggregates, the global cache, required database schemas, and Essbase applications, data, outlines, rules, and calculations
The import process is offline. During import, metadata content is deployed to customize the specified service instance and it overwrites the existing configuration settings

OBIEE 12c Start and Stop Scripts No More OPMN

$
0
0

OBIEE 12c Start and Stop Scripts


No More OPMN .... All weblogic now.. FMW
obiee 12c ( No more OPMN ) . These new scripts are sooo easy... Or Use FMW still for services etc.


Stopping OBIEE 12

./stop.sh | stop.cmd {-i <list of instances>} {-r}
For example, ./stop.sh -i obis1,obips1
-r (optional) Stops the remote Node Managers

If no instances are specified as arguments in the command,
the administration server, managed server and all system components are shutdown by default.

Starting OBIEE 12


./start.sh | start.cmd {-noprompt} {-i <list of instances>} {-r}

For example, ./start.sh -i obis1,obips1
If no instances are specified as arguments in the command,
the administration server, managed server, all system components, and local node manager are started by default.

Status of OBIEE 12 Services (All Weblogic)


./status.sh | status.cmd {-v}

where {-v} is verbose

The command displays component name, type, status, and machine name.

  • BI Server(OBIS)— This component provides the query and data access capabilities at the heart of Oracle Business Intelligence and provides services for accessing and managing the enterprise semantic model (stored in a file with an .RPD extension).
  • BI Scheduler(OBISCH)— This component provides extensible scheduling for analyses to be delivered to users at specified times. (Oracle BI Publisher has its own scheduler.)
  • BI JavaHost(OBIJH)— This component provides component services that enable Oracle BI Presentation Services to support various components such as Java tasks for Oracle BI Scheduler, Oracle BI Publisher, and graph generation. It also enables Oracle BI Server query access to Hyperion Financial Management and Hyperion Planning data sources.
  • Essbase— This component provides support for Essbase.
  • BI Presentation Server(OPBIPS)— This component provides the framework and interface for the presentation of business intelligence data to web clients. It maintains an Oracle BI Presentation Catalog service on the file system for the customization of this presentation framework.
  • Cluster Controller(OBICCS)— This component distributes requests to the BI Server, ensuring requests are evenly load-balanced across all BI Server process instances in the BI domain.

OBIEE 12 Commands and File Locations etc

$
0
0

OBIEE 12 Commands / Locations - Will keep Adding them



Uploading and Downloading an RPD for Offline Editing


Before Uploading and Download an RPD .

First of all get your service key ( You need to open the wlst Weblogic Scripting Tool)

weblogic offline

/ORACLE_HOME/oracle_common/common/bin/wlst.sh

Once Logged in run the following

List Service Instances

listBIServiceInstances('/u01/Middlewarehomebi12/user_projects/domains/bi12')

Once you have the service Key (" my key was "ssi" ... must be default)

Run the following to upload and download RPD (Call RPD what you Like)

Download Command : 
sh data-model-cmd.sh downloadrpd -O myrpd.rpd -W Admin123 -SI ssi -U weblogic -P weblogic123

Upload Command :
sh data-model-cmd.sh uploadrpd -I myrpd_new.rpd -W Admin123 -SI ssi -U weblogic -P weblogic123


You will get completion messages after uploading and downloding such as Success !!



OBIEE 12 TNS Location for Oracle DB


ORACLE_HOME/user_projects/domains/bi12/config/fmwconfig/bienv/core/

Place your tnsnames.ora in the location above and run the ./stop.sh  from bitools directory then ./start.sh to bounce all services.

File Locations (SSI can vary dependent upon Serviceinstance)


NQS Config.INI

/ORACLE_HOME/user_projects/domains/bi12/config/fmwconfig/biconfig/OBIS

Webcatlog

[ORACLE_HOME]/user_projects/domains/bi12/bidata/service_instances/ssi/metadata/content

RPD - Datamodel

[ORACLE_HOME]/user_projects/domains/bi12/bidata/service_instances/ssi/metadata/datamodel


Log Files

[ORACLE_HOME]/user_projects/domains/bi/servers/obis1/logs/




Over and Out 

Shahed M and Krishna M







OBIEE 12 RCU Avoid Hardstop Pre Reqs for AL32UTF8 Database Char Set

$
0
0

OBIEE 12 RCU Avoid Pre Reqs for AL32UTF8





I think there is a bug or a Hardstop in the 12c RCU Process when trying to install an RCU on a non UTF8 char set database.

Anyway there is a way around it ....

Open the file : [ORACLE_HOME]/oracle_common\rcu\config\RCUCommon.dtd

and amend the following properties from FALSE to TRUE:

<!ATTLIST DBPrerequisiteSet
          OPERATOR (OR|AND) "OR" 
          SOFT (TRUE|FALSE) "TRUE">

PREREQ_TYPE (InitParameter|DBOption|Java|DBComponent|DBVersion|DBObject|CustomSQL|TablespaceFreeMB) "CustomSQL"
        DATA_TYPE (STRING|NUMBER|VERSION) "STRING"
        COMPARE_OPERATOR (EQ|GT|LT|NE|GE|LE|COMPARE_VERSION) "EQ"
        SOFT (TRUE|FALSE) "TRUE">


While i was there me and Krish added a bit of personalisation to the RCU tool... We suppose it would be good for a corporate roll-out if done manually.

Open the File : [ORACLE_HOME]/oracle_common\rcu\config\rcu.properties

#This parameter can be used to change the Welecome Text at "WelcomePage' of RCU
PRODUCT_NAME=THE DELIVER BI WAY !!!!

The RCU Process issues various HARD Stops these can be overcome by amending the files above.

SOFT Stop = Ignore ( Ignore Properly) .. The out of box RCU does not ignore the soft stops hence the change above helped.. 


Over and Out Shahed M and Krishna M

OBIEE 12c Validation Tool

$
0
0

OBIEE Validation Tool OBIEE 12c


Oracle Website : Download Client Tools :






Oracle BI Baseline Validation Tool is a command-line utility that enables you perform
regression testing on Oracle BI presentation catalogs from any two compatible Oracle
BI 11g systems. You use the tool to extract catalog data from each system and generate
comparison files. You then analyze the comparison files to determine whether any
changes are needed before making a modified catalog available to your user
community.


BI 11.1.1.7 release to release 11.1.1.9. To investigate whether the patch has altered any
of the dashboards and analyses that are most important to your user community, you
perform the following tasks:


1. Run the Oracle BI Baseline Validation Tool against the appropriate catalog folder
in your 11.1.1.7 Presentation Catalog to generate baseline data. You then run the
tool against your 11.1.1.9 catalog to generate the same data from the patched
system.

2. Instruct the tool to generate reports that compare the pre- and post-patch content
of your most important dashboards and analyses.

3. Next, examine the reports and analyze differences. Determine any fixes that are
needed in the 11.1.1.9 deployment before making it available to your user
community.

4. Finally, after making changes to those analyses, run the tool against your new
11.1.1.9 system to generate a new baseline, which you then save for later reuse.


Its available as part of the BI Client tools installation downloaded from Oracle Website.

Once you install the Client tools its available in the location below (50mb) zip file on windows client tools !!

[INSTALL_LOCATION]\Oracle_Home\bi\components\oracle.bi.bvt

There are also instructions here in a PDF document called : Usage.pdf

Good Luck 


OBIEE 12 Admin tool OCI Connectivity

$
0
0

OBIEE 12c Client Administration Tool Importing OCI Connectivity (Tables etc)

















12c is using a local TNS in Online Mode and Offline Mode and not using the TNS_ADMIN on a windows machine.

However you can view the data in the tables within the RPD( Weird huh) as it using the network tnsnames.ora


Anyway goto the OBIEE Administration tool installation location and paste a tnsnames.ora file.

Steps: goto the OBIEE Administration tool installation location

[OBIEE Installation Directory]\Oracle_Home\network

Create a Directory called admin

Then within that paste a valid tnsnames.ora file.

Restart the BI Administration tool and everything works as it should ie creating tables from DB.




OBIEE 12c Chart Error (Charts Graphics Not Displaying) Linux Headless error

$
0
0

OBIEE 12c Chart Error on Linux & No Graphics 












When you create or run a chart in OBIEE and its blank ie no graphics. An error will appear in the obips log showing a headless error on linux.

This can be overcome by firstly checking if the DISPLAY variable was set ie X11 when bringing up OBIEE Services.

Run env command and check if DISPLAY Variable is set.


If display variable was set then stop.sh all FMW/OBIEE Services issue the unset DISPLAY command in linux terminal and start.sh all services.



-----------------------------------------------------------------------------------------------------------------

If the above does not work then try below.....

export JAVA_OPTIONS=-Djava.awt.headless=true

You must specify -Djava.awt.headless=true in the setDomainEnv.sh file. This has nothing to do with Unix systems as this option is available on every platform



Solution:
The solution for this problem is to add -Djava.awt.headless=true to the list of server start arguments of the managed server.  You can change it by,
Login to the Weblogic admin console.
Expand Environment and select Servers.
In the Servers table, click the name of the managed server you want to configure.
Select Configuration > Server Start.
If this is another server or some other java application, you can add this property to wherever place you can specify the JVM arguments for the start of that server or application.

ODI 12.2 SVN Subversion Restore back to default remove SVN Location that has been setup

$
0
0

ODI 12.2.1 SVN (VCS) Restore back to Default

The feature to remove SVN setup has not been documented as far as we can see. At your own risk. Worked for us and we never encountered any problems.




















ODI 12.2 Has SVN ( Subversion ) checkout Version Control built in . We had setup this up but then realised we needed to point to setup on another server folder location and we could not.

We found the SNP_LOC_REP table in the Master Repository Schema in Database and reset the VCS* Fields to null. This allowed us to reset our SVN Repository folder locations. 



Returned SVN (VCS) to Default on the master repository. We could not find any documentation to do so. 

Solution : 

Close ODI Studio


Query the SNP_LOC_REP table and retrieve values and reset to null

select REP_NAME
,VCS_NAME
,VCS_ENABLE
,VCS_REP_NAME
,VCS_PROJECT_NAME
,VCS_BRANCH_NAME
,SYNC_STATUS
,VCS_AUTO_VERSIONING
,ENC_VCS_KEY 
FROM SNP_LOC_REP;

UPDATE SNP_LOC_REP
SET VCS_FIELDS = NULL;






COMMIT all field changes.

Restart ODI Studio.

TO RESET SVN FOLDERS AND REPOSITORY LOCATIONS UPDATE THE TABLE SNP_LOC_REP AND UPDATE ALL FIELDS THAT BEGIN WITH VCS TO NULL IE BLANK

Over and Out . Shahed & Krishna


OBIEE 12c Auto Start on Server Restart Windows and Unix

$
0
0

OBIEE 12c Auto Start all Services

Auto start after windows or Linux Server restart
Thanks Oracle

So easy now…
, You can use your operating system scheduler or initialization scripts to run the provided wrapper start script when server starts up. 
Windows

For example on Windows 2012 you could create a scheduled task that would get executed when the server starts and point it to OBIEE start script by following these steps:
  1. Open Task Scheduler from Administrative Tools
  2. Create a new Task, give it a name.
  3. Select "Run whether user is logged on or not"
  4. Create a New Trigger to run "At system startup".
  5. Create a New Action to "Start a program". Click Browse button, navigate to [DOMAIN_HOME]/bitools/bin directory and select start.cmd

Unix

Use init.d scripts (see your favorite search engine for examples) to call or create a service | daemon via [DOMAIN_HOME]/bitools/bi/start.sh

OBIEE 12c Archive / FTP a Report to filesystem LINUX or Windows

$
0
0








OBIEE 12c Archive/Export an Analysis to Linux / Windows Filesystem for FTP etc



We had a requirement to export analysis or dashboards from a scheduled agent to a linux filesystem on OBIEE 12c . We have put together a brief document on how to achieve this along with all the working code base for OBIEE 12c.

The document can be downloaded from the DELIVERBI box location along with the code . The code is generic, So you can just deploy the ear file to weblogic do a little configuration and your up and running to Export to Linux / Windows / Unix filesystem.

This solution was tested on OBIEE 12,2,1 and Linux Operating system.

We have included all files to make this solution work and a code base that actually works unlike or the examples we were finding. The document covers everything including creating your own ear file so that you can create the solution from scratch.


Document Only

Download the Document Only Click Here



All Files Related to Solution

Download All files for Archive Report 12c Solution Click Here


Have a Merry xmas and happy new year from DELIVERBI

Cheers Shahed Munir & Krishna Mohan

OBIEE 12c Bursting a Report with Dynamic File Name to filesystem LINUX or Windows

$
0
0

DELIVERBI Dynamic Archive Ear File


I worked with our original solution and improved it to burst / archive reports to Linux file system that is generic.


The new functionality within EAR file enables dynamic file names to be produced for exporting / using the content of the report / dashboard.

I have achieved this by adding few more parameters to the Java Bean when exposed in OBIEE EJB.

 


The new JAR file looks for Tags embedded in the Dashboard / Report and uses them to derive the file name of the file being exported to the file system.

Had to go through few hoops to achieve this functionality.

I incorporated a public JAR from Apache Tika that I am using in the EAR. I was using PDFBox but moved to this alternative to ensure the results are reliable.

Then I started amending the Java Bean code to extract the Delivery content as a String to work out the target file name. Needed to go through few iterations to get this solution up and running while making it quite generic.

I came up with idea of using two key words to look for in the Delivery content to identify the output file name. The previous solution allows for a file name parameter but is not dynamic I came up with two markers, StringStart and Str


As this solution is an improvisation based on the original solution, I am only providing the high level approach and components and not step by step instructions

You can access the solution document HERE 

And all source code as well as a fully working EAR file HERE

I have tested this solution with PDF and XLSX formats and it works as expected. It should work with other formats but will be testing these shortly.

I have built and tested this solution on OBIEE 12.2.1 

Updated 22nd December 2015 - Moved from PDFBox to Apache Tika


Merry Christmas and Happy New Year.

Krishna Mohan

OBIEE 12c Online RPD modification : BI Server Password corruption

$
0
0
OBIEE 12c Online RPD modification : BI Server Password corruption

We have noticed that the BI Server goes down some times and does not come up after carrying out online RPD changes.  

During the online edit looks like the RPD password is getting corrupt and causing the BI server errors

We worked a way to overcome this issue by restoring the default RPD and then deploying the latest version of the RPD. Of course you do need the latest offline RPD to hand to use this method.

The detailed steps are
  • Navigate to the directory /Middlewarehomebi12/user_projects/domains/bi12/bitools/bin and issue
         sh stop.sh to stop all services
  • Delete liverpd.* and all other versions of RPDs in the directory /Middlewarehomebi12/user_projects/domains/bi12/bidata/service_instances/ssi/metadata/datamodel/customizations          
  • Clear the content of file default_diff.xml in the directory /Middlewarehomebi12/user_projects/domains/bi12/bidata/service_instances/ssi/metadata/datamodel/customizations/default
         Note: Do not delete this file
  • Issue the command sh start.sh to start all services from bitools/bin directory
  • The system should come up with default RPD
  • Login in to Weblogic as weblogic user to ensure all services are up and running
Now we need to deploy the latest RPD

FTP the RPD to the server and issue the following command from /bitools/bin directory

sh data-model-cmd.sh uploadrpd -I <Mylatestversion>.rpd -W <RPD Password> -SI ssi -U weblogic -P <weblogic password>

Hope you don't face this issue but if you encounter an error like here then you can use the above approach.

Unable to start the server obis1 : Received error message from Node Manager Server: [Server start command for OBIS server 'obis1' failed due to: 
[Server failed to start up but Node Manager was not aware of the reason]. Please check Node Manager log and/or server 'obis1' log for detailed information.]. Please check Node Manager log for details.

Happy New Year

Krishna & Shahed

OBIEE 12c Impersonation of a User Impersonate

$
0
0

OBIEE 12c Impersonation of a User ( Impersonating User)

When Testing OBIEE 12c security you sometimes want to login as another user from your ldap with the roles assigned in the EM. 


The  "oracle.bi.server.impersonateUser" permission does not exist anymore in 12c as it did in OBIEE 11g..... 


To create a user or app role with permission to impersonate, create a permission grant using the ResourceType "oracle.bi.user", with a name of "*" and an action of "impersonate".

These are the steps to achieve this:


Connect to EM for your Oracle BIEE instance using an admin account.



















Click on the Weblogic Domain drop down, select “Security” and then “Application Policies”



Create a new application security grant


















Click on the create button in this screen.



Create Application Grant



















Click on +Add on the Permissions section


















Select “Resource Types” radio button
Select “oracle.bi.user” in the Resource Type drop down
Hit the continue button for this dialog



Add permission

















Type “*” in the Resource Name box
Select “impersonate” in the Permission Actions check box
Hit select


Add a new Grantee

Hit the +Add on the Grantee section
















You can choose to grant the newly created Permission to either an application role or user. In this document, I choose user .. weblogic...
Select “User” in the drop down
Select “Includes ” for Principal Name dropdown … and type * into the box
Hit the “>“ for the dialog. You will get the list of uses ..






















Select the user you want to give the permission to (in my case I used weblogic) and hit OK.
Hit “ok” on the “Create Application Grant” page.


Login to OBIEE as weblogic or your admin user and refresh the metadata and files. Or alternatively just bounce all servers ie .. weblogic servers... services...

Then try the Impersonate URL: It will work without bouncing but i noticed it started working adter around 10 minutes ... or just keep trying the URL... It will work as i have tested it...


So useful when testing Security in OBIEE 12c.


Over and Out .. Shahed M









OBIEE 12c Linux Slow Startup and Shutdown using Delivered Scripts

$
0
0

OBIEE 12c Slow Startup and Shutdown within Linux


When the entropy pool is low, then the OS needs to add  bytes back to the pool. This can be a blocking operation and cause hangs or slowness when performing such tasks such as using nodemanger, starting Weblogic, etc


  • Check the default system entropy pool
$ cat /proc/sys/kernel/random/poolsize
4096
  
  • Check the currently available entropy pool
$ cat /proc/sys/kernel/random/entropy_avail
396

If below 500 then it will be slow.....

How can I add to the entropy pool to resolve this issue?

You Can Download rngd if not installed using Yum install
  • You can run 'rngd', which adds random bytes to /dev/random using /dev/urandom as the source.

    As the 'root' user execute:
    Note: you may need to install rng-tools.x86_64 before you can execute it.
rngd -r /dev/urandom -o /dev/random -b


You can configure it permanently by adding the following to /etc/sysconfig/rngd :
EXTRAOPTIONS="-i -r /dev/urandom -o /dev/random -b -t 60 -W 4096"



This will generate to the entropy pool ever 60 seconds until the size is 4096.  You can change to the desired time and size with the '-t' (time) and '-W' (size) parameters.

Conclusion

With the entropy settings in place it almost halfs the time OBIEE takes to Start and Shutdown so convinient when your changing weblogic or EM settings.

ODI 12.2.1 Exporting Master/Work Schema DMP from one database to another.

$
0
0

ODI 12.2.1 Exporting Master/Work Schema from one database to another.


In The below example we are cloning ODI Schema from Oracle 12c Database to Oracle 11 Database.












We Exported the STG_ODI_REPO schema from one DB environment using the export utility as dump file and imported into another DB environment.

Instead of exporting the Master and work repository, which takes a lot of time, this approach was used for better turnaround time.

Able to connect to Master repository and navigate to Topology tab and view the Work Repository but when trying to connect gets the error ODI-23018 error

I have carried out the following steps to fix this error
.      
     Connect to the STG_ODI_REPO schema in the database

2.    Run the following query



select i_txt,full_txt from snp_mtxt where i_txt
in (select I_TXT_JAVA_URL from snp_connect where con_name = 'STG_WORKREP');


My work repository name is ‘STG_WORKREP’


You will see the output like below
I_TXT
FULL_TXT
394
jdbc:oracle:thin:@(description=(address=(host=OLDIP)
(protocol=tcp)(port=OLDPORT))(connect_data=(service_name=OLDSERVICE)
(server=dedicated)))

Observe that the full_txt field contains the old connection details
3.   
        Update the full_txt field with the new connection details





update snp_mtxt
set full_txt = 'jdbc:oracle:thin:@(description=(address=(host=NEWIP)(protocol=tcp)(port=NEWPORT))(connect_data=(service_name=NEWSERVICE)(server=dedicated)))'
where i_txt = 394;

COMMIT;


  

Now open ODI Studio and you should be able to connect to your work repository.

Adjust the contexts and Agents before running any jobs

This approach is tested on ODI 12.2.1 with 12C database as source and ODI 12.2.1 with 11G database as target. 

Incidentally these two databases were setup with different character sets but it worked perfectly fine.


Other important note is to specify VERSION=11.2 during the expdp command


OBIEE 12c Restart BI Services excluding weblogic , biserver1 from Linux

$
0
0

OBIEE 12c Restart just BI Services (11G OPMN Services) Linux.



This is by no means the perfect script but for us it works fine , All we wanted was a way we could restart the EM OBIEE Services from Linux , With some checks to ensure everything stopped and everything we want started and then sending an email to us to let us know its all OK.

We have noticed sometimes OBIEE 12c can get stuck if not used over the weekend ... Weird huh... Only happens on selected servers for one of our clients. So we bounce the EM Services every now and then which seems to resolve the problem.

So the automated script is as below . Just create a .sh script on the Linux box and adjust the Paths in the script ( First 2 lines).. Add the Mailx command from Linux if required and your off... We have scheduled the script on a Linux Cron Job.


  • Please See the code
#Restart all OBIEE BI Server Services Only
#DELIVERBI 2016

#Stop all OBIEE BI Server Services Only
# Set OBIEEHOMEPTH for bitools bin

OBIEEHOMEPTH='/u01/Middlewarehome/user_projects/domains/bi12/bitools/bin'
OBIEELOGPTH='/u01/Middlewarehome/user_projects/domains/bi12/bitools/bin/obieestartstop'


> $OBIEELOGPTH

sh $OBIEEHOMEPTH/stop.sh -i obips1,obijh1,obiccs1,obisch1,obis1 > $OBIEELOGPTH

sleep 10s

valuestopped=$( grep -ic "Stopped" $OBIEELOGPTH )
valueshutdown=$( grep -c "SHUTDOWN" $OBIEELOGPTH )
if [ $valuestopped -eq 5 ] ||
[ $valueshutdown -eq 5 ]
then
  echo "LOG Found 5 stopped or Shutdown Services and Starting NOW">> $OBIEELOGPTH;
fi

sleep 10s
sh $OBIEEHOMEPTH/start.sh -i obis1,obisch1,obiccs1,obijh1,obips1 >> $OBIEELOGPTH

# Check if all Services are running
sleep 10s

valuerunning=$( grep -c "RUNNING" $OBIEELOGPTH )
valuestarted=$( grep -ic "Started" $OBIEELOGPTH )
if [ $valuerunning -eq 8 ] & [ $valuestarted -eq 5 ] || [ $valuerunning -eq 13 ] & [ $valuestarted -eq 5 ]
then
echo "OBIEE Services Success Status End of Job">> $OBIEELOGPTH;
echo "SUCCESS LOG Found 8 OBIEE RUNNING Services so all Components are UP">> $OBIEELOGPTH;

echo "OBIEE STG Server Email Notification of OBIEE BI Service Restart SUCCESS" | mail -s "OBIEE stgLinux Server" -a "/u01/Middlewarehomebi12/user_projects/domains/bi12/bitools/bin/obieestartstop" Shahed@deliverbi99.co.uk

else
echo "OBIEE Services Fail Status End of Job">> $OBIEELOGPTH;
echo "ERROR OBIEE Services Have not Started Properly Please Check logs and Services">> $OBIEELOGPTH;

echo "OBIEE STG Server Email Notification of OBIEE BI Service Restart FAIL" | mail -s "OBIEE stgLinux Server" -a "/u01/Middlewarehomebi12/user_projects/domains/bi12/bitools/bin/obieestartstop" Shahed@deliverb99i.co.uk

fi

  




You Can always check if your server is sending emails by making sure mailx is working as expected just issue the mail command.

Over and Out

Sha

OBIEE 12c Oracle BI Bundle Patch 12.2.1.0.160419

$
0
0

OBIEE 12c Oracle BI Bundle Patch 12.2.1.0.160419  22734181



19th April 2016

Patches have been released for some of the problems we have faced so far.

The Main bug being VA DataSet user permissions












Above Permissions tab is now visible once patch has been applied.




Bug fixes in this patch are shown in the following list:
  • 22472457 - XUDML DIFF FAILS TO PRESERVE CHILD ORDER ON PARENT CHANGE
  • 22228482 - CONSISTENCY CHECK NOT REPORTING OR FIXING ERROR CORRECTLY
  • 21831881 - VALIDATERPD MODEL CHECK -L DOESNT CONNECT TO BI SERVER INSTANCE
  • 22756587 - REQUEST FOR MORE CHANGES WITH REGARD TO RPD FORWARD COMPATIBILITY
  • 21658348 - UNABLE TO FIND MAPPING.XML IN ALL UTIL LOGS IN ADMINTOOL CLIENT
  • 22228558 - ADMINTOOL CRASHED ON CONSISTENCY CHECK. BLOCK BI APPS DEVELOPMENT
  • 21529377 - MDS XML INVALIDDATATYPEVALUEEXCEPTION, MESSAGE:ID 'MERROR' IS NOT UNIQUE
  • 22221786 - ADMIN TOOL CLIENT SHOULD NOT READ SERVER RPD OF HIGHER VERSION (355/354)
  • 22264023 - EXTRACTPROJECTS CREATES CORRUPTED REPOSITORY IN 11.1.1.9.X VERSION
  • 22112221 - REPOSITORY SAVED ON 12.2.2 IS CORRUPTED WHEN USED IN BICS11
  • 22354384 - UPDATE THE ADMIN TOOL HELP JAR FILE FOR 12.2.1 PATCH
  • 22522055 - CONSISTENCY CHECK ERRORS/WARNINGS REPORTED WITH INCONSISTENT FORMAT
  • 21888385 - TOGGLE LAYER BRINGS BACK NAV PANEL EVEN IF IT'S DISABLED
  • 21972662 - FORMATS ARE LOST ON SPECIFIC MAPS WHEN DRILLING
  • 22248493 - ASENG: DRILL ON RM DASHBOARD AND RETURN BREAKS THE ORIGINAL DASH
  • 21528019 - 12C:BI: WRONG ERROR MESSAGE FOR PORT RANGE STARTING PORT
  • 21127173 - BI DEINSTALL THROWS EXCEPTIONS WHILE LAUNCHING DEINSTALLER IN COMMAND LINE
  • 21527677 - 12C:BI: INSTRUCTION FOR ENTERING THE DOMAIN NAME NEEDS TO BE CHANGED
  • 21419316 - QA:HGRID CAUSE&EFFECT AND STV WITH MANY COLS DON'T DISPLAY PROPERLY AS WATCHLIST
  • 21911881 - Fix for bug 21911881
  • 21766708 - Fix for bug 21766708
  • 21438772 - Fix for bug 21438772
  • 21766173 - Fix for bug 21766173
  • 21766306 - Fix for bug 21766306
  • 21849811 - PAYCHEX: NEED SUPPORT TO XSA CONFORMANCE TO SA LOOKUP COLUMNS
  • 22363364 - VA LINKS TO ANALYTICS REPORTS BROKEN, DUE SERVER FRONTEND SSLPORT 0 USED IN URLS
  • 22269572 - VA LINKS TO ANALYTICS REPORTS BROKEN, DUE INCORRECT PORT 7003 IN URLS
  • 21158035 - 12C VA MASHUP DATASET INSPECT DIALOG TO INCLUDE PERMISSIONS TAB
  • 22007039 - PSR:PERF:BI: LOCK CONTENTIONS ON SAW::THREADS::FASTREADERWRITERLOCK::ACQUIREWRI
  • 22067980 - PSR:PERF:BI REGRESSION FROM SECURITYIMPL::GETGROUPMEMBERSHIPS()
  • 21826815 - BIFNDN_12.2.1.0.0:CRASH IN TESTWEBCATALOGSI
  • 21982798 - STRESS: SAWSERVER CRASH OBSERVED DURING DASHBOARD TESTS
  • 22254120 - DASHBOARD.US.ORACLE.COM:1221 :MIGRATION: FAVORITES MENU IS EMPTY POST MIGRATION
  • 21953836 - 12C-BI-RC2: IPV6 SCENARIO IS FAILING
  • 22607439 - QA: WHITE TEXT DOES N'T APPEAR FOR CUSTOM CSS CLASS:SECTIONBUTTON WITHIN DB PAGE
  • 21094127 - ADD FUSE CUSTOM.CSS APP STYLES TO ALTA
  • 21766161 - Fix for bug 21766161
  • 21913802 - BI:BIP,ANALYTICS AND OTN HELP PAGES ARE POINTG TO 11G DOC

ODI 12.2.1 Overload JDBC odiMasterRepository with ODI Console on Weblogic Server

$
0
0

ODI 12.2.1 – ODI Web Console – Overloaded JDBC Connections on Weblogic


ODI Version 12.2.1
Server Operating System : Red Hat Linux

Steps :

No problem with JDBC Connection pool when logging in with Supervisor Privileges.
1     When Logging in as SUPERVISOR or a user with Supervisor privileges the JDBC Connection Pool jdbc_odiMasterRepository is OK. Running 1 or 2 sessions.

2     When logging in with a new user also with Supervisor Privileges the JDBC Connection Pool jdbc_odiMasterRepository is OK.


Problem:

When logging in with ANY user that does not have the supervisor privilege the weblogic JDBC Connection pool is producing a lot of Sessions which in turn produces a JDBC Overload error and the online Console Freezes. 

There are too many sessions generated  as for supervisor user only 2/3 sessions are generated.

Below is only 1 user that does not have supervisor privileges logged in to ODI Console on web browser. The JDBC Connection Pool jdbc_odiMasterRepository is NOT OK.










Active Connection can be very high which will eventually produce an JDBC Overload Error and the ODI Console will freeze. 39 Connections for 1 non Supervisor User

There seems to be a bug when logged in with a user without supervisor privileges


We contacted Oracle and a resolution was provided as a patch - Please apply as a regular opatch. This did fix the problem.

The Patch Number from Oracle is : 22724289



Cheers

Shahed M

OBIEE 12c Import and Export BAR Files

$
0
0


OBIEE 12.2.1.0 BAR Files

Below BAR File Export and Import commands with RPD Credentials and runtime info -- ie catalog user folders.


We tried various methods importing and exporting bar files. We found the below 2 commands to be the best . They have not caused us any problems to date. 

We take the runtime info and the RPD Credentials aswell as systemJazn roles etc.


First create the folders on the exporting server ie source server you would like to export from.


Create the workDir and exportDir directories on /u01 or where ever you feel comfortable withmkdir


u01/exportDir
u01/workDir

Initiate WLST session in offline DEV

 weblogic offline mode - use your own OBIEEHOME location

/u01/OBIEEHOME/oracle_common/common/bin/wlst.sh


Then issue the Export command

----- EXPORT COMMAND --------

exportServiceInstance('/u01/OBIEEHOME/user_projects/domains/OBISTG', 'ssi', '/u01/workDir', '/u01/exportDir', applicationName=None, applicationDesc=None, applicationVersion=None, includeCatalogRuntimeInfo=true,includeCredentials='Password123')

This will create a .bar file in the exportDir 

Copy the .bar file to the Target Server / Ftp etc..


Goto Your Target server and again initiate WLST session in offline mode. 

Then issue the Import command.


----- IMPORT COMMAND --------

importServiceInstance('/u01/Middlewarehomebi12/user_projects/domains/bi12','ssi','/tmp/ssi.bar',true,true,true,'Password123')

No wait time will be incurred with the above method. For full export and import.


After the Import bounce all BI Services just to be sure everything falls into place.



There are various ways to achieve this please refer to the oracle manual for more info....



ODI 12C and OBIEE 12C Integration with SOAP WSDL

$
0
0

I have attached a link to the step by step instructions at the end of this post on how to integrate SOAP WSDL from ODI to OBIEE so you can start ibots or do various other tasks within OBIEE from ODI without the need of a dedicated ODI agent on the OBIEE Server. This solution was developed in 12c.




Business Case


One of our customers wanted OBIEE reports to be mailed after the completion of a data load in ODI. We know there are different methods of achieving this. But we did not want to deploy an ODI Agent onto the OBIEE Server in the Corporate Environment.
That is the need and here is the solution we came up with – Using WSDL & SOAP approach to build bridge between the two most popular Oracle technologies in Data Warehousing world.

Solution Technology


We used the two following technologies that are made available as part of ODI and OBIEE while building the solution
WSDL (Web Service Definition Language) is often used in combination with SOAP and an XML Schema to provide Web services over the Internet. A client program connecting to a Web service can read the WSDL file to determine what operations are available on the server. Any special datatypes used are embedded in the WSDL file in the form of XML Schema. 
SOAP (Simple Object Access Protocol) is a protocol specification for exchanging structured information in the implementation of web services in computer networks. It uses XML Information Set for its message format, and relies on application layer protocols, most often Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission

Solution Overview

The solution enables us from ODI to remotely login to OBIEE and initiate an iBot and log out. Following are the high level steps

   1.     Use OdiInvokeWebService to login to OBIEE with SOAPImplementation URL  
   2.     The above call creates a response file with the OBIEE Session Id
   3.     Use a Simple mapping to move this file content into a database table
   4.     Create a variable with sub string and in string operations to extract the OBIEE session id
   5.     Use OdiInvokeWebService to initiate an iBot with the above session id and iBot name to        mail the required report to recipients
   6.     Use OdiInvokeWebService with the same session id to log off from OBIEE

We have created an ODI package to orchestrate the above steps which executes the above steps in a seamless chain. 



Download The Full Document here from the DeliverBI Box Location

Click Here to Download Step by Step instructions

Cheers


Shahed M
Viewing all 90 articles
Browse latest View live


Latest Images