<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Password file maintenance in a Data Guard environment</title>
	<atom:link href="http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/feed/" rel="self" type="application/rss+xml" />
	<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/</link>
	<description>By: Harald van Breederode</description>
	<lastBuildDate>Sat, 18 May 2013 15:01:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: http://tinyurl.com/6scnwilks59580</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-808</link>
		<dc:creator><![CDATA[http://tinyurl.com/6scnwilks59580]]></dc:creator>
		<pubDate>Sun, 13 Jan 2013 08:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-808</guid>
		<description><![CDATA[]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot for posting â€śPassword file maintenance in a Data Guard environment « The Dutch Prutser&#8217;s Blogâ€ť. I personallymight definitely end up being coming back for much more browsing and commenting here soon enough. Thanks, Carmine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coene van der Zee</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-718</link>
		<dc:creator><![CDATA[Coene van der Zee]]></dc:creator>
		<pubDate>Thu, 09 Aug 2012 14:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-718</guid>
		<description><![CDATA[Ok, Thanks]]></description>
		<content:encoded><![CDATA[<p>Ok, Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald van Breederode</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-717</link>
		<dc:creator><![CDATA[Harald van Breederode]]></dc:creator>
		<pubDate>Thu, 09 Aug 2012 10:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-717</guid>
		<description><![CDATA[Hi Coene,

Yes, you need to copy the password file from the primary to the standby.
Query v$pwfile_users on both sides before and after the copy and draw your own conclusion ;-)
-Harald]]></description>
		<content:encoded><![CDATA[<p>Hi Coene,</p>
<p>Yes, you need to copy the password file from the primary to the standby.<br />
Query v$pwfile_users on both sides before and after the copy and draw your own conclusion ;-)<br />
-Harald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coene van der Zee</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-716</link>
		<dc:creator><![CDATA[Coene van der Zee]]></dc:creator>
		<pubDate>Wed, 08 Aug 2012 13:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-716</guid>
		<description><![CDATA[Hi Herald,

I have two databases in dataguard setup, Oracle 10.2.0.4
I stumbled over your blog when looking for user management in a Data Guard environment.
At the primary side i added a user, and gave it sysdba rights. I was wondering if that user was also created at the secondary site.
Then i read your blog and looked at my passwrd files, in order to copy it from prim to secondary. But they are both with the same timestamp. Do i still need to copy them, i did not change any passwrds?]]></description>
		<content:encoded><![CDATA[<p>Hi Herald,</p>
<p>I have two databases in dataguard setup, Oracle 10.2.0.4<br />
I stumbled over your blog when looking for user management in a Data Guard environment.<br />
At the primary side i added a user, and gave it sysdba rights. I was wondering if that user was also created at the secondary site.<br />
Then i read your blog and looked at my passwrd files, in order to copy it from prim to secondary. But they are both with the same timestamp. Do i still need to copy them, i did not change any passwrds?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ravi</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-629</link>
		<dc:creator><![CDATA[ravi]]></dc:creator>
		<pubDate>Sat, 04 Feb 2012 13:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-629</guid>
		<description><![CDATA[Good explanation about password file  in datagaurd configuration]]></description>
		<content:encoded><![CDATA[<p>Good explanation about password file  in datagaurd configuration</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-628</link>
		<dc:creator><![CDATA[Frank]]></dc:creator>
		<pubDate>Tue, 10 Jan 2012 20:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-628</guid>
		<description><![CDATA[Harald:

I like the way you describe the solutions to this password copying. Thanks a lot and hope to see more your article.]]></description>
		<content:encoded><![CDATA[<p>Harald:</p>
<p>I like the way you describe the solutions to this password copying. Thanks a lot and hope to see more your article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald van Breederode</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-596</link>
		<dc:creator><![CDATA[Harald van Breederode]]></dc:creator>
		<pubDate>Tue, 27 Sep 2011 06:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-596</guid>
		<description><![CDATA[Hi Dirk,

Yes, this is a possible solution but the chances of having a shared filesystem in a Data Guard environment are pretty low in my opinion. Especially if one is using Data Guard as a disaster recovery solution, but it might be quite possible if one uses Data Guard in an off-loading scenario. Or maybe there is an ACFS filesystem available with replication enabled. So yes, it is a possible solution, but it would be really nice if Data Guard would propagate password changes from the primary to its standby&#039;s.
-Harald]]></description>
		<content:encoded><![CDATA[<p>Hi Dirk,</p>
<p>Yes, this is a possible solution but the chances of having a shared filesystem in a Data Guard environment are pretty low in my opinion. Especially if one is using Data Guard as a disaster recovery solution, but it might be quite possible if one uses Data Guard in an off-loading scenario. Or maybe there is an ACFS filesystem available with replication enabled. So yes, it is a possible solution, but it would be really nice if Data Guard would propagate password changes from the primary to its standby&#8217;s.<br />
-Harald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk Brouwer</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-595</link>
		<dc:creator><![CDATA[Dirk Brouwer]]></dc:creator>
		<pubDate>Mon, 26 Sep 2011 10:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-595</guid>
		<description><![CDATA[Hi Harald,

If you have a shared filesystem, a possible solution might be to put the passwordfile over there and create a softlink in the $ORACLE_HOME/dbs directory. In that way the passwordfile is maintained at one location.

Regards,

Dirk]]></description>
		<content:encoded><![CDATA[<p>Hi Harald,</p>
<p>If you have a shared filesystem, a possible solution might be to put the passwordfile over there and create a softlink in the $ORACLE_HOME/dbs directory. In that way the passwordfile is maintained at one location.</p>
<p>Regards,</p>
<p>Dirk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald van Breederode</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-588</link>
		<dc:creator><![CDATA[Harald van Breederode]]></dc:creator>
		<pubDate>Tue, 28 Jun 2011 09:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-588</guid>
		<description><![CDATA[Hi Saskia,

Thanx for your comment about the workaround you use and the reason behind it. You should not forget to re-create the password file(s) on your standby database(s) after changing the SYS password on the primary.

It is indeed documented that you should copy the password file on 11g while creating a standby database, but it is not documented (as far as I am aware) how to handle password file changes afterwarths. Hence my posting ;-)
-Harald]]></description>
		<content:encoded><![CDATA[<p>Hi Saskia,</p>
<p>Thanx for your comment about the workaround you use and the reason behind it. You should not forget to re-create the password file(s) on your standby database(s) after changing the SYS password on the primary.</p>
<p>It is indeed documented that you should copy the password file on 11g while creating a standby database, but it is not documented (as far as I am aware) how to handle password file changes afterwarths. Hence my posting ;-)<br />
-Harald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saskia van Mourik</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-586</link>
		<dc:creator><![CDATA[Saskia van Mourik]]></dc:creator>
		<pubDate>Thu, 23 Jun 2011 19:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-586</guid>
		<description><![CDATA[Hi Harald,

Since 11g, copying the passwordfile from the primary database to the standby database(s) is Oracle&#039;s recommended and documented way to get an identical passwordfiles on all sites. In previous versions, 10g, the documented way to generate identical passwordfiles on all sites was doing it by orapwd.

Exactly this changed approach (with a reason) caused us some troubles when we updated our scripts to create standby databases including dataguard-configuration in an 11gR2-environment and did not read the documentation carefully enough in advance:
1) Create the standby using active database duplication 
Result: All went fine, including configuring/enabling dataguard configuration, because as part of the duplicate Oracle copies the passwordfile to the standby environment.

2) Create the standby using an already existing backup, and generate the passwordfile on the standby via orapwd  (the 10g-way)
Result: Adding the standby database to the dataguard configuration failed with &quot;Error: ORA-01031: insufficient privileges&quot;. Messages in the drc**.log pointed us to non-equal passwords for SYS, but they were according testing it with sqlplus. Actually, the passwordfiles were not identical due to the &#039;salt&#039; added to the password when it was hashed as part of the encryption mechanism if case-sensitivity is turned on. And yes, this was the reason you should copy the passwordfile to the standby environment instead of generating it via orapwd.

For us scripting the copying of the passwordfile would mean introducing ssh-keys only for this purpose (not using RAC currently), so we decided to go for one of the two alternatives as described in Note 462219.1 (DATA GUARD LOG SHIPPING FAILS WITH ERROR ORA-16191 IN 11G ):
&quot;Create password files on both servers using the same password and pass ignorecase=Y to orapwd&quot;, to bypass the hashing and generate identical passwordfiles. This works for us, although it is not the most secure solution.

Kind regards,
Saskia]]></description>
		<content:encoded><![CDATA[<p>Hi Harald,</p>
<p>Since 11g, copying the passwordfile from the primary database to the standby database(s) is Oracle&#8217;s recommended and documented way to get an identical passwordfiles on all sites. In previous versions, 10g, the documented way to generate identical passwordfiles on all sites was doing it by orapwd.</p>
<p>Exactly this changed approach (with a reason) caused us some troubles when we updated our scripts to create standby databases including dataguard-configuration in an 11gR2-environment and did not read the documentation carefully enough in advance:<br />
1) Create the standby using active database duplication<br />
Result: All went fine, including configuring/enabling dataguard configuration, because as part of the duplicate Oracle copies the passwordfile to the standby environment.</p>
<p>2) Create the standby using an already existing backup, and generate the passwordfile on the standby via orapwd  (the 10g-way)<br />
Result: Adding the standby database to the dataguard configuration failed with &#8220;Error: ORA-01031: insufficient privileges&#8221;. Messages in the drc**.log pointed us to non-equal passwords for SYS, but they were according testing it with sqlplus. Actually, the passwordfiles were not identical due to the &#8216;salt&#8217; added to the password when it was hashed as part of the encryption mechanism if case-sensitivity is turned on. And yes, this was the reason you should copy the passwordfile to the standby environment instead of generating it via orapwd.</p>
<p>For us scripting the copying of the passwordfile would mean introducing ssh-keys only for this purpose (not using RAC currently), so we decided to go for one of the two alternatives as described in Note 462219.1 (DATA GUARD LOG SHIPPING FAILS WITH ERROR ORA-16191 IN 11G ):<br />
&#8220;Create password files on both servers using the same password and pass ignorecase=Y to orapwd&#8221;, to bypass the hashing and generate identical passwordfiles. This works for us, although it is not the most secure solution.</p>
<p>Kind regards,<br />
Saskia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald van Breederode</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-585</link>
		<dc:creator><![CDATA[Harald van Breederode]]></dc:creator>
		<pubDate>Wed, 22 Jun 2011 10:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-585</guid>
		<description><![CDATA[Hi Martin,

The names I use come from a well-known Dutch children&#039;s TV series.

Good point on the RAC password files. It is basicly the same problem. I don&#039;t think you have to disable case sensitivity as long as you keep them synchronized across all databases in your MAA configuration.
-Harald]]></description>
		<content:encoded><![CDATA[<p>Hi Martin,</p>
<p>The names I use come from a well-known Dutch children&#8217;s TV series.</p>
<p>Good point on the RAC password files. It is basicly the same problem. I don&#8217;t think you have to disable case sensitivity as long as you keep them synchronized across all databases in your MAA configuration.<br />
-Harald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Decker</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-584</link>
		<dc:creator><![CDATA[Martin Decker]]></dc:creator>
		<pubDate>Wed, 22 Jun 2011 10:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-584</guid>
		<description><![CDATA[Hi Harald,

I really like your instance names....

I also had some trouble in configuring DataGuard in a MAA environment with RAC primary and Physical Standby because of 11g case-senstive password management.

I made the experience that in 11gR2  the password files of both primary RAC instances need to be identical (copied!) in order to have data guard working.  Manual remote connects from primary to standby and vice versa were working fine, but with RFS ist was only working for one RAC Primary Instance. If we copied the orapw file from the nonworking RAC primary to the standby, then they would swap: the connect problem was shifted to the other RAC primary. We then recreated the password file with ignorecase=Y in RAC1, copied it to RAC2 and Standby and from that point onwards, it was working fine.

Best regards,
Martin]]></description>
		<content:encoded><![CDATA[<p>Hi Harald,</p>
<p>I really like your instance names&#8230;.</p>
<p>I also had some trouble in configuring DataGuard in a MAA environment with RAC primary and Physical Standby because of 11g case-senstive password management.</p>
<p>I made the experience that in 11gR2  the password files of both primary RAC instances need to be identical (copied!) in order to have data guard working.  Manual remote connects from primary to standby and vice versa were working fine, but with RFS ist was only working for one RAC Primary Instance. If we copied the orapw file from the nonworking RAC primary to the standby, then they would swap: the connect problem was shifted to the other RAC primary. We then recreated the password file with ignorecase=Y in RAC1, copied it to RAC2 and Standby and from that point onwards, it was working fine.</p>
<p>Best regards,<br />
Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald van Breederode</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-582</link>
		<dc:creator><![CDATA[Harald van Breederode]]></dc:creator>
		<pubDate>Thu, 16 Jun 2011 16:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-582</guid>
		<description><![CDATA[Hi MyHandle,

If you immediatly copy the updated password file from the primary database to all its standby databases, there is no need to stop redo shipment. This is because the primary is already logged in on the standby databases and it will happily continue shipping redo. If for whatever reason the primary needs to re-login to one ora all of its standby databases this will succeed because the standby databases already have the updated password file.
However, if you don&#039;t copy the updated password file you could be in deep trouble. And yes, if you stop redo shipment to all the standby databases in a maximum protected configuration your primary will fail. SO, just copy the password file after updating it and you are in good shape even in a maximun protection configuration.
-Harald]]></description>
		<content:encoded><![CDATA[<p>Hi MyHandle,</p>
<p>If you immediatly copy the updated password file from the primary database to all its standby databases, there is no need to stop redo shipment. This is because the primary is already logged in on the standby databases and it will happily continue shipping redo. If for whatever reason the primary needs to re-login to one ora all of its standby databases this will succeed because the standby databases already have the updated password file.<br />
However, if you don&#8217;t copy the updated password file you could be in deep trouble. And yes, if you stop redo shipment to all the standby databases in a maximum protected configuration your primary will fail. SO, just copy the password file after updating it and you are in good shape even in a maximun protection configuration.<br />
-Harald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myhandle</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-581</link>
		<dc:creator><![CDATA[myhandle]]></dc:creator>
		<pubDate>Thu, 16 Jun 2011 14:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-581</guid>
		<description><![CDATA[Harald,
my concern was that if you stop LogShipping to a standby, then under Maximum Protection, you&#039;d close the primary, but I suppose you would have more than one standby, so as long as you don&#039;t stop shipping to each standby concurrently, you will keep the primary happy.]]></description>
		<content:encoded><![CDATA[<p>Harald,<br />
my concern was that if you stop LogShipping to a standby, then under Maximum Protection, you&#8217;d close the primary, but I suppose you would have more than one standby, so as long as you don&#8217;t stop shipping to each standby concurrently, you will keep the primary happy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald van Breederode</title>
		<link>http://prutser.wordpress.com/2011/06/13/password-file-maintenance-in-a-data-guard-environment/#comment-580</link>
		<dc:creator><![CDATA[Harald van Breederode]]></dc:creator>
		<pubDate>Wed, 15 Jun 2011 15:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://prutser.wordpress.com/?p=643#comment-580</guid>
		<description><![CDATA[Hi MyHandle,

I don&#039;t think there is anything specific to a Maximum Protection configuration as long as you immediatly copy the updated password file from the primary database to all standby databases.
-Harald]]></description>
		<content:encoded><![CDATA[<p>Hi MyHandle,</p>
<p>I don&#8217;t think there is anything specific to a Maximum Protection configuration as long as you immediatly copy the updated password file from the primary database to all standby databases.<br />
-Harald</p>
]]></content:encoded>
	</item>
</channel>
</rss>
