<?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>BlueGecko Denmark</title>
	<atom:link href="https://bluegecko.dk/author/rharwood/feed/" rel="self" type="application/rss+xml" />
	<link>https://bluegecko.dk</link>
	<description>Your remote dba</description>
	<lastBuildDate>Tue, 14 Sep 2010 20:28:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.2</generator>
	<item>
		<title>Blue Gecko recommends the University of Washington Oracle Certificate program</title>
		<link>https://bluegecko.dk/blue-gecko-recommends-the-university-of-washington-oracle-certificate-program/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blue-gecko-recommends-the-university-of-washington-oracle-certificate-program</link>
					<comments>https://bluegecko.dk/blue-gecko-recommends-the-university-of-washington-oracle-certificate-program/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Tue, 14 Sep 2010 20:28:11 +0000</pubDate>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[News & Events]]></category>
		<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1856</guid>

					<description><![CDATA[At Blue Gecko, we believe that cultivating strong technical contributors is key to our own and our customers&#8217; success. That&#8217;s why we are proud to be a part of one of our region&#8217;s premier Oracle educational programs: The University of Washington Certificate in Oracle Database Administration. http://www.pce.uw.edu/prog.aspx?id=4092 The UW Oracle Certificate is a six-month program [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/news-events/blue-gecko-acquires-ora-600-consulting/" rel="bookmark" title="Permanent Link: Blue Gecko acquires ORA-600 Consulting">Blue Gecko acquires ORA-600 Consulting</a></li>
<li><a href="http://www.bluegecko.net/news-events/tech-cafe/" rel="bookmark" title="Permanent Link: “Tech Café” –  Blue Gecko Sponsored Event">&#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event</a></li>
<li><a href="http://www.bluegecko.net/news-events/tech-cafe-blue-gecko-sponsored-event/" rel="bookmark" title="Permanent Link: “Tech Café” –  Blue Gecko Sponsored Event!">&#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event!</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p>At Blue Gecko, we believe that cultivating strong technical contributors is key to our own and our customers&#8217; success.  That&#8217;s why we are proud to be a part of one of our region&#8217;s premier Oracle educational programs:  The University of Washington Certificate in Oracle Database Administration.</p>
<p><a href="http://www.pce.uw.edu/prog.aspx?id=4092">http://www.pce.uw.edu/prog.aspx?id=4092</a><span id="more-1856"></span></p>
<p>The UW Oracle Certificate is a six-month program taught by Jeremiah Wilton of Blue Gecko and Venki Krishnababu of Nordstrom.  Blue Gecko President Chuck Edwards serves on the advisory board for the program. These experienced professionals want to help you cultivate developers, non-Oracle DBAs and other interested IT staff into knowledgeable Oracle professionals.</p>
<p>Through a combination of weekly lectures and hands-on lab work, students learn the basics of Oracle&#8217;s internal architecture, PL/SQL programming skills, and basic and advanced administration. Throughout the course, students manage their own private 64-bit Oracle database on Linux, using Amazon.com&#8217;s Elastic Compute Cloud (EC2).</p>
<p>The UW offers this class simultaneously in person in downtown Seattle, and online via Adobe Connect.  The distance education option allows students from all over the world to attend lectures, participate in class and complete lab work.</p>
<p>Recently, Jeremiah Wilton blogged on Blue Gecko&#8217;s site about the pros and cons of programs like the UW&#8217;s versus vendor certification from Oracle.  You can read his post here:</p>
<p><a href="http://www.bluegecko.dk/education/good-ocp-bad-ocp/">http://www.bluegecko.dk/education/good-ocp-bad-ocp/</a></p>
<p>Blue Gecko does not have a financial relationship with the UW Oracle certificate program; we are proud of our staff contribution to a premier University of Washington academic program.</p>
<p>Kinds Regards,<br />
Your partners at Blue Gecko<br />
Follow us on <a href="http://www.facebook.com/yelena.v#!/pages/Blue-Gecko/7571559818?ref=ts">Facebook </a>&#8211; &#8220;Blue Gecko &#8211; We&#8217;ve got your back&#8221;</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/news-events/blue-gecko-acquires-ora-600-consulting/' rel='bookmark' title='Permanent Link: Blue Gecko acquires ORA-600 Consulting'>Blue Gecko acquires ORA-600 Consulting</a></li>
<li><a href='http://www.bluegecko.dk/news-events/tech-cafe/' rel='bookmark' title='Permanent Link: &#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event'>&#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event</a></li>
<li><a href='http://www.bluegecko.dk/news-events/tech-cafe-blue-gecko-sponsored-event/' rel='bookmark' title='Permanent Link: &#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event!'>&#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event!</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/blue-gecko-recommends-the-university-of-washington-oracle-certificate-program/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Blue Gecko named to 2010 Inc. Magazine’s 5000 fastest growing companies in America!</title>
		<link>https://bluegecko.dk/blue-gecko-named-to-2010-inc-magazines-5000-fastest-growing-companies-in-america/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blue-gecko-named-to-2010-inc-magazines-5000-fastest-growing-companies-in-america</link>
					<comments>https://bluegecko.dk/blue-gecko-named-to-2010-inc-magazines-5000-fastest-growing-companies-in-america/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Fri, 27 Aug 2010 23:42:32 +0000</pubDate>
				<category><![CDATA[News & Events]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1840</guid>

					<description><![CDATA[Blue Gecko is one of the fastest-growing private companies in America for the second year in a row. An Inc. 500&#124;5000 recipient in 2009, Blue Gecko is once again listed in Inc. Magazines&#8217;s annual ranking of the fastest-growing private companies in America. The list debuted in 1981 as a ranking of the 100 fastest-growing private [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/news-events/blue-gecko-named-amazon-web-services-partner/" rel="bookmark" title="Permanent Link: Blue Gecko named Amazon Web Services partner">Blue Gecko named Amazon Web Services partner</a></li>
<li><a href="http://www.bluegecko.net/news-events/blue-gecko-university-of-washington-oracle-certificate-program/" rel="bookmark" title="Permanent Link: Blue Gecko recommends the University of Washington Oracle Certificate program">Blue Gecko recommends the University of Washington Oracle Certificate program</a></li>
<li><a href="http://www.bluegecko.net/oracle/meet-blue-gecko-face-to-face-at-nwoug-2010-conference-2/" rel="bookmark" title="Permanent Link: Meet Blue Gecko Face to Face at NWOUG 2010 Conference!">Meet Blue Gecko Face to Face at NWOUG 2010 Conference!</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p>Blue Gecko is one of the fastest-growing private companies in America for the second year in a row.  An Inc. 500|5000 recipient in 2009, Blue Gecko is once again listed in Inc. Magazines&#8217;s annual ranking of the fastest-growing private companies in America.<br />
<img decoding="async" class="alignright size-full wp-image-1836" title="top_horizontal_banner" src="http://www.test.bluegecko.net/wp-content/uploads/2009/11/top_horizontal_banner.jpg" alt="" width="364" height="92" /><br />
The list debuted in 1981 as a ranking of the 100 fastest-growing private companies in the U.S.  The following year, it expanded to the Inc. 500, and in 2007 they inaugurated the Inc. 5000.  Through each evolution, Inc. has sought to recognize and to celebrate the creativity, dedication, and hard work that entrepreneurs put into building their companies.</p>
<p>A big thanks to all of our customers and wonderful employees for once again earning this honor!</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/news-events/blue-gecko-named-amazon-web-services-partner/' rel='bookmark' title='Permanent Link: Blue Gecko named Amazon Web Services partner'>Blue Gecko named Amazon Web Services partner</a></li>
<li><a href='http://www.bluegecko.dk/news-events/blue-gecko-university-of-washington-oracle-certificate-program/' rel='bookmark' title='Permanent Link: Blue Gecko recommends the University of Washington Oracle Certificate program'>Blue Gecko recommends the University of Washington Oracle Certificate program</a></li>
<li><a href='http://www.bluegecko.dk/oracle/meet-blue-gecko-face-to-face-at-nwoug-2010-conference-2/' rel='bookmark' title='Permanent Link: Meet Blue Gecko Face to Face at NWOUG 2010 Conference!'>Meet Blue Gecko Face to Face at NWOUG 2010 Conference!</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/blue-gecko-named-to-2010-inc-magazines-5000-fastest-growing-companies-in-america/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Meet Blue Gecko Face to Face at NWOUG 2010 Conference!</title>
		<link>https://bluegecko.dk/meet-blue-gecko-face-to-face-at-nwoug-2010-conference-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=meet-blue-gecko-face-to-face-at-nwoug-2010-conference-2</link>
					<comments>https://bluegecko.dk/meet-blue-gecko-face-to-face-at-nwoug-2010-conference-2/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Mon, 02 Aug 2010 23:51:25 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1269</guid>

					<description><![CDATA[Chuck Edwards, JJ Ecker, Jeremiah Wilton, Rick Harwood and Ken Safranek will be attending the 2010 NWOUG Conference in Portland, OR. Stop by the Blue Gecko booth at the Business Exhibition or attend Jeremiah’s presentation and learn about &#8220;Database Deathmatch: Oracle vs. SQL Server&#8221;.  We look forward to seeing you at the conference. NWOUG 2010 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Chuck Edwards, JJ Ecker, Jeremiah Wilton, Rick Harwood and Ken  Safranek will be attending the 2010 NWOUG Conference in Portland, OR.<br />
Stop by the Blue Gecko booth at the Business Exhibition or attend  Jeremiah’s presentation and learn about &#8220;Database Deathmatch: Oracle vs.  SQL Server&#8221;.  We look forward to seeing you at the conference.<span id="more-1269"></span></p>
<p><strong>NWOUG 2010 Conference</strong><br />
Thursday, Aug 26, 2010, 7:30 AM until 7:00 PM<br />
<strong>Location: </strong>The Nines Hotel http://www.thenines.com<br />
525 SW Morrison St Portland, OR  97204<br />
<strong>More info:</strong> <a href="http://nwoug.org/content.aspx?page_id=22&amp;club_id=165905&amp;module_id=51142" target="_blank">http://nwoug.org/content.aspx?page_id=22&amp;club_id=165905&amp;module_id=51142</a><br />
<strong>Registration:</strong> <a href="http://nwoug.org/content.aspx?page_id=87&amp;club_id=165905&amp;item_id=129527" target="_blank">http://nwoug.org/content.aspx?page_id=87&amp;club_id=165905&amp;item_id=129527</a></p>
<p><strong>Presenter:</strong> Jeremiah Wilton<br />
<strong>Presentation topic: </strong>Database Deathmatch: Oracle vs. SQL Server<br />
<strong>Presentation description: </strong>We&#8217;ve all been there.  Someone disses  your RDBMS, and the next thing you know, you&#8217;re all &#8220;my RDBMS can beat  up your RDBMS.&#8221;  Brave talk, but is it ever really put to the test?<br />
In this explosive, live demonstration, identical Windows servers run  Oracle 11gR2 and SQL Server 2008 R2. Under full workload, the databases  undergo several identical crises.  An I/O failure.  A datafile  corruption.  A user screws up and updates a whole table because he  forgot a where clause.  Finally, we run the two databases on the same  server and turn up the workload until these titans of data processing  are all up in each others&#8217; grills.  The RDBMS with the best uptime and  ability to continue transacting business wins.  The one flailing in a  hopeless state of abject failure loses.<br />
Who wants to see which enterprise database product fails most  spectacularly under load when denied the most basic resources, such as  I/O and CPU?  We do!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/meet-blue-gecko-face-to-face-at-nwoug-2010-conference-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>“Tech Café” –  Blue Gecko Sponsored Event!</title>
		<link>https://bluegecko.dk/tech-caf%c3%a9-blue-gecko-sponsored-event/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tech-caf%25c3%25a9-blue-gecko-sponsored-event</link>
					<comments>https://bluegecko.dk/tech-caf%c3%a9-blue-gecko-sponsored-event/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Fri, 11 Jun 2010 19:17:00 +0000</pubDate>
				<category><![CDATA[News & Events]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1205</guid>

					<description><![CDATA[Date: June 21, 2010 4:30 pm-7:00 pm Venue: Red Lion Terrace Garden Lounge Address: 1415 Fifth Avenue, Seattle, United Google Map This will be Blue Gecko‘s second time hosting and this time they are going all out! We’ll be hosting just next door at the Red Lion’s terrace deck and Avelle/ Bag Borrow or Steal, [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/news-events/tech-cafe/" rel="bookmark" title="Permanent Link: “Tech Café” –  Blue Gecko Sponsored Event">&#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event</a></li>
<li><a href="http://www.bluegecko.net/news-events/wwoug-april-meeting-sponsored-by-blue-gecko/" rel="bookmark" title="Permanent Link: WWOUG April meeting sponsored by Blue Gecko">WWOUG April meeting sponsored by Blue Gecko</a></li>
<li><a href="http://www.bluegecko.net/news-events/blue-gecko-featured-at-oracle-technology-solutions-fair/" rel="bookmark" title="Permanent Link: Blue Gecko featured at Oracle Technology Solutions Fair">Blue Gecko featured at Oracle Technology Solutions Fair</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p><strong>Date:</strong> June 21, 2010 4:30 pm-7:00 pm<br />
<strong>Venue:</strong> <a href="http://www.seattleredlionfifthavenue.com/html/seattle-restaurants.asp#seattle-washington-hotel-restaurant">Red Lion Terrace Garden Lounge</a><br />
<strong>Address:</strong> 1415 Fifth Avenue, Seattle, United <a title="Click to view a Google Map" href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=1415+Fifth+Avenue+Seattle+WA+98101+United+States" >Google Map</a></p>
<p>This will be <a href="http://www.bluegecko.dk/" >Blue Gecko</a>‘s second time hosting and this time they are going all out! We’ll be hosting just next door at the Red Lion’s terrace deck and <a href="http://www.avelle.com/" >Avelle/ Bag Borrow or Steal, Inc</a> will be giving a talk as will Jeremiah Wilton (who should prove interesting for all you database techies)!!<span id="more-1205"></span></p>
<p>Of course the event is free to attend and there will be free drinks/food, there will also be great people to talk to and network with, and an awesome talk – we changed the name, but we didn’t change the event.</p>
<p>Jeremiah has worked with Oracle technology since 1994. His main claim to fame is having been Amazon.com’s first database administrator, back in the pre-IPO days. For seven years, he helped Amazon.com survive exponential scaling, and a wide variety of nearly-catastrophic technology failures. Jeremiah owned and ran ORA-600 Consulting for a number of years, until it was acquired by Blue Gecko, Inc., a global provider of remote administration for Oracle, MySQL and E-Business Suite. Jeremiah also teaches the Oracle certificate program for the University of Washington. Jeremiah is an Oracle Certified Master, a member of the Oak Table, and a frequent presenter at industry conferences and user groups. His publications and whitepapers can be found at <a href="http://www.bluegecko.dk/news-events/">www.bluegecko.dk</a>.</p>
<p>This will be a fun way to kick off the TechCafe event series – we will be opening it up to more creative events as well as trying even harder to show off cool Northwest tech companies (at their offices). There are some great events in the works for the rest of summer and there is a lot more content on the site so be sure to subscribe to the feed and stay on this mailing list for information.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/news-events/tech-cafe/' rel='bookmark' title='Permanent Link: &#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event'>&#8220;Tech Café&#8221; &#8211;  Blue Gecko Sponsored Event</a></li>
<li><a href='http://www.bluegecko.dk/news-events/wwoug-april-meeting-sponsored-by-blue-gecko/' rel='bookmark' title='Permanent Link: WWOUG April meeting sponsored by Blue Gecko'>WWOUG April meeting sponsored by Blue Gecko</a></li>
<li><a href='http://www.bluegecko.dk/news-events/blue-gecko-featured-at-oracle-technology-solutions-fair/' rel='bookmark' title='Permanent Link: Blue Gecko featured at Oracle Technology Solutions Fair'>Blue Gecko featured at Oracle Technology Solutions Fair</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/tech-caf%c3%a9-blue-gecko-sponsored-event/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>EC2 persistent boots with pivot root</title>
		<link>https://bluegecko.dk/ec2-persistent-boots-with-pivot-root/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ec2-persistent-boots-with-pivot-root</link>
					<comments>https://bluegecko.dk/ec2-persistent-boots-with-pivot-root/#comments</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Tue, 02 Mar 2010 22:51:48 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[busybox]]></category>
		<category><![CDATA[busyroot]]></category>
		<category><![CDATA[ebs volume]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[persistent boot]]></category>
		<category><![CDATA[pivot root]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=801</guid>

					<description><![CDATA[Amazon recently allowed Elastic Block Store to boot persistent images. However, there are two concerns I have with the method. * The EBS boot volumes must be EBS Snapshots, which cost more than regular EBS volumes. (http://aws.amazon.com/ec2/#pricing) * The EBS boot volumes currently do not work within the Virtual Private Cloud (VPC) infrastructure. (http://aws.amazon.com/vpc/faqs/#45) To [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Amazon recently allowed Elastic Block Store to boot persistent images. However, there are two concerns I have with the method.</p>
<p>* The EBS boot volumes must be EBS Snapshots, which cost more than regular EBS volumes.  (http://aws.amazon.com/ec2/#pricing)<br />
* The EBS boot volumes currently do not work within the Virtual Private Cloud (VPC) infrastructure.  (http://aws.amazon.com/vpc/faqs/#45)<span id="more-801"></span></p>
<p>To work around these two issues, it is possible to &#8220;pivot&#8221; from a normal AMI&#8217;s local root volume (/dev/sda1) to an arbitrary EBS volume that contains a full OS installation. An additional benefit is that a very small AMI may be used to launch the EBS backed instance, so that the instance launches much faster than a large AMI.</p>
<p>The goal of this post is to provide instructions on how to build a small AMI that is capable of launching a full-blown persistent Linux installation that is backed on EBS storage. BusyBox, &#8220;The Swiss Army Knife of Embedded Systems&#8221;, provides a solid foundation for our small AMI. To build a BusyBox AMI and an instance backed by EBS, simply follow these directions:</p>
<p>1. Start an instance from an AMI that is running the desired kernel and software configuration. (You can use an existing public AMI or a custom AMI that you created. Personally, I prefer to create my own AMI&#8217;s, so I know what is in them.)</p>
<p>2. Log into the instance.</p>
<p>3. Download the latest version of BusyBox.</p>
<p>wget &#8220;http://busybox.net/downloads/busybox-1.15.3.tar.bz2&#8221;</p>
<p>4. Create a busyroot directory.</p>
<p>mkdir busyroot</p>
<p>5. Extract BusyBox.</p>
<p>bunzip2 busybox-1.15.3.tar.bz2<br />
tar xvf busybox-1.15.3.tar</p>
<p>6. Configure BusyBox. (You can experiment here to reduce the image size, but the configuration listed below works.)</p>
<p>cd busybox-1.15.3<br />
make config<br />
Select &#8220;y&#8221; for the STATIC option and the default values for everything else.<br />
Build BusyBox as a static binary (no shared libs) (STATIC) [N/y/?] y</p>
<p>7. Make and install BusyBox.</p>
<p>make CONFIG_PREFIX=$HOME/busyroot install<br />
chmod 4755 $HOME/busyroot/bin/busybox</p>
<p>8. Create required directories.</p>
<p>cd $HOME/busyroot<br />
mkdir dev sys etc proc mnt mnt/new-root</p>
<p>9. Create the necessary devices. (We will use /dev/sdj for the EBS volume, but this could be any block device not used by the normal AMI.)</p>
<p>MAKEDEV -d $HOME/busyroot/dev -x sdj<br />
MAKEDEV -d $HOME/busyroot/dev -x console<br />
MAKEDEV -d $HOME/busyroot/dev -x null<br />
MAKEDEV -d $HOME/busyroot/dev -x zero</p>
<p>10. Create the init file.</p>
<p>mv $HOME/busyroot/sbin/init $HOME/busyroot/sbin/init.orig<br />
cat &lt;&lt;&#8216;EOL&#8217; &gt;  $HOME/busyroot/sbin/init<br />
#!/bin/busybox sh<br />
PATH=/bin:/usr/bin:/sbin:/usr/sbin<br />
NEWDEV=&#8221;/dev/sdj&#8221;<br />
NEWTYP=&#8221;ext3&#8243;<br />
NEWMNT=&#8221;/mnt/new-root&#8221;<br />
OLDMNT=&#8221;/mnt/old-root&#8221;<br />
OPTIONS=&#8221;noatime,ro&#8221;<br />
SLEEP=10</p>
<p>echo &#8220;Remounting writable.&#8221;<br />
mount -o remount,rw /<br />
[ ! -d $NEWMNT ] &amp;&amp; echo &#8220;Creating directory $NEWMNT.&#8221; &amp;&amp; mkdir -p $NEWMNT</p>
<p>while true ; do<br />
echo &#8220;sleeping&#8230;&#8221;<br />
sleep $SLEEP<br />
echo &#8220;Trying to mount $NEWDEV writable.&#8221;<br />
mount -t $NEWTYP -o rw $NEWDEV $NEWMNT || continue<br />
echo &#8220;Mounted.&#8221;<br />
break;<br />
done</p>
<p>[ ! -d $NEWMNT/$OLDMNT ] &amp;&amp; echo &#8220;Creating directory $NEWMNT/$OLDMNT.&#8221; &amp;&amp; mkdir -p $NEWMNT/$OLDMNT</p>
<p>echo &#8220;Remounting $NEWMNT $OPTIONS.&#8221;<br />
mount -o remount,$OPTIONS $NEWMNT</p>
<p>echo &#8220;Trying to pivot.&#8221;<br />
cd $NEWMNT<br />
pivot_root . ./$OLDMNT</p>
<p>for dir in /dev /proc /sys; do<br />
echo &#8220;Moving mounted file system ${OLDMNT}${dir} to $dir.&#8221;<br />
mount &#8211;move ./${OLDMNT}${dir} ${dir}<br />
done</p>
<p>echo &#8220;Trying to chroot.&#8221;<br />
exec chroot . /bin/sh -c &#8220;umount ./$OLDMNT; exec /sbin/init $*&#8221; &lt; /dev/console &gt; /dev/console 2&gt;&amp;1<br />
EOL</p>
<p>chmod 755 $HOME/busyroot/sbin/init</p>
<p>11. Create the fstab file.</p>
<p>cat &lt;&lt;&#8216;EOL&#8217; &gt;  $HOME/busyroot/etc/fstab<br />
/dev/sda1 /     ext3    defaults 1 1<br />
none      /dev/pts devpts  gid=5,mode=620 0 0<br />
none      /proc proc    defaults 0 0<br />
none      /sys  sysfs   defaults 0 0<br />
EOL</p>
<p>12. Create a 4MB loopback file.</p>
<p>cd<br />
dd if=/dev/zero of=busybox.fs bs=1M count=4<br />
mkfs.ext3 busybox.fs</p>
<p>13. Mount the loopback file.</p>
<p>mkdir $HOME/busyimg<br />
mount -o loop $HOME/busybox.fs $HOME/busyimg</p>
<p>14. Copy the staged files and directories to the image. (Technically, the BusyBox image could have been built directly in $HOME/busyimg, but we were not sure how big the image was going to be.)</p>
<p>cp -rp $HOME/busyroot/* $HOME/busyimg</p>
<p>15. Un-mount the image.</p>
<p>sync<br />
umount -d $HOME/busyimg</p>
<p>16. Set environment variables.</p>
<p>export EC2_HOME=/opt/ec2-api-tools<br />
export EC2_CERT=/path/to/your/cert.pem<br />
export EC2_PRIVATE_KEY=/path/to/your/pk.pem<br />
export AWS_ACCOUNT_NUMBER=&#8221;NNNN-NNNN-NNNN&#8221;<br />
export AWS_ACCESS_KEY_ID=your_key<br />
export AWS_SECRET_ACCESS_KEY=your_secret_key<br />
export EC2_BUCKET=&#8221;your_bucket&#8221;<br />
export JAVA_HOME=/usr/java/default<br />
export ARCH=`uname -i`<br />
export AKI=`curl -s http://169.254.169.254/latest/meta-data/kernel-id`<br />
export ARI=`curl -s http://169.254.169.254/latest/meta-data/ramdisk-id`<br />
export INSTANCE_ID=`curl -s http://169.254.169.254/latest/meta-data/instance-id`<br />
export AVAIL_ZONE=`curl -s http://169.254.169.254/latest/meta-data/placement/availability-zone`<br />
export SEC_GROUP=`curl -s http://169.254.169.254/latest/meta-data/security-groups`<br />
export PUB_KEY=`wget -q -O &#8211; &#8220;http://169.254.169.254/latest/meta-data/public-keys&#8221; | awk -F= &#8216;{print $2}&#8217;`</p>
<p>17. Bundle the image.</p>
<p>ec2-bundle-image -i $HOME/busybox.fs -d /tmp -k $EC2_PRIVATE_KEY -c $EC2_CERT -u $AWS_ACCOUNT_NUMBER -r $ARCH &#8211;kernel $AKI &#8211;ramdisk $ARI</p>
<p>18. Upload the image.</p>
<p>ec2-upload-bundle -b $EC2_BUCKET -m /tmp/busybox.fs.manifest.xml -a $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY</p>
<p>19. Register the AMI.</p>
<p>BUSYBOX_AMI=`ec2-register &#8220;$EC2_BUCKET/busybox.fs.manifest.xml&#8221; | awk &#8216;{print $2}&#8217;`<br />
echo &#8220;BUSYBOX_AMI: $BUSYBOX_AMI&#8221;</p>
<p>20. Create an EBS volume of the desired size (10G or more) in the desired availability zone.</p>
<p>VOLUME_ID=`ec2-create-volume -s 10 -z $AVAIL_ZONE | awk &#8216;{print $2}&#8217;`<br />
echo &#8220;VOLUME_ID: $VOLUME_ID&#8221;</p>
<p>21. Attach the volume to the current instance as /dev/sdj.</p>
<p>ec2-attach-volume $VOLUME_ID -i $INSTANCE_ID -d /dev/sdj</p>
<p>22. Create an EXT3 file system on /dev/sdj.</p>
<p>mkfs.ext3 /dev/sdj</p>
<p>22. Mount the EBS volume.</p>
<p>mkdir /mnt/ebs_boot<br />
mount /dev/sdj /mnt/ebs_boot</p>
<p>23. Copy the current AMI to the EBS volume.</p>
<p>rsync -avHx / /mnt/ebs_boot</p>
<p>24. Fix the /etc/fstab file.</p>
<p>vi /mnt/ebs_boot/etc/fstab<br />
Remove the local file systems.<br />
/dev/sda1  /         ext3    defaults        1 1<br />
/dev/sdb  /mnt      ext3    defaults        1 2<br />
/dev/sda3  swap      swap    defaults        0 0<br />
Add the /dev/sdj file system.<br />
/dev/sdj  /         ext3    defaults        1 1</p>
<p>25. Fix the /etc/inittab file. The cloud AMI&#8217;s are normally configured for runlevel 4.</p>
<p>vi /mnt/ebs_boot/etc/inittab<br />
Edit the following line if necessary:<br />
id:4:initdefault:</p>
<p>26. Un-mount the EBS volume.</p>
<p>sync<br />
umount /mnt/ebs_boot</p>
<p>27. Detach the volume.</p>
<p>ec2-detach-volume $VOLUME_ID -i $INSTANCE_ID -d /dev/sdj</p>
<p>28. Create a new instance running the BusyBox AMI.</p>
<p>BUSYBOX_ID=`ec2-run-instances $BUSYBOX_AMI -z $AVAIL_ZONE -k $PUB_KEY -g $SEC_GROUP | awk &#8216;{print $6}&#8217;`</p>
<p>29. Wait until the instance is running&#8230;</p>
<p>ec2-describe-instances $BUSYBOX_ID</p>
<p>30. Attach the EBS volume to the BusyBox instance as /dev/sdj.</p>
<p>ec2-attach-volume $VOLUME_ID -i $BUSYBOX_ID -d /dev/sdj</p>
<p>31. Reboot the BusyBox instance to make sure it picks up the new device.</p>
<p>ec2-reboot-instances $BUSYBOX_ID</p>
<p>32. Check the BusyBox instance&#8217;s console output to make sure it came up as expected.</p>
<p>ec2-get-console-output $BUSYBOX_ID</p>
<p>33. Log into the new EBS backed instance.</p>
<p>That should be it. You now have a persistent instance that is backed by EBS storage!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/ec2-persistent-boots-with-pivot-root/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>E-Business Suite CPU patches now cumulative</title>
		<link>https://bluegecko.dk/e-business-suite-cpu-patches-now-cumulative/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=e-business-suite-cpu-patches-now-cumulative</link>
					<comments>https://bluegecko.dk/e-business-suite-cpu-patches-now-cumulative/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Fri, 29 Jan 2010 00:30:08 +0000</pubDate>
				<category><![CDATA[Oracle Applications]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=781</guid>

					<description><![CDATA[Many Oracle Apps DBAs don&#8217;t feel pressure to apply E-Business Suite CPU until they are asked to expose an application node to the outside world; now there&#8217;s no excuse.  If you&#8217;re an established EBS shop and you&#8217;ve never applied the EBS CPU patches for your Release 11i environment, there is quite a bit of work [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/oracle-applications/proactive-maintenance-for-oracle-e-business-suite/" rel="bookmark" title="Permanent Link: Proactive Maintenance for Oracle E-Business Suite">Proactive Maintenance for Oracle E-Business Suite</a></li>
<li><a href="http://www.bluegecko.net/oracle/oracle-e-business-suite-in-the-amazon-cloud/" rel="bookmark" title="Permanent Link: Oracle E-Business Suite in the Amazon Cloud">Oracle E-Business Suite in the Amazon Cloud</a></li>
<li><a href="http://www.bluegecko.net/news-events/new-whitepaper-proactive-maintenance-for-e-business-suite/" rel="bookmark" title="Permanent Link: New whitepaper: Proactive Maintenance for E-Business Suite">New whitepaper: Proactive Maintenance for E-Business Suite</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p>Many Oracle Apps DBAs don&#8217;t feel pressure to apply E-Business Suite CPU until they are asked to expose an application node to the outside world; now there&#8217;s no excuse.  If you&#8217;re an established EBS shop and you&#8217;ve never applied the <a title="EBS CPU patches" href="http://www.oracle.com/technology/deploy/security/alerts.htm" >EBS CPU patches</a> for your Release 11i environment, there is quite a bit of work to get caught up on should you need to implement a new module like iStore or iSupplier.<span id="more-781"></span></p>
<p>The following is the list of patches per my count:<span style="font-family: Helvetica, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: 12px;"> </span></p>
<table style="border-collapse: collapse; border: 0.5px 0.5px 0.5px 0.5px solid #cbcbcb #cbcbcb #cbcbcb #cbcbcb;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;"><strong>Quarter</strong></p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;"><strong>Patches</strong></p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">April 2007</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">5893391, 5900224, 5352601, 5720979, 5738134, 5909233, 5873313, 5904576, 5967405</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">July 2007</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">3904641, 5021981, 5973659, 6045931, 6045983, 5973898, 5973629, 6185758, 6082483, 6110945, 6111066, 6111008, 6188705, 5973651</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">October 2007</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">4897479, 4514856, 6181762, 6204551, 5889600, 6112590, 6112601</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">January 2008</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">6643087,  6142917, 6530949, 6640163</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">April 2008</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">6831988, 6858005, 6858550, 6802774, 6810748</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">July 2008</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">6520998, 6845529, 6884665, 6627387</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">October 2008</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">6823842, 6642209</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">January 2009</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">7582702 , 7327712, 7567354, 7610955</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">April 2009</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">7836886, 7582828</p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">July 2009</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;"><a href="http://updates.oracle.com/download/7758943.html">7758943</a>, <a href="http://updates.oracle.com/download/8528340.html">8528340</a>, <a href="http://updates.oracle.com/download/8488738.html">8488738</a>, <a href="http://updates.oracle.com/download/8225016.html">8225016</a></p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">October 2009</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;"><a href="http://updates.oracle.com/download/8280420.html">8280420</a>, <a href="http://updates.oracle.com/download/8721703.html">8721703</a>, <a href="http://updates.oracle.com/download/8872433.html">8872433</a>, <a href="http://updates.oracle.com/download/8674360.html">8674360</a>, <a href="http://updates.oracle.com/download/8767305.html">8767305</a></p>
</td>
</tr>
<tr>
<td style="padding: 0px 5px; width: 148px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;">January 2010</p>
</td>
<td style="padding: 0px 5px; width: 219px;" valign="top">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial;"><a href="http://updates.oracle.com/download/9017637.html">9017637</a>, <a href="http://updates.oracle.com/download/7293090.html">7293090</a>, <a href="http://updates.oracle.com/download/8995162.html">8995162</a></p>
</td>
</tr>
</tbody>
</table>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Times New Roman'; min-height: 15.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Times New Roman'; min-height: 15.0px;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">This is a pretty tedious assignment &#8230; that is until now.  Oracle recently made their Release 11i EBS CPU Patching cumulative. (woot!)  Now, you simply start with this single CPU patch, assuming you&#8217;re on ATG 6 or 7.  It&#8217;s probable this may drive a little additional patching depending on your patch level, but it&#8217;s certainly a lot less than before.</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Times New Roman'; min-height: 15.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Times New Roman'; min-height: 15.0px;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">Per metalink note 985520.1:</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Times New Roman'; min-height: 15.0px;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"><br />
</span></p>
<div>
<table style="border: 0.0px 0.0px 0.0px 1.0px solid transparent transparent transparent #cfdaeb;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="margin: 0.5px; padding: 5px; width: 519px; background-color: #e4ebf2;" valign="middle">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial;"><strong>Oracle E-Business Suite Release</strong></p>
</td>
<td style="margin: 0.5px; padding: 5px; width: 91px; background-color: #e4ebf2;" valign="middle">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial;"><strong>Patch to Apply</strong></p>
</td>
</tr>
<tr>
<td style="margin: 0.5px; padding: 5px; width: 519px;" valign="middle">
<p style="margin: 0.0px 0.0px 13.0px 0.0px; font: 13.0px Arial;">Oracle E-Business Suite Release 11<em>i</em>10 CU2 with 11<em>i</em>.ATG_PF.H.delta.7 (RUP7) installed.</p>
</td>
<td style="margin: 0.5px; padding: 5px; width: 91px;" valign="middle">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; color: #3600fc;"><span style="text-decoration: underline;"><a href="http://updates.oracle.com/download/9077775.html">9077775</a></span></p>
</td>
</tr>
<tr>
<td style="margin: 0.5px; padding: 5px; width: 519px;" valign="middle">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial;">Oracle E-Business Suite Release 11<em>i</em>10 CU2 with 11<em>i</em>.ATG_PF.H.delta.6 (RUP6) installed.</p>
</td>
<td style="margin: 0.5px; padding: 5px; width: 91px;" valign="middle">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; color: #3600fc;"><span style="text-decoration: underline;"><a href="http://updates.oracle.com/download/9075075.html">9075075</a></span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px;">
</td>
</tr>
</tbody>
</table>
</div>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/oracle-applications/proactive-maintenance-for-oracle-e-business-suite/' rel='bookmark' title='Permanent Link: Proactive Maintenance for Oracle E-Business Suite'>Proactive Maintenance for Oracle E-Business Suite</a></li>
<li><a href='http://www.bluegecko.dk/oracle/oracle-e-business-suite-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: Oracle E-Business Suite in the Amazon Cloud'>Oracle E-Business Suite in the Amazon Cloud</a></li>
<li><a href='http://www.bluegecko.dk/news-events/new-whitepaper-proactive-maintenance-for-e-business-suite/' rel='bookmark' title='Permanent Link: New whitepaper: Proactive Maintenance for E-Business Suite'>New whitepaper: Proactive Maintenance for E-Business Suite</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/e-business-suite-cpu-patches-now-cumulative/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>FRM-40501: Could not reserve record [2 tries]; Oracle Apps Record-Locking</title>
		<link>https://bluegecko.dk/frm-40501-could-not-reserve-record-2-tries-oracle-apps-record-locking/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=frm-40501-could-not-reserve-record-2-tries-oracle-apps-record-locking</link>
					<comments>https://bluegecko.dk/frm-40501-could-not-reserve-record-2-tries-oracle-apps-record-locking/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Fri, 22 May 2009 15:27:29 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[FRM-40501]]></category>
		<category><![CDATA[Oracle Applications DBA]]></category>
		<category><![CDATA[Oracle E-Business Suite]]></category>
		<guid isPermaLink="false">http://matthias.bluegecko.net/?p=325</guid>

					<description><![CDATA[One of your end users attempts to modify a record, and the user is prompted with a dialog box asking &#8220;Could not reserve record [2 tries]. Keep trying?&#8221; The user answers &#8220;yes&#8221; and after being prompted a few more times the user gives up. Ultimately the user gets a &#8220;FRM-40501: ORACLE error: unable to reserve [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>One of your end users attempts to modify a record, and the user is prompted with a dialog box asking &#8220;Could not reserve record [2 tries].  Keep trying?&#8221;  The user answers &#8220;yes&#8221; and after being prompted a few more times the user gives up.  Ultimately the user gets a &#8220;FRM-40501:  ORACLE error:  unable to reserve record for update or delete.&#8221;  When this happens it&#8217;s nice to have some scripts ready to go to quickly diagnose what is causing the contention, so appropriate action can be taken.  The forms don&#8217;t wait to the obtain the lock for very long, so it&#8217;s a little more difficult to determine the blocking lock.  This first script provides a listing of the possible locks and some relevant E-Business Suite information for digging further.<span id="more-325"></span></p>
<p>Query 1:</p>
<p>[code language=&#8221;sql&#8221;]select vs.audsid audsid,<br />
 locks.sid sid,<br />
 vs.serial# serial#,<br />
 vs.username oracle_user,<br />
 vs.osuser os_user,<br />
 vs.program program,<br />
 vs.module module,<br />
 vs.action action,<br />
 vs.process process,<br />
 decode(locks.lmode,<br />
       1, NULL,<br />
       2, &#8216;Row Share&#8217;,<br />
       3, &#8216;Row Exclusive&#8217;,<br />
       4, &#8216;Share&#8217;,<br />
       5, &#8216;Share Row Exclusive&#8217;,<br />
       6, &#8216;Exclusive&#8217;, &#8216;None&#8217;) lock_mode_held,<br />
 decode(locks.request,<br />
       1, NULL,<br />
       2, &#8216;Row Share&#8217;,<br />
       3, &#8216;Row Exclusive&#8217;,<br />
       4, &#8216;Share&#8217;,<br />
       5, &#8216;Share Row Exclusive&#8217;,<br />
       6, &#8216;Exclusive&#8217;, &#8216;None&#8217;) lock_mode_requested,<br />
 decode(locks.type,<br />
       &#8216;MR&#8217;, &#8216;Media Recovery&#8217;,<br />
       &#8216;RT&#8217;, &#8216;Redo Thread&#8217;,<br />
       &#8216;UN&#8217;, &#8216;User Name&#8217;,<br />
       &#8216;TX&#8217;, &#8216;Transaction&#8217;,<br />
       &#8216;TM&#8217;, &#8216;DML&#8217;,<br />
       &#8216;UL&#8217;, &#8216;PL/SQL User Lock&#8217;,<br />
       &#8216;DX&#8217;, &#8216;Distributed Xaction&#8217;,<br />
       &#8216;CF&#8217;, &#8216;Control File&#8217;,<br />
       &#8216;IS&#8217;, &#8216;Instance State&#8217;,<br />
       &#8216;FS&#8217;, &#8216;File Set&#8217;,<br />
       &#8216;IR&#8217;, &#8216;Instance Recovery&#8217;,<br />
       &#8216;ST&#8217;, &#8216;Disk Space Transaction&#8217;,<br />
       &#8216;TS&#8217;, &#8216;Temp Segment&#8217;,<br />
       &#8216;IV&#8217;, &#8216;Library Cache Invalidation&#8217;,<br />
       &#8216;LS&#8217;, &#8216;Log Start or Log Switch&#8217;,<br />
       &#8216;RW&#8217;, &#8216;Row Wait&#8217;,<br />
       &#8216;SQ&#8217;, &#8216;Sequence Number&#8217;,<br />
       &#8216;TE&#8217;, &#8216;Extend Table&#8217;,<br />
       &#8216;TT&#8217;, &#8216;Temp Table&#8217;,<br />
       locks.type) lock_type,<br />
 objs.owner object_owner,<br />
 objs.object_name object_name,<br />
 objs.object_type object_type,<br />
 round( locks.ctime/60, 2 ) lock_time_in_minutes<br />
from v$session vs,<br />
         v$lock locks,<br />
         dba_objects objs,<br />
         dba_tables tbls<br />
where locks.id1 = objs.object_id<br />
 and vs.sid = locks.sid<br />
 and objs.owner = tbls.owner<br />
 and objs.object_name =  tbls.table_name<br />
 and objs.owner != &#8216;SYS&#8217;<br />
 and locks.type = &#8216;TM&#8217;<br />
 order by lock_time_in_minutes;[/code]</p>
<p>To determine the table(s) the form is trying to lock, use the Help-&gt;Record History menu option; this provides the base table or view for the form block.</p>
<p>Look through the result set from Query 1 for an object_name (typically a table or view) in the same vicinity as your table or view.  If you have a form block based on a view, it may be helpful to look up the tables behind the view.  If the action starts with an &#8216;FRM:%&#8217;, then another forms session has the lock.</p>
<p>One thing to note: You&#8217;ll often see the same user blocking themselves.  This could be a training issue, or it could be due to a previous forms session that crashed, but the f60webmx process did not die.  If this is the case, you can kill the application server OS process (based on the process value in Query 1).</p>
<p>Query 2 provides further details for results in Query 1 that are forms sessions  &#8211; simply plop in the AUDSID from Query 1.</p>
<p>Query 2:</p>
<p>[code language=&#8221;sql&#8221;]SELECT<br />
        F.AUDSID,<br />
        S.SID,<br />
        S.SERIAL#,<br />
        L.USER_ID,<br />
        L.TERMINAL_ID,<br />
        L.LOGIN_NAME,<br />
        R.RESP_APPL_ID,<br />
        R.RESPONSIBILITY_ID,<br />
        F.FORM_ID,<br />
        F.FORM_APPL_ID,<br />
        L.PID,<br />
        L.PROCESS_SPID,<br />
        NVL(F.START_TIME, NVL(R.START_TIME, L.START_TIME)) TIME,<br />
        USR.USER_NAME,<br />
        a.application_name,<br />
        RSP.RESPONSIBILITY_NAME,<br />
        FRM.USER_FORM_NAME,<br />
        s.program,<br />
        s.action,<br />
        s.module,<br />
        s.state,<br />
        s.event,<br />
        s.wait_class,<br />
        s.seconds_in_wait<br />
FROM FND_RESPONSIBILITY_TL RSP,<br />
        FND_FORM_TL FRM,<br />
        FND_USER USR,<br />
        FND_LOGINS L,<br />
        FND_LOGIN_RESPONSIBILITIES R,<br />
        FND_LOGIN_RESP_FORMS F,<br />
        GV$SESSION S,<br />
        fnd_application_tl A<br />
WHERE F.AUDSID = &amp;ENTER_FORM_AUDSID<br />
AND R.LOGIN_ID = F.LOGIN_ID<br />
AND R.LOGIN_RESP_ID = F.LOGIN_RESP_ID<br />
AND L.LOGIN_ID = R.LOGIN_ID<br />
AND L.END_TIME IS NULL<br />
AND R.END_TIME IS NULL<br />
AND F.END_TIME IS NULL<br />
AND L.USER_ID = USR.USER_ID<br />
AND R.RESPONSIBILITY_ID = RSP.RESPONSIBILITY_ID<br />
AND R.RESP_APPL_ID = RSP.APPLICATION_ID<br />
AND RSP.LANGUAGE = &#8216;US&#8217;<br />
AND RSP.application_id = a.application_id<br />
AND a.language = &#8216;US&#8217;<br />
AND F.FORM_ID = FRM.FORM_ID<br />
AND F.FORM_APPL_ID = FRM.APPLICATION_ID<br />
AND FRM.LANGUAGE = &#8216;US&#8217;<br />
AND F.AUDSID = S.AUDSID;[/code]</p>
<p>If a concurrent program holds the lock, Query 3 provides a bit more information.  Here we can see the user, concurrent program, how long it&#8217;s been running and log/output files.</p>
<p>Query 3:</p>
<p>[code language=&#8221;sql&#8221;]select fcr.request_id,<br />
         fcr.requested_by,<br />
         fu.user_name,<br />
         fcr.program_application_id,<br />
         fcr.concurrent_program_id,<br />
         fcr.actual_start_date,<br />
         fat.application_name,<br />
         fcp.concurrent_program_name,<br />
         fcpt.user_concurrent_program_name,<br />
         fcr.description,<br />
         fcr.logfile_node_name,<br />
         fcr.outfile_name,<br />
         fcr.logfile_name,<br />
         fcr.completion_text,<br />
         fcr.parent_request_id,<br />
         vs.process,<br />
         vs.state,<br />
         vs.event,<br />
         vs.wait_class,<br />
         vs.seconds_in_wait<br />
         from v$session vs,<br />
              fnd_concurrent_requests fcr,<br />
              fnd_application_tl fat,<br />
              fnd_concurrent_programs fcp,<br />
              fnd_concurrent_programs_tl fcpt,<br />
              fnd_user fu<br />
         where vs.audsid =  &amp;ENTER_CONC_PROCESS_AUDSID<br />
         and vs.process = fcr.os_process_id<br />
         and fcr.actual_completion_date is null<br />
         and fcr.program_application_id = fat.application_id<br />
         and fcr.program_application_id = fcp.application_id<br />
         and fcr.concurrent_program_id = fcp.concurrent_program_id<br />
         and fcr.program_application_id = fcpt.application_id<br />
         and fcr.concurrent_program_id = fcpt.concurrent_program_id<br />
         and fcr.requested_by = fu.user_id;[/code]</p>
<p>This should be enough information to chase down the offender (someone out for coffee and not save that latest change first?) or possibly even point to a process that needs attention.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/frm-40501-could-not-reserve-record-2-tries-oracle-apps-record-locking/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What should I check after bouncing E-Business Suite?</title>
		<link>https://bluegecko.dk/what-should-i-check-after-bouncing-e-business-suite/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=what-should-i-check-after-bouncing-e-business-suite</link>
					<comments>https://bluegecko.dk/what-should-i-check-after-bouncing-e-business-suite/#comments</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Mon, 04 May 2009 15:56:49 +0000</pubDate>
				<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[adadmin]]></category>
		<category><![CDATA[adpatch]]></category>
		<category><![CDATA[Oracle E-Business Suite]]></category>
		<category><![CDATA[patching]]></category>
		<guid isPermaLink="false">http://matthias.bluegecko.net/?p=345</guid>

					<description><![CDATA[As an Oracle Apps administrator, it&#8217;s a good idea to have a punch list of things to check after your applications have been started, to ensure all services are working correctly. For Release 11i, the following steps are a good starting point. It will take a few extra minutes to work through this list, but [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>As an Oracle Apps administrator, it&#8217;s a good idea to have a punch list of things to check after your applications have been started, to ensure all services are working correctly.  For Release 11i, the following steps are a good starting point.  It will take a few extra minutes to work through this list, but it&#8217;s certainly more aggravating to get the call from one of your best users relaying problems an hour after you&#8217;ve handed the system back.<span id="more-345"></span></p>
<p>1.  Verify you&#8217;re not in maintenance mode by logging into sqlplus and running the following query</p>
<p>[code language=&#8221;sql&#8221;]SQL&gt; select fnd_profile.value(&#8216;APPS_MAINTENANCE_MODE&#8217;) from dual;</p>
<p>FND_PROFILE.VALUE(&#8216;APPS_MAINTENANCE_MODE&#8217;)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
NORMAL[/code]</p>
<p>If this returns &#8216;MAINT&#8217;, then you need to light adadmin up and get out of maintenance mode.</p>
<p>2.  Check Apache &amp; JServ log files for errors in startup process.</p>
<p>Under $IAS_ORACLE_HOME/Apache/Apache/logs look for problems/errors since starting services, back up:</p>
<ul>
<li>the latest access_log_pls.* file</li>
<li>the error_log file</li>
<li>the latest access_log.* file</li>
</ul>
<p>Also, check the $IAS_ORACLE_HOME/Apache/Jserv/logs/mod_jserv.log file for errors.</p>
<p>3.  Log into the applications as the SYSADMIN user and select the System Administrator responsibility (or equivalent).</p>
<ul>
<li>Open a form and query data (Security-&gt;User-&gt;Define or Application-&gt;Network Test for example), and ensure there are not any errors.</li>
<li>Open the Administer Concurrent Managers Form (Concurrent-&gt;Manager-&gt;Administer) and make sure the Service Manager:  is running.  If it&#8217;s not, check the internal concurrent manager log file ($APPLCSF/$APPLLOG/_.mgr, where MMDD is the current month and day) for errors.</li>
<li>Launch a harmless report, such as the Concurrent Program Details Report</li>
<li>Application Name = Application Object Library</li>
<li>Program = Concurrent Program Details Report</li>
<li>In a perfect world, there would be a way to test a report that uses the OPP service.  One way to do this is to modify the concurrent program definition of the Concurrent Program Details Report to produce PDF output.  To do this pull up the definition in the Define Concurrent Programs Form (Concurrent-&gt;Program-&gt;Define), and under the output section,  change the Format value from &#8216;Text&#8217; to &#8216;PDF&#8217; and save your changes.  If you execute this successfully, then your OPP processor is working fine.</li>
<li>After you&#8217;ve successfully executed these jobs, pull up your request history (Concurrent-&gt;Requests) and export the data (File (menu at the top of the applet &#8211; not in the responsibility menu)-&gt;Export.  You will probably be prompted that you have more than 100 records, and this record set is plenty for testing.  Press the Stop button.  Save the exported data and verify that the data looks correct.</li>
</ul>
<p>4.  Make sure the Self Service Products are working &#8211; it&#8217;s common for the Oracle System Administrator to have iExpense or iProcurement, as they would naturally need to log expense reports or possibly make purchasing requests.  Simply change to one of these responsibilities and navigate around a bit to ensure there are no errors.</p>
<p>5.  Check Jserv with the following url:</p>
<p>http://&lt;hostname.domainname&gt;:&lt;port&gt;/servlets/Hello</p>
<p>6.  Log into the Oracle Application Manager (OAM) as the System Administrator</p>
<p>http://&lt;hostname.domainname&gt;:&lt;port&gt;/servlets/weboam/oam/oamLogin</p>
<p>Navigate to the Workflow Manager section, followed by the service components section.  Ensure that the Workflow Notification Mailer and Agent Listeners are running.  If this is a test environment, you may explicitly not want these up &#8211; especially if you&#8217;ve not set the WF Notification Mailer mailer override address (which prevents notifications from your test system going to real end users leading to confusion).</p>
<p>7.  Take the following steps to ensure the AOL/J parts are all working correctly.  This requires the apps password and database connection information (sid, host, and tns port).  It&#8217;s recommended to follow the tests in sequential order as displayed from top to bottom.  If you have problems, metalink note 182040.1 has some good troubleshooting steps.</p>
<p>http://&lt;hostname.domainname&gt;:&lt;port&gt;/OA_HTML/jsp/fnd/aoljtest.jsp</p>
<p>If you&#8217;re interested in more details, much of this information came from metalink notes 283976.1 &amp; 182040.1.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/what-should-i-check-after-bouncing-e-business-suite/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Why should I properly close my Oracle E-Business Suite session?</title>
		<link>https://bluegecko.dk/why-should-i-properly-close-my-oracle-e-business-suite-session/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-should-i-properly-close-my-oracle-e-business-suite-session</link>
					<comments>https://bluegecko.dk/why-should-i-properly-close-my-oracle-e-business-suite-session/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Tue, 10 Mar 2009 16:05:01 +0000</pubDate>
				<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[ICX:Limit Time]]></category>
		<category><![CDATA[ICX:Session Timeout]]></category>
		<category><![CDATA[JServ Timeout]]></category>
		<category><![CDATA[JTF_INACTIVE_SESSION_TIMEOUT]]></category>
		<category><![CDATA[OC4J]]></category>
		<category><![CDATA[Oracle Applications Framework]]></category>
		<category><![CDATA[oracle forms]]></category>
		<guid isPermaLink="false">http://matthias.bluegecko.net/?p=375</guid>

					<description><![CDATA[We&#8217;ve all been there before.  It&#8217;s noon, and you&#8217;re co-worker is telling you to tidy up &#8211; it&#8217;s time to go to lunch.  Your E-Business Suite session is idle, and in your haste you simply click the &#8216;X&#8217; at the top of your browser.  You know it&#8217;s not the proper thing to do, but you&#8217;re [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>We&#8217;ve all been there before.  It&#8217;s noon, and you&#8217;re co-worker is telling you to tidy up &#8211; it&#8217;s time to go to lunch.  Your E-Business Suite session is idle, and in your haste you simply click the &#8216;X&#8217; at the top of your browser.  You know it&#8217;s not the proper thing to do, but you&#8217;re not sure of the implications&#8230;. What happens when I close my session improperly?</p>
<p>First let&#8217;s define a proper application exit.</p>
<p>If you&#8217;re using an Oracle Forms responsibility, such as AP Manager or System Administrator, you&#8217;ll want to select focus on your window with the forms session and select the File-&gt;Exit Oracle Applications.  For jsp type applications, such as OAM or iExpense, you&#8217;ll want to click on the Logout link typically in the top right of the browser session.  <span id="more-375"></span></p>
<p>Given that, what are the incorrect ways to log out?</p>
<p>The answer is pretty much anything else.  Unless you close your session using an application exit command, you are probably closing the apps improperly.</p>
<p>Why should I care?</p>
<p>To appreciate this is to first understand the basics of what happens when the applications are given a proper, explicit indication you are leaving your Oracle application session.  In essence, all of your allocated resources are released.</p>
<p>In the database, your cursors are closed, your locks are relinquished, and uncommitted transactions are rolled back.</p>
<p>The application server is more involved:  For each Oracle forms session, there are individual f60webmx processes.  Upon a proper exit, these processes are gracefully and explicitly logged out of the database; local memory, processing, and network resources are released; finally, resources under /tmp including user export data, temporary space for long running queries, and temporary space for viewing log files and reports (has this ever filled up on you?) are released.</p>
<p>If shut down improperly, not only are these resources tied up longer than necessary, but orphaned f60webmx processes are notorious for occasionally growing into run-away processes that consume a huge portion of cpu.</p>
<p>When considering the application server resources for JServ or OC4J application sessions (iExpense for example), the issues are a little different.</p>
<p>These processes tend to be more memory-bound, as session state for each user is tracked in one of the large servlet processes.  If you&#8217;ve got a large data set cached, such as a listing of inventory items in iProcurement, this can weigh on your application server.  Logging off allows these processes to release these resources.  It also frees up your connection in the jdbc connection pool.</p>
<p>One approach to addressing this problem from a System Administrator perspective is setting the various configurable timeouts (see details on this below).  In my experience, the jsp servlets handle improper user logouts pretty well; however, your resources are not released for that timeout period (30 minutes maybe?).</p>
<p>The forms session have equivalent configuration, but the application server does not actually kill the f60webmx processes if the threshold is not met; the user is simply prompted to log in again.  This mechanism seems to address potential security concerns more than performance concerns.  The bottom line is these resources are still allocated.  Regardless of the technology, it is much better to deliberately log out of the applications.</p>
<p>In case you&#8217;re not familiar, Oracle provides the following summary of configuration parameters for Oracle E-Business Suite timeouts:</p>
<p>1) The ICX:Session Timeout profile is used to enforce inactivity timeout. If a user performs no Oracle Applications operation for a period longer than this timeout value (in minutes), the user&#8217;s application session is ended. When a user logs in to Release 11i, an ICX session is created and remains valid for the duration specified by this setting.</p>
<p>2) The ICX:Limit Time profile is used to specify the absolute maximum length of time (in hours) of any user&#8217;s Oracle Applications (ICX) session, whether active or inactive.</p>
<p>3) JTF_INACTIVE_SESSION_TIMEOUT affects CRM-based products only, and serves the same purpose as the ICX:Session Timeout profile. This profile exists for legacy reasons, and its value should be set to the same as ICX:Session Timeout.</p>
<p>4) JServ Timeout is specified by the value of the property session.timeout in the JServ configuration file zone.properties, and represents the number of milliseconds to wait before ending an idle JServ session (the default is 30 minutes). This timeout is used by products based on Oracle Applications Framework (OAF).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/why-should-i-properly-close-my-oracle-e-business-suite-session/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Monitor the X display for E-Business Suite</title>
		<link>https://bluegecko.dk/monitor-the-x-display-for-e-business-suite/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monitor-the-x-display-for-e-business-suite</link>
					<comments>https://bluegecko.dk/monitor-the-x-display-for-e-business-suite/#respond</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Wed, 28 Jan 2009 17:07:56 +0000</pubDate>
				<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[FND_CONCURRENT_REQUESTS]]></category>
		<category><![CDATA[OPP]]></category>
		<category><![CDATA[VNC]]></category>
		<category><![CDATA[x display]]></category>
		<category><![CDATA[XML Publisher]]></category>
		<guid isPermaLink="false">http://matthias.bluegecko.net/?p=417</guid>

					<description><![CDATA[Those running Oracle&#8217;s E-Business Suite on Linux/UNIX environments are probably familiar with a dependency on some X display technology to render graphics.  One could use a VNC Server or Xvfb, for example, to fill this need.  XML Publisher and OPP depend on an X display to create rich reports/documents with images &#38; graphics such as [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Those running Oracle&#8217;s E-Business Suite on Linux/UNIX environments are probably familiar with a dependency on some X display technology to render graphics.  One could use a VNC Server or Xvfb, for example, to fill this need.  XML Publisher and OPP depend on an X display to create rich reports/documents with images &amp; graphics such as AP Checks, Purchase Orders, Sales Orders, Pick/Pack Slips, or anything delivered as a PDF.  Given the critical nature of these documents, it&#8217;s probably a good idea to monitor X display availability.<span id="more-417"></span></p>
<p>What follows is a generic approach that will work with any X display server.  These instructions were developed using E-Business Suite 11i, but the same approach will work for R12.</p>
<p>1.  Select an existing report that creates very little output and does not pose a security concern, such as the Concurrent Program Details Report.  It runs out of the System Administrator responsibility by default, and Its output is about a page depending on the number of parameters defined for the concurrent program chosen.</p>
<p>2.  Define a new concurrent program using the Define Concurrent Program form:</p>
<p>Under the System Administrator responsibility, navigate to  Concurrent-&gt;Program-&gt;Define</p>
<p>Define a new concurrent program with the same executable name (FNDCPPGD in this example) and parameters (Application &amp; Program) with the same values sets as the standard Concurrent Program Details Report. program.  Name the concurrent program something interesting, like &#8220;VNC Server Monitor.&#8221;  <strong>Switch the Output Format listbox from Text to PDF</strong> and save your changes.</p>
<p>3.  Add this concurrent program to request set of the appropriate responsibility of the user that will regularly execute this concurrent program:</p>
<p>Security-&gt;Responsibility-&gt;Request &amp; query up the System Administrator Reports under the Application Object Library application</p>
<p>4.  Test that the user can successfully execute this concurrent program from the System Administrator responsibility.</p>
<p>Now you have a concurrent program redefined to crank out PDF output; If it fails for some reason, there is a good chance that if nothing else is going on (e.g. database down, etc.) something is wrong with the X display.  Let&#8217;s set this up to execute regularly.</p>
<p>5.  As the user (in the responsibility) that should regularly execute this going forward, schedule the &#8220;VNC Server Monitor&#8221; concurrent program to run every 5 minutes (or whatever you feel is appropriate for your environment.)</p>
<p>6.  Monitor the &#8220;VNC Server Monitor&#8221; execution for erroneous/bad conditions.  Covering a holistic E-Business Suite monitoring solution is out of scope for this post, but the following queries should fit into the capabilities of most monitoring solutions.</p>
<p>a.  This query will let us know if the &#8220;VNC Server Monitor&#8221; program might not be running normally.  If this query returns any records, there is likely a problem with the X display or the concurrent managers in general:</p>
<p>[code language=&#8221;sql&#8221;]select fcr.request_id, fcr.phase_code, fcr.status_code<br />
from fnd_concurrent_requests fcr,<br />
fnd_concurrent_programs_tl fcp<br />
where fcr.concurrent_program_id fcp.concurrent_program_id<br />
and fcp.user_concurrent_program_name = &#8216;VNC Server Monitor&quot;<br />
and request_date &amp;gt; sysdate &#8211; 1/96 &#8212; last 15 minutes<br />
and fcr.status_code in (<br />
&#8216;E&#8217;,                   &#8212;     Error<br />
&#8216;G&#8217;,                   &#8212;     Warning<br />
&#8216;M&#8217;,                   &#8212;     No Manager<br />
&#8216;T&#8217;,                   &#8212;     Terminating<br />
&#8216;U&#8217;,                   &#8212;     Disabled<br />
&#8216;W&#8217;,                   &#8212;     Paused<br />
&#8216;X&#8217;                    &#8212;     Terminated<br />
);[/code]</p>
<p>b.  The &#8220;VNC Server Monitor&#8221; should be very fast, and if the report hangs, the X display may not be working correctly.  The following query would will verify speed; if it repots poor performance, you may want to investigate:</p>
<p>[code language=&#8221;sql&#8221;]select fcr.request_id, fcr.phase_code, fcr.status_code<br />
from fnd_concurrent_requests fcr,<br />
fnd_concurrent_programs_tl fcp<br />
where fcr.concurrent_program_id = fcp.concurrent_program_id<br />
and fcp.user_concurrent_program_name = &#8216;VNC Server Monitor&#8217;<br />
and (sysdate &#8211; fcr.actual_start_date) &amp;gt; 1/720 &#8212; running more than 2 minutes<br />
and fcr.phase_code = &#8216;R&#8217;;  &#8212;  Running[/code]</p>
<p>One thing to consider in this approach is which concurrent manager will run this job.  Ideally, it will have it&#8217;s own queue or one that executes quick jobs (like reprint jobs, for example).  If left to execute in the standard manager, this job could get backed up, and our monitoring results could get stale.</p>
<p>c.  The following query is a starting point for monitoring for a job that was scheduled to start, but still hasn&#8217;t (presumably because it&#8217;s in line or there is a concurrent manager problem):</p>
<p>[code language=&#8221;sql&#8221;]select fcr.request_id, fcr.phase_code, fcr.status_code<br />
from fnd_concurrent_requests fcr,<br />
fnd_concurrent_programs_tl fcp<br />
where fcr.concurrent_program_id fcp.concurrent_program_id<br />
and fcp.user_concurrent_program_name = &#8216;VNC Server Monitor&quot;<br />
and (sysdate &#8211; fcr.requested_start_date) &amp;gt; 1/96 &#8212; pending more than 15 minutes<br />
and fcr.status_code in (<br />
&#8216;I&#8217;,           &#8212;       Inactive<br />
&#8216;P&#8217;            &#8212;       Pending<br />
);[/code]</p>
<p>One other note:  If FND_CONCURRENT_REQUESTS is not regularly trimmed, this query could become very expensive.  You should test this solution in a representative test environment for performance before production use.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/monitor-the-x-display-for-e-business-suite/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 41/196 objects using disk
Page Caching using disk: enhanced 

Served from: bluegecko.dk @ 2026-10-17 07:37:10 by W3 Total Cache
-->