Friday, January 29, 2021

OHS 12c for EPM 11.2.x - StoreUserConfig

Because I know I'll be asked this again many times, here's a reminder on how to avoid being prompted for the WebLogic password when starting Oracle HTTP Server ("OHS") for Oracle EPM / Hyperion 11.2.x.  This applies in EPM 11.2.0.0 through 11.2.4.0 and likely beyond.

One time only, open a command prompt, CD to your EPM Oracle Instance ("epmsystem1" by default), and then navigate to the folder where startcomponent.cmd / startcomponent.sh resides.  This is pictured below for my testing sandbox.

Type:

startcomponent.[cmd|sh] ohs_component StoreUserConfig

This will ask for the WebLogic password (the same password you setup for the WebLogic admin user "epm_admin"), but now it will be saved behind the scenes so you'll never be asked again under the user account you're logged in as.  The "StoreUserConfig" option at the end of the command is what does this for you.


Notice the command tells you the filename where the password was stored.  If you have multiple people managing the system, copy that \.wlst\nm-key-ohs.props file from your home directory structure to theirs.

Having accomplished this, you may now add the startcomponent ohs_component command to your custom start-up script (you do have one, right?) to include OHS in your EPM start-up sequence.

2 comments:

  1. Someone has also created a way to create a service that was built using go. You generate the exe, edit the json file that accompanies it, then drop the ohs.exe and json file someplace, preferably in the same directory with the startComponent, etc. Run a quick command and voila! Works great! I'll post more info, including giving credit to the creator, most importantly!

    ReplyDelete
    Replies
    1. Great stuff, Larry! Thanks for your contribution!
      Dave

      Delete

Thank you very much for your interest in this blog! I hope you're finding it helpful.

Please keep comments relevant to the topic in the post, as this blog is not a free-for-all substitute for Oracle Support or traditional consulting. If you have many questions unrelated to the specific topic at hand, consider contacting me on LinkedIn (https://www.linkedin.com/in/daveshay) so we may discuss the possibility of consulting.

Commenting on posts older than 90 days unfortunately goes into moderation, thanks to spammers who've been hitting this blog. Please have patience, and thanks for your understanding!

Comments including URLs linking back to gambling or other things unrelated to Oracle EPM will be deleted on sight. If you're an EPM consultant and are offering me constructive criticism or a tip, go ahead and DO link back to your blog or firm's website if you so desire.

Thanks again for reading!