<?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>Andrei DANEASA &#187; dbua</title>
	<atom:link href="http://www.webxpert.ro/andrei/tag/dbua/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webxpert.ro/andrei</link>
	<description>Programming, database, security, Oracle, .NET, C#, PHP, Travel</description>
	<lastBuildDate>Tue, 18 Oct 2011 15:42:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Install Oracle Database Vault on patched 11g database (11.1.0.7) on Windows</title>
		<link>http://www.webxpert.ro/andrei/2009/03/30/install-oracle-database-vault-on-patched-11g-database-11107-on-windows/</link>
		<comments>http://www.webxpert.ro/andrei/2009/03/30/install-oracle-database-vault-on-patched-11g-database-11107-on-windows/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 08:18:34 +0000</pubDate>
		<dc:creator>andreiash</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[database vault]]></category>
		<category><![CDATA[dbca]]></category>
		<category><![CDATA[dbua]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.webxpert.ro/andrei/?p=372</guid>
		<description><![CDATA[1. Introduction ============ First, you need to make sure that you have enough space. As space was never a big concern for Oracle (but performance yes), make sure that you have at least 10 GB free disk space. Second, make sure that you have the latest Windows SP and loopback adapter installed and configured if [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.webxpert.ro/andrei/wp-content/uploads/2009/03/oracle_11g_database.jpg" alt="oracle_11g_database" title="oracle_11g_database" width="290" height="88" class="alignright size-full wp-image-383" /><strong>1. Introduction</strong><br />
============<br />
<strong>First</strong>, you need to make sure that you have enough space. As space was never a big concern for Oracle (but performance yes), make sure that you have <strong>at least 10 GB free disk space</strong>.<br />
<strong>Second</strong>, make sure that you have the latest Windows SP and loopback adapter installed and configured if you are using DHCP. How? See <a href="http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGCEAI">this</a>.</p>
<p><strong>Download the <a href="http://www.oracle.com/technology/software/products/database/index.html">latest 11g release</a></strong> (11.1.0.6 now) and don&#8217;t be scared about the size <img src='http://www.webxpert.ro/andrei/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
If you have a Metalink account, you can also download the last update (11.1.0.7 now, patchset <a href="http://updates.oracle.com/download/6890831.html">6890831</a>) and don&#8217;t be scared about the size <img src='http://www.webxpert.ro/andrei/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-372"></span></p>
<p><strong>2. Install 11.1.0.6 database release</strong><br />
===========================<br />
First, install the 11.1.0.6.<br />
I&#8217;m not gonna describe this process here as it&#8217;s out of the scope. But there is very well documented <a href="http://www.oracle.com/technology/obe/11gr1_db/install/dbinst/windbinst2.htm">on Oracle By Example</a>.<br />
After checking that everything is OK, like running SQL*Plus or <a href="http://www.oracle.com/technology/software/products/sql/index.html">SQL Developer</a> and Enterprise Manager Database Console, you should <strong>close all the services</strong> for upgrading it to 11.1.0.7. </p>
<p><strong>3. Upgrade the software to 11.1.0.7 by applying the patch</strong><br />
=============================================<br />
Stopping the services can be done on Windows in 2 ways:</p>
<ul>
<li>Go to Services and stop <strong>OracleDBConsole[<em>SID</em>]</strong>, <strong>OracleService[<em>SID</em>]</strong> and <strong>Oracle[<em>ORACLE</em>_HOME]TNSListener</strong>.</li>
<li>start a console and run the following commands:
<div class="dean_ch" style="white-space: wrap;">
sqlplus / as sysdba<br />
SQL&gt;&nbsp; &nbsp; SHUTDOWN IMMEDIATE<br />
SQL&gt;&nbsp; &nbsp; EXIT<br />
emctl stop dbconsole<br />
lsnrctl stop</div>
</li>
</ul>
<p>Now that the database is down, we can upgrade it to 11.1.0.7<br />
<strong>Start the patch installer</strong> and upgrade the software.<br />
Start the listener, you can do this in 2 ways:</p>
<ul>
<li>go to Services and start <strong>Oracle[<em>ORACLE_HOME</em>]TNSListener</strong>.</li>
<li>start a console and run the following command:
<div class="dean_ch" style="white-space: wrap;">
lsnrctl start</div>
</li>
</ul>
<p><strong>4. Upgrade the database to 11.1.0.7 by using DBUA</strong><br />
========================================<br />
Now we should start the <strong>Database Upgrade Assistant (DBUA)</strong>.  It will find the database to be upgraded and automatically upgrade it.<br />
In the end, you should start the listener, database and EM console by starting the corresponding services (see above) OR by running the following console commands:</p>
<div class="dean_ch" style="white-space: wrap;">
lsnrctl start<br />
sqlplus / as sysdba<br />
SQL&gt; STARTUP<br />
emctl start dbconsole</div>
<p><strong>Congratulations</strong>, your database is patched. <em>If you don&#8217;t want Database Vault you can stop here</em>.</p>
<p><strong>4.1. (<em>alternatively</em>) Upgrade the databse to 11.1.0.7 manually</strong><br />
==============================================<br />
If for any reasons you can&#8217;t use DBUA or you don&#8217;t want to do this (rolling upgrades, no UI), you can do the DB upgrade from the console as following:</p>
<div class="dean_ch" style="white-space: wrap;">
SQL&gt; STARTUP UPGRADE<br />
SQL&gt; SPOOL patch.log<br />
SQL&gt; @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catupgrd.sql<br />
SQL&gt; SPOOL OFF<br />
SQL&gt; SHUTDOWN IMMEDIATE<br />
SQL&gt; STARTUP<br />
SQL&gt; @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql</div>
<p>The last thing to upgrade would be the EM Console by running the following command:</p>
<div class="dean_ch" style="white-space: wrap;">
emca -upgrade db</div>
<p><strong>Congratulations</strong>, your database is manually patched.</p>
<p><strong>5. Install Database Vault</strong><br />
====================<br />
Until 11g, the Database Vault was a stand-alone product. <strong>Lots of people are confused and think that the latest version is 10.2.0.3, which is FALSE. </strong><br />
<strong>THERE IS A 11G VERSION, shipped with the big installation kit.</strong> Now you have one reason for such a big installation kit (another reasons are: Real Application Testing or RAT and Warehouse builder server-side components)</p>
<p>Let&#8217;s see how to use it: stop all the 3 services (DB Console, database and listener) OR stop them manually:</p>
<div class="dean_ch" style="white-space: wrap;">
sqlplus / as sysdba<br />
SQL&gt; SHUTDOWN IMMEDIATE<br />
SQL&gt; EXIT<br />
emctl stop dbconsole<br />
lsnrctl stop</div>
<p>Start Oracle Universal Installer and choose <strong>Advanced Installation</strong>, then pick <strong>Custom Edition</strong>. <em><strong>Pay attention that Custom always installs an Enterprise Edition !!</strong></em><br />
Then <strong>make sure you are choosing an existing Oracle Home</strong>, this is not chosen by default!<br />
Select &#8220;<strong>Oracle Database Vault</strong>&#8221; checkbox. You must also install Oracle Label Security (if you haven&#8217;t it yet). OUI is also checking by default Oracle Services For Microsoft Transaction Server, but this is not mandatory, you can uncheck it.<br />
Review the components to be installed and proceed to install them.</p>
<p>Open the database by starting all 3 services (listener, database and DB Console) OR start them manually:</p>
<div class="dean_ch" style="white-space: wrap;">
lsnrctl start<br />
sqlplus / as sysdba<br />
SQL&gt; STARTUP<br />
emctl start dbconsole</div>
<p><strong>6. Register your database with Database Vault</strong><br />
=====================================<br />
Start <strong>Database Configuration Assistant</strong> from Start->Programs->Oracle &#8211; ORACLE_HOME->Configuration and Migration tools OR alternatively from console by running the following command:</p>
<div class="dean_ch" style="white-space: wrap;">
DBCA</div>
<p>Choose &#8220;<strong>Configure Database Options</strong>&#8221; and select Oracle Database Vault (and Oracle Label Security) and proceed to credentials page.<br />
Pick a password for <strong>DBVOWNER  </strong>and <strong>DBVACCTMGR </strong>accounts (<em>you might find this very difficult as Database Vault has very strict password requirements</em>) and proceed. The database is automatically restarted by DBCA.</p>
<p>Go to https://host_name:port/dva and you&#8217;re done.</p>
<p>Be aware, <em><strong>some people are making the database just too secure</strong></em> and neither themselves can access it!  <img src='http://www.webxpert.ro/andrei/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Good luck!</p>
<p><em><strong>Related posts:</strong></em></p>
<li><a href="http://www.webxpert.ro/andrei/2010/04/03/oracle-database-11g-release-2-available-on-windows-finally/">Oracle Database 11g Release 2 available on Windows&#8230; finally</a></li>
<li><a href="http://www.webxpert.ro/andrei/2009/02/23/oracle-10g11g-install-on-windows-2008-server/">Oracle 10g/11g installation on Windows 2008 Server</a></li>
<li><a href="http://www.webxpert.ro/andrei/2009/09/01/11gr2-is-now-ga/">Oracle Database 11gR2 is now GA</a></li>
<li><a href="http://www.webxpert.ro/andrei/2009/05/22/sql-server-2005-named-instance-in-oracle-sql-developer/">SQL Server 2005 named instance in Oracle SQL Developer</a></li>
<li><a href="http://www.webxpert.ro/andrei/2010/10/08/vista-cannot-get-ip-from-some-routers-or-some-dhcp-servers/">Vista cannot get IP from some routers or some DHCP servers</a></li>
]]></content:encoded>
			<wfw:commentRss>http://www.webxpert.ro/andrei/2009/03/30/install-oracle-database-vault-on-patched-11g-database-11107-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

