<?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; EM</title>
	<atom:link href="http://www.webxpert.ro/andrei/tag/em/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>Preparing for Oracle Database Enterprise Manager &#8211; automatic configuration</title>
		<link>http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-automated-configuration/</link>
		<comments>http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-automated-configuration/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 13:47:08 +0000</pubDate>
		<dc:creator>andreiash</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[EM]]></category>
		<category><![CDATA[enterprise manager]]></category>
		<category><![CDATA[loopback adapter]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-automated-configuration/</guid>
		<description><![CDATA[I wrote a lot how to install loopback adapter, how to set the ip address (either manual or automatically), how to add an entry to hosts file (either manual or automatically). Now let&#8217;s add all together into a single script. The script will do the following: call DevCon to install Microsoft Loopback Adapter (you need [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a lot how to install loopback adapter, how to set the ip address (either manual or automatically), how to add an entry to hosts file (either manual or automatically). Now let&#8217;s add all together into a single script.<br />
The script will do the following:</p>
<ul>
<li>call DevCon to install Microsoft Loopback Adapter (you need to <a href="http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe">download DevCon</a> and save it in the same folder as the script)</li>
<li>set the IP address and mask for the recently installed loopback adapter</li>
<li>dinamically read from Windows folder the hosts file</li>
<li>dinamically read the hostname</li>
<li>add a new entry to the hosts file with the supplied IP address and hostname</li>
<li>ping the hostname and check if the supplied IP address is responded</li>
<li><strong>MOST IMPORTANT:</strong> everything is dynamic and automatic. You don&#8217;t need to edit the script before each install. Just run it!</li>
</ul>
<p>You can download this script here:<span id="more-51"></span><br />
<a href="http://www.webxpert.ro/andrei/wp-content/uploads/2008/01/loopback_silent.zip"><img src='http://www.webxpert.ro/andrei/wp-content/uploads/2008/01/zip.gif' alt='ZIP' /></a><br />
<a href='http://www.webxpert.ro/andrei/wp-content/uploads/2008/01/loopback_silent.zip' title='EM_configure_interactive'>Silent Install</a><br />
<em>* you will need to run the .bat file and make sure that you have devcon.exe in the same folder</em></p>
<p>I am thinking that maybe some users would want to modify the IP address, mask or set another hostname, they would want to set their own parameters. This is the reason why I created another version of the script which wait for user input for IP, Mask and Hostname, but having the default values filled in like this:<br />
<img src='http://www.webxpert.ro/andrei/wp-content/uploads/2008/01/loopback1.jpg' alt='loopback enter the IP' /></p>
<p>You can download this script here:<br />
<a href="http://www.webxpert.ro/andrei/wp-content/uploads/2008/01/loopback_interactive.zip"><img src='http://www.webxpert.ro/andrei/wp-content/uploads/2008/01/zip.gif' alt='ZIP' /></a><br />
<a href='http://www.webxpert.ro/andrei/wp-content/uploads/2008/01/loopback_interactive.zip' title='EM_configure_interactive'>Interactive Install</a><br />
<em>* you will need to run the .bat file and make sure that you have devcon.exe in the same folder</em></p>
<p><strong>Read also</strong></p>
<li><a href="http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-manual-configuration/">Preparing for Oracle Database Enterprise Manager &#8211; manual configuration</a></li>
<li><a href="http://www.webxpert.ro/andrei/2008/01/10/microsoft-loopback-adapter-automated-configure/">Microsoft Loopback Adapter automatic configuration</a></li>
<li><a href="http://www.webxpert.ro/andrei/2008/01/10/microsoft-loopback-adapter-automated-install/">Microsoft Loopback Adapter automatic install</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>
<li><a href="http://www.webxpert.ro/andrei/2010/09/09/upgrade-oracle-apex-3-2-1-to-4-0-1-on-oracle-database-10g-express-edition-xe/">Upgrade Oracle APEX 3.2.1 to 4.0.1 on Oracle Database 10g Express Edition (XE)</a></li>
]]></content:encoded>
			<wfw:commentRss>http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-automated-configuration/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Preparing for Oracle Database Enterprise Manager &#8211; manual configuration</title>
		<link>http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-manual-configuration/</link>
		<comments>http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-manual-configuration/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 12:52:55 +0000</pubDate>
		<dc:creator>andreiash</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[EM]]></category>
		<category><![CDATA[enterprise manager]]></category>
		<category><![CDATA[loopback adapter]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-manual-configuration/</guid>
		<description><![CDATA[As a common practice all the servers have fixed IP address. Because not all Oracle Databases are installed directly on servers, but on laptops or different machines, it&#8217;s very probable that you have DHCP-provided IP address. If you have DHCP IP address, your full computer name may vary, because different domain is added to computer [...]]]></description>
			<content:encoded><![CDATA[<p>As a common practice all the servers have fixed IP address. Because not all Oracle Databases are installed directly on servers, but on laptops or different machines, it&#8217;s very probable that you have<strong> DHCP-provided IP address</strong>.<br />
If you have DHCP IP address, your full computer name may vary, because different domain is added to computer name. Once the name can be mylaptop.oracle.com, the next day the name can be mylaptop.myhomenetwork.ro and so on.<br />
The problem is when you want to install <strong>Oracle Database Enterprise Manager</strong> (web-based administration tool), because the installer is creating a folder on the disk have the name based on fully computer name. If you change the network the Enterprise Manager will not work, because it will not find a folder based on the actual computer name.<br />
Enterprise Manager is not crucial , it&#8217;s just an interface, so if you don&#8217;t want to install it your database will work the same and you will configure the database through SQL*Plus or SQL Developer or Toad or what third party admin you want.<br />
<span id="more-50"></span><br />
The workaround is to break this connection from networks and computer name. This is why we are installing the Microsoft Loopback Adapter, a dummy interface card, that have the highest priority and will respond first. Then we need to set an IP address like I described <a href="http://www.webxpert.ro/andrei/2008/01/10/microsoft-loopback-adapter-automated-configure/">here</a><br />
Windows has a <strong><em>hosts </em></strong>file when you can set <strong>static associations between an IP address and a hostname</strong>. The location of the hosts file is :</p>
<div class="dean_ch" style="white-space: wrap;">%WINDIR%/system32/drivers/etc/hosts</div>
<p>Normally in this file you will find just an entry:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="nu0">127.0</span><span class="nu0">.0</span><span class="nu0">.1</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LOCALHOST</div>
<p>You just need to add a new entry to this file with Loopback&#8217;s IP Address and your hostname like this:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="nu0">192.168</span><span class="nu0">.100</span><span class="nu0">.100</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ADANEASA</div>
<p>The final check will be to ping your hostname and check if the loopback is responding.</p>
<p>In the next article you will find a script that will do everything automatically: </p>
<ul>
<li>installing the Microsoft Loopback Adapter</li>
<li>setting the IP</li>
<li>adding the entry in hosts file</li>
<li>pinging the hostname and checking the result.</li>
</ul>
<p><strong>Read also</strong></p>
<li><a href="http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-automated-configuration/">Preparing for Oracle Database Enterprise Manager &#8211; automatic configuration</a></li>
<li><a href="http://www.webxpert.ro/andrei/2008/01/10/microsoft-loopback-adapter-automated-configure/">Microsoft Loopback Adapter automatic configuration</a></li>
<li><a href="http://www.webxpert.ro/andrei/2008/01/02/microsoft-loopback-adapter-manual-install-on-2000-xp-2003-vista/">Microsoft Loopback Adapter manual install on 2000, XP, 2003, Vista</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>
<li><a href="http://www.webxpert.ro/andrei/2010/09/09/upgrade-oracle-apex-3-2-1-to-4-0-1-on-oracle-database-10g-express-edition-xe/">Upgrade Oracle APEX 3.2.1 to 4.0.1 on Oracle Database 10g Express Edition (XE)</a></li>
]]></content:encoded>
			<wfw:commentRss>http://www.webxpert.ro/andrei/2008/01/10/preparing-for-oracle-database-enterprise-manager-manual-configuration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

