Pages

Tuesday, July 19, 2011

What is REVIVER In Oracle Applications:

What is REVIVER In Oracle Applications:

Reviver is used for momentary disconnects in the system where the concurrent managers and/or forms go down, and forms is later reconnected while the concurrent managers are not. FNDREVIVER revives the Internal Concurrent Manager (ICM) when it fails.
When ICM can no longer get a database connection, it kills itself and spawns the reviver. Reviver loops every 30 seconds, attempting to login to the database as apps user. Once login is successful, it starts up the ICM again.

If the failure is due to a brief network outage, or database issue, the managers are restarted, so the client does not have to restart the managers manually.

Reviver is recovery mechanism delivered with ATG RUP4 (patch 4676589), and runs in the background. In a Real Applications Cluster (RAC) environment, when the primary node goes down and ICM is set to migrate to the secondary node, the reviver parameter will be passed to the secondary node.

The easiest way to determine if reviver.sh exists is by checking the $FND_TOP/bin directory.

The variable resides in the context file under 's_cp_reviver' and can be set to "enabled" or "disabled". Based on the value of s_cp_reviver in the context file, AFCPDNR is started with a value of either "enabled" or "disabled" .

The reviver is started when starting the ICM, by passing a parameter reviver="enabled". You do this on the node you start the manager, and if the ICM is set to migrate to the second node, this parameter will be passes to the second node.
A common misconception is that users must start the reviver.sh manually, however this is not the intended use. It is automatically enabled when the parameter REVIVER_PROCESS="enabled" is passed via the adcmctl.sh concurrent manager startup script.


On a single node concurrent processing system, FNDREVIVER is the only way to recover from a database connection loss.

On a two node system (PCP), there is another factor, the Internal Monitor (FNDIMON).The FNDIMON will race to restart the internal manager in a multi node setup, and by the time the reviver starts it will likely see that the ICM is already running and exit accordingly.
FNDIMON checks whether it can connect to the database in order to determine if the ICM is running, and if the database connection is not available it fails to run and exits accordingly. The reviver is a shell script which loops until a connection is obtained, and then starts the manager accordingly. The reviver's job is the last line of defense after a database connection failure, as FNDIMON only works when the database connection is available.

In the event the ICM goes down due to a network outage, then the reviver would be needed to bring the ICM back up.

How to check and Enable reviver in Oracle Applications (Its by default enabled in R12):

The following parameters can be set in the context file, and then autoconfig should be re-run to enable reviver:

Example:
 $grep -i s_cp_reviver $CONTEXT_FILE
<cp_reviver oa_var="s_cp_reviver">enabled</cp_reviver>


Reviver Process PID Directory Location (s_fndreviverpiddir)

This variable specifies the path where ICM reviver process pid file will be created. Oracle recommends using a local disk as the PID file location because
the reviver process may run when the network is down.


Example:
<fndreviverpiddir oa_var="s_fndreviverpiddir">/u02/oracle/visappl/fnd/11.5.0/log</fndreviverpiddir>


12 comments:

  1. Thanks for posting this .. it was really helpful

    ReplyDelete
  2. big help.. was looking for difference between reviver and imon.. thanks !!

    ReplyDelete
  3. Please respect original document from MOS - plagiarism is bad ..
    MOS - Doc ID 466752.1 - word to word copy - -very bad

    ReplyDelete
  4. Regards
    Sridevi Koduru (Senior Oracle Apps Trainer Oracleappstechnical.com)
    LinkedIn profile - https://in.linkedin.com/in/sridevi-koduru-9b876a8b
    Please Contact for One to One Online Training on Oracle Apps Technical, Financials, SCM, Oracle Manufacturing, OAF, ADF, SQL, PL/SQL, D2K at sridevikoduru@oracleappstechnical.com | +91 - 9581017828.

    ReplyDelete
  5. Thank you for taking the time to post this blog. I am pleased with your work after reading this post. This is very useful for us. Keep sharing such blogs. Oracle Manufacturing Cloud training in bangalore

    ReplyDelete
  6. There are two fundamental apparatuses used to control WebSphere Application Server:1) The Administrative control center, and 2) wsadmin order line device.https://www.blackmartappdownloads.com/

    ReplyDelete
  7. buy twitch followers Computer games are definitely a hard-core favorite among kids and adults alike as each game released every year is like a turning point in the world of gaming. Whether it is introducing a new genre to the gaming world, or updating the already existing game popularity. these games have an everlasting impact on personal computer gaming. Everyone has their own favorite, but it is always nice to know that there are other people around the world who have the same choice.

    ReplyDelete
  8. There are two principle devices used to direct WebSphere Application Server:1) The Administrative control center, and 2) wsadmin order line device. https://twitchviral.com/

    ReplyDelete
  9. https://www.buyyoutubesubscribers.in/2021/11/10/how-much-youtube-pay-for-1-million-views/ A guide for uploading your own video onto YouTube. This article will show several steps on how to create a video and upload it onto YouTube.

    ReplyDelete
  10. https://dynamichealthstaff.com/nursing-jobs-in-qatar You just hired an SEO firm to climb up the SERPs and enjoy a tsunami of targeted visitors to your site. However, before finally sending in the money against the invoice, stop and think!

    ReplyDelete
  11. https://hostinglelo.in It seems that everyone and their mothers are posting videos on YouTube these days. Because of this, the competition for getting viewers and subscribers to your channel is extremely fierce and most videos get little to no hits at all. If you need some helpful tips to help you get more YouTube views, this article can help. There are many different factors which will ultimately affect the number of viewers and subscribers you attract. Some of these include the quality of your content, how you label your content, and how you market it. Get these 3 things right and you will get hits.

    ReplyDelete
  12. https://www.visualaidscentre.com/lasik-eye-surgery-in-delhi/ The "Wikipedia problem" which means children turning to internet for readymade answers is the new age phenomenon baffling teachers and mentors globally. There are almost equal numbers of teachers who consider technology to be a solution as much as a problem. While a common belief is that technology is hindering the students' capacity to think and analyze, there is also a strong opinion in favor of video games and digital gadgets' ability to engage students and enhance learning by using more than one sensory stimulators. In spite of the growing concern about the students' deteriorating attention spans, institutions are incorporating them in the process of classroom learning.

    ReplyDelete