{"id":446,"date":"2008-04-16T11:16:38","date_gmt":"2008-04-16T15:16:38","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/"},"modified":"2008-04-16T11:16:38","modified_gmt":"2008-04-16T15:16:38","slug":"startstop-oracle-apps-instance-is-it-that-simple","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/","title":{"rendered":"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!!"},"content":{"rendered":"<p>Start\/Stop Oracle Apps Instance.<br \/>\nThis looks very simple, hah I know this is just run adstrtal.sh\/adstpall.sh, addbctl.sh and addlnctl.sh. I used to think like this, then after gaining experience I came with my own steps.<\/p>\n<p>In previous approach, Did I took adequate step for checking any running concurrent requests .. did I took enough precaution to check what critical happenings going on in database like hot backup.. Now we shall take care \ud83d\ude42<\/p>\n<p>I assume you know the script location, I shall cover, if you still suggest me to include.<\/p>\n<p>Starting is Simple.<\/p>\n<ol>\n<li>addbctl.sh start<\/li>\n<li>addlnctl.sh start SID<\/li>\n<li>adstrtal.sh apps\/password<\/li>\n<\/ol>\n<p>Stoping is also fairly simple but &#8220;<strong>small care<\/strong>&#8221; needs to be taken to avoid critical issues.<\/p>\n<p>I start my preparation sometime before the downtime scheduled, to let the concurrent request finish. Following are the <strong>steps to bring down middle-tier services<\/strong><\/p>\n<ol>\n<li>Bring down the concurrent manager before maintenance say 20 mins before.<br \/>\nadcmctl.sh stop apps\/Password<\/li>\n<li>Check if any concurrent reqeust is running. if running, check what it is doing, like sql, session is active.<\/li>\n<li>Check previous execution of similar program took how much time.Is it worth to wait or cancel the request<\/li>\n<li>If it is affecting downtime then login from front-end and terminate the concurrent program, and make a note of request id(communicate to user who submitted this request so they can submit again)<\/li>\n<li>Check the OS process id, whether it got terminated or not. If running then its a runaway process kill it. I dont like killings but&#8230;<br \/>\nSQL&gt; select oracle_process_id from fnd_concurrent_requests where request_id=&amp;Request_id;<\/li>\n<\/ol>\n<p><strong>For bringing down database tier.<\/strong><\/p>\n<ol>\n<li>Check if hot backup is going on or not..<br \/>\nTo check, go to alert log file $ORACLE_HOME\/admin\/CONTEXT_NAME\/bdump\/alert_sid.log<br \/>\nand also from sqlplus<br \/>\nSQL&gt; select distinct status from v$backup;<br \/>\nIf it returns row containing &#8220;ACTIVE&#8221; then hot back is in progress.<br \/>\nWait till it gets over.<br \/>\nOtherwise next startup shall create problem. Though we have ways and means to overcome but why do that.<\/li>\n<li>Conditional &#8211; If you are using <strong>DR<\/strong>, pls take care of following steps\n<ol>\n<li>Check which archive dest state refer for DR, enable it .<br \/>\nFrom show parameter log_archive_dest.. you may come to know..<br \/>\nsay if you are using 3rd then run the sql<br \/>\nSQL&gt;alter system set log_archive_dest_state_3=enable;<\/li>\n<li>Check if standby is performing managed recovery.<br \/>\nSQL&gt; SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;PROCESS STATUS<br \/>\n&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;<br \/>\nARCH CLOSING<br \/>\nARCH CONNECTED<br \/>\nMRP0 WAIT_FOR_LOG<br \/>\nRFS WRITING<br \/>\nRFS RECEIVING<br \/>\nRFS RECEIVING<\/li>\n<li>Cancel managed recovery operations.<br \/>\nSQL&gt; ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;<\/li>\n<li>Shut down the standby database.<br \/>\nSQL&gt; SHUTDOWN IMMEDIATE;<\/li>\n<\/ol>\n<\/li>\n<li>Stop database<\/li>\n<li>Now stop the listener<\/li>\n<li>If still database is not going down, check in alert log , what exactly is going on.<\/li>\n<li>Check if any processes are running having local=NO is running. If yes, kill..<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Start\/Stop Oracle Apps Instance. This looks very simple, hah I know this is just run adstrtal.sh\/adstpall.sh, addbctl.sh and addlnctl.sh. I [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-446","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!! -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!! -\" \/>\n<meta property=\"og:description\" content=\"Start\/Stop Oracle Apps Instance. This looks very simple, hah I know this is just run adstrtal.sh\/adstpall.sh, addbctl.sh and addlnctl.sh. I [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/\" \/>\n<meta property=\"article:published_time\" content=\"2008-04-16T15:16:38+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/\",\"name\":\"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!! -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2008-04-16T15:16:38+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!! -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/","og_locale":"en_US","og_type":"article","og_title":"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!! -","og_description":"Start\/Stop Oracle Apps Instance. This looks very simple, hah I know this is just run adstrtal.sh\/adstpall.sh, addbctl.sh and addlnctl.sh. I [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/","article_published_time":"2008-04-16T15:16:38+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/","url":"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/","name":"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!! -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2008-04-16T15:16:38+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/04\/16\/startstop-oracle-apps-instance-is-it-that-simple\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Start\/Stop Oracle Apps Instance. Is it that simple !!!!!!!!!!"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=446"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/446\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}