WLST

Store Weblogic User Config (keyfiles)

Keyfiles Weblogic has a nice feature where you can dump out login keys. These keys can be used within WLST script to login without a password. This can be handy for automated tasks. Generate the files This is basically a one liner WLST script that will generate the keyfiles for the weblogic user. Adjust the script to fit your needs. This was done for 11g, but the same can be done for 12c – Just change the port from 7001 to 9500.

Starting and Stopping OBIEE

OBIEE 11g init.d Script Right away I suggest you take a look at RittmanMead’s init.d script located here on github. This script is really well written and handles the startup and shutdown of Node Manager, Admin Server, bi_server, and OPMN. Enable it with chkconfig and and it will nicely handle server reboots. I also like to call this script via Ansible playbooks after deploying RPDs or doing a security migration to make changes take affect.

Load RPD using WLST

Intro I was talking to PedroF over at #obihackers today, and I realized it might be helpful if I start to post some of the scripts that I use regularly. So today I bring you RPD file deployment! The Code 11g rpd_path = "/tmp/RPDfile2Upload.rpd" rpd_password = "Admin123" connect('weblogic', 'Password123', 't3://localhost:7001') # Be sure we are in the root cd('..\..') print 'Connecting to Domain ...' try: domainCustom() except: print 'Already in domainCustom' print 'Go to biee admin domain' cd('oracle.

Set OBIEE Email Server settings via WLST (11g/12c)

Alternative Title: Relearning WLST I am currently in the process of redoing all of my OBIEE install/configure scripts as I am moving from 11g to 12c. Turns out, a lot of my old WLST scripts will need to be heavily modified. Some simple things like going from oracle.biee.admin to oracle.bi.admin – And some major changes with things like locking/saving. After messing around with different bits, and reading different Oracle docs, I finally got a hint when I noticed editCustom() on this Oracle doc.