TREX startup/shutdown script for Windows 2003

Hi ,
I am looking for a script that would do a startup/shutdown of TREX servers/services on  Windows 2003.  I am not sure if I have posted this on the right forum.  Also, why is the TREX hanging and going into a dormant mode when not used?
Is there a SAP note for the above.
Would really appreciate any assistance.
Thank you.
Ramesh Srinivasan.

Hi again,
sorry my bad, I misunderstood your question. Indeed what the script does now is wait for the different components of BIEE to start and stop, whatever time they take for that. On my system (a dual-quad DL380 with 64GB RAM) the whole process still takes about 4 min. However this should not be too much of a pb to you since this BI reboot operations should really be exceptional, not much more frequent than system or database reboots in fact.
On the other hand the BI processes restart from within Fusion Middleware Control are much more frequent and should be much quicker (about a couple dozen seconds).
Maybe by looking at the startup logs (/var/log/obiee-start.log) you may identify some time-consuming operation. I remember that during initial setup I had some long timeouts when the managed server tried to contact the admin server on port 7001 and could not for whatever reason (firewall for instance). One thing to do might be to watch the startup process in real time by monitoring the log file (tail -f /var/log/obiee-start.log).
Hope this helps,
Chris

Similar Messages

  • EP6.0 SP2 startup/shutdown scripts for Windows/MMC

    Does anyone have scripts to automate the starting/stopping of EP6.0?  I'm using the Startup Framework to start/stop EP6.0 manually but need an automated process to use for scheduled backups.  There is a document called "Startup and Shutdown of Enterprise Portal 6.0 SP2" that specifies the command "shutdown -h localhost:<p4 port>" which shuts down the portal but the processes automatically restart.  I've tried using jcontrol in a batch file to start the portal but the red-yellow-green status in MMC does not reflect the status of the portal when it's started outside MMC.  Any feedback would be welcome.
    Kind regards,
    Rex L. Farris

    Hi Rex,
    please have a look at the note 748713: Central note - Usage of startup framework with EP 60 SP2.
    It states that unattendes shutdown is not supported in Windows Environment.
    Anyway you can:
    - follow the hint suggested in the note to manage start / stop of the portal;
    - use startsap / stopsap commands with this syntax:
       stopsap name=<instance> nr=<nr> SAPDIAHOST=<hostname>
    Hope this can help,
    Regards,
    Alessandro.

  • Startup/Shutdown script for OBIEE 11g on Linux

    Hi all,
    as a follow-up to [url http://forums.oracle.com/forums/thread.jspa?messageID=4546010]an earlier thread by some fine gentleman, I have improved the original startup/shutdown script for Linux a bit, making sure that all processes are handled correctly. The script has been tested and works fine on CentOS 5.5 with Oracle BI 11.1.1.3.0 in a clustered configuration. Instructions:
    Manual start/stop:
    > service obiee start
    > service obiee stop
    > service obiee status
    Automatic start/stop during boot sequence:
    > chkconfig --add obiee
    > chkconfig obiee on
    Note that in order for the procedure to go through smoothly, you need to provide the admin credentials (username/password, defaulting to weblogic/weblogic) in three different places:
    1. In configuration file <FMW_HOME>/user_projects/domains/<domain name>/servers/AdminServer/security/boot.properties for the administration server;
    2. In script <FMW_HOME>/user_projects/domains/<domain name>/bin/startManagedWebLogic.sh (variables WLS_USER and WLS_PW) for the managed server;
    3. In the startup script itself (variables BIEE_USER and BIEE_PASSWD) for shutting down the managed server.
    Complete logs are available in /var/log/obiee-start (-stop).log files.
    Please comment as necessary,
    Chris
    #!/bin/bash
    # File:    /etc/init.d/obiee
    # Purpose: Start and stop Oracle Business Intelligence 11g components.
    # chkconfig: 2345 99 10
    # description: Manage OBIEE service.
    # These values must be adapted to your environment.
    ORACLE_OWNR=oracle                  # Local Unix user running OBIEE
    ORACLE_FMW=/home/oracle/biee        # Deployment root directory
    BIEE_USER=<username>                # BIEE administrator name
    BIEE_PASSWD=<password>              # BIEE administrator password              
    BIEE_DOMAIN=<domain name>           # Domain name
    BIEE_INSTANCE=instance1             # Instance name
    BIEE_SERVER=bi_server1              # Server name
    BIEE_MANAGER_URL=<hostname>:7001    # Admin server URL (hostname:port)   
    # These should require no change.
    WL_PATH=$ORACLE_FMW/wlserver_10.3/server/bin
    BIEE_PATH=$ORACLE_FMW/user_projects/domains/$BIEE_DOMAIN/bin
    ORACLE_INSTANCE=$ORACLE_FMW/instances/$BIEE_INSTANCE
    export ORACLE_INSTANCE
    START_LOG=/var/log/obiee-start.log
    STOP_LOG=/var/log/obiee-stop.log
    SUBSYS=obiee
    start() {
        echo "********************************************************************************"
        echo "Starting Admin Server on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/startWebLogic.sh" &
        wait_for "Server started in RUNNING mode"
        echo "********************************************************************************"
        echo "Starting Node Manager on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$WL_PATH/startNodeManager.sh" &
        wait_for "socket listener started on port"
        echo "********************************************************************************"
        echo "Starting Managed Server $BIEE_SERVER on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/startManagedWebLogic.sh $BIEE_SERVER http://$BIEE_MANAGER_URL" &
        wait_for "Server started in RUNNING mode"
        echo "********************************************************************************"
        echo "Starting BI components on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$ORACLE_INSTANCE/bin/opmnctl startall"
        echo "********************************************************************************"
        echo "OBIEE start sequence completed on $(date)"
        echo "********************************************************************************"
    stop() {
        echo "********************************************************************************"
        echo "Stopping BI components on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$ORACLE_INSTANCE/bin/opmnctl stopall"
        echo "********************************************************************************"
        echo "Stopping Managed Server $BIEE_SERVER on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/stopManagedWebLogic.sh $BIEE_SERVER t3://$BIEE_MANAGER_URL $BIEE_USER $BIEE_PASSWD"
        echo "********************************************************************************"
        echo "Stopping Node Manager on $(date)"
        echo "********************************************************************************"
        pkill -TERM -u $ORACLE_OWNR -f "weblogic\\.NodeManager"
        echo "********************************************************************************"
        echo "Stopping Admin Server on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/stopWebLogic.sh"
        echo "********************************************************************************"
        echo "OBIEE stop sequence completed on $(date)"
        echo "********************************************************************************"
    wait_for() {
        res=0
        while [[ ! $res -gt 0 ]]
        do
            res=$(tail -5 "$START_LOG" | fgrep -c "$1")
            sleep 5
        done
    case "$1" in
        start)
            echo "********************************************************************************"
            echo "Starting Oracle Business Intelligence on $(date)"
            echo "Logs are sent to $START_LOG"
            echo "********************************************************************************"
            start &> $START_LOG &
            touch /var/lock/subsys/$SUBSYS
        stop)
            echo "********************************************************************************"
            echo "Stopping Oracle Business Intelligence on $(date)"
            echo "Logs are sent to $STOP_LOG"
            echo "********************************************************************************"
            stop &> $STOP_LOG
            rm -f /var/lock/subsys/$SUBSYS
        status)
            echo "********************************************************************************"
            echo "Oracle BIEE components status...."
            echo "********************************************************************************"
            su $ORACLE_OWNR -c "$ORACLE_INSTANCE/bin/opmnctl status"
        restart)
            $0 stop
            $0 start
            echo "Usage: $(basename $0) start|stop|restart|status"
            exit 1
    esac
    exit 0

    You can use WLST to start/stop BI Services and it works on both Linux and Windows.
    Following link has the sample -
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10541/admin_api.htm#CDEFAHDD

  • Startup/Shutdown script for OBIEE 11.1.1.5.0 on Linux

    There was a very good thread on start/stop scripts for Oracle BI 11.1.1.3.0 that can be found at
    https://forums.oracle.com/forums/thread.jspa?messageID=9896816#9896816Now OBI11.1.1.5.0 is out and I tried to use the scripts in the post to start OBI 11.1.1.5.0 after system reboot. I did the following
    1) saved the scripts modified with my environemnt variables in /etc/init.d
    2) login as root
    3) issue command, and got in std out right away
    # service obiee start
    Starting Oracle Business Intelligence on Tue Sep 27 10:39:31 PDT 2011
    Logs are sent to /var/log/obiee-start.log
    4) check the log file
    [oracle@cchdb ~]$ tail -f /var/log/obiee-start.log
    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Truncated. see log file for complete stacktrace
    >
    <Sep 27, 2011 10:39:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Sep 27, 2011 10:39:54 AM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Sep 27, 2011 10:39:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    5) Check running processes
    [root@cchdb oracle]# ps -fe|grep obiee
    root 9332 1 0 10:39 pts/2 00:00:00 /bin/bash /etc/init.d/obiee start
    oracle 9452 9179 0 10:39 pts/1 00:00:00 tail -f /var/log/obiee-start.log
    root 9481 9305 0 10:40 pts/2 00:00:00 grep obiee
    OBI is not started. Can some one help ?

    Tried various things and has a work around.
    First of all, cannot make WLST work for me. Then tried manually step by step as described in reference https://forums.oracle.com/forums/thread.jspa?messageID=9896816#9896816 that is in fact agree with document e10541.
    1) Start Admin Server and response to prompt to username/password
    <BI Domain Home>/bin/startWebLogic.sh
    2) Start node manager
    $WL_PATH/startNodeManager.sh
    3) Start managed Server with Weblogic Server Admin Console
    4) Start System Components with opmnctl
    ./opmnctl startall This works with the following notes1) Do step one in backgroumd not work, cannot response the username/password prompt properly.
    2) If change WLS_USER and WLS_PW in <BI Domain Home>/bin/startManagedWebLogic.sh as in the reference cited abover, step 1 still prompt for username and stops right after username is provided.
    3) Step 3 does not work if use command line
    <BI Domain Home>/bin/startManagedWebLogic.sh bi_server1 http://<admin_server_host_name>:7001
    Has to use UI tool Weblogic Server Admin Console.  Question1) How to provide username/password to startWebLogic.sh to allow run it in background
    2) How to provide username/password to startManagedWebLogic.sh to allow run it in background

  • Startup and Shutdown scripts for OCS 9.0.4 on Windows?

    Hi,
    I wanted to know if startup and shutdown scripts for OCS 9.0.4 on Windows are available.
    I am thinking something like the ocsctl_sample scripts that OCS10g included.
    I have checked the OCS 9.0.4 documentation and not a lot of information for the windows platform is avaiable.
    Any information will be appreciated.
    Thanks,
    Ana

    There is no scripts that comes with 9.0.4.
    One possibility is to just write the commands you normally use in a batch-file, but note that then you have no checking, and if OCS runs on several machines you should have some checking for required processes etc.
    We are using some scripts that does this, but I'm not shure where they came from, possibly from Metalink or from this forum. Try a search. Our scripts are changed quite a bit for our needs, but I might be able to find the original ones.

  • Shutdown script for linux

    Hi,
    I'm looking for a shutdown script for linux to put it in crontab and another for startup. Do you have any ?
    Thanks.

    OK, you can cron following commands (assume that all Oracle related env variables are set. We are setting ORACLE_SID just to ensure that we will be working with the right instance):
    59 7 * * *     su - oracle -c "export ORACLE_SID=ORCL; echo 'startup' | sqlplus -s '/ as sysdba' >>/dev/null" 2>&1
    31 16 * * *      su - oracle -c "export ORACLE_SID=ORCL; echo 'shutdown immediate' | sqlplus -s '/ as sysdba' >>/dev/null" 2>&1

  • Adobe CS3Clean Script for Windows

    I have downloaded and unzipped the file located at:
    http://www.adobe.com/support/contact/cs3clean.html
    English/Japanese
    Download the Adobe CS3Clean Script for Windows (ZIP, 978 KB)
    Each time I extract the files, the
    AdobeCS3CleanReadMe.pdf
    will not open because it is corrupt.
    There is an additional file named:
    âNâèü[âôâAâbâvâXâNâèâvâgé+é-éóé-.pdf
    which I have not attempted to open for obvious reasons....

    I don't know for sure, but a good guess is that it's the same
    readme in
    Japanese. I don't have Japanese characters installed so
    perhaps that's why
    the gobbletygook?
    However, the AdobeCS3CleanReadMe.pdf in the download I just
    got is fine.
    Try downloading again .. if that doesn't help .. and your
    Adobe Reader is
    updated .. drop me a line and I'll send you the PDF from my
    download.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "sbuck415" <[email protected]> wrote in
    message
    news:fg5q7a$l0s$[email protected]..
    >I have downloaded and unzipped the file located at:
    >
    >
    http://www.adobe.com/support/contact/cs3clean.html
    >
    > English/Japanese
    > Download the Adobe CS3Clean Script for Windows (ZIP, 978
    KB)
    >
    > Each time I extract the files, the
    > AdobeCS3CleanReadMe.pdf
    > will not open because it is corrupt.
    >
    > There is an additional file named:
    > ?N???[???A?b?v?X?N???v?g?+?-???-.pdf
    > which I have not attempted to open for obvious
    reasons....
    >
    >
    >

  • Automatic startup/shutdown script - 3 Oracle Home

    Hi All,
    We have a server which has 3 Oracle Home - 8i/9i/10g.
    So i am confused about configuring automatic startup/shutdown scripts.
    Can you guys please let me know how to setup automatic startup/shutdown for these multiple Oracle Homes.
    Thanks,
    Kumar.

    Bellow is a HP-UX script that can help. Create three scripts like oracle8, oracle9, oracle10 with correct path values. and than decide the runlevels and create soft links for the scripts you created, for example;
    Under /sbin/rc3.d
    ln -s /sbin/init.d/oracle10 S999oracle10
    Under /sbin/rc1.d and /sbin/rc2.d
    ln -s /sbin/init.d/oracle10 C9oracle10
    AUTOMATIC STARTUP/SHUTDOWN SCRIPT
    $vi /sbin/init.d/oracle10
    #!/sbin/sh
    # NOTE: This script is not configurable! Any changes made to this
    # scipt will be overwritten when you upgrade to the next
    # release of HP-UX.
    # WARNING: Changing this script in any way may lead to a system that
    # is unbootable. Do not modify this script.
    # NOTE:
    # For ORACLE:
    PATH=/usr/sbin:/usr/bin:/sbin
    export PATH
    ORA_HOME="/oracle/app/oracle/product/10.2.0"
    ORA_OWNR="oracle"
    rval=0
    set_return() {
    x=$?
    if [ $x -ne 0 ]; then
    echo "EXIT CODE: $x"
    rval=1
    fi
    case $1 in
    start)
    # Oracle listener and instance startup
    echo -n "Starting Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbstart /oracle/app/oracle/product/10.2.0"
    echo "OK DB started"
    stop)
    # Oracle listener and instance shutdown
    echo -n "Shutdown Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbshut /oracle/app/oracle/product/10.2.0"
    echo "OK DB shutdown"
    reload|restart)
    $0 stop
    $0 start
    echo "usage: $0 {start|stop}"
    esac
    exit $rval

  • Enterprise System 5 support for Windows 2003 server

    Hi,
    Can you tell me if it is possible to run Sun Java Enterprise System 5 on a windows server and get the portal server to work?
    Weare currently using JBoss ... and not very keen on it as a portal server.
    I tried installing ES5 but was unable to get the portal server to play, then i read something about no support for windows 2003 in ES5.
    Can someone confirm if this is true, unfortunately I am tied into using a windows server for lots of reasons. Is the download for ES4 still available? I believe Portal 6.0 instead of 7 is still ok for windows Server 2003 ?
    If Portal 7.0 will play with windows, is there a guide somewhere that you can point me to as I am totally new to portals and could use a bit of an idiots guide.
    Any info welcome !!
    Cheers

    The support for Sun Java System Portal Server on Windows in Java Enterprise System 5 is limited to evaluation and development only. The Windows distribution for Portal Server (PS 7.1 Update 2) is provided as a pre-configured install. To install it, you unzip the file, and run a small setup script to change the hostname information. The pre-configured installation is setup with a fixed install location, ports, etc. so it is not really suitable for a deployment for that reason. Once installed, all of the functionality is there otherwise except the ability to patch the system.
    Note: I just tried going through the download links, and there is something broken in the Sun download center. I've sent an internal notification about this.

  • RDP Hotfix for Windows 2003 SP2

    What is the latest RDP hotfix for Windows 2003 SP2, we are having issues when we want the server to reboot and it just hangs.  I remember that there was an hotfix for this issue.  Our workaround is to use a remote shutdown command.  
    I believe they was an post-SP2 that kinda of helped in most cases.
    Thanks in advance.

    Hi,
    Based on my search, the following articles will give you a hand:
    Recommended hotfixes for Windows Server 2003 Service Pack 2-based server clusters
    http://support.microsoft.com/kb/935640
    Certain Windows Server 2003 hotfixes have been repackaged to be compatible with Windows Server 2003 Service Pack 2 (SP2)
    http://support.microsoft.com/kb/932132
    Meanwhile, I would require to analyze the cause of the unresponsiveness.
    How To Troubleshoot Shutdown Problems in Windows Server 2003
    http://support.microsoft.com/kb/324268
    Sometimes, the clean-boot (MSCONFIG) will helps you to isolate the issue that might be caused by the third party software.
    Thanks.

  • CA and Certificate Issue in ACS 4.0 For Windows 2003 Enterprise Server

    Hi,
    I have configured Microsoft CA server on the same ACS 4.0 for Windows 2003 enterprise server which was configured earlier using the self generated certificates for EAP and PEAP authentications.
    After I change the certificate from self generated to the new CA certificate that can be viewed under install ACS certificate option on ACS server but having the following problems
    1. SSL is not functioning while internet browser access to the ACS server and going through http instead of https.
    2. Wireless clients are authenticated successfully even after the certificate is uninstalled.
    Any help on these problems will be appreciated.
    Thanks
    Best Regards,
    Ahmed

    Hi Rohit,
    Thanks for reminding the HTTPS option under Administration Control on ACS.
    I have some doubts pertaining to installation of certificates on Wireless clients though it is optional for Self Generated Certificates but what in case of Mirosoft CA as I tested wireless client authentications even after removing the certificate from microsoft supplicant WindowsXP SP2 having installed the patch KB885453 for PEAP. How the certificate on wireless client works.
    Is it mandatory or optional to keep certificate on Wireless Clients as they could able to get authenticated through ACS after removing the certificate.
    Thanks
    Best Regards,
    Ahmed

  • Does the 2.1 web policy agent for Windows 2003 work on a 64 bit OS ?

    Does the 2.1 web policy agent for Windows 2003 work on a 64 bit OS ?
    I have a customer having a world of issues getting the agent to start.
    Jeff Courtade

    No. 64bit support is not there for 2.1 agents on Windows.
    -Subba

  • Oracle 10.2.0.3 Full Client for Windows 2003 32bit

    Hello,
    I know this is a stupid question, but I cannot seem to find the download for the full client for 10.2.0.3 for Windows 2003 32bit server. I have found the instant client, but not the full client.
    Thanks in advance.
    Brian

    Hi Zekmoe,
    do you have the PATCHES tab in Metalink (metalink.oracle.com)?
    If not, please check your PROFILE in metalink - if PATCHES and UPDATES says: NO, then please contact your administrator (mentioned also in your PROFILE) to enable the patch download.
    If you'll have the PATCHES tab then go to QUICK LINKS in the patch screen and choose Windows 32bit and 10.2.0.3
    Hope this helps - kind regards
    Mike

  • Where can I get Oracle database server 9i for windows 2003

    Hi,
    I need Oracle Database Server 9i for Windows 2003. From Oracle online download, there is one a patch set available. Where can I get the full version?
    Thanks
    Laura

    Hi, I found the solution. There is no software to direcly install Oracle 9i on Windows 2003. I need to install the software for NT/2000 first, the patch it.
    That's why there is only patchset for 2003 for downloading. See the doc below:
    three installation components required to install
    Oracle9i Database release 2 (9.2.0.3.0) on Windows Server 2003. These three
    installation components must be installed in the order listed. If you are
    migrating a pre-existing Oracle9i database to Windows Server 2003, first
    upgrade the database to the Oracle9i Database release 2 (9.2.0.3.0) patch set
    before upgrading the operating system.
    Obtain the following installation components:
    Oracle9i Database Release 2 (9.2.0.1.0) for Windows
    Oracle Universal Installer release 2.2.0.18.0 for Windows
    Oracle9i Database Release 2 (9.2.0.3.0) Patch Set for Windows

  • Link to downlaod 10.2.0.4 for windows 2003 64-bit

    hi, can you help me to provide link to download 10.2.0.4 for windows 2003 64-bit?
    Thanks

    On the OTN site there's a download page with 10.2.0.4 for Windows Vista x64 and Server 2008 x64, but for "plain" Windows x64, I see only the base 10.2.0.1 release.
    So you would need a Patch Set for 10.2.0.1 -> 10.2.0.4.
    For retrieving/being allowed to use Patch Set releases, you need Support (or SULS as the service is called in contractual terms) and a support web account.
    Edited by: orafad on Jan 7, 2009 1:00 PM

Maybe you are looking for

  • DataLoad into Write-optimized DSO with DTP and semantic groups

    hi gurus, i'm going crazy with my current problem. i searched in the other posts of this topic, but i did not found a solution. here my situation: i created a w-o-DSO with semantic key (0ucinstalla, 0calmonth, zbelnum, 0unit) and three key figures. n

  • Error at the time of generating sgen

    Hi Experts, I was getting error of Runtime exceeded when I was trying sgen on the system.So I tried adding parameter as mentioned in error "rdisp/max_wprun_time" in instance profile in extended maintenance and gave value as 1000. But after that it st

  • Preview 8.0 will not display some pdfs.

    I review documents that are available as PDF files from my local government. Preview 8.0 (Yosemite 10.10) can not display pdf documents created by the Registry of Deeds (Land Titles) since approximately 2005. As well the Finder previews and icons sho

  • Deployment of Application

    Is there a manual on how to deploy application?? Any body can me a an idea. Thanks Dany

  • Workflow issue in HR Process and Forms

    Hi Experts, I am new to HR process and Forms. I am facing workflow issue in "change of position" process. The process is not going from manager to HR admin. Can anybody help me out on this. Thanks in advance Regards Rahul