<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>DanNorris.com - Latest Comments in Start Database Services automatically after instance startup</title><link>http://dannorris.disqus.com/</link><description></description><atom:link href="https://dannorris.disqus.com/start_database_services_automatically_after_instance_startup/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 23 Mar 2009 17:30:37 -0000</lastBuildDate><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7453001</link><description>&lt;p&gt;Hi Martin,&lt;/p&gt;&lt;p&gt;I'm glad you posted as I was thinking of you specifically when I wrote this. Since I didn't get your contact information, I'd hoped you would be watching :). Thanks for the question and getting me thinking...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Mon, 23 Mar 2009 17:30:37 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7449680</link><description>&lt;p&gt;Hi Dan,&lt;/p&gt;&lt;p&gt;I was the guy who asked about the autostart during your excellent hotsos symposium presentation. Only now I saw that you also this blog post.  I also found the OTN sample scripts in the meantime and blogged about it, but you were faster... Thanks again.&lt;/p&gt;&lt;p&gt;Martin&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Decker</dc:creator><pubDate>Mon, 23 Mar 2009 15:25:19 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7431370</link><description>&lt;p&gt;Hi.&lt;br&gt;rac: oracle $ srvctl config db -d DB -a&lt;br&gt;...&lt;br&gt;DB_ROLE: PHYSICAL_STANDBY&lt;br&gt;START_OPTIONS: MOUNT&lt;br&gt;...&lt;br&gt;So You need to change startup option to MOUNT to not OPEN DB&lt;br&gt;there were some bugs that CRS ignored startup options and just opened(read only) DB&lt;br&gt;but they fixed in 10.2.0.4.&lt;/p&gt;&lt;p&gt;To start MRP user collout may be used,&lt;br&gt;but it will be much better if it was coded at CRS level&lt;/p&gt;&lt;p&gt;Denix&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Denix</dc:creator><pubDate>Mon, 23 Mar 2009 05:44:16 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7389499</link><description>&lt;p&gt;I think it isn't recommended because there's no reliable way to do it. The -r physical_standby option wasn't really developed (apparently), so all CRS knows how to do is "startup open" and nothing else.&lt;/p&gt;&lt;p&gt;In 10g R2, I had good experiences with DG Broker--not sure about versions before then, but I can guess it may not have been so good back in V1 or V2 (DG was introduced in 9i, so that's basically V1 in my eyes). &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Fri, 20 Mar 2009 23:02:29 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7378746</link><description>&lt;p&gt;Thanks, I appreciate that. So this really begs the question; "why do they recommend against having CRS put the standby in standby mode?" I am asking from the angle that I have more to learn, and I would like to understand the ramifications of this action.&lt;/p&gt;&lt;p&gt;The DG Broker is another beast. I have heard so many good things about it that I am recommending to our group that we start adopting it. We tried it out in 9i and were burned badly (too complicated, too esoteric, not very friendly).&lt;/p&gt;&lt;p&gt;PS - In light of this post, I am passing out Jeremy's whitepaper like candy to the SunGard crowd, because currently they do not support Services which makes my job as a DBA a little more difficult than it needs to be. Funny how the support staff I am talking has no clue what Oracle Services even are. =) Ah well....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Schultz</dc:creator><pubDate>Fri, 20 Mar 2009 13:44:21 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7360515</link><description>&lt;p&gt;I got some feedback from one of my contacts (suffice it to say this is authoritative information). Basically, they said that they don't recommend using CRS to put the DB in standby mode. There is a "-r physical_standby" mode that was created, but not used, so avoid it. Instead, DG Broker is the recommended way to manage RAC standbys and it is documented too: &lt;a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/configbp.htm#CHDEEAIE" rel="nofollow noopener" target="_blank" title="http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/configbp.htm#CHDEEAIE"&gt;http://download.oracle.com/...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Hope that helps.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Thu, 19 Mar 2009 19:38:20 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7341133</link><description>&lt;p&gt;Hi Charles,&lt;/p&gt;&lt;p&gt;I haven't seen anything like that in the docs either. I don't think there's any way for CRS to handle it as the "agent" for RAC instances isn't extensible as far as I know. So, to offer this functionality, Clusterware development would have to get involved to support it (at least that's how I see it--not knowing how things are organized internally there).&lt;/p&gt;&lt;p&gt;Your question is a good one and I pinged a few friends that might have some more thoughts. If they don't post them here (assuming I get responses at all), I'll summarize and post results.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Thu, 19 Mar 2009 09:44:39 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7313776</link><description>&lt;p&gt;This got me to thinking. The MAA guide does not specify any mount options when adding a standby using srvctl:&lt;br&gt;&lt;a href="http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf" rel="nofollow noopener" target="_blank" title="http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf"&gt;http://www.oracle.com/techn...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I am thinking that there is a way to have CRS put the standby in managed recovery mode, but not finding it easy to find in the documentation. Why is it not made more clear, more obvious? Especially if Oracle is touting this thing called "Best Practices" for "Maximum Availability"? =)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Schultz</dc:creator><pubDate>Wed, 18 Mar 2009 09:38:17 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7246672</link><description>&lt;p&gt;My cluster is on 11gR1. Agreed, you could do an external callout from the DB to srvctl, but that seems like a lot of work when you ultimately do just the same thing that the clusterware callout script does :).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Sun, 15 Mar 2009 21:50:51 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7226773</link><description>&lt;p&gt;Yes, since it is based on what is in the OCR. You could do a external call to srvctl though : )... I wonder if this has changed in 11g.&lt;/p&gt;&lt;p&gt;Is your RAC cluster 10g or 11g? Maybe some beta tester could check who is doing 11gR2 :).... hmmm &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tom</dc:creator><pubDate>Sat, 14 Mar 2009 22:08:00 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7195280</link><description>&lt;p&gt;I think it would (I didn't check and already shut down my cluster for the night). Not sure if CRS would ever determine that it is there, though. I doubt it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Fri, 13 Mar 2009 23:41:35 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7195218</link><description>&lt;p&gt;So if you do an lsnrctl status, do you see the service? It just may not show up in crs, but maybe there is something srvctl could do to "probe". I will have to play with it also. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom</dc:creator><pubDate>Fri, 13 Mar 2009 23:36:04 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7194322</link><description>&lt;p&gt;The script runs for any cluster event. The only ones it cares about are instance startup events. All other events are discarded and the script exits unless it sees INSTANCE as the first argument to the script (which is how the callouts pass the args).&lt;/p&gt;&lt;p&gt;I had to test your idea as I hadn't tried it yet. Unfortunately, DBMS_SERVICE doesn't actually change Oracle Clusterware's status. So, I don't think it'd be a complete solution. I also like the thought of placing one generic script in Oracle Clusterware and avoid maintaining a database startup trigger in each of the databases I have in the cluster (thinking of the case where there are 10+ databases in the RAC cluster).&lt;/p&gt;&lt;p&gt;Good idea--I didn't know until I tried that a database startup trigger fires each time a new instance opens the database. So, a two-node cluster would fire the trigger twice (once in each instance). That could mess things up if you didn't know about it ahead of time and could be a problem for those environments that are counting on having it fire exactly once at startup time. Glad you got me thinking enough to test that out!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Fri, 13 Mar 2009 22:19:01 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7168782</link><description>&lt;p&gt;wow! thank you for your stuff  ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">surachart</dc:creator><pubDate>Fri, 13 Mar 2009 10:53:07 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7167548</link><description>&lt;p&gt;So this script would run when the event "instance_startup" happens?&lt;/p&gt;&lt;p&gt;Could you possibly do an instance startup trigger that would call DBMS_SERVICES?&lt;/p&gt;&lt;p&gt;Not saying it is a better way, but just another way : )&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom</dc:creator><pubDate>Fri, 13 Mar 2009 10:02:15 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7167343</link><description>&lt;p&gt;surachart: Thanks for stopping by. There's also a video highlight reel of Hotsos sessions by Marco Gralike on YouTube at &lt;a href="http://is.gd/n5Cp" rel="nofollow noopener" target="_blank" title="http://is.gd/n5Cp"&gt;http://is.gd/n5Cp&lt;/a&gt; if you'd like to see more.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Norris</dc:creator><pubDate>Fri, 13 Mar 2009 09:52:09 -0000</pubDate></item><item><title>Re: Start Database Services automatically after instance startup</title><link>http://www.dannorris.com/2009/03/12/start-database-services-automatically-after-instance-startup/#comment-7164312</link><description>&lt;p&gt;Thank you for your idea.&lt;/p&gt;&lt;p&gt;I understood little of a service. &lt;br&gt;After I knew a service helpful about performance management. I try to learn and test about it.&lt;/p&gt;&lt;p&gt;Thank You again for stuff  from your session at Hotsos and the definitive whitepaper by Jeremy Schneider.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">surachart</dc:creator><pubDate>Fri, 13 Mar 2009 05:21:46 -0000</pubDate></item></channel></rss>