OBIEE Repository and webcatalog deployment with WLST

Hi,
Being novice in weblogic with integration of OBIEE 11G, i heard we have WLST (Weblogic Scripting Tool), is it something like UNIX scripting?, My references told me that we can do many administration tasks that are done in GUI consoles with help of WLST using OEPE (Oracle Enterpise Pack for Eclipse). Now my question is can we deploy OBIEE Repository, OBIEE catalog and start/restart/stop BI services using WLST?
Thanks,
Sreekanth

Hi Sreekanth
Have a look into the Oracle BI Systems Management API;
http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/admin_api.htm
http://www.rittmanmead.com/files/oow2011_rittman_chgmgmt.pdf
http://www.rittmanmead.com/files/oow2011_rittman_sysman.pdf
Good Luck,
Daan Bakboord
http://obibb.wordpress.com

Similar Messages

  • OBIEE Repository and Catalog Upgrade(11.1.1.5 to 11.1.1.7)

    Hi,
    I see a lot of documentation on upgrade but I just couldn't find this. I installed OBI 11.1.1.7 and trying to test it on our own repository and reports.
    I want to upgrade OBI 11.1.1.5 repository and catalog to 11.1.1.7 and run those in my new installation. Is this possible?
    Regards

    Hi
    I found this ...
    the text shown, belongs to an oracle document
    Link: Post-Patching Procedures - 11g Release 1 (11.1.1.7.0)
    The text starts here...
    ->
    5.12.2 Updating Oracle BI Presentation Catalogs
    When updating your Oracle Business Intelligence (BI) software from Release 11.1.1.3.0, 11.1.1.5.0 or 11.1.1.6.x, you must manually update your Oracle BI Presentation Catalogs. Instructions are provided below:
    Stop Oracle BI Presentation Services using Oracle Enterprise Manager.
    For details, see "Using Fusion Middleware Control to Start and Stop Oracle Business Intelligence System Components and Java Components" in Oracle Fusion Middleware System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.
    Back up your Release 11.1.1.3.0, 11.1.1.5.0 or 11.1.1.6.x catalogs by using the 7-Zip utility to create a compressed file for it.
    Create a backup copy of the instanceconfig.xml file.
    The instanceconfig.xml file is located in the ORACLE_INSTANCE/config/OracleBIPresentationServicesComponent/coreapplication_obipsn (on UNIX operating systems) or ORACLE_INSTANCE\config\OracleBIPresentationServicesComponent\coreapplication_obipsn (on Windows operating systems) directory.
    Change the upgradeAndExit option to true in the instanceconfig.xml file.
    Find the following code:
    <Catalog>
       <UpgradeAndExit>false</UpgradeAndExit>
    </Catalog>
    Change it to the following:
    <Catalog>
       <UpgradeAndExit>true</UpgradeAndExit>
    </Catalog>
    Start Oracle BI Presentation Services using the following OPMN command to update the catalogs:
    opmnctl startproc ias-component=coreapplication_obipsn
    For example, on a UNIX operating system:
    cd ORACLE_INSTANCE/bin
    ./opmnctl startproc ias-component=coreapplication_obips1
    On a Windows operating system:
    cd ORACLE_INSTANCE\bin
    opmnctl startproc ias-component=coreapplication_obips1
    After the catalogs are updated, edit the instanceconfig.xml file again and change the upgradeAndExit option back to false.
    Restart Oracle BI Presentation Services using Fusion Middleware Control.
    ->
    Ends here...
    In my opinion, is the same answer, as Seth mentioned
    -> Seth 29-abr-2013 8:52
    Regards
    Miguel F

  • OBIEE 11g and high availabilty with weblogic

    Hello all,
    Have anyone already tried to configure an high availabilty environment with more weblogic server and more business intelligence environemnt?
    I want to say for example weblogic installed as cluster using 3 nodes and then 2 environet (TEST/PRODUCTION) over this 3-nodes cluster?
    Thanks
    Stefano

    Prabal,
    Did you get an answer or we have to wait for the official release till July-1-2009.
    Thanks,
    Rahul

  • Editing proxy and business service security with WLST

    My customer wants to manage the OSB with WLST as much as possible. I'm wondering if it is possible to handle the security and policies on proxy and business service with WLST.
    Any ideas or links to documenation are welcome.
    Thanks!

    I think you can do this. Please refer - http://docs.oracle.com/cd/E14571_01/core.1111/e10043/wlstcmds.htm#CHDGHDFJ
    But not sure of how much flexibility you will get with WLST. I will recommend using OWSM that is specifically used for similar activities for the soa suite.
    Please refer - http://docs.oracle.com/cd/E21764_01/web.1111/e13713/owsm_appendix.htm & http://docs.oracle.com/cd/E21764_01/doc.1111/e15866/owsm.htm for more details.
    Thanks,
    Patrick

  • Weblogic Administration Server start with WLST

    Hi Team,
    I am looking for some WLST script to start the WLS Admin server and then check the status of the Adminserver as well.
    When i tried thee command startServer( Adminserver, myserver, domainname, Domaindir )
    its not working the way i want it to.....So if you tell me some way to check if its not running and start it with WLST...
    I can do the same thing using Shell scripting but not WLST..
    Also is there any way in jython language to execute the script from a file.
    i use exec startmyfile.sh but it does not recognize it.
    help appreciated!!

    You can see an overview presentation of WLST here:
    http://www.slideshare.net/jambay/weblogic-server-weblogic-scripting-tool-overview-presentation/
    There is an Oracle By Example (OBE) tutorial for WLST here:
    http://www.oracle.com/technology/obe/fusion_middleware/wls103/SystemMgmt/Command_Line/Command_Line.html
    I think both of these resources would be valuable for you.

  • Update deployment plan definition with WLST

    Hello,
    I would like to write a script in order to get the existing deployemnt plan of my deployed application (Deployement plan is yet modified, I don't want to use loadApplication). Then I would to update my deployement plan (update/add work manager constraints).
    I can't find any WLST api to do that. The Weblogic console doesn't record the actions when I do it through the console.
    I would like top the the same as this link http://download.oracle.com/docs/cd/E15051_01/wls/docs103/config_scripting/updateplan.html
    But with a deploymenPlan got from the server and not from the filesystem
    The only way I see is to use a Java parser un Jython to update the existing deployemnt plan and then, redeploy the application but This solution is very heavy in term of developpment. It should be more efficient when a built in parser
    Could you please help me giving me some information about how to update deployement plans of a yet deployed application with WLST ?
    Thank you !
    C.

    Thank you for answering.
    In fact, I have found the solution for my use case according to the previous html link
    The WLST plan seems to be accessible only by file system.
    If your application is yet deployed with a deployment plan and you want to update this plan, you have to login on the admin server via WLST,get the application absolute path and the plan absoluth path :
    cd ("AppDeployments/" + INTERNAL_APP_NAME)
    appPath  = cmo.getAbsoluteSourcePath()
    planPath = cmo.getAbsolutePlanPath()and then, load the existing plan :
    plan = loadApplication(appPath, planPath)after that, you can use the api described at the following link http://download.oracle.com/docs/cd/E15051_01/wls/docs103/config_scripting/updateplan.html to update the plan.
    Then, you have to redeploy the application :
    redeploy(APP_NAME)Thank you for helping !
    C.

  • Deploying from a list with WLST

    Hey all!
    i have a little problem... and cant find any thread to this...
    My position:
    we get for our WebLogic always new deliveries .
    In this, new deployments are included . Until now, there was always a fixed number of deployments and also clearly by name .
    The change occurred .
    There comes a delivery with any number of deployments with different names.
    My idea :
    Search all deployments in the current delivery - these are collected in a list ( Deployments.txt ) .
    The Deploy function should work - in fact even the undeploy ( not tried ) :
    for i in `more /apps/tenoss/data/delivery/CONFIG/Deloyments.txt`;
    do
    echo "Beginne mit dem ersten Deployment: $i"
    . ${JAVA}
    #x=` java weblogic.Deployer -debug -verbose -adminurl $URL -userkeyfile ${USER} -stage -name $i -targets ${TARGET} -deploy ${DEPLDIR}/${DATE}/$i 1> ${LOGDEPL}/$.log 2> ${LOGDEPL}/${i}.log`
    #rtvl=$?
    if [ $rtvl -gt 0 ]; then
    cat ${LOGDEPL}/${i}.log
    echo "Fehler beim ausfuehren!!"
    exit $rtvl
    fi
    while ! grep -s "deploy application $i on ${TARGET}." ${DOMAINLOG} > /dev/null ; do sleep 10 ; done
    echo "Deployment ${i} erfolgreich eingespielt."
    sleep 10
    done
    for the undeploy I could also just use the " -undeploy " parameter .
    Now I would like to try the whole with WLST .
    Since I find the undeploy easier I started it and immediately ran into problems.
    How it looked before:
    edit()
    startEdit()
    stopApplication(DEPL5)
    print "Applikation %s gestoppt." %(DEPL5)
    activate()
    edit()
    startEdit()
    undeploy(DEPL5)
    activate()
    ( Of course with Connect , etc.)
    How can I make something that he install from a list that reads deployments undeploy I want?
    So for i in ( Undeploy.txt ) ;
    do ...
    done;
    Does it work?
    thx for help!
    Simon

    Basically, the construct $(command) takes the output of command and inserts it into the outside command...
    for example,
    if pidof xyz outputs 1248,
    kill $(pidof xyz)
    is identical to
    kill 1248
    There is a similar older construct that uses backtics (that's the one under the tilde, not the apostrophe), so that
    kill `pidof xyz`
    is identical to the above.  The new construct $() is more useful because it's easier to nest multiple commands as in
    command 1 $(command2 $(command 3))
    if that ever needed to be done.
    So what the original command did was insert the output of the 'cat pkg.txt' command in the commandline.
    Dusty

  • Best practice for managing a Windows 7 deployment with both 32-bit and 64-bit?

    What is the best practice for creating and organizing deployment shares in MDT for a Windows 7 deployment that has mostly 32-bit computers, but a few 64-bit computers as well? Is it better to create a single deployment share for Windows 7 and include both
    versions, or is it better to create two separate deployment shares? And what about 32-bit and 64-bit versions of applications?
    I'm currently leaning towards creating two separate deployment shares, just so that I don't have to keep typing (x86) and (x64) for every application I import, as well as making it easier when choosing applications in the Lite Touch installation. But I know
    each deployment share has the option to create both an x86 and x64 boot image, so that's why I am confused. 

    Supporting two task sequences is way easier than supporting two shares. Two shares means two boot media, or maintaining a method of directing the user to one or the other. Everything needs to be imported or configured twice. Not to mention doubling storage
    space. MDT is designed to have multiple task sequences, why wouldn't you use them?
    Supporting multiple task sequences can be a pain, but not bad once you get a system. Supporting app installs intelligently is a large part of that. We have one folder per app install, with a wrapper vbscript that handles OS detection. If there are separate
    binaries, they are placed in x86 and x64 subfolders. Everything runs from one folder via the same command, "cscript install.vbs". So, import once, assign once, and forget it. Its the same install package we use for Altiris, and we'll be using a Powershell
    version of it when we fully migrate to SCCM.
    Others handle x86 and x64 apps separately, and use the MDT app details to select what platform the app is meant for. I've done that, but we have a template for the vbscript wrapper and its a standard process, I believe its easier. YMMV.
    Once you get your apps into MDT, create bundles. Core build bundle, core deploy bundle, Laptop deploy bundle, etcetera. Now you don't have to assign twenty apps to both task sequences, just one bundle. When you replace one app in the bundle, all TS'es are
    updated automatically. Its kind of the same mentality as active directory. Users, groups and resources = apps, bundles and task sequences.
    If you have separate build and deploy shares in your lab, great. If not, separate your apps into build and deploy folders in your lab MDT share. Use a selection profile to upload only your deploy side to production. In fact I separate everything (except
    drivers) into Build and deploy folders on my lab server. Don't mix build and deploy, and don't mix Lab/QA and production. I also keep a "Retired" folder. When I replace an app, TS, OS, etcetera, I move it to the retired folder and append "RETIRED - " to the
    front of it  so I can instantly spot it if it happens to show up somewhere it shouldn't.
    To me, the biggest "weakness" of MDT is its flexibility. There's literally a dozen different ways to do everything, and there's no fences to keep you on the path. If you don't create some sort of organization for yourself, its very easy to get lost as things
    get complicated. Tossing everything into one giant bucket will have you pulling your hair out.

  • How to deploy ear file with jar file and war file with different names

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

  • Problem starting adminserver with WLST and Nodemanager

    I have a domain with one cluster containing 4 managed servers. Now I want to start the adminserver with WLST using the Nodemanager. (I know there are other/beter ways but in this situation I need to do it with Nodemanager).
    The problem is that the Nodemanager doesn't add the right memory arguments to the start command of the admin server.
    This is what I do:
    nmConnect(usernaam,password,host,port,domain)
    nmstart(adminserver)
    This does start the adminserver only without the proper memory arguments.
    I tried:
    using a startup.properties file in the directory <domain-dir> \servers\<server-name> \data\nodemanager with the following arguments: -Xms1024m -Xmx1024m
    and
    Puting the memory arguments in the "Server Start" properties in the config.xml (This works fine for the managedservers)
    How can I solve this?

    The nmstart command has a properties argument. Have you tried that?
    nmStart([serverName], [domainDir], [props], [writer])
    <Richard Greeven> wrote in message news:[email protected]..
    I have a domain with one cluster containing 4 managed servers. Now I want to
    start the adminserver with WLST using the Nodemanager. (I know there are
    other/beter ways but in this situation I need to do it with Nodemanager).
    The problem is that the Nodemanager doesn't add the right memory arguments
    to the start command of the admin server.
    This is what I do:
    nmConnect(usernaam,password,host,port,domain)
    nmstart(adminserver)
    This does start the adminserver only without the proper memory arguments.
    I tried:
    using a startup.properties file in the directory <domain-dir>
    \servers\<server-name> \data\nodemanager with the following
    arguments: -Xms1024m -Xmx1024m
    and
    Puting the memory arguments in the "Server Start" properties in the
    config.xml (This works fine for the managedservers)
    How can I solve this?

  • SCCM: Application deployment vs Package deployment with requirements and prerequisits.

    Hey,
    My organization is in the process of implementing a new remote networking solution for all employees, however some employees require additional software vs others. What I am trying to find out is if there is a way to have one package with supersedes and
    requirements that we can use to do a massive deployement. 
    Here are the different scenarios with order of installation:
    Financial group Desktop:
    1.Install New solution
    2.Install Configuration
    3.Install Token Authentication 
    (nothing crazy)
    Financial Group Laptops
    1.Install Token Authentication
    2.Install New Solution
    3.Install COnfiguration
    4.Un-uninstall Old Solution
    5.Un-install Tunnel Guard application (requires a reboot, that's why it's last). (this is the application that would be deployed with requirements to go back up the chain of supersedes (meaning, deploy 5, but do 4, when 4 is triggered, it does 3 first, etc...)
    All other laptops
    1.Install New Solution
    2.Install COnfiguration
    3.Un-uninstall Old Solution
    4.Un-install Tunnel Guard application (requires a reboot, that's why it's last).(this is the application that would be deployed with requirements to go back up the chain of supersedes (meaning, deploy 4, but do 3, when 3 is triggered, it does 2 first, etc...)
    Because of the different requirements, is there a way to have one deployment with multiple deployment types to say based off:
    1. Computer types (we have a naming convention that identifies laptops and desktops.
    2. Only install certain pieces of software (Token validator in this case if financial application is detected on the machine).
    Or should I create different applications for each case with different collections or go with 3 different packages and collections with install this package first set in the package deployment
    Thanks for your help.

    The problem is the last uninstall, because it's not applicable to all machines. That means that if you would deploy that with all it's dependencies, it wouldn't do anything on the desktops as it's not applicable to them.
    In this case, if you want to use one deployment, the easiest solution is a task sequence. That way you can target everything in one time and still build some logic to prevent some (un-)installs.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Using SSO and user mapping with WebDav Repository

    Hi guys,
      I have a WebDav Repository in portal and i configured SSO with SSO22KerbMap in IIS server. All is ok, but i have some UME users than don't have user in our Active Directory, i need use user mapping with this users. Do it's possible?
      Currently i have a KMWebDav system (with same alias name that http system) and i mapped one of my UME user (with name 'umeuser' for example) with one Active Directory user (with name 'aduser' for example), if i try access to my webdav repository from KM Content with 'umeuser' i can see in SSO22KerbMap log a message like:
    10:48:57 6756/4652 i OnPreprocHeaders: Determined account umeuser from cookie MYSAPSSO2
    10:48:57 6756/4652 E OnPreprocHeaders: Found 0 UserPrincipalNames for ADSI Filter...
    Can somebody help me?
    Thanks in advanced.

    Hi Guys,
    Any takers?
    Suggestions would be appreciated.
    Cheers
    Ian Henderson

  • Installing and Configuring OBIA with OBIEE, Informatica, DAC

    Hi
    Can anybody send me set up procedure for , how to install and configure OBIA with OBIEE, Informatica and DAC?
    mail Id : [email protected]
    Thnks In advance.

    Hi,
    the setup procedure depends on your Oracle BI Apps version.
    You can find all Oracle documentation to install and configure Oracle BI Apps from this URL :
    http://www.oracle.com/technetwork/middleware/bi-foundation/documentation/bi-apps-098545.html
    hope it helps,
    Benoit

  • Obiee 11g and custom j2ee app using the same cookie name

    Hi,
    I wrote a same j2ee web application. i'am using authentification through a realm configured in the web.xml.
    This web app is deployed in the same weblogic than obiee 11g. What i want to do is to embed my application in a dashboard using an iframe tag, and use the same login from analytics to my custom web app.
    In this article http://docs.oracle.com/cd/E11035_01/wls100/security/thin_client.html#wp1039551, it is said that by default, all web apps in the sames weblogic server are using the same cookie name so that they share authentification between them. However, i have read in the web that analytics in obiee 11g is using a cookie with the name "ORA_BIPS_NQID".
    In the weblogic.xml of my custom application, i set the cookie-name parameter to ORA_BIPS_NQID. However, in the dashbord, it still prompt for authentification to my custom web app.
    How can we share authentification between analytics and a custom web app in the same weblogic ?
    NB : I dont want to pass the username et password through the url.
    Thanks.

    By default, if you don't specify a cookie-name in the weblogic.xml configuration file, the weblogic server create a cookie named JSESSIONID for your application. For exemple, if two applications use the default configuration, both of them will use the same cookie name which is JSESSIONID. In this case, when you log in the first application, your are automaticaly logged in the second application with the same credentials. I have already test this kind of integration and it works perfectly. You only need that the two applications are deployed in the same weblogic server.
    Now, i want to have the same behaviour between obiee 11g and my custom application deployed in the same weblogic server. I read somewhere in the web that obiee 11g presentation service (analytics) is configured with a cookie-name value = "ORA_BIPS_NQID". So in the weblogic.xml configuration file of my web app, i specify a cookie-name value = "ORA_BIPS_NQID" to have the same cookie-name between the two application. But, it still not work. It prompt for authentification in the dashboards.
    I now, that such an integration is possible, because the other bi applications (mapviewer, bipublisher,...) are actually other web applications. However when using, for exemple, maps in dashbords, the mapviwer application automaticaly user the credentials of the user connected in analytics.

  • Issue to check in parent-child closure table attributes to OBIEE repository

    I use OBIEE 11.1.1.5 Administration Tool to open repository in online mode and set up parent-child hierarchy. There are no issues but after I check in changes to server, close repository and open it back from server, closure table attributes are missing.
    On the other hand when I save repository file locally, close it and then open offline, all mentioned attributes are there. Also all other modifications (except hierarchy) are properly checked in to remote repository.
    When I compare UDML from remote and local copy of repository here is part missing in remote:
    CLOSURE TABLE ATTRIBUTES( "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."MEMBER_KEY",
              "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."ANCESTOR_KEY",
              "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."DISTANCE",
              "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."IS_LEAF")
    When trying to build web report I get "[nQSError: 38107] Not all four columns are defined for closure table" (which is actually not surprising).
    Unfortunately I need to do this change in online mode without restarting obiee services.
    Any ideas how to force admin tool to check in all changes to remote repository?

    Finally I applied workaround:
    - modified hierarchy in offline mode
    - deployed repository
    Now when importing repo in online mode closure table parameters are in place.

Maybe you are looking for

  • How do I add a head shot to an existing picture?

    I have a High School reunion photo, one guy came late and I want to add his headshot to the existing picture. Operating Adobe Photoshop elements 6.

  • How to get Current Log in BO user name in data access driver

    In universe, to get the current log in user is via @Variable('BOUSER'). Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the qu

  • Legend in P6

    Hi, Can we edit ganttchart legend in P6..how can we edit?

  • Can't see photos on eMac Leopard

    I posted two pages of photos using iPhoto for iPad. On my iPad and my MacBook Pro (2010) I can see all the photos in Safari.  But on our 7 year old eMac running Leopard 10.5 there are only placeholders for the photos but no photos show. Is it possibl

  • Bandwidth shaping

    Hi, Need some help on the below. i have 3 internet links with different BW working in load balancing mode. i want to configure in such a way, the traffic should go to the link which has higher BW, if it reaches 80% then the second link should take th