Analytics Resources: Insights, Best Practices,

Case Studies and More

close
Written by Shwetank Sheel
on October 24, 2013

As usual, I got caught in a strange problem which one of our customers was facing – this time it had to do with user folders in the catalog.

As many of you may be aware, when 11g came out, one of the things which changed was that instead of all the user directories being stored directly in the <catalog_name>/root/users/username path as in 10g, the users were now stored in <catalog_name>/root/users/<first_3_char_of_username>/<username>.

(This was done in part to reduce the number of folders created directly under the users folder and for ease of management. One of the larger banking customers I work with has over 12,000 users in the user directory and this does become unusable, so I applaud the idea.)

Now the problem happened when there was a problem with the BI Production Application server and all the users were temporarily redirected to a different environment while the Production Application server was being patched. What was noticed was that the folder structure I described above was not being followed in the other environment.

Thus, the Production Application server structured the catalog like this:

01_Prod

Whereas the Disaster Recovery Application server structured the catalog like this:

02_dr

This was causing a disruption for users because their favorites, dashboard prompted links and selections etc were now showing up. Rather, on logging into "My Dashboard", most users would see another folder of their name.

(Note: For this customer, the usernames were 3 characters to begin with, so these used to get repeated in the parent and actual user folder)

On further investigation, I realized that somewhere between 11.1.1.6.0 (where the catalog was originally upgraded) and 11.1.1.6.8 the current version on the DR server, the default value of the HashUserHomeDirectories had changed from 3 to 0. This was causing the variance.

The HashUserHomeDirectories setting addresses file system limitations and hashes the users' home directories. For example, for the user named Steve, the logical folder "/users/steve" becomes the physical tree on the disk "/users/st/steve" if this value is set to 2.

Sure enough, on changing the HashUserHomeDirectories value to 3, the system started working as expected again. The steps to do this are to insert the following line inside the CATALOG tags in the instanceconfig.xml file for your server.

<HashUserHomeDirectories>3</HashUserHomeDirectories>

Voila, similar behaviour to earlier versions of 11g and users can login to their accounts and the personalization remain.

 

Environment Information:

Oracle BI Version: 11.1.1.6.7 (Build 121219.1259 64-bit)
Operating System: Windows Server 2008 R2 Enterprise

You may also like:

OBIEE 12c Cloud Analytics

Join us at the Modern Finance Experience

Join us on Wednesday 23-Mar at the Marina Bay Sands for the Modern Finance Experience event organized by Oracle. You wil...

OBIEE 12c

OBIEE 12c Baseline Validation Tool

In the real world, the migration between two OBIEE environments is really take time .The last time we did this for a cus...

OBIEE 12c

Steps to upgrade usage tracking when upgrading from OBIEE 11.1.7.1 to OBIEE 11.1.1.9

Recently usage tracking stopped working for one of my clients after upgrading to OBIEE 11.1.1.9 with the NQSERVER log sh...