<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Laurent Schneider</title>
	<atom:link href="http://laurentschneider.com/feed" rel="self" type="application/rss+xml" />
	<link>http://laurentschneider.com</link>
	<description>Oracle Certified Master</description>
	<lastBuildDate>Tue, 31 Jan 2012 16:13:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>This system is for the use of authorized users only.</title>
		<link>http://laurentschneider.com/wordpress/2012/01/this-system-is-for-the-use-of-authorized-users-only.html</link>
		<comments>http://laurentschneider.com/wordpress/2012/01/this-system-is-for-the-use-of-authorized-users-only.html#comments</comments>
		<pubDate>Tue, 31 Jan 2012 16:13:31 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1237</guid>
		<description><![CDATA[How to bypass the login banners? There is actually more than one banner to bypass. One of the them is the message of the day banner, commonly located in /etc/motd. Typically friendly, example in AIX **************************************************************************** *&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;* *&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;* *&#160;&#160;Welcome to AIX Version 6.1!&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * *&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;* *&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;* *&#160;&#160;Please see the README file in /usr/lpp/bos for information [...]]]></description>
			<content:encoded><![CDATA[<p>How to bypass the login banners? </p>
<p>There is actually more than one banner to bypass. One of the them is the message of the day banner, commonly located in /etc/motd. Typically friendly, example in AIX</p>
<p><pre><code>****************************************************************************
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*
***************************************************************************
</code></pre></p>
<p>This is easy to bypass, simply place .hushlogin file on your serverside homedirectory  :<br />
<pre><code>
$ touch $HOME/.hushlogin
$
</code></pre></p>
<p>Yes, it is that easy.</p>
<p>A bit more cumbersome is the ssh banner. Which rather have an aggressive look with criminal punishment threats.<br />
<pre><code>
|-----------------------------------------------------------------|
| This system is for the use of authorized users only.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
| Individuals using this computer system without authority, or in |
| excess of their authority, are subject to having all of their&nbsp;&nbsp; |
| activities on this system monitored and recorded by system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
| personnel.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
| In the course of monitoring individuals improperly using this&nbsp;&nbsp; |
| system, or in the course of system maintenance, the activities&nbsp;&nbsp;|
| of authorized users may also be monitored.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
| Anyone using this system expressly consents to such monitoring&nbsp;&nbsp;|
| and is advised that if such monitoring reveals possible&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
| evidence of criminal activity, system personnel may provide the |
| evidence of such monitoring to law enforcement officials.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
|-----------------------------------------------------------------|
</code></pre><br />
Well, you could delete it from your ssh server but this would not please your sysadmins. The banner is actually a pre-authentication banner, so you must configure it on the client. With the unix ssh client, you lower the log level. Either with a command line option, -o LogLevel=quiet, or in a configfile<br />
<pre><code>
$ cat $HOME/.ssh/config
LogLevel=Quiet
StrictHostKeyChecking=no
NumberOfPasswordPrompts=1
</code></pre></p>
<p>This is so quiet that you will not get any feedback if you cannot connect, but I prefer quiet than noisy.</p>
<p>A very commonly used Windows ssh client is putty, and there, O miracle, there is a pre-authentication-banner option to uncheck in SSH-Auth.<br />
<img src="http://laurentschneider.com/wordpress/wp-content/uploads/2012/01/banner.jpg" alt="" title="Display pre-authentication banner" width="456" height="435" class="alignnone size-full wp-image-1238" /><br />
This appeared in putty 0.62 and it made my day today <img src='http://laurentschneider.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2012/01/this-system-is-for-the-use-of-authorized-users-only.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The new metalink interface</title>
		<link>http://laurentschneider.com/wordpress/2012/01/the-new-metalink-interface.html</link>
		<comments>http://laurentschneider.com/wordpress/2012/01/the-new-metalink-interface.html#comments</comments>
		<pubDate>Mon, 30 Jan 2012 13:19:03 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[metalink]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1229</guid>
		<description><![CDATA[I just started using the New My Oracle Support User Interface It is a zero-flash interface with more capabilities than the &#8220;html&#8221; interface we used the previous years. It still provides about the same browser experience as the flash one. Have a try&#8230; according to Oracle : &#8220;it will eventually replace the Flash version&#8221; To [...]]]></description>
			<content:encoded><![CDATA[<p>I just started using the  <a href="https://supporthtml.oracle.com">New My Oracle Support User Interface</a></p>
<p>It is a zero-flash interface with more capabilities than the &#8220;html&#8221; interface we used the previous years. It  still provides about the same browser experience as the flash one. </p>
<p>Have a try&#8230; according to Oracle : &#8220;it will eventually replace the Flash version&#8221;<br />
To my French speaking readers : eventually does not mean &#8220;éventuellement&#8221; but rather &#8220;à l&#8217;occasion&#8221;.<br />
Google Translate is quite ok this time : <a href="http://translate.google.com/#auto|fr|it%20will%20eventually%20replace%20the%20Flash%20version%20">&#8220;elle finira par remplacer la version Flash&#8221;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2012/01/the-new-metalink-interface.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>change system wide PATH variable in Windows</title>
		<link>http://laurentschneider.com/wordpress/2012/01/change-system-wide-path-variable-in-windows.html</link>
		<comments>http://laurentschneider.com/wordpress/2012/01/change-system-wide-path-variable-in-windows.html#comments</comments>
		<pubDate>Wed, 11 Jan 2012 10:20:35 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[environment]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1225</guid>
		<description><![CDATA[This is utterly simple and mostly you did it with the mouse. To do it with command line and powershell, proceed this way. Open a powershell window powershell or if you have no right to edit the machine-wide environment, runas admin runas /user:yourdomain\youruserplusadmin powershell then access the environment assembly [environment]::setEnvironmentVariable(&#34;PATH&#34;,&#34;c:\oracle\product\11.2.0\client_1\bin;C:\WINDOWS\;C:\WINDOWS\system32;C:\Program Files\Putty;C:\Program Files\Perforce;C:\Program Files\TortoiseSVN\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0&#34;,&#34;MACHINE&#34;) MACHINE is [...]]]></description>
			<content:encoded><![CDATA[<p>This is utterly simple and mostly you did it with the mouse. </p>
<p>To do it with command line and powershell, proceed this way.</p>
<p>Open a powershell window<br />
<pre><code>
powershell
</code></pre><br />
or if you have no right to edit the machine-wide environment, runas admin<br />
<pre><code>
runas /user:yourdomain\youruserplusadmin powershell
</code></pre></p>
<p>then access the environment assembly<br />
<pre><code>
[environment]::setEnvironmentVariable(&quot;PATH&quot;,&quot;c:\oracle\product\11.2.0\client_1\bin;C:\WINDOWS\;C:\WINDOWS\system32;C:\Program Files\Putty;C:\Program Files\Perforce;C:\Program Files\TortoiseSVN\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0&quot;,&quot;MACHINE&quot;)
</code></pre></p>
<p>MACHINE is a for a Machine-wide setting and USER is for a USER-wide setting.</p>
<p>I hope it will be of some use</p>
<p>Completly unrelated, Enterprise Manager 12c for AIX is out. Do not wait it for HPUX, it is not planned. For Windows 64bit, it will come &#8220;between March and May 2012&#8243; according to note 793512.1 on metalink</p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2012/01/change-system-wide-path-variable-in-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transport tablespace over db links</title>
		<link>http://laurentschneider.com/wordpress/2011/12/transport-tablespace-over-db-links.html</link>
		<comments>http://laurentschneider.com/wordpress/2011/12/transport-tablespace-over-db-links.html#comments</comments>
		<pubDate>Tue, 20 Dec 2011 10:07:35 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[dba]]></category>
		<category><![CDATA[datapump]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1221</guid>
		<description><![CDATA[You do not want to export the metadata from the source database, but rather use a database link to get this. As prerequisite, you have made a set of self-contained tablespaces in read-only mode and you have copied the datafiles. SQL&#62;&#160;&#160;create tablespace test datafile &#039;/u02/oradata/db01/test01.dbf&#039; size 10m; Tablespace created. SQL&#62; create table scott.x(x number) tablespace [...]]]></description>
			<content:encoded><![CDATA[<p>You do not want to export the metadata from the source database, but rather use a database link to get this.</p>
<p>As prerequisite, you have made a set of self-contained tablespaces in read-only mode and you have copied the datafiles. </p>
<p><pre><code>
SQL&gt;&nbsp;&nbsp;create tablespace test datafile &#039;/u02/oradata/db01/test01.dbf&#039; size 10m;

Tablespace created.

SQL&gt; create table scott.x(x number) tablespace test;

Table created.

SQL&gt; insert into scott.x values (1);

1 row created.

SQL&gt; commit;

Commit complete.

SQL&gt; alter tablespace test read only;

Tablespace altered.
</code></pre></p>
<p><pre><code>
$ scp srv01:/u02/oradata/db01/test01.dbf /u02/oradata/db02
</code></pre></p>
<p>create a database on the target database DB02<br />
<pre><code>
SQL&gt; create database link l using &#039;DB01&#039;;

Database link created.
</code></pre></p>
<p>Then import the tablespace via db link<br />
<pre><code>
impdp scott/tiger network_link=l transport_tablespaces=TEST transport_datafiles=/u02/oradata/db02/test01.dbf logfile=DATA_PUMP_LOG:impdp.log
</code></pre></p>
<p>This avoid the &#8220;expdp&#8221; step, but it does not avoid copying the datafiles</p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2011/12/transport-tablespace-over-db-links.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fast start failover</title>
		<link>http://laurentschneider.com/wordpress/2011/12/fast-start-failover.html</link>
		<comments>http://laurentschneider.com/wordpress/2011/12/fast-start-failover.html#comments</comments>
		<pubDate>Mon, 12 Dec 2011 17:33:04 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[dataguard]]></category>
		<category><![CDATA[dba]]></category>
		<category><![CDATA[fast start failover]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1210</guid>
		<description><![CDATA[There are loads of things to do to prepare you for a fast start failover. First you must have a working set of primary / standby database Then you must have both databases in flashback mode. Then verify your dataguard configuration with OEM. Ok, once you are so far, you will need to review your [...]]]></description>
			<content:encoded><![CDATA[<p>There are loads of things to do to prepare you for a fast start failover. </p>
<p>First you must have a working set of primary / standby database<br />
Then you must have both databases in flashback mode.<br />
Then verify your dataguard configuration with OEM.</p>
<p>Ok, once you are so far, you will need to review your dataguard property. </p>
<p>lsc01 my primary, lsc05 my standby<br />
<pre><code>
edit database lsc01 set LogXptMode=&#039;SYNC&#039;;
edit database lsc01 set FastStartFailoverTarget= &#039;lsc05&#039;
edit database lsc05 set LogXptMode=&#039;SYNC&#039;;
edit database lsc05 set FastStartFailoverTarget= &#039;lsc01&#039;
EDIT CONFIGURATION SET PROTECTION MODE AS MaxAvailability;
</code></pre></p>
<p>then you need to start the observer in the background :<br />
<pre><code>
nohup dgmgrl -silent sys/*** &quot;start observer&quot; &amp;
</code></pre><br />
note: it does not work if you connect with /. You will get DGM-16979 if you use / or if you use different passwords in standby and primary.</p>
<p>so far so good, let&#8217;s enable fast_start failover in dgmgrl<br />
<pre><code>
ENABLE FAST_START FAILOVER
</code></pre></p>
<p>Before you switch, check the listener.ora is correctly configured :<br />
<pre><code>
SID_LIST_LISTENER=
&nbsp;&nbsp;(SID_LIST=
&nbsp;&nbsp;&nbsp;&nbsp;(SID_DESC=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(GLOBAL_DBNAME=LSC01_DGMGRL.example.com)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(SID_NAME=LSC01)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
&nbsp;&nbsp;&nbsp;&nbsp;)
&nbsp;&nbsp;&nbsp;&nbsp;(SID_DESC=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(GLOBAL_DBNAME=LSC05_DGMGRL.example.com)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(SID_NAME=LSC05)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
&nbsp;&nbsp;&nbsp;&nbsp;)
&nbsp;&nbsp;)

LISTENER =
&nbsp;&nbsp;(DESCRIPTION =
&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS = (PROTOCOL = TCP)(HOST = precision.example.com)(PORT = 1521))
&nbsp;&nbsp;)
</code></pre><br />
The GLOBAL_DBNAME is mandatory to enable a painless switchover. Otherwise the standby startup will fail with ORA-12514.</p>
<p>UPDATE: alternatively in 11gR2 you can set the dataguard property StaticConnectIdentifier to use SID instead of service name :<br />
<pre><code>
edit database lsc05 set property StaticConnectIdentifier=
&nbsp;&nbsp;&#039;(DESCRIPTION=
&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS=(PROTOCOL=tcp)(HOST=precision.example.com)(PORT=1521))
&nbsp;&nbsp;&nbsp;&nbsp;(CONNECT_DATA=(SID=LSC05)))&#039;;
edit database lsc01 set property StaticConnectIdentifier=
&nbsp;&nbsp;&#039;(DESCRIPTION=
&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS=(PROTOCOL=tcp)(HOST=precision.example.com)(PORT=1521))
&nbsp;&nbsp;&nbsp;&nbsp;(CONNECT_DATA=(SID=LSC01)))&#039;;
</code></pre><br />
in this case you will not need global_dbname in listener.ora. See note 308943.1</p>
<p>Ok, let&#8217;s see how fast I can switch<br />
<pre><code>
$ time dgmgrl -silent sys/*** &quot;switchover to lsc05&quot;
Performing switchover NOW, please wait...
New primary database &quot;lsc05&quot; is opening...
Operation requires shutdown of instance &quot;LSC01&quot; on database &quot;lsc01&quot;
Shutting down instance &quot;LSC01&quot;...
ORACLE instance shut down.
Operation requires startup of instance &quot;LSC01&quot; on database &quot;lsc01&quot;
Starting instance &quot;LSC01&quot;...
ORACLE instance started.
Database mounted.
Switchover succeeded, new primary is &quot;lsc05&quot;

real&nbsp;&nbsp;&nbsp;&nbsp;1m10.685s
user&nbsp;&nbsp;&nbsp;&nbsp;0m0.052s
sys&nbsp;&nbsp;&nbsp;&nbsp; 0m0.109s
</code></pre></p>
<p>About one minute. most of the time was spent restarting the original primary as a standby, the primary was already available for queries after about 20 seconds. </p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2011/12/fast-start-failover.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Failover to standby with a delay (until time)</title>
		<link>http://laurentschneider.com/wordpress/2011/11/failover-to-standby-with-a-delay-until-time.html</link>
		<comments>http://laurentschneider.com/wordpress/2011/11/failover-to-standby-with-a-delay-until-time.html#comments</comments>
		<pubDate>Thu, 17 Nov 2011 13:46:58 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[dba]]></category>
		<category><![CDATA[point-in-time recovery]]></category>
		<category><![CDATA[standby]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1206</guid>
		<description><![CDATA[Disaster scenario : 1) you have a primary database 2) you have a standby database 3) you want to be able to failover to the standby database until a given time (ex: within the last 24 hours) First, you create your primary and standby databases. If you have dataguard broker, you then set the DELAYMINS [...]]]></description>
			<content:encoded><![CDATA[<p>Disaster scenario :</p>
<p>1) you have a primary database<br />
2) you have a standby database<br />
3) you want to be able to failover to the standby database until a given time (ex: within the last 24 hours)</p>
<p>First, you create your primary and standby databases. </p>
<p>If you have dataguard broker, you then set the DELAYMINS to 1440 (=1 day) for the standby database.<br />
<pre><code>
DGMGRL&gt; edit database sdb01 set property DelayMins=1440;
</code></pre><br />
If you do not use dg broker, then set the delay in your log_archive_dest_2 parameter<br />
<pre><code>
SQL&gt; ALTER SYSTEM SET log_archive_dest_2=&#039;service=sdb01&#039;,&#039;LGWR ASYNC NOAFFIRM delay=1440&#039;;
</code></pre></p>
<p>Ok, verify your configuration, with OEM, with show configuration or simply with alter system archive log current.</p>
<p>Wait one day <img src='http://laurentschneider.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </p>
<p>After one day, you will have a lag between the last retrieved logfile and the last applied redo log entry.<br />
<pre><code>
SQL&gt; select applied, max(NEXT_TIME) from v$archived_log group by applied;
APPLIED&nbsp;&nbsp; MAX(NEXT_TIME)
--------- -------------------
NO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2011-11-17_14:06:53
YES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2011-11-17_13:51:46
</code></pre></p>
<p>Obviously I did not wait one day for this test, but I already see a log of 15 minutes.</p>
<p>Now for some obscure reason, your beloved colleague messed up the primary database and you must recover the database until 14:00. </p>
<p>Note that you cannot use the dataguard broker or OEM to do this.</p>
<p>Ok. Shutdown the production.</p>
<p><pre><code>
SQL&gt; shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
</code></pre></p>
<p>Now cancel the standby process (but do not issue a <code>recover managed standby database finish</code>).</p>
<p><pre><code>
SQL&gt;&nbsp;&nbsp;alter database recover managed standby database cancel;

Database altered.
</code></pre></p>
<p>Now we need to recover the standby until time. Check the syntax twice before you type enter!</p>
<p>On standby<br />
<pre><code>
SQL&gt; recover automatic standby database until time &#039;2011-11-17 14:00:00&#039;;
Media recovery complete.
</code></pre></p>
<p>On standby, start the database as a primary database<br />
<pre><code>
SQL&gt; alter database activate standby database;

Database altered.
SQL&gt; alter database open;

Database altered.
</code></pre></p>
<p>Before writing this post I did some research on how to do it with dataguard, but dataguard does not seem to offer point in time failover. Either you do an immediate failover (and you will lose 1440 minutes of data) or you do a complete failover (and you will apply all logs, inclusive the one after 14:00)</p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2011/11/failover-to-standby-with-a-delay-until-time.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Enterprise Manager command line interface</title>
		<link>http://laurentschneider.com/wordpress/2011/11/enterprise-manager-command-line-interface.html</link>
		<comments>http://laurentschneider.com/wordpress/2011/11/enterprise-manager-command-line-interface.html#comments</comments>
		<pubDate>Mon, 14 Nov 2011 16:15:20 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[12c]]></category>
		<category><![CDATA[Enterprise Manager]]></category>
		<category><![CDATA[emcli]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1202</guid>
		<description><![CDATA[emcli has been around for a while, but in 12c the installation has never been easier do not search on otn for the jar, go to download with : Setup &#8211;&#62;My Preferences &#8211;&#62;Command line interface &#8211;&#62; download install with : java -jar emclikit.jar client -install_dir=/u01/app/oracle/emcli configure with : emcli setup -url=https://precision.example.com:4901/em -username=sysman -password=sysmanpw -dir=/u01/app/oracle/emcli. That&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>emcli has been around for a while, but in 12c the installation has never been easier</p>
<p>do not search on otn for the jar, go to </p>
<p>download with : <i>Setup</i> &#8211;&gt;<i>My Preferences</i> &#8211;&gt;<i>Command line interface</i>  &#8211;&gt; <i>download</i></p>
<p>install with : <i>java -jar emclikit.jar client -install_dir=/u01/app/oracle/emcli</i></p>
<p>configure with : <i>emcli setup -url=https://precision.example.com:4901/em -username=sysman -password=sysmanpw -dir=/u01/app/oracle/emcli</i>.</p>
<p>That&#8217;s it. </p>
<p>Let&#8217;s try<br />
<pre><code>
$ emcli get_targets
Status&nbsp;&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Target Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Target Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; weblogic_j2eeserver&nbsp;&nbsp; /EMGC_GCDomain/GCDomain/EMGC_OMS1&nbsp;&nbsp;
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Up&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; weblogic_j2eeserver&nbsp;&nbsp; /EMGC_GCDomain/GCDomain/EMGC_ADMINS
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ERVER 
</code></pre></p>
<p>All green (one could argue command line has no color) </p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2011/11/enterprise-manager-command-line-interface.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>delete unused shared memory segments from an Oracle instance</title>
		<link>http://laurentschneider.com/wordpress/2011/11/delete-unused-shared-memory-segments-from-an-oracle-instance.html</link>
		<comments>http://laurentschneider.com/wordpress/2011/11/delete-unused-shared-memory-segments-from-an-oracle-instance.html#comments</comments>
		<pubDate>Mon, 14 Nov 2011 11:30:55 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[dba]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[ipc]]></category>
		<category><![CDATA[oradebug]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1195</guid>
		<description><![CDATA[Once upon a time, a dba issues some kill -9 to clean up dying database processes. Or the database instance crashes. This will left some shared memory segments. Note 68281.1 describe how to remove them on a server with multiple databases. First, list the ipc process $ ipcs IPC status from /dev/mem as of Mon [...]]]></description>
			<content:encoded><![CDATA[<p>Once upon a time, a dba issues some kill -9 to clean up dying database processes. Or the database instance crashes. This will left some shared memory segments. Note 68281.1 describe how to remove them on a server with multiple databases.</p>
<p>First, list the ipc process<br />
<pre><code>
$ ipcs
IPC status from /dev/mem as of Mon Nov 14 11:28:58 CET 2011
T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ID&nbsp;&nbsp;&nbsp;&nbsp; KEY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MODE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OWNER&nbsp;&nbsp;&nbsp;&nbsp;GROUP
Message Queues:
q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0x4107001c -Rrw-rw----&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; printq

Shared Memory:
m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0x7800006f --rw-rw-rw- itmuser1 itmusers
m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 0x78000070 --rw-rw-rw- itmuser1 itmusers
m&nbsp;&nbsp; 5242882 0x41d2ba80 --rw-r-----&nbsp;&nbsp; oracle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dba
m&nbsp;&nbsp;99614723 0xb0d4d164 --rw-rw----&nbsp;&nbsp; oracle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dba
m&nbsp;&nbsp;12582917 0xb84cbc28 --rw-rw----&nbsp;&nbsp; oracle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dba
m&nbsp;&nbsp;79691782 0x1058873f --rw-------&nbsp;&nbsp; oracle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dba
m 638582792 0x78000382 --rw-rw-rw-&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; system
m 218103817 0x780003b7 --rw-rw-rw-&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; system
Semaphores:
s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 0x6202c477 --ra-r--r--&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; system
s&nbsp;&nbsp; 6291461 0x0102c2d8 --ra-------&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; system
s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 0xa100004b --ra-ra-ra-&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; system
</code></pre></p>
<p>Get a list of the running databases<br />
<pre><code>
$ ps -ef | grep pmon | grep -v grep
&nbsp;&nbsp;oracle&nbsp;&nbsp;483334&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 1&nbsp;&nbsp; Aug 16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;6:46 ora_pmon_db03
&nbsp;&nbsp;oracle 1253476&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 0&nbsp;&nbsp; Oct 31&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;2:00 ora_pmon_db01
&nbsp;&nbsp;oracle 2298042&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 0&nbsp;&nbsp; Sep 05&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- 11:07 ora_pmon_db02
</code></pre><br />
Then, for each database, get the ipc information<br />
<pre><code>$ export ORACLE_SID=db01
$ sqlplus / as sysdba
SQL&gt; oradebug setmypid
Statement processed.
SQL&gt; oradebug ipc
Information written to trace file.
SQL&gt; oradebug tracefile_name
/u01/app/oracle/admin/db01/udump/db01_ora_2625574.trc
$ awk &#039;/Shared Memory:/{getline;getline;print}&#039; /u01/app/oracle/admin/db01/udump/db01_ora_2625574.trc
5242882&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x41d2ba80
$ export ORACLE_SID=db02
$ sqlplus / as sysdba
SQL&gt; oradebug setmypid
Statement processed.
SQL&gt; oradebug ipc
Information written to trace file.
SQL&gt; oradebug tracefile_name
/u01/app/oracle/diag/rdbms/db02a/db02/trace/db02_ora_2441408.trc
$ awk &#039;/Shared Memory:/{getline;getline;print}&#039; /u01/app/oracle/diag/rdbms/db02a/db02/trace/db02_ora_2441408.trc
99614723&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0xb0d4d164
$ export ORACLE_SID=db03
$ sqlplus / as sysdba
SQL&gt; oradebug setmypid
Statement processed.
SQL&gt; oradebug ipc
Information written to trace file.
SQL&gt; oradebug tracefile_name
/u01/app/oracle/diag/rdbms/db03b/db03/trace/db03_ora_2617416.trc
$ awk &#039;/Shared Memory:/{getline;getline;print}&#039; /u01/app/oracle/diag/rdbms/db03b/db03/trace/db03_ora_2617416.trc
12582917&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0xb84cbc28
</code></pre></p>
<p>Compare it with the first list, and if you are absolutely sure to do what you are doing, remove the oracle segments that are not assigned to any database instance with ipcrm. If possible try first to figure out where they come from and do a shutdown abort of the not-correctly-stopped database.</p>
<p>Ok, with ipcrm </p>
<p><pre><code>
$ ipcrm -m 79691782
</code></pre><br />
I removed the segment that apparently does not relate to any running instance</p>
<p>This could help you if you are really forced to remove some shared memory segments and you cannot afford shutting down other databases. </p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2011/11/delete-unused-shared-memory-segments-from-an-oracle-instance.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>TNSNAMES and Active Directory</title>
		<link>http://laurentschneider.com/wordpress/2011/11/tnsnames-and-active-directory.html</link>
		<comments>http://laurentschneider.com/wordpress/2011/11/tnsnames-and-active-directory.html#comments</comments>
		<pubDate>Thu, 10 Nov 2011 15:06:08 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[11g]]></category>
		<category><![CDATA[11gR2]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql developer]]></category>
		<category><![CDATA[toad]]></category>
		<category><![CDATA[Microsoft Active Directory]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1188</guid>
		<description><![CDATA[It is highly probable you already have MS AD in your company. Probably you use a local tnsnames.ora. Apart from setting a Oracle Internet Directory or Oracle Virtual Directory, there is one more option that you may want to consider : AD. Ok, here is a bit of a road map : - Schema Extension [...]]]></description>
			<content:encoded><![CDATA[<p>It is highly probable you already have MS AD in your company. Probably you use a local tnsnames.ora. Apart from setting a Oracle Internet Directory or Oracle Virtual Directory, there is one more option that you may want to consider : AD.</p>
<p>Ok, here is a bit of a road map :</p>
<p>- Schema Extension :<br />
  extending the schema is irreversible and you will have to test this properly and explain why you need this (remove the need of distributing a tnsnames, central administration) to your Microsoft Admin friends. To extend the schema, use Oracle Network Configuration Assistant. The step-by-step guide is <a href="http://download.oracle.com/docs/cd/E11882_01/win.112/e10845/active_dir.htm">there</a></p>
<p>- Anonymous or authenticated bind<br />
  prior to 11g, you needed to allow anonymous bind on the AD server. Your Security Admin friends will probably prefer the 11g approach of setting NAMES.LDAP_AUTHENTICATE_BIND to true. If you set NAMES.LDAP_AUTHENTICATE_BIND to true, the Oracle clients will use your windows credentials to do the tnsnames resolution. </p>
<p>For sql developer, use Connection Type=TNS,  Connect Identifier=DB01. connection type=Ldap does not work with authenticated bind</p>
<p>- Import the tnsnames and / or create new entries<br />
  all done with Net Manager and pretty intuitively. Except that you will use &#8220;Directory &#8211;&gt; Export Net Service Names&#8221; to <i>import</i> the tnsnames in AD</p>
<p>- Configure the clients<br />
sqlnet.ora<br />
NAMES.DIRECTORY_PATH= (LDAP)<br />
NAMES.LDAP_AUTHENTICATE_BIND=1 </p>
<p>ldap.ora<br />
DEFAULT_ADMIN_CONTEXT = &#8220;DC=example,DC=com&#8221;<br />
DIRECTORY_SERVER_TYPE = AD</p>
<p>- test it!<br />
tnsping first<br />
<pre><code>
C:\&gt; tnsping db01

TNS Ping Utility for 64-bit Windows: Version 11.2.0.2.0 - Production on 10-NOV-2011 14:42:16

Copyright (c) 1997, 2010, Oracle.&nbsp;&nbsp;All rights reserved.

Used parameter files:
C:\oracle\product\11.2.0\client_3\network\admin\sqlnet.ora

Used LDAP adapter to resolve the alias
Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=srv01)(Port=1521)))(CONNECT
_DATA=(SID=DB01)))
OK (20 msec)
</code></pre></p>
<p>I wrote a simple java program to check the connection :<br />
<pre><code>
import java.sql.*;
import oracle.jdbc.pool.*;
public class HelloWorld {
&nbsp;&nbsp;public&nbsp;&nbsp;static void main(String[] args) throws SQLException {
&nbsp;&nbsp;&nbsp;&nbsp;OracleDataSource ods = new OracleDataSource();
&nbsp;&nbsp;&nbsp;&nbsp;ods.setDriverType(&quot;oci&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;ods.setTNSEntryName(&quot;DB01&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;ods.setUser(&quot;scott&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;ods.setPassword(&quot;tiger&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;ResultSet res = ods.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getConnection().
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prepareCall(&quot;select &#039;Hello World&#039; txt from dual&quot;).
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;executeQuery();
&nbsp;&nbsp;&nbsp;&nbsp;res.next();
&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(res.getString(&quot;TXT&quot;));
&nbsp;&nbsp;}
}
</code></pre><br />
<pre><code>
C:\&gt; set PATH=C:\oracle\product\11.2.0\client_3\bin
C:\&gt; javac -classpath .;C:\oracle\product\11.2.0\client_3\jdbc\lib\ojdbc6.jar HelloWorld.java
C:\&gt; java -classpath .;C:\oracle\product\11.2.0\client_3\jdbc\lib\ojdbc6.jar -Doracle.net.tns_admin=C:\oracle\product\11.2.0\client_3\network\admin HelloWorld
Hello World
</code></pre></p>
<p>If you get and issue with ocijdbc11, you either do not have the *ocijdbc11* driver in your PATH / LD_LIBRARY_PATH / LIBPATH or the use the wrong driver. For instance if you compile with java 32bits, you cannot use the oci 64 bit. </p>
<p>If you use a jdbc thin ldap resolution and have no anonymous bind, it will return an error<br />
<pre><code>
import java.sql.*;
public class HelloWorld {
&nbsp;&nbsp;public&nbsp;&nbsp;static void main(String[] args) throws SQLException {
&nbsp;&nbsp;&nbsp;&nbsp;DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
&nbsp;&nbsp;&nbsp;&nbsp;ResultSet res = DriverManager.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getConnection(&quot;jdbc:oracle:thin:@ldap://example.com:389/db01,cn=OracleContext&quot;, &quot;scott&quot;, &quot;tiger&quot;).
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prepareCall(&quot;select &#039;Hello World&#039; txt from dual&quot;).
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;executeQuery();
&nbsp;&nbsp;&nbsp;&nbsp;res.next();
&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(res.getString(&quot;TXT&quot;));
&nbsp;&nbsp;}
}
</code></pre><br />
<pre><code>
C:\&gt;java -classpath .;C:\oracle\product\11.2.0\client_3\jdbc\lib\ojdbc6.jar HelloWorld
Exception in thread &quot;main&quot; java.sql.SQLException: I/O-Fehler: JNDI Package failure avax.naming.NamingException: [LDAP:error code 1 - 000004DC: LdapErr: DSID-0C0906DC, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db0 ]; remaining name &#039;cn=db01,cn=OracleContext&#039;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at oracle.jdbc.driver.PhysicalConnection.&lt;init&gt;(PhysicalConnection.java:536)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at oracle.jdbc.driver.T4CConnection.&lt;init&gt;(T4CConnection.java:228)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.sql.DriverManager.getConnection(DriverManager.java:525)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.sql.DriverManager.getConnection(DriverManager.java:171)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at HelloWorld.main(HelloWorld.java:5)
</code></pre></p>
<p>As the error message says, the ldap server requires a bind</p>
<p>Let&#8217;s try to bind</p>
<p><pre><code>
import java.sql.*;
import java.util.*;
import oracle.jdbc.pool.*;
public class HelloWorld {
&nbsp;&nbsp;public&nbsp;&nbsp;static void main(String[] args) throws SQLException {
&nbsp;&nbsp;&nbsp;&nbsp;OracleDataSource ods = new OracleDataSource();
&nbsp;&nbsp;&nbsp;&nbsp;ods.setDriverType(&quot;thin&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;Properties prop = new Properties();
&nbsp;&nbsp;&nbsp;&nbsp;prop.put(&quot;java.naming.security.authentication&quot;, &quot;simple&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;prop.put(&quot;java.naming.security.principal&quot;,&quot;CN=Laurent Schneider,CN=Users,DC=example,DC=com&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;prop.put(&quot;java.naming.security.credentials&quot;, &quot;my_ad_pw&quot;);
 
&nbsp;&nbsp;&nbsp;&nbsp;ods.setConnectionProperties(prop);

&nbsp;&nbsp;&nbsp;&nbsp;ods.setURL(&quot;jdbc:oracle:thin:@ldap://w2k8.local:389/db01,cn=OracleContext,DC=example,DC=com&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;ods.setUser(&quot;scott&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;ods.setPassword(&quot;tiger&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;ResultSet res = ods.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getConnection().
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prepareCall(&quot;select &#039;Hello World&#039; txt from dual&quot;).
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;executeQuery();
&nbsp;&nbsp;&nbsp;&nbsp;res.next();
&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(res.getString(&quot;TXT&quot;));
&nbsp;&nbsp;}
}
</code></pre></p>
<p>This works!</p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2011/11/tnsnames-and-active-directory.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>11.2.0.3 on AIX / HPUX released</title>
		<link>http://laurentschneider.com/wordpress/2011/10/11-2-0-3-on-aix-hpux-released.html</link>
		<comments>http://laurentschneider.com/wordpress/2011/10/11-2-0-3-on-aix-hpux-released.html#comments</comments>
		<pubDate>Mon, 31 Oct 2011 08:26:33 +0000</pubDate>
		<dc:creator>Laurent Schneider</dc:creator>
				<category><![CDATA[11gR2]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[11.2.0.3]]></category>

		<guid isPermaLink="false">http://laurentschneider.com/?p=1185</guid>
		<description><![CDATA[download patch 10404530]]></description>
			<content:encoded><![CDATA[<p><a href="https://updates.oracle.com/Orion/PatchDetails/process_form?patch_num=10404530">download patch 10404530</a></p>
]]></content:encoded>
			<wfw:commentRss>http://laurentschneider.com/wordpress/2011/10/11-2-0-3-on-aix-hpux-released.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

