Wednesday, July 23, 2008

Step by Step Information on Oracle Applications R12 Control Scripts

In this post you will come to know about Oracle Applications Control Scripts. It is very important for an APPS DBA to know the location and its usage while handling APPS DBA duties.

The application Tier server process control scripts are used to start and stop server processes on the applications tier like adcmctl.sh (Concurrent manager start/stop control script) and adapcctl.sh (HTTP Server start/stop control script).

The following question can be arise in your mind regarding control scripts on Application Tier.

  • Now you will think where this control scripts are located in Application Tier


  • How these control scripts are created.


  • Is it possible to recreate these control scripts.


  • Here you go...The answer to the above queries are...

    Control scripts are located in the $ADMIN_SCRIPTS_HOME (i.e, $INST_TOP/admin/scripts) directory. It is created by Rapid Install during the installation and you can recreate using AutoConfig (i.e,adautocfg.sh control script) as and when required.

    The syntax of the control scripts is [stop or start]

    $./adalnctl.sh stop (To stop the Apps Listener)
    $./adalnctl.sh start (To start the Apps Listener)

    You can use other Application Tier server process control scripts for all server processes to stop and start at the same time.

    $./adstrtal.sh (Apps username/password)
    $./adstpall.sh (Apps username/password)

    To stop or start Forms server in socket mode.

    $./adfrmsrvctl.sh

    To stop or start Forms OC4J instance in servlet mode.

    $./adfrmctl.sh

    To stop or start Application Listener.

    $./adalnctl.sh

    To stop or start concurrent managers.
    (This control script required the APPS username and password).

    $./adcmctl.sh

    To stop or start the HTTP server.

    $./adapcctl.sh


  • Hope you like this post. Please let me know what Topic you would like to see on my blog. Based on request I will start including other stuff too. I am taking my family time to write these articles so I will be on / off from the blogs. You inputs are highly appreciated to improve my blog.
  • 5 comments:

    Raj said...

    Hi Ramnik,

    So nice to see the valuable articles posted in your blog covering a variety of Oracle technologies. You are doing such a great work by sharing your valuable technical knowledge with others, encouraging others to upgrade their knowledge and skills. Your skills, time and efforts in this regard need to be appreciates! Keep up the good work!

    ~Raj

    Raj said...

    I would really like to see any info on installing/setting up Oracle Access Manager in a high available architecture. OAM consists of a number of sub-components and configuring OAM in a HA sounds a little complex, based on oracle documentation. Any useful tips would be greatly helpful! Thanks

    Unknown said...

    Hi

    I have A backup of config.xml how can I restore the weblogic anytime to same state in the event of crash or recovery is needed.

    what are the important configurations files we need to take backup of in 10g SOA suit and 11g SOA suit.

    Please throw some more light on WLST command of 11gSOA.

    Unknown said...

    How do you pass the Weblogic Admin password on the command line?

    > adstrtal.sh apps/app_pwd WLS_ADMINID/WLS_ADMINPWD?

    I haven't had any luck getting this to work.

    Thx.

    AppsFusion said...

    Hi Truman,

    Sorry for the delay looks like I need to start writing posts soon.

    Here is what you need to do.

    For Start:

    $cd $INST_TOP/admin/scripts
    $adstrtal.sh apps/
    Enter the Weblogic Server password:


    For Stop:

    $cd $INST_TOP/admin/scripts
    $adstpall.sh apps/
    Enter the Weblogic Server password:

    Hope this helps.

    Regards
    Ramnik Gupta