Script to completely shutdown the concurrent manager

Use this script to shutdown the concurrent manager completely. It will wait till all processes die.
#!/bin/sh
# Author: Praveen Gattu
# Created: June 2007
# Figure out how you want to pass the variables DB_USER (username
# for APPS schema) and DB_PSWD (password for APPS). You can
# hardcode in this script (not recommended), prompt the user
# to enter them, etc.
# stop the concurrent manager
$SCRIPTS_TOP/adcmctl.sh stop $DB_USER/$DB_PSWD
# check if the processes are alive
SPOOL_FILE="$APPLTMP/stop_cm_$TWO_TASK.tmp"
while [ "$RETURN_VALUE" != "0" ]; do
sqlplus -silent $DB_USER/$DB_PSWD << EOF
spool $SPOOL_FILE
select concurrent_queue_name, running_processes
from fnd_concurrent_queues
where running_processes > 0;
spool off
EOF
egrep --silent "no rows selected" $SPOOL_FILE
RETURN_VALUE=$?
if [ $RETURN_VALUE -ne 0 ]; then
echo "Concurrent manager processes are still active. Sleeping for 10 seconds..."
sleep 10
fi
done
rm $SPOOL_FILE
echo "** Concurrent Manager and its processes are stopped **"

Far as I know DSH exist by default in AIX env, but you can create it on Linux\Unix env.
Creating DSH in a Linux Env.
1 - Configure passwordless SSH between Nodes using root user.
2 - Create a file /etc/dsh.conf with all hostsname separated with space in a line ( ex. node1 node2 node3)
3-  Create a script "/usr/local/scripts/dsh" as follow:
#!/bin/bash
COMANDO=$*
NODES=`cat /etc/dsh.conf`
     for NODE in $NODES
     do
     echo $NODE:
ssh $NODE $COMANDO
     done
exit 0
4 - Change permission of file /usr/local/scripts/dsh to 775
Just run
# /usr/local/scripts/dsh date
or
# /usr/local/scripts/dsh /u01/app/grid/bin/crsctl stop crs

Similar Messages

  • How to migrate the concurrent manager to another server

    Dear all,
    My EBS structure is DB+APP. but now, the APP pressure is very high because this server includes another test intsance. I want to migrate the concurrent manager from the APP server to DB server, How I can do this?
    My EBS is 11.5.10.2 and the platform is AIX 5.2
    Thanks

    Can I use the following the Note:230672.1 step to add this DB node as the application node:
    ========================================================
    You can use Rapid Clone to clone a node and add it to the existing Application System. The new node will run the same or a subset of the server types running on the source node. Follow the instructions in the Application Tier part of Clone Oracle Applications 11i:
    Prepare the source system, copy it to the new node and configure it.
    After adcfgclone.pl completes, source the Applications environment and run the following commands on the target system:
    cd <COMMON_TOP>/clone/bin
    perl adaddnode.pl
    =======================================================
    Devon

  • How to run EBS:CP:Executable Synchronous, outside the concurrent manager

    Is there any way , the executable, defined in Concurrent Manager can run Synchronously ie outside the concurrent manager.
    Thanks.

    If you run the executable through CM, it sit in the Queue and CM run the job based on the resource availability and that is asynchronous process.
    We can access the Executable information based on the CP Report short name, What I am looking for is some logic/API, where I can execute/run this executable (example Oracle Report ) directly, by-passing the CM and get the output. May be some Synchronous process to display report/output as online not as schedule.
    Or I can hold of API, which CM use to submit the Job from the Q. here I am not talking about the FND_REQUEST.Submit_Request API. this actually submit the request to CM Q. I am looking for the API, which further pick the request from the Q and call executable and run the request and generate the data.
    Thanks.

  • How to completely shutdown the entire crs stack in all nodes ?

    Grid version: 11.2.0.4
    Platform : OEL 6.4
    To shutdown the entire crs stack, I ran crsctl stop cluster -all from one node. After the command execution,  the below mentioned processes were still running on all nodes.
    [root@intsmdp01 ~]# ps -ef | grep d.bin
    root     38562 33228  0 19:12 pts/2    00:00:00 grep d.bin
    root     80820     1  0 Nov09 ?        00:20:56 /crs/product/11.2.0/bin/ohasd.bin reboot
    grid     81448     1  0 Nov09 ?        00:01:22 /crs/product/11.2.0/bin/mdnsd.bin
    grid     81459     1  0 Nov09 ?        00:01:55 /crs/product/11.2.0/bin/gpnpd.bin
    grid     81473     1  0 Nov09 ?        00:17:26 /crs/product/11.2.0/bin/gipcd.bin
    root     81484     1 20 Nov09 ?        09:10:27 /crs/product/11.2.0/bin/osysmond.bin
    So , I had to manually run crsctl stop crs on all nodes.
    [root@intsmdp01 ~]# /crs/product/11.2.0/bin/crsctl stop crs
    CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'intsmdp01'
    CRS-2673: Attempting to stop 'ora.crf' on 'intsmdp01'
    CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'intsmdp01'
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'intsmdp01'
    CRS-2677: Stop of 'ora.crf' on 'intsmdp01' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'intsmdp01'
    CRS-2677: Stop of 'ora.mdnsd' on 'intsmdp01' succeeded
    CRS-2677: Stop of 'ora.drivers.acfs' on 'intsmdp01' succeeded
    CRS-2677: Stop of 'ora.gipcd' on 'intsmdp01' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'intsmdp01'
    CRS-2677: Stop of 'ora.gpnpd' on 'intsmdp01' succeeded
    CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'intsmdp01' has completed
    CRS-4133: Oracle High Availability Services has been stopped.
    [root@intsmdp01 ~]#
    Is there a way to bring down the entire crs stack in all the nodes in the cluster from one node ?

    Far as I know DSH exist by default in AIX env, but you can create it on Linux\Unix env.
    Creating DSH in a Linux Env.
    1 - Configure passwordless SSH between Nodes using root user.
    2 - Create a file /etc/dsh.conf with all hostsname separated with space in a line ( ex. node1 node2 node3)
    3-  Create a script "/usr/local/scripts/dsh" as follow:
    #!/bin/bash
    COMANDO=$*
    NODES=`cat /etc/dsh.conf`
         for NODE in $NODES
         do
         echo $NODE:
    ssh $NODE $COMANDO
         done
    exit 0
    4 - Change permission of file /usr/local/scripts/dsh to 775
    Just run
    # /usr/local/scripts/dsh date
    or
    # /usr/local/scripts/dsh /u01/app/grid/bin/crsctl stop crs

  • The concurrent manager has timed out waiting for the Output Post-processor

    I am facing this error in Xml Publisher in 11.5.10.2
    Post-processing of request failed with the error message:
    Template code: MHRA_CEXAVTRX
    Template app: XXMHRAFN
    Language: en
    Territory: US
    Output type: EXCEL
    [6/22/11 5:09:25 AM] [UNEXPECTED] [61531:RT13224465] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:566)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:231)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: org.xml.sax.SAXParseException: <Line 5534, Column 40>: XML-20210: (Fatal Error) Unexpected EOF.
         at oracle.xdo.parser.v2.XMLError.flushErrorHandler(XMLError.java:441)
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:303)
         at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:530)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1312)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:338)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
         ... 17 more
    [6/22/11 5:09:25 AM] [61531:RT13224465] Completed post-processing actions for request 13224465.
    this was happening when data is more and for that parameter combination:
    The total records in the output are around 14000
    I done followin chages
    XML Publisher's XSLT processor: True
    Scalable feature of XSLT processor: True
    XSLT runtime optimization: True
    2. In profile option i set the following
    Concurrent:OPP Process Timeout 1100 seconds
    Concurrent:OPP Response Timeout 960
    3. Output post processor to 10 proceses in Sys admin and parameter as oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=10
    Even after doing all these changes still i am getting the same error.
    Please guide if i missed any thing.
    Best Regards,
    Shyam
    Edited by: 867504 on Jun 21, 2011 10:02 PM

    I am facing this error in Xml Publisher in 11.5.10.2
    Post-processing of request failed with the error message:
    Template code: MHRA_CEXAVTRX
    Template app: XXMHRAFN
    Language: en
    Territory: US
    Output type: EXCEL
    [6/22/11 5:09:25 AM] [UNEXPECTED] [61531:RT13224465] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:566)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:231)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: org.xml.sax.SAXParseException: <Line 5534, Column 40>: XML-20210: (Fatal Error) Unexpected EOF.
         at oracle.xdo.parser.v2.XMLError.flushErrorHandler(XMLError.java:441)
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:303)
         at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:530)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1312)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:338)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
         ... 17 more
    [6/22/11 5:09:25 AM] [61531:RT13224465] Completed post-processing actions for request 13224465.
    this was happening when data is more and for that parameter combination:
    The total records in the output are around 14000
    I done followin chages
    XML Publisher's XSLT processor: True
    Scalable feature of XSLT processor: True
    XSLT runtime optimization: True
    2. In profile option i set the following
    Concurrent:OPP Process Timeout 1100 seconds
    Concurrent:OPP Response Timeout 960
    3. Output post processor to 10 proceses in Sys admin and parameter as oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=10
    Even after doing all these changes still i am getting the same error.
    Please guide if i missed any thing.
    Best Regards,
    Shyam
    Edited by: 867504 on Jun 21, 2011 10:02 PM

  • Concurrent Manager start/stop EBS R12

    Hi all,
    I am starting all the processes/services in my EBS R12 as APPLMGR user,
    using the shell script:
    $ adstrtal.sh apps/apps
    and to stop it with:
    $ adstpall.sh apps/apps
    But when I run the stop script, I still see the Concurrent Manager process active
    (ps -ef|grep FNDLIBR).
    Does adstpall.sh do not contain the script to stop CM?
    Thanks a lot

    I just get paranoid when it keeps emailing the APPLMGR user that the CM died -giving up What is the message you get? If it says "successfully" then you can ignore the message.

  • Concurrency Manager - Scripts Location

    (Admin please move to EBS Forum ~ General EBS Discussion
    I'm working with a somewhat older version of Oracle (8.1.x) and Oracle apps.
    I'm trying to locate the SQL script that is being executed from the Concurrency Manager. I've searched the Oracle server's harddrive and combed through table after table.
    Edited by: user3947842 on Feb 1, 2010 4:09 PM

    Toni Lazarin wrote:
    user3947842 wrote:
    (+Apologies if this isn't the correct forum as I couldn't find one for "Oracle Apps"+)go General EBS Discussion and you will be fine.
    I'm working with a somewhat older version of Oracle (8.1.x) and Oracle apps.consider migrating to newer Oracle release, there are many reasons for that.Thanks for the location, Toni. Oh and you're preaching to the choir, but it's a customer, not anything I can influence, unfortunately.

  • After the EBS cloning, the EBS concurrent manager keeps pinging the source

    Our network monitor indicates that the cloned EBS application keeps pings its source system every 2 min. Once I run adcmtl.sh stop, the pinging stops. Once I started (adcmctl.sh start), the pinging resumes. We need to find a way to get rid of it.
    We are running Oracle EBS 11.5.10.2 on Sun Solaris.
    Our netword ipfiler log shows that the target system keeps pinging the source every 2 min.
    Once I shutdown the current manager by issue adcmtl.sh stop apps/xxxx, the pinging stops.
    Any idea?
    Thanks in advance

    Also in the OAMGCS2873686.txt, it is referencing source host: USWCHQATLN001
    [7:4:8:30, 9/16/11] DBC File : /u01/ebs/finstgappl/fnd/11.5.0/secure/uswchdbates
    t01_finxo.dbc
    [7:4:8:58, 9/16/11] Log File : /u01/ebs/finstgcomn/admin/log/finxo_uswchdbatest0
    1/OAMGCS2873686.txt
    [7:4:8:58, 9/16/11] Concurrent Process Id : 2873686
    [7:4:15:338, 9/16/11] waiting for connection
    [7:4:15:398, 9/16/11] got CONNECTION for GCS main thread
    [7:4:15:427, 9/16/11] FORMS60_RTI_DIR from params:/backup/dba/u01/finstgcomn/adm
    in/log/finstg_uswchqatln001
    [7:4:15:427, 9/16/11] nodeName from params:USWCHQATLN001
    [7:4:15:427, 9/16/11] loadInterval from params:300000
    [7:4:15:427, 9/16/11] oracle_home from params:/backup/dba/u01/finstgora/8.0.6
    [7:4:15:427, 9/16/11] RTI_KEEP_DAYS from params:1
    [7:4:15:428, 9/16/11] FRD_KEEP_DAYS from params:7
    [7:4:15:431, 9/16/11] USWCHQATLN001 does not support Forms, the Forms related th
    reads are not started.
    [7:4:15:431, 9/16/11] Forms RT purging thread is not started because RTI_KEEP_DA
    YS or FRD_KEEP_DAYS is not set to be larger than 0.

  • Concurrent Manager not processing the requests

    Dear friends,
    We are facing a serious issue with our production instance since morning.
    The concurrent managers are not processing the requests. As its month closing, a lot of requests are being piled up in the Standard Manager's queue.
    The Standard Manager is up. We have verified that by the processes at OS and Concurrent Manager Administer form as well.
    The Conc Manager Admin form shows:
    Actual process: 50
    Target Process 50:
    Running Requests: 50
    Pending Requests: 304
    However, when we check from Concurrent Requests form by selecting Status=Normal, Phase=Running, its showing only 6 requests as running and rest all in pending phase.
    These requests are running for long and no other requests seem to being picked up by the CM.
    an urgent help is required as its production environment and all the users are complaining.
    Thanks.

    Its R12.1.1 Apps with 11.1.0.7 DB
    We have found the issue. In the Concurrent Manager Administer form, when we clicked on the Requests Button, it shows a lot of the following requests:
    Check Event Alert - ALECTC
    This request is not shown in Concurrent Requests form.
    We found that the Alert mails were not being sent. At OS level, we found 50 ALECTC OS processes were running.
    We killed those and immediately Standard Manager started picking up the pending requests.
    I am not yet sure of ALECTC processes. Can someone explain ???
    Thanks.

  • The Internal Concurrent Manager has encountered an error.

    Routine &ROUTINE has attempted to start the internal concurrent manager. The ICM is already running. Contact you system administrator for further assistance.afpdlrq received an unsuccessful result from PL/SQL procedure or function FND_DCP.Request_Session_Lock.
    Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1 from the call to DBMS_LOCK.Request.
    Possible DBMS_LOCK.Request resultCall to establish_icm failed
    The Internal Concurrent Manager has encountered an error.
    Review concurrent manager log file for more detailed information. : 06-JUN-2012 00:51:22 -
    Shutting down Internal Concurrent Manager : 06-JUN-2012 00:51:22
    List of errors encountered:
    _ 1 _
    Routine AFPCSQ encountered an ORACLE error. .
    Review your error messages for the cause of the error. (=<POINTER>)
    List of errors encountered:
    _ 1 _
    Routine AFPCAL received failure code while parsing or running your
    concurrent program CPMGR
    Review your concurrent request log file for more detailed information.
    Make sure you are passing arguments in the correct format.
    The PPD_0606@PPD internal concurrent manager has terminated with status 1 - giving up.
    Edited by: sahil jain on Jun 6, 2012 10:10 PM

    Hi;
    1. What is EBS version?
    2. Did you check:
    Concurrent Managers Will Only Start on One Node in PCP/RAC Environment [ID 264296.1]
    Concurrent Processing - The Concurrent Manager Fails to Start on GSM Enabled Due to DBMS_LOCK.Request ResultCall Failed to Establish ICM [ID 245563.1]
    Regard
    Helios

  • How do I completely uninstall BB Media Manager on the Mac / PocketMac is not responding

    After installing the preview of the media manager on my Mac I read the fine print that Missing Sync and PocketMac will no longer work (that should be in bold).
    What are the steps to completely remove the Media Manager?
    Thanks, 
    LD
    Solved!
    Go to Solution.

    Hi I dwnload PocketMac Sync Manager for my BB Curve 8900.
    I made the first sync succesfylly but now I want to update changes between devices and this is the error message I get.
    [12:45:47.476] An unexpected error has occurred: Bad device record set.  Check that the OID values are unique across records.
    An unexpected error has occurred: Bad device record set.  Check that the OID values are unique across records.
    What should I do? I cannot find how to check OID values and  wich ones are thevalues.
    Thank you

  • CONCURRENT MANAGER SETUP AND CONFIGURATION REQUIREMENTS IN AN 11I RAC ENVIR

    제품 : AOL
    작성날짜 : 2004-05-13
    PURPOSE
    RAC-PCP 구성에 대한 Setup 사항을 기술한 문서입니다.
    PCP 구현은 CM의 workload 분산, Failover등을 목적으로 합니다.
    Explanation
    Failure sceniro 는 다음 3가지로 구분해 볼수 있습니다.
    1. The database instance that supports the CP, Applications, and Middle-Tier
    processes such as Forms, or iAS can fail.
    2. The Database node server that supports the CP, Applications, and Middle-
    Tier processes such as Forms, or iAS can fail.
    3. The Applications/Middle-Tier server that supports the CP (and Applications)
    base can fail.
    아래부분은 CM,AP 구성과
    CM과 GSM(Global Service Management)과의 관계를 설명하고 있습니다.
    The concurrent processing tier can reside on either the Applications, Middle-
    Tier, or Database Tier nodes. In a single tier configuration, non PCP
    environment, a node failure will impact Concurrent Processing operations do to
    any of these failure conditions. In a multi-node configuration the impact of
    any these types of failures will be dependent upon what type of failure is
    experienced, and how concurrent processing is distributed among the nodes in
    the configuration. Parallel Concurrent Processing provides seamless failover
    for a Concurrent Processing environment in the event that any of these types of
    failures takes place.
    In an Applications environment where the database tier utilizes Listener (
    server) load balancing is implemented, and in a non-load balanced environment,
    there are changes that must be made to the default configuration generated by
    Autoconfig so that CP initialization, processing, and PCP functionality are
    initiated properly on their respective/assigned nodes. These changes are
    described in the next section - Concurrent Manager Setup and Configuration
    Requirements in an 11i RAC Environment.
    The current Concurrent Processing architecture with Global Service Management
    consists of the following processes and communication model, where each process
    is responsible for performing a specific set of routines and communicating with
    parent and dependent processes.
    아래 내용은 PCP환경에서 ICM, FNDSM, IM, Standard Manager의 역활을 설명하고
    있습니다.
    Internal Concurrent Manager (FNDLIBR process) - Communicates with the Service
    Manager.
    The Internal Concurrent Manager (ICM) starts, sets the number of active
    processes, monitors, and terminates all other concurrent processes through
    requests made to the Service Manager, including restarting any failed processes.
    The ICM also starts and stops, and restarts the Service Manager for each node.
    The ICM will perform process migration during an instance or node failure.
    The ICM will be
    active on a single node. This is also true in a PCP environment, where the ICM
    will be active on at least one node at all times.
    Service Manager (FNDSM process) - Communicates with the Internal Concurrent
    Manager, Concurrent Manager, and non-Manager Service processes.
    The Service Manager (SM) spawns, and terminates manager and service processes (
    these could be Forms, or Apache Listeners, Metrics or Reports Server, and any
    other process controlled through Generic Service Management). When the ICM
    terminates the SM that
    resides on the same node with the ICM will also terminate. The SM is ?hained?
    to the ICM. The SM will only reinitialize after termination when there is a
    function it needs to perform (start, or stop a process), so there may be
    periods of time when the SM is not active, and this would be normal. All
    processes initialized by the SM
    inherit the same environment as the SM. The SM environment is set by APPSORA.
    env file, and the gsmstart.sh script. The TWO_TASK used by the SM to connect
    to a RAC instance must match the instance_name from GV$INSTANCE. The apps_<sid>
    listener must be active on each CP node to support the SM connection to the
    local instance. There
    should be a Service Manager active on each node where a Concurrent or non-
    Manager service process will reside.
    Internal Monitor (FNDIMON process) - Communicates with the Internal Concurrent
    Manager.
    The Internal Monitor (IM) monitors the Internal Concurrent Manager, and
    restarts any failed ICM on the local node. During a node failure in a PCP
    environment the IM will restart the ICM on a surviving node (multiple ICM's may
    be started on multiple nodes, but only the first ICM started will eventually
    remain active, all others will gracefully terminate). There should be an
    Internal Monitor defined on each node
    where the ICM may migrate.
    Standard Manager (FNDLIBR process) - Communicates with the Service Manager and
    any client application process.
    The Standard Manager is a worker process, that initiates, and executes client
    requests on behalf of Applications batch, and OLTP clients.
    Transaction Manager - Communicates with the Service Manager, and any user
    process initiated on behalf of a Forms, or Standard Manager request. See Note:
    240818.1 regarding Transaction Manager communication and setup requirements for
    RAC.
    Concurrent Manager Setup and Configuration Requirements in an 11i RAC
    Environment
    PCP를 사용하기위한 기본적인 Setup 절차를 설명하고 있습니다.
    In order to set up Setup Parallel Concurrent Processing Using AutoConfig with
    GSM,
    follow the instructions in the 11.5.8 Oracle Applications System Administrators
    Guide
    under Implementing Parallel Concurrent Processing using the following steps:
    1. Applications 11.5.8 and higher is configured to use GSM. Verify the
    configuration on each node (see WebIV Note:165041.1).
    2. On each cluster node edit the Applications Context file (<SID>.xml), that
    resides in APPL_TOP/admin, to set the variable <APPLDCP oa_var="s_appldcp">
    ON </APPLDCP>. It is normally set to OFF. This change should be performed
    using the Context Editor.
    3. Prior to regenerating the configuration, copy the existing tnsnames.ora,
    listener.ora and sqlnet.ora files, where they exist, under the 8.0.6 and iAS
    ORACLE_HOME locations on the each node to preserve the files (i.e./<some_
    directory>/<SID>ora/$ORACLE_HOME/network/admin/<SID>/tnsnames.ora). If any of
    the Applications startup scripts that reside in COMMON_TOP/admin/scripts/<SID>
    have been modified also copy these to preserve the files.
    4. Regenerate the configuration by running adautocfg.sh on each cluster node as
    outlined in Note:165195.1.
    5. After regenerating the configuration merge any changes back into the
    tnsnames.ora, listener.ora and sqlnet.ora files in the network directories,
    and the startup scripts in the COMMON_TOP/admin/scripts/<SID> directory.
    Each nodes tnsnames.ora file must contain the aliases that exist on all
    other nodes in the cluster. When merging tnsnames.ora files ensure that each
    node contains all other nodes tnsnames.ora entries. This includes tns
    entries for any Applications tier nodes where a concurrent request could be
    initiated, or request output to be viewed.
    6. In the tnsnames.ora file of each Concurrent Processing node ensure that
    there is an alias that matches the instance name from GV$INSTANCE of each
    Oracle instance on each RAC node in the cluster. This is required in order
    for the SM to establish connectivity to the local node during startup. The
    entry for the local node will be the entry that is used for the TWO_TASK in
    APPSORA.env (also in the APPS<SID>_<HOSTNAME>.env file referenced in the
    Applications Listener [APPS_<SID>] listener.ora file entry "envs='MYAPPSORA=<
    some directory>/APPS<SID>_<HOSTNAME>.env)
    on each node in the cluster (this is modified in step 12).
    7. Verify that the FNDSM_<SID> entry has been added to the listener.ora file
    under the 8.0.6 ORACLE_HOME/network/admin/<SID> directory. See WebiV Note:
    165041.1 for instructions regarding configuring this entry. NOTE: With the
    implementation of GSM the 8.0.6 Applications, and 9.2.0 Database listeners
    must be active on all PCP nodes in the cluster during normal operations.
    8. AutoConfig will update the database profiles and reset them for the node
    from which it was last run. If necessary reset the database profiles back to
    their original settings.
    9. Ensure that the Applications Listener is active on each node in the cluster
    where Concurrent, or Service processes will execute. On each node start the
    database and Forms Server processes as required by the configuration that
    has been implemented.
    10. Navigate to Install > Nodes and ensure that each node is registered. Use
    the node name as it appears when executing a nodename?from the Unix prompt on
    the server. GSM will add the appropriate services for each node at startup.
    11. Navigate to Concurrent > Manager > Define, and set up the primary and
    secondary node names for all the concurrent managers according to the
    desired configuration for each node workload. The Internal Concurrent
    Manager should be defined on the primary PCP node only. When defining the
    Internal Monitor for the secondary (target) node(s), make the primary node (
    local node) assignment, and assign a secondary node designation to the
    Internal Monitor, also assign a standard work shift with one process.
    12. Prior to starting the Manager processes it is necessary to edit the APPSORA.
    env file on each node in order to specify a TWO_TASK entry that contains
    the INSTANCE_NAME parameter for the local nodes Oracle instance, in order
    to bind each Manager to the local instance. This should be done regardless
    of whether Listener load balancing is configured, as it will ensure the
    configuration conforms to the required standards of having the TWO_TASK set
    to the instance name of each node as specified in GV$INSTANCE. Start the
    Concurrent Processes on their primary node(s). This is the environment
    that the Service Manager passes on to each process that it initializes on
    behalf of the Internal Concurrent Manager. Also make the same update to
    the file referenced by the Applications Listener APPS_<SID> in the
    listener.ora entry "envs='MYAPPSORA= <some directory>/APPS<SID>_<HOSTNAME>.
    env" on each node.
    13. Navigate to Concurrent > Manager > Administer and verify that the Service
    Manager and Internal Monitor are activated on the secondary node, and any
    other addititional nodes in the cluster. The Internal Monitor should not be
    active on the primary cluster node.
    14. Stop and restart the Concurrent Manager processes on their primary node(s),
    and verify that the managers are starting on their appropriate nodes. On
    the target (secondary) node in addition to any defined managers you will
    see an FNDSM process (the Service Manager), along with the FNDIMON process (
    Internal Monitor).
    Reference Documents
    Note 241370.1

    What is your database version? OS?
    We are using VCP suite for Planning Purpose. We are using VCP environment (12.1.3) in Decentralized structure connecting to 3 differect source environment ( consisting 11i and R12). As per the Oracle Note {RAC Configuration Setup For Running MRP Planning, APS Planning, and Data Collection Processes [ID 279156]} we have implemented RAC in our test environment to get better performance.
    But after doing all the setups and concurrent programs assignment to different nodes, we are seeing huge performance issue. The Complete Collection which takes generally on an avg 180 mins in Production, is taking more than 6 hours to complete in RAC.
    So I would like to get suggestion from this forum, if anyone has implemented RAC in pure VCP (decentralized) environment ? Will there be any improvement if we make our VCP Instance in RAC ?Do you PCP enabled? Can you reproduce the issue when you stop the CM?
    Have you reviewed these docs?
    Value Chain Planning - VCP - Implementation Notes & White Papers [ID 280052.1]
    Concurrent Processing - How To Ensure Load Balancing Of Concurrent Manager Processes In PCP-RAC Configuration [ID 762024.1]
    How to Setup and Run Data Collections [ID 145419.1]
    12.x - Latest Patches and Installation Requirements for Value Chain Planning (aka APS Advanced Planning & Scheduling) [ID 746824.1]
    APSCHECK.sql Provides Information Needed for Diagnosing VCP and GOP Applications Issues [ID 246150.1]
    Thanks,
    Hussein

  • Is My query is enough to fetch concurrent manager goes INACTIVE NOMANAGER?

    Dear Legends,
    Is the following query is Okay to fetch whenever concurrent manager goes to INACTIVE NOMANAGER status? I have put this in a shell cron so whenever the concurrent goes INACTIVE NOMANAGER it will be firing an alert to the list of mail id's.
    Query for determining the details
    ========================
    SELECT
        REQUEST_ID,
        PHASE_CODE,
        STATUS_CODE,
        LAST_UPDATE_DATE,
        LAST_UPDATED_BY,
        REQUESTED_BY,
        RESPONSIBILITY_ID,
        RESPONSIBILITY_APPLICATION_ID
    FROM
        FND_CONCURRENT_REQUESTS
    WHERE
        PHASE_CODE='P'
    AND
        STATUS_CODE='M';
    Here am taking the count
    ===================
    SELECT
        count(*)
    FROM
        FND_CONCURRENT_REQUESTS
    WHERE
        PHASE_CODE='P';
    Thanks,
    Karthik

    In our test environment ,today one developer said his request completed with inactive ,nomanager.I checked the concurrent manager related to that request,it is showing actual is zero and target as 4.It means that particular concurrent manager is down?..Yes.
    I checked the concurrent manager status using adcmctl.sh .It shows internal manger not active at this time.But active users concurrent request completed succesfully in standard manager.what does it mean?Check that specific CM log file for details about the error. Also, bounce the CM using adcmctl.sh script and check then (you may need to run cmclean.sql script before bringing the services up).
    Thanks,
    Hussein

  • How to get the concurrent request id while running a concurrent program

    Hi All,
    I am working with oracle apps r12.
    I have created a custom report with some parameter. And i have created a parameter P_CONC_REQUEST_ID.
    And in the report i have used SRW.USER_EXIT('FND SRWEXIT'); in after report and SRW.USER_EXIT ('FND SRWINIT'); in before report trigger.
    when i ran the report from the application, I didnt get the conc request id in the parameter. It not passing the concurrent request id.
    Can any one tell me how to bring the concurrent request id.
    Thanks & regards
    Srikkanth
    Edited by: Srikkanth.M on Mar 14, 2012 1:56 PM

    Hi;
    FND_CONCURRENT_REQUESTS
    This table contains a complete history of all concurrent requests.
    FND_RUN_REQUESTS
    When a user submits a report set, this table stores information about
    the reports in the report set and the parameter values for each report.
    FND_CONC_REQUEST_ARGUMENTS
    This table records arguments passed by the concurrent manager to each program it starts running.
    FND_DUAL
    This table records when requests do not update database tables.
    FND_CONCURRENT_PROCESSES
    This table records information about Oracle Applications and operating system processes.
    FND_CONC_STAT_LIST
    This table collects runtime performance statistics for concurrent requests.
    FND_CONC_STAT_SUMMARY
    This table contains the concurrent program performance statistics generated by the Purge Concurrent Request and/or Manager Data program. The Purge concurrent Request and/or Manager Data program uses the data in FND_CONC_STAT_LIST to compute these
    Also see:
    concurrent request details
    Find history of concurrent request details
    How to determine the user who placed a certain concurrent request?
    Regard
    Helios

  • Request set not getting picked up by concurrent manager.

    Hi All
    We have an issue today where the daily scheduled request set did not run and status for which remained at "Pending Scheduled". Concurrent Manager did not pick up this and status remained:
    This request is waiting to be processed by the Conflict Resolution Manager.
    This request cannot yet begin execution because other requests may conflict with it. The Conflict Resolution Manager will determine when this request may begin execution.
    User <user_ name> submitted this request on 06-MAR-2011 23:17:33.
    No action required. This is a normal condition.
    This request may have to wait on one or more of the following requests to complete before it can begin execution:
    I checked all the 'incompatibilities" of the programs for request set and none of them were running.
    We did the below, but no success:
    1. Restarted the concurret manager
    2. Cancelled the scheduled run and submitted request set again.
    Still the status remained at "Pending Scheduled" with above message.
    When we tried to run the individaul programs for that request set it all worked fine. So I would like to know what could be the issue and how to overcome this. I think the issue could be with request set as the individual program is working fine.
    Any pointers will be highly appriciated.
    Many Thanks,
    -Shashank

    which manager is Processing that request.. if it is Custom manager Then U should excllude this concurrent program from the concurrent manager.
    otherwise both the Standard manager or custom manager both are not going to pickup the process..
    he
    Please Check The Cocnurrent Manager which is going to process and check wether its included in the respective manager.
    Thanks
    Reddy
    http://11iapps.wordpress.com

Maybe you are looking for

  • Simple Button to Control Movie Clip

    Hello, I was relatively comfortable with AS 2.0, but am having a hard time warming up to 3.0. I feel that this should be something simple to find help online with, yet I'm finding it difficult to get a simple answer. I have a button that is inside a

  • Unable to create report

    hi, i have created info cube successfully and i can view the data in that.when iam trying to create BEX analyser report it says no applicable data found.even in query designer i can view data in values option under each dimension.please help me in th

  • ITunes doesn't communicate with Nano

    I have tried forfive days to get my Nano to work... I always get the same error message saying that iTunes cannot comunicate with the iPod and that I have to install it again. I also get an error in the iPod updater. I already tried everything in the

  • BATCH PROCESS TO SELECT A DIFFERENT LINE OF PIXELS

    Hi there, I am trying to make my own slit scan image by selecting a single line of pixels from many frames. From the first frame I would like to select the first line of pixels. From the second frame I would like to select the second line of pixels a

  • Is it possible to upgrade the GPU in the computer?

    I have recently upgraded my OS X 10.4.11 Mac to 10.6.7, and am looking to play games on it. When I do however, it seems that the GPU (Intel GMA 950) cannot handle it. The game gives GPUs that would work for it, such as ATI Radeon 2400, NVIDIA 8600M,