Installing stand-alone Essbase client on Linux/Unix

[vc_row][vc_column][vc_column_text]A former colleague of mine reached out to me recently with an interesting request. He wanted to know how to install Essbase client on one of his Linux servers so that he can write batch scripts and call them using I didn’t quite understand why he needed my help. “Use the installer” I said. Only problem, there is no client installer for Linux.Earlier versions of EPM suite used to come with a client installer for both Windows and Linux operating systems. However, in the more recent versions, Oracle stopped including the client as an install option. On windows, you get a separate .exe file to install essbase client. But no such thing exists on Linux.[/vc_column_text][vc_single_image image=”458″ img_size=”large” add_caption=”yes” onclick=”link_image”][vc_single_image image=”459″ img_size=”large” add_caption=”yes” onclick=”link_image”][vc_single_image image=”460″ img_size=”large” add_caption=”yes” onclick=”link_image”][vc_column_text]If you install Essbase server on your linux server, and configure it as part of your environment, resulting in a “user_projects” folder being created, sure, you will automatically get the Maxl client as a by-product. But if you just want the client and nothing else, there is nothing in the installer. If you want to write maxl scripts, and/or use ODI etc. to run essbase commands from a standalone linux server, this poses a severe challenge.[/vc_column_text][vc_single_image image=”461″ img_size=”large” add_caption=”yes” onclick=”link_image”][vc_column_text]So, I did a bit of studying, and turns out the maxl client is pretty easy to create on linux. Essentially, when we install Essbase server ( just install the software, no need to actually create an instance) all the binaries required for client are also installed. We just need to create the “” file and make it an executable.

Essentially this is what I did to get it work on my Linux box. You can tweak the process to suit your situation.

  1. Install the Essbase server components on the linux machine using the script. It will create the Middleware directory and install the necessary binaries in the products folder
  2.  Create a directory called maxl
  3. copy and from the machine running your essbase server ( Linux/Unix)
  4. If you don’t have access to an Essbase server, just create the two files and add the code shown in the next steps.
  5. Change the permissions of the two files above  so we can execute them. use chmod 750 *.

Code required for the two files.

# This script is to start Essbase
script_name=`which "$0"`
script_dir=`dirname "$script_name"`
. "$script_dir"/
$ESSBASEPATH/bin/essmsh $*

[/vc_column_text][vc_column_text]If you already have a functioning Essbase server, you could simply copy the “” and “” files to the server where you want to install the client. Then it’s just a matter of editing the paths to make it work. The paths, by the way, are very intuitive and not all paths defined in the file are actually necessary. What I did was to use the files as starting point and commented out the unnecessary ones. References to “user_projects” folder is not necessary, nor possible (since you didn’t create the instance), so it is one of the lines you can delete or comment out.[/vc_column_text][vc_single_image image=”462″ img_size=”large” add_caption=”yes” style=”vc_box_border” onclick=”link_image”][vc_single_image image=”463″ img_size=”large” add_caption=”yes” style=”vc_box_border” onclick=”link_image”][vc_column_text]Finally add the maxl directory to your bash_profile so that can be invoked from anywhere.[/vc_column_text][vc_single_image image=”472″ img_size=”large” add_caption=”yes” style=”vc_box_border” onclick=”link_image”][vc_single_image image=”473″ img_size=”large” add_caption=”yes” onclick=”link_image”][vc_column_text]BTW, the script actually runs on K-shell, so make sure you have KSH installed. If you don’t have it already, you can easily install it by running something like yum install ksh  or more easily you can just delete the very first line of the file so the script is executed on sh or bash.

[/vc_column_text][vc_column_text]If you do not have access to an essbase server you can just take the code below and create the files from scratch. Just make sure you adjust your paths based on your installation.

Let me know if you run into any issues with this setup. It worked out great for me and my friend, but it may or may not work for everyone. Your feedback will help me improve this technique.

Please reach out to me via my linkedin profile.

One thought on “Installing stand-alone Essbase client on Linux/Unix

Leave a Reply