<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Pythian - Data Experts Blog</title>
	
	<link>http://www.pythian.com/blog</link>
	<description>Official Pythian Blog - Love Your Data</description>
	<lastBuildDate>Sun, 26 May 2013 04:40:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PythianGroupBlog" /><feedburner:info uri="pythiangroupblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Installing Oracle VM Manager 3.2.x under Dom0 host</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/zBf3pKuqqIM/</link>
		<comments>http://www.pythian.com/blog/installing-oracle-vm-manager-3-2-x-under-dom0-host/#comments</comments>
		<pubDate>Sun, 26 May 2013 04:34:14 +0000</pubDate>
		<dc:creator>Yury Velikanov</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Technical Blog]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55337</guid>
		<description><![CDATA[Some of you know that I have published how to install Oracle VM Manager (OVMM) on a Dom0 host since Oracle released the Oracle VM 3. I have described why you possibly may want to do it in my very first post. Just want to mention here that it should be used for sandbox configurations...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>Some of you know that I have published how to install Oracle VM Manager (OVMM) on a <em>Dom0</em> host since Oracle released the Oracle VM 3. I have described why you possibly may want to do it in my very first <a title="Installing Oracle VM Manager 3.0.1 under Dom0 host" href="http://www.pythian.com/blog/installing-oracle-vm-manager-3-0-1-under-dom0-host/">post</a>. Just want to mention here that it should be used for sandbox configurations only. You can find the previous post on how to install 3.1.1 OVMM version under <em>Dom0</em> <a title="Installing Oracle VM Manager 3.1.1 under Dom0 host" href="http://www.pythian.com/blog/installing-oracle-vm-manager-3-1-1-under-dom0-host-or-how-to-save-resources-on-your-sandbox/">here</a>. This time I talk about 3.2.2 version.</p>
<p><em>NOTE: At the time of writing ORACLE VM 3.2.3 SERVER (Patch 16410428) and ORACLE VM 3.2.3 MANAGER (Patch 16410417) became available. I didn&#8217;t have time to install the latest versions yet. However I do not expect that installation are significantly different from the versions I have used for this blog post. I will update this blog post if I find that there is something else you need to know in order to install the latest versions. Please feel free to ask questions or provide your hints under comments section of that post below.</em></p>
<h4>MySQL repository</h4>
<p>There is one significant difference in the OVMM 3.2.x version&#8217;s technology stack comparing to 3.1.x versions. Starting from 3.2 version Oracle  use an MySQL database instead of Oracle Express database for an OVMM repository by default. It made easier to install OVMM under <em>Dom0</em> host than before. However there are still a few things you need to know in order to get it working. This is how you do it.</p>
<h4>Pre install steps</h4>
<ul>
<li>Install Oracle VM server release 3.2.2 (or latest OVS version available)
<ul>
<li>Most answers to the installation questions are obvious and simple</li>
<li>This time we don&#8217;t need to customize swap size as before</li>
<li>Note that it will make your life much easier if you configure OVS network with an Internet access right from the beginning</li>
</ul>
</li>
<li>After you got OVS up and running change /etc/redhat-release file
<ul>
<li>This will make OVMM installation work (MySQL part of it)</li>
</ul>
</li>
</ul>
<blockquote style="background-color: beige;">
<pre style="white-space: pre-wrap;">cp -rp /etc/redhat-release ~/redhat-release.orig
echo "Red Hat Enterprise Linux Server release 5.5 (Tikanga)" &gt; /etc/redhat-release</pre>
</blockquote>
<ul>
<li>Configure Oracle Public Yum <a title="Public Yum Server" href="http://public-yum.oracle.com/">repository</a>
<ul>
<li>Use &#8220;Oracle Linux 5&#8243; version</li>
</ul>
</li>
<li>Install additional RPMs</li>
</ul>
<blockquote style="background-color: beige;">
<pre style="white-space: pre-wrap;">yum install xz-devel
yum install zip</pre>
</blockquote>
<h4>Installation steps</h4>
<ul>
<li> Install OVMM 3.2.1 (or latest release available)
<ul>
<li>Copy the installation ISO file to the OVS file system</li>
<li>Mount it as virtual CDROM</li>
<li>Use &#8220;runInstaller.sh -n&#8221; to ignore some other prerequisites</li>
</ul>
</li>
</ul>
<blockquote style="background-color: beige;">
<pre style="white-space: pre-wrap;">mount -o loop /u01/SOFTWARE/OracleVM-Manager-3.2.1-installer-OracleLinux.iso /mnt/cdrom
/mnt/cdrom/runInstaller.sh -n</pre>
</blockquote>
<ul>
<li> Upgrade OVMM to 3.2.2 version (or latest version available)
<ul>
<li>Patch 16410417: ORACLE VM 3.2.2 MANAGER UPGRADE ISO RELEASE</li>
<li>Follow the readme instructions</li>
<li>Put an ISO file on an OVS filesystem and mount it the same way as in the previous step</li>
<li>Install the update (are are 2 steps to be executed, see README.txt for the details)</li>
</ul>
</li>
</ul>
<h4>Post install steps</h4>
<ul>
<li>Change /etc/redhat-release back</li>
</ul>
<blockquote style="background-color: beige;">
<pre style="white-space: pre-wrap;">cp -rp /etc/redhat-release.orig ~/redhat-release</pre>
</blockquote>
<p>At this stage you are ready to access Oracle VM Manager Web interface.</p>
<p>Enjoy,</p>
<p>Yury<br />
<a href="http://au.linkedin.com/in/yuryvelikanov"><img alt="View Yury Velikanov's profile on LinkedIn" src="http://www.linkedin.com/img/webpromo/btn_viewmy_160x25.png" width="160" height="25" border="0" /></a></p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/zBf3pKuqqIM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/installing-oracle-vm-manager-3-2-x-under-dom0-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/installing-oracle-vm-manager-3-2-x-under-dom0-host/</feedburner:origLink></item>
		<item>
		<title>Pythian’s Third Annual Geek Pride Day</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/pKLip1V-lxs/</link>
		<comments>http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/#comments</comments>
		<pubDate>Fri, 24 May 2013 15:46:37 +0000</pubDate>
		<dc:creator>Sarah Cross</dc:creator>
				<category><![CDATA[Non-Tech Articles]]></category>
		<category><![CDATA[Pythian]]></category>
		<category><![CDATA[Inside Pythian]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55233</guid>
		<description><![CDATA[The day has arrived, probably one of our favorite days at Pythian – Geek Pride Day! Since May 25 (the “official” day according to Wikipedia) falls on Saturday, we celebrate it a day early so everyone can participate. For the third year in a row, our 250+ global Pythianites have the opportunity to learn more...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>The day has arrived, probably one of our favorite days at Pythian – Geek Pride Day! Since May 25 (the “official” day according to <a href="http://en.wikipedia.org/wiki/Geek_Pride_Day">Wikipedia</a>) falls on Saturday, we celebrate it a day early so everyone can participate. For the third year in a row, our 250+ global Pythianites have the opportunity to learn more about each others geekisms by offering an International Geeky costume/t-shirt contest, while our office locations hold a Pot Luck to provide the opportunity for everyone to relax for a bit and get their geek on at lunch. The old saying “birds of a feather flock together” is very true, every single one of us a little geeky in our own special way, even the Pythian HR Team!</p>
<div id="attachment_55293" class="wp-caption aligncenter" style="width: 370px"><a href="http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/screen-shot-2013-05-24-at-10-08-26-am/" rel="attachment wp-att-55293"><img class="size-large wp-image-55293" alt="Some of us on HR are Super Geeks! Tin and Christina have been planning this for months." src="http://www.pythian.com/blog/wp-content/uploads/Screen-Shot-2013-05-24-at-10.08.26-AM-360x293.png" width="360" height="293" /></a><p class="wp-caption-text">Some of us on HR are Super Geeks! Tin and Christina have been planning this for months.</p></div>
<p>When we celebrated our first Geek Pride Day, our HR team was a modest size of three people.</p>
<div id="attachment_55235" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/hr/" rel="attachment wp-att-55235"><img class="size-medium wp-image-55235 " title="Pythian HR in 2011" alt="The HR team in 2011, from left to right, Heidi Hauver, Julia Duffy, and Sarah Cross." src="http://www.pythian.com/blog/wp-content/uploads/hr-300x220.jpg" width="300" height="220" /></a><p class="wp-caption-text">The HR team in 2011, from left to right, Heidi Hauver, Julia Duffy, and me.</p></div>
<p>Since 2011, our team has grown substantially!</p>
<div id="attachment_55281" class="wp-caption aligncenter" style="width: 370px"><a href="http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/attachment/098/" rel="attachment wp-att-55281"><img class="size-large wp-image-55281 " alt="Pythian's HR team today! From left to right, Peter Dean, Camila Suvaric, Tin Thinn, Christina Anderson, Rosie Leonard, Heidi Hauver and Heather Hillier. " src="http://www.pythian.com/blog/wp-content/uploads/098-360x208.jpg" width="360" height="208" /></a><p class="wp-caption-text">Pythian&#8217;s HR team today! From left to right, Peter Dean, Camila Suvaric, Tin Thinn, Christina Anderson, Rosie Leonard, Heidi Hauver and Heather Hillier.</p></div>
<p>People are sometimes surprised to learn that HR is filled with geeks, so I asked the whole team about what makes them a super geek.</p>
<p><b style="font-size: 13px;">Rosie Leonard – “</b>The geekiest thing I can’t live without is my label maker.”</p>
<p><b>Heidi Hauver &#8211; &#8220;</b>The geekiest thing about me is that I truly love science fiction. My favorite tv show is V and my favorite movie is the (original) Star Wars Trilogy.&#8221;</p>
<p><b>Heather Hillier – </b>&#8220;The one geeky thing that I cannot live without is my iPad.&#8221;</p>
<p><b>Peter Dean –</b> &#8220;My geeky habit is the way I speak.&#8221;</p>
<p><b style="font-size: 13px;">Camilla Suvaric – </b>&#8220;Being able to quote Lord of the Rings (1, 2 and 3) is definitely what makes me a geek&#8221;</p>
<p><b style="font-size: 13px;">Tin Thinn</b>- “Some of the things that make me a geek is knowing some pretty good details about comics, Star Wars, Star Trek, board games (i.e. Magic, D&amp;D, Heroscape, etc.), my Spider Man golf head cover and my thoughts on why geeks are way cooler than jocks.”</p>
<p><b>Christina Anderson</b> – “The geekiest thing I can’t live without is definitely my TARDIS and two Sonic Screwdrivers.”</p>
<div id="attachment_55239" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/photo3/" rel="attachment wp-att-55239"><img class="size-medium wp-image-55239" alt="Christina's TARDIS, one of her geekiest items." src="http://www.pythian.com/blog/wp-content/uploads/photo3-e1369336165830-225x300.jpg" width="225" height="300" /></a><p class="wp-caption-text">Christina&#8217;s homemade TARDIS, one of her geekiest items.</p></div>
<p>My geeky confession? I am a huge RPG video game addict. The first RPG I ever played was Final Fantasy VII on the original PlayStation and I was immediately hooked from the age of 11. Since then, I have lost too many hours of sleep to get to the next save point, or to finish the next mission. I had to move my consoles out to my bedroom to make sure I got a good night sleep. I am also slightly embarrassed to say that I was the only person waiting for Future Shop to open when Final Fantasy XIII was released (and was quickly disappointed).</p>
<div id="attachment_55277" class="wp-caption aligncenter" style="width: 224px"><a href="http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/me/" rel="attachment wp-att-55277"><img class="size-medium wp-image-55277" alt="My Geeky t-shirt for Geek Pride Day." src="http://www.pythian.com/blog/wp-content/uploads/Me-214x300.png" width="214" height="300" /></a><p class="wp-caption-text">My Geeky t-shirt for Geek Pride Day.</p></div>
<p>Since you know about the geekiness of Pythian’s HR team, what makes you a geek?</p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/pKLip1V-lxs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/pythians-third-annual-geek-pride-day/</feedburner:origLink></item>
		<item>
		<title>EBS Forms compilation errors in large terminal windows. Size does matter!</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/VjWb8dC5g-g/</link>
		<comments>http://www.pythian.com/blog/ebs-forms-compilation-errors-in-large-terminal-windows-size-does-matter/#comments</comments>
		<pubDate>Fri, 24 May 2013 12:40:08 +0000</pubDate>
		<dc:creator>Andrejs Prokopjevs</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle E-Business Suite]]></category>
		<category><![CDATA[Technical Blog]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55259</guid>
		<description><![CDATA[During a recent customer environment cloning activity I got myself up to the point where CUSTOM.plx was required to be recompiled. Nothing difficult you may say, right? I thought the same. But that activity just killed lots of troubleshooting hours for me. frmcmp_batch.sh call was just failing with “Terminal map initialization failed.” [oracle@appslab01 ~]$ frmcmp_batch.sh...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>During a recent customer environment cloning activity I got myself up to the point where CUSTOM.plx was required to be recompiled. Nothing difficult you may say, right? I thought the same. But that activity just killed lots of troubleshooting hours for me.</p>
<p>frmcmp_batch.sh call was just failing with “Terminal map initialization failed.”</p>
<blockquote><p>[oracle@appslab01 ~]$ frmcmp_batch.sh module=CUSTOM.pll userid=apps/apps output_file=CUSTOM.plx module_type=LIBRARY compile_all=YES<br />
Terminal map initialization failed.<br />
API: could not initialize character-mode driver.<br />
FRM-91500: Unable to start/complete the build.<br />
[oracle@appslab01 ~]$</p></blockquote>
<p>After some short troubleshooting I thought that just setting the DISPLAY variable and running a manual compilation should be ok. And it worked actually.</p>
<blockquote><p>[oracle@appslab01 ~]$ export DISPLAY=:1<br />
[oracle@appslab01 ~]$ frmcmp.sh module=CUSTOM.pll userid=apps/apps output_file=CUSTOM.plx module_type=LIBRARY compile_all=YES<br />
Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)</p>
<p>Forms 10.1 (Form Compiler): Release &#8211; Production</p>
<p>Copyright (c) 1982, 2005, Oracle. All rights reserved.</p>
<p>Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 &#8211; 64bit Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options<br />
PL/SQL Version 10.1.0.5.0 (Production)<br />
Oracle Procedure Builder V10.1.2.3.0 &#8211; Production<br />
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)<br />
Oracle Multimedia Version 10.1.2.0.2 (Production)<br />
Oracle Tools Integration Version 10.1.2.0.2 (Production)<br />
Oracle Tools Common Area Version 10.1.2.0.2<br />
Oracle CORE 10.1.0.5.0 Production<br />
Compiling library CUSTOM&#8230;<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
Done.<br />
[oracle@appslab01 ~]$</p></blockquote>
<p>My victory didn’t last too long. During one of the later steps, I was recompiling Form objects for several products using the ADADMIN, and all of these jobs were failing too. When I started to look into worker logs, I found that frmcmp_batch.sh is being executed, of course, and the logs were full of “Terminal map initialization failed” messages.<br />
Lots of hours passed troubleshooting this. I didn’t find any clue or known issue in MyOracleSupport and Google/Bing searches also didn’t find anything that could guide me to a solution. So I start “digging” myself.</p>
<p>Referring to Oracle Support Note [ID 1085526.1] for a generic FRM-91500 troubleshooting gave me good hints on possible issues with the fmrcvt220.res terminal mapping resource file and interaction with TERM/ORACLE_TERM environment variables. Getting no results here, I got an idea to try another terminal connection using the Mac default Terminal.app (I was using SecureCRT prior to that).<br />
And it worked!!! I saw no issues with frmcmp_batch.sh, and initiated ADADMIN Forms object compilation, which also proceeded successfully.</p>
<p>Having a small Terminal.app window on the screen opened by default and 1920&#215;1200 resolution on the screen visibility wasn’t too good, so I maximized the window by clicking on the plus icon.<br />
As soon as my window was maximized, all running ADADMIN jobs started to fail. And what do you think I found in worker logs? Exactly! The same “Terminal map initialization failed” error.</p>
<p>So the reason for all these failures was just my “too large” terminal window size. I remembered “Terminal too wide” VIM text editor issues due to the same reason.</p>
<p>This can be easily reproduced. I resized my terminal to half-size and ran ADADMIN and initiated Forms compilation for all products. While workers processed the compilation jobs, I started to resize the window using the lower-right corner.<br />
It was possible to clearly see how all workers started to fail, and again started to successfully compile when I was resizing the terminal window back to half-size.</p>
<p>I have just reproduced it on my lab instance while I was writing this blog post. And it’s not only happening on more exclusive platforms like HP-UX or AIX. It’s also a generic Linux issue, which is most commonly used for E-Business Suite.</p>
<blockquote><p>&#8211; Maximized Terminal window</p>
<p>[oracle@appslab01 ~]$ frmcmp_batch.sh module=CUSTOM.pll userid=apps/apps output_file=CUSTOM.plx module_type=LIBRARY compile_all=YES<br />
Terminal map initialization failed.<br />
API: could not initialize character-mode driver.<br />
FRM-91500: Unable to start/complete the build.<br />
[oracle@appslab01 ~]$</p>
<p>&#8211; Resized it a bit and running same command.</p>
<p>[oracle@appslab01 ~]$ frmcmp_batch.sh module=CUSTOM.pll userid= apps/apps output_file=CUSTOM.plx module_type=LIBRARY compile_all=YES<br />
Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)</p>
<p>Forms 10.1 (Form Compiler): Release &#8211; Production</p>
<p>Copyright (c) 1982, 2005, Oracle. All rights reserved.</p>
<p>Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 &#8211; 64bit Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options<br />
PL/SQL Version 10.1.0.5.0 (Production)<br />
Oracle Procedure Builder V10.1.2.3.0 &#8211; Production<br />
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)<br />
Oracle Multimedia Version 10.1.2.0.2 (Production)<br />
Oracle Tools Integration Version 10.1.2.0.2 (Production)<br />
Oracle Tools Common Area Version 10.1.2.0.2<br />
Oracle CORE 10.1.0.5.0 Production<br />
Compiling library CUSTOM&#8230;<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
Done.<br />
[oracle@appslab01 ~]$</p></blockquote>
<h3>Conclusion</h3>
<p>This blog post, definitely, is not about a common issue many of my colleagues all over the world might face, but it’s a good starting point and, I hope, it will save lots of troubleshooting time or Severity 1 SR’s for someone as soon as the search engines process this post.<br />
High-resolution displays are slowly getting a more wide usage and good old 1024&#215;768 isn’t always appropriate anymore. Who knows what else besides “Terminal too wide” and this one might await us.</p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/VjWb8dC5g-g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/ebs-forms-compilation-errors-in-large-terminal-windows-size-does-matter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/ebs-forms-compilation-errors-in-large-terminal-windows-size-does-matter/</feedburner:origLink></item>
		<item>
		<title>Log Buffer #321, A Carnival of the Vanities for DBAs</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/2pMNq5mKF4w/</link>
		<comments>http://www.pythian.com/blog/log-buffer-321-a-carnival-of-the-vanities-for-dbas/#comments</comments>
		<pubDate>Fri, 24 May 2013 12:34:54 +0000</pubDate>
		<dc:creator>Fahd Mirza</dc:creator>
				<category><![CDATA[Log Buffer]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55255</guid>
		<description><![CDATA[Can&#8217;t find what you want or need? Do you have a tip or trick to share? Do you want to lament over a technical woe? If yes then blog and send it to us for the Log Buffer :), just like this Log Buffer contains tips, tricks and woes. Oracle: Fahd Mirza and Tanel Poder...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>Can&#8217;t find what you want or need? Do you have a tip or trick to share? Do you want to lament over a technical woe? If yes then blog and send it to us for the Log Buffer :), just like this Log Buffer contains tips, tricks and woes.<br />
<span id="more-55255"></span><strong>Oracle:</strong></p>
<p><a href="http://fahdmirza.blogspot.com.au/2013/05/gvcellthreadhistory-nice-view.html">Fahd Mirza</a> and <a href="http://blog.tanelpoder.com/2013/05/23/vcell_thread_history-ash-for-exadata-storage-cells/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vcell_thread_history-ash-for-exadata-storage-cells">Tanel Poder</a> throw spotlight on the v$cell_thread_history view with respect to the Exadata.</p>
<p><a href="http://rsiz.wordpress.com/2013/05/23/vague-andor-misleading-claims-can-undermine-otherwise-useful-themes/">Mark W. Farnham</a>&#8216;s rightsizing goes on with a roar, as he declares that he is pretty much a green sneaker, tree hugging conservationist.</p>
<p>I would like to use the Microsoft Query tool in Microsoft Excel to extract records from the ERP database. <a href="http://hoopercharles.wordpress.com/2013/05/23/everything-or-nothing-in-sql/">Charles Hooper</a> answers.</p>
<p><a href="http://kevinclosson.wordpress.com/2013/05/22/oracle-exadata-database-machine-proving-160-xeon-e7-cores-are-as-slow-as-128-xeon-e5-cores/">Kevin</a> continues with yet another post about Exadata. The time he discusses: Oracle Exadata Database Machine: Proving 160 Xeon E7 Cores Are As “Slow” As 128 Xeon E5 Cores?</p>
<p>Alberto does a post which is a brief discussion about the advantages of activating parallelism by altering the session environment instead of using the alternative ways (hints, <a href="http://www.adellera.it/blog/2013/05/17/alter-session-force-parallel-query-and-indexes/">DDL</a>).</p>
<p><strong>SQL Server:</strong></p>
<p><a href="http://www.jasonstrate.com/">Security</a> Questions: Differences between “Grant” and “With Grant?”</p>
<p><a href="http://cwebbbi.spaces.live.com/">Using</a> Scoped Assignments To Show Calendar and Financial Year-To-Date Values In The Same Calculated Measure.</p>
<p>A cool post about Business <a href="http://www.quest.com/">Objects</a> on Linux and SQL Server.</p>
<p>Is Your <a href="http://www.brentozar.com/">Code</a> an English Garden or Ikebana?</p>
<p>The Journey is the <a href="http://www.jenstirrup.com/search/label/SQLServerPedia%20Syndication">Reward</a>: Speaking for SQLPass, where do you start?</p>
<p><a href="http://www.sqlchick.com/">Resolving</a> Error Connecting Report Builder to a PowerPivot Data Source.</p>
<p><strong>MySQL:</strong></p>
<p><a href="http://www.flamingspork.com/blog/2013/05/24/an-old-note-on-the-storage-engine-api/">Stewart Smith</a> is sharing an old note on the Storage Engine API.</p>
<p>A <a href="http://openquery.com/blog/nondeterministic-query-replication-stream">good</a> look at the Non-Deterministic Query in Replication Stream.</p>
<p>The <a href="http://blog.mariadb.org/mariadb-5-5-31-now-available/">MariaDB</a> project is pleased to announce the immediate availability of the MariaDB 5.5.31.</p>
<p><a href="http://www.mysqlperformanceblog.com/2013/05/23/experiences-with-the-mcafee-mysql-audit-plugin/">Fernando</a> had recently had to do some customer work involving the McAfee MySQL Audit Plugin.</p>
<p>There’s a big difference in how plugins are treated in MySQL and how they are treated in <a href="http://www.flamingspork.com/blog/2013/05/23/mysql-vs-drizzle-plugin-api/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mysql-vs-drizzle-plugin-api">Drizzle</a>.</p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/2pMNq5mKF4w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/log-buffer-321-a-carnival-of-the-vanities-for-dbas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/log-buffer-321-a-carnival-of-the-vanities-for-dbas/</feedburner:origLink></item>
		<item>
		<title>ODA re-imaging could take anything between 20 and 120 mins</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/_T6wGbGkilM/</link>
		<comments>http://www.pythian.com/blog/oda-re-imaging-could-take-anything-between-20-and-120-mins/#comments</comments>
		<pubDate>Tue, 21 May 2013 15:46:47 +0000</pubDate>
		<dc:creator>Yury Velikanov</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Pythian]]></category>
		<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[DBA Lounge]]></category>
		<category><![CDATA[ODA]]></category>
		<category><![CDATA[Oracle Database Appliance]]></category>
		<category><![CDATA[Oracle Engineered Systems]]></category>
		<category><![CDATA[re-imaging]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55177</guid>
		<description><![CDATA[This blog posts explains why Oracle Database Appliances re-imaging process timing may vary from 20 to 120 minutes. There are a check in the ISO:/Extras/setupodaovm.sh script that have an issue. Until the bug is fixed a) you may face different ODA nodes' re-imaging times b) to be on the safe side check if md devices' re-synchronization process  is finished by running "cat /proc/mdstat" command before running any business critical processes on your ODA.]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><h3>20 mins vs 2 hours</h3>
<p>Recently I have noticed that re-imaging process on the second Oracle Database Appliance node took significantly shorter time comparing with the first node. The difference was so significant that I started to suspect that there were something wrong with either particular set of hardware or some of the re-imaging process steps have failed on the second node. On the first node the process has completed  in 120 minutes, but  on the second it took just 20 around minutes.</p>
<p>I spent quite a bit of time to understand that exactly has been happening. But before I tell you, can I ask you what theoretical options would you come with given the behavior I just described? Please share those with me in the comment section below, please :)</p>
<h3>Any mystery can be solved</h3>
<p>Question is if we are ready to pay for it. Sometimes it takes quite a bit of effort to get to the truth and very often we don&#8217;t have time or interest or budget to find it. In this particular case I was so curious that I have spent good part of my my weekend looking for a clue. On the way I had  to learn a bit of &#8220;<a href="http://en.wikipedia.org/wiki/Anaconda_(installer)">Anaconda (installer)</a>&#8220;, <a href="http://en.wikipedia.org/wiki/Squashfs">SquashFS</a> file system, how to <a href="http://linux.about.com/library/cmd/blcmdl8_mkisofs.htm">rebuild ISO</a> image and the way ODA re-imaging process works. The purpose of this paragraph is to encourage you to be curious and don&#8217;t leave mysteries unresolved. Invest  some time and you will learn a lot on the way :)</p>
<p>NOTE: I will try to share the way I have troubleshot this problem in my future blog posts.</p>
<h3>Bug in the &#8220;post-install&#8221; script</h3>
<p>It appears that the problem is in the way the <em>ISO:/Extras/setupodaovm.sh</em> post install script checks if software RAID have completed re-synchronization of 4 internal HDD partitions (md devices) in between 2 physical disks. There are the following check at the very end of the script:<br />
<code>mdadm --wait /dev/md1<br />
mdadm --wait /dev/md2<br />
mdadm --wait /dev/md3</code><br />
Each of the lines designed to check if the software RAID completed synchronizing an md device (partition). The following is part of man page for <em>mdadm</em> utility</p>
<blockquote style="background-color: beige;">
<pre style="white-space: pre-wrap;">       -W, --wait
              For  each  md  device  given, wait for any resync, recovery, or reshape activity to finish before returning.  mdadm will return with success if it actually waited for
              every device listed, otherwise it will return failure.</pre>
</blockquote>
<p>During the re-imaging process all 4 volumes got to be rebuild and need to be synchronized by the software RAID. It worth mentioning that software RAID on ODA configured to re-synchronise  one device at the time. Other devices just seating and waiting they turn in the status DELAYED.  The problem is that if a device is in the state <em>resync=DELAYED</em> the &#8220;mdadm &#8211;wait&#8221; check will not stop and wait for it. Therefore just one of the <em>mdadm </em>checks will wait until re-synchronization process finishes others successfully pass even if a device isn&#8217;t synchronized yet (<em>resync=DELAYED</em>). Now let&#8217;s have a look on the devices&#8217; sizes and associated synchronization times:</p>
<table width="288" border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col span="2" width="64" />
<col width="76" />
<col width="84" /> </colgroup>
<tbody>
<tr>
<td width="64" height="20"><span style="color: #3366ff;"><strong>Name</strong></span></td>
<td width="64"><span style="color: #3366ff;"><strong>Size </strong></span></td>
<td width="76"><span style="color: #3366ff;"><strong>Function</strong></span></td>
<td width="84"><span style="color: #3366ff;"><strong>Sych-time</strong></span></td>
</tr>
<tr>
<td height="20">md0</td>
<td>60M</td>
<td>/boot</td>
<td>few seconds</td>
</tr>
<tr>
<td height="20">md1</td>
<td>17G</td>
<td>/</td>
<td>10 mins</td>
</tr>
<tr>
<td height="20">md2</td>
<td>217G</td>
<td>/OVS</td>
<td>90 mins</td>
</tr>
<tr>
<td height="20">md3</td>
<td>4G</td>
<td>swap</td>
<td>~2min</td>
</tr>
</tbody>
</table>
<p>Just to make life a bit more interesting the software RAID picks up a device to be re-synchronized next randomly. That means it is just matter of luck what device will get processed next. If it is md1 device (17GB) then the whole re-imaging process takes 20 minutes. However if the software RAID synchronises md2 device (217GB) during the execution of the <em>mdadm</em> check then the re-imaging process takes ~120 minutes.</p>
<h3>A way to fix the problem</h3>
<p>I am not a great expert in the Linux System Administration area (I am an Oracle DBA after all) and would rather let Oracle folks make the final call, but it seems to me that in order to make sure that all 4 devices got re-synchronized before the re-imaging process finishes the check should look like the following.</p>
<blockquote style="background-color: beige;">
<pre style="white-space: pre-wrap;">mdadm --wait /dev/md0 /dev/md1 /dev/md2 /dev/md3</pre>
</blockquote>
<h3>Conclusion</h3>
<p>To conclude until the issue is fixed know that</p>
<ol>
<li>you may face different ODA nodes&#8217; re-imaging times</li>
<li>to be on the safe side check if <em>md</em> devices&#8217; re-synchronization process  is finished by running &#8220;<em>cat /proc/mdstat</em>&#8221; command before running any business critical processes on your ODA.</li>
</ol>
<p>Yury<br />
<a href="http://au.linkedin.com/in/yuryvelikanov"><img alt="View Yury Velikanov's profile on LinkedIn" src="http://www.linkedin.com/img/webpromo/btn_viewmy_160x25.png" width="160" height="25" border="0" /></a></p>
<p><em>PS &#8220;<a href="http://www.youtube.com/watch?v=PQtZIcodQAk">Stay Hungry Stay Foolish</a>&#8221; - Steve Jobs</em></p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/_T6wGbGkilM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/oda-re-imaging-could-take-anything-between-20-and-120-mins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/oda-re-imaging-could-take-anything-between-20-and-120-mins/</feedburner:origLink></item>
		<item>
		<title>Log Buffer #320, A Carnival of the Vanities for DBAs</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/CWnAX6VKGfw/</link>
		<comments>http://www.pythian.com/blog/log-buffer-320-a-carnival-of-the-vanities-for-dbas/#comments</comments>
		<pubDate>Fri, 17 May 2013 12:23:12 +0000</pubDate>
		<dc:creator>Fahd Mirza</dc:creator>
				<category><![CDATA[Log Buffer]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55171</guid>
		<description><![CDATA[The red carpet has been laid down at this Log Buffer Edition, and you can witness and cheer the cat-walking blog posts from Oracle, SQL Server and MySQL. Every one of them is chic, elegant, sensual in its own right. Enjoy. Oracle: Create colored heat maps in SQL*Plus with Kyle Hailey. Here’s a quick and...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>The red carpet has been laid down at this Log Buffer Edition, and you can witness and cheer the cat-walking blog posts from Oracle, SQL Server and MySQL. Every one of them is chic, elegant, sensual in its own right. Enjoy.<br />
<span id="more-55171"></span><strong>Oracle:</strong></p>
<p>Create colored heat maps in SQL*Plus with <a href="http://dboptimizer.com/2013/05/10/colored-heat-maps-in-sqlplus/">Kyle Hailey.</a></p>
<p>Here’s a quick and dirty script to create a procedure (in the SYS schema – so be careful) to check the <a href="http://jonathanlewis.wordpress.com/2013/05/10/hakan-factor/">Hakan</a> Factor for an object.</p>
<p><a href="http://connormcdonald.wordpress.com/2013/05/13/default-null-for-collection-parameter/">Connor</a> has a good post about default null for collection parameter.</p>
<p>This is yet another blogpost on <a href="http://fritshoogland.wordpress.com/2013/05/09/direct-path-read-and-fast-full-index-scans/">Oracle</a>’s direct path read feature which was introduced for non-parallel query processes in Oracle version 11.</p>
<p>Owen Allen has seen some questions about provisioning Oracle Solaris 11. They boil down to <a href="https://blogs.oracle.com/opscenter/entry/provisioning_oracle_solaris_111">this</a>.</p>
<p><strong>SQL Server:</strong></p>
<p><a href="http://www.sqlservercentral.com/articles/Administration/98346/">Shashank Srivastava</a> tells us as how to Change the SQL Server Instance Name after Renaming the Windows Host.</p>
<p><a href="http://www.mssqltips.com/sqlservertip/2938/how-to-synchronize-two-ssas-servers/">Daniel Calbimonte</a> shares as how to synchronize two SSAS Servers.</p>
<p><a href="http://dataarch.sqlpass.org/">Data</a> Architecture underpins just about everything we do in IT.  Without a clear understanding of how data is structured, there is no reliable way to derive meaning from it.</p>
<p><a href="http://www.sqlservercentral.com/articles/Security/98202/">Orlando Colamatteo</a> is login-less in Seattle.</p>
<p>Lets get started testing database with tSQLt with <a href="https://www.simple-talk.com/sql/t-sql-programming/getting-started-testing-databases-with-tsqlt/">Robert Sheldon</a>.</p>
<p><strong>MySQL:</strong></p>
<p>After a lot of fuzz, Anders Karlsson is now releasing <a href="http://karlssonondatabases.blogspot.com/2013/05/myquery-351-beta-released.html">MyQuery</a> version 3.5.1.</p>
<p>Nothing like reestablishing a tradition and Dave Stokes is doing just that for <a href="http://opensourcedba.wordpress.com/2013/05/16/reestablishing-a-mysql-tradition/">MySQL</a>.</p>
<p><a href="http://marcalff.blogspot.com/2013/05/spreading-word-about-performance-schema.html">Mare Alff</a> is spreading the word about the performance schema.</p>
<p><a href="http://rethinkdb.com/blog/1.5-release">Slava Akhmechet</a> talks about secondary indexes, batched inserts performance improvements, soft durability mode.</p>
<p>It is a central part of the <a href="http://optimize-this.blogspot.com/2013/05/the-outer-join-to-inner-join-coversion.html">MySQL</a> philosophy to try and help you as much as you can. There are many occasions when it could tell you that what you are asking for is utterly stupid or give you a bad execution plan because &#8220;you asked for it&#8221;.</p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/CWnAX6VKGfw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/log-buffer-320-a-carnival-of-the-vanities-for-dbas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/log-buffer-320-a-carnival-of-the-vanities-for-dbas/</feedburner:origLink></item>
		<item>
		<title>How to collect cluster Information using TSQL</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/dbRddQeq1ps/</link>
		<comments>http://www.pythian.com/blog/how-to-collect-cluster-information-using-tsql/#comments</comments>
		<pubDate>Fri, 17 May 2013 12:20:00 +0000</pubDate>
		<dc:creator>Hemantgiri S. Goswami</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[TSQL Script]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55079</guid>
		<description><![CDATA[Sometime back I was involved in a project which was to collect information for the servers we are supporting – creating inventory of servers. Logging into each server and collecting information is bit tedious when you have hundreds of server in your environment.  I have spent sometime and created a script that does this work...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><div dir="ltr">
<a href="http://www.pythian.com/blog/how-to-collect-cluster-information-using-tsql/clusterdetails/" rel="attachment wp-att-55085"><img class="alignnone size-medium wp-image-55085" alt="How to collect cluster information using TSQL" src="http://www.pythian.com/blog/wp-content/uploads/ClusterDetails-300x225.jpg" width="300" height="225" /></a>
<p>Sometime back I was involved in a project which was to collect information for the servers we are supporting – creating inventory of servers. Logging into each server and collecting information is bit tedious when you have hundreds of server in your environment.  I have spent sometime and created a script that does this work for me, however, I still need to connect to the server – but using SSMS/Query Window and execute the script. And then the script will provide me the details I needed.</p>
<p>This inventory should have details like below for cluster and stand alone instances:</p>
<p>Server Name</p>
<p>OS Name</p>
<p>OS Edition</p>
<p>OS Patch Level</p>
<p>SQL Server IP</p>
<p>Is Clustered</p>
<p>Node1_Name</p>
<p>Node1_IP</p>
<p>Node2_Name</p>
<p>Node2_IP</p>
<p>SQL Server Edition</p>
<p>SQL Server Patch Level</p>
<p>Server Time Zone</p>
<p>SQL Server Version</p>
<p>SQL Server Platform</p>
<p>Processor Core</p>
<p>Physical Memory</p>
<p>Service Account Name</p>
<p>Domain</p>
<p>Looks good ?  Below is the version 1 of this script.<br />
<code></p>
<pre class="brush: sql; title: ; notranslate">

/*
IP address portion using : http://www.sqlservercentral.com/Forums/Topic150196-8-1.aspx
REMOVE sp_configure parameters if you are executing this script on SQL Server 2000

Created By : Hemantgiri S. Goswami | http://www.sql-server-citation.com
Date : 24th March 2013
Version : 1.0

Tested ON:
Windows Server: 2003, 2008, 2008 R2
SQL Server:2000, 2005, 2008, 2008 R2, 2012

*/
sp_configure 'show advanced options',1
RECONFIGURE WITH OVERRIDE
GO
sp_configure 'xp_cmdshell',1
RECONFIGURE WITH OVERRIDE
GO
DECLARE @TimeZone NVARCHAR(100)
 ,@ProductVersion SYSNAME
 ,@PlatForm SYSNAME
 ,@Windows_Version SYSNAME
 ,@Processors SYSNAME
 ,@PhysicalMemory SYSNAME
 ,@ServiceAccount SYSNAME
 ,@IPAddress SYSNAME
 ,@DOMAIN SYSNAME
 ,@MachineType SYSNAME
 ,@SQLServerIP VARCHAR(255)
 ,@CMD VARCHAR(100)
 ,@Node1 VARCHAR(100)
 ,@Node2 VARCHAR(100)
 ,@Node1IP VARCHAR(100)
 ,@Node2IP VARCHAR(100)
 ,@OSEdition VARCHAR(100)
 ,@OSVersion VARCHAR(100)
 ,@OSName VARCHAR(100)
 ,@OSPatchLevel VARCHAR(100)

CREATE TABLE #TempTable
 (
 [Index] VARCHAR(2000),
 [Name] VARCHAR(2000),
 [Internal_Value] VARCHAR(2000),
 [Character_Value] VARCHAR(2000)
 ) ;

INSERT INTO #TempTable
EXEC xp_msver;

-- Replace @Value_Name to N'TimeZoneKeyName' when running on Windows 2008
EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'SYSTEM\CurrentControlSet\Control\TimeZoneInformation',
 @value_name = N'StandardName',
 @value = @TimeZone output

EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'SYSTEM\CurrentControlSet\Services\MSSQLServer',
 @value_name = N'ObjectName',
 @value = @ServiceAccount output

EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'SYSTEM\CurrentControlSet\Control\ProductOptions',
 @value_name = N'ProductType',
 @value = @MachineType output

EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'SYSTEM\CurrentControlSet\Services\Tcpip\Parameters',
 @value_name = N'Domain',
 @value = @DOMAIN output

EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'CLUSTER\NODES\1',
 @value_name = N'NodeName',
 @value = @Node1 output

EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'CLUSTER\NODES\2',
 @value_name = N'NodeName',
 @value = @Node2 output

EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'SOFTWARE\Microsoft\Windows NT\CurrentVersion',
 @value_name = N'ProductName',
 @value = @OSName output

create table #OSEdition (VALUe varchar(255),OSEdition varchar(255), data varchar(100))
insert into #OSEdition
EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'SYSTEM\CurrentControlSet\Control\ProductOptions',
 @value_name = N'ProductSuite'
SET @OSEdition = (SELECT TOP 1 OSedition FROM #OsEdition)

EXEC master.dbo.xp_regread
 @rootkey = N'HKEY_LOCAL_MACHINE',
 @key = N'SOFTWARE\Microsoft\Windows NT\CurrentVersion',
 @value_name = N'CSDVersion',
 @value = @OSPatchLevel output

set @cmd = 'ping ' + @Node1
create table #Node1IP (grabfield varchar(255))
insert into #Node1IP exec master.dbo.xp_cmdshell @cmd
set @cmd = 'ping ' + @Node2
create table #Node2IP (grabfield varchar(255))
insert into #Node2IP exec master.dbo.xp_cmdshell @cmd

set @cmd = 'ping ' + @@servername
create table #SQLServerIP (grabfield varchar(255))
insert into #SQLServerIP exec master.dbo.xp_cmdshell @cmd

SET @SQLServerIP=(
 SELECT substring(grabfield, charindex('[',grabfield)+1, charindex(']',grabfield)-charindex('[',grabfield)-1)
 from #SQLServerIP where left(grabfield,7) = 'Pinging'
 )
SET @Node1IP =(
 SELECT substring(grabfield, charindex('[',grabfield)+1, charindex(']',grabfield)-charindex('[',grabfield)-1)
 from #Node1IP where left(grabfield,7) = 'Pinging'
 )

SET @Node2IP =(
 SELECT substring(grabfield, charindex('[',grabfield)+1, charindex(']',grabfield)-charindex('[',grabfield)-1)
 from #Node2IP where left(grabfield,7) = 'Pinging'
 )

SET @ProductVersion = (SELECT Character_Value from #TempTable where [INDEX]=2)
SET @Platform = (SELECT Character_Value from #TempTable where [INDEX]=4)
SET @Windows_Version= (SELECT Character_Value from #TempTable where [INDEX]=15)
SET @Processors = (SELECT Character_Value from #TempTable where [INDEX]=16)
SET @PhysicalMemory = (SELECT Character_Value from #TempTable where [INDEX]=19)
SELECT
 ServerName = @@SERVERNAME
 ,OSName = @OSName
 ,OSEdition = @OSEdition
 ,OSPatchLevel = @OSPatchLevel
 ,SQLServerIP = @SQLServerIP
 ,IsClustered = SERVERPROPERTY('IsClustered')
 ,Node1_Name = @Node1
 ,Node1_IP = @Node1IP
 ,Node2_Name = @Node2
 ,Node2_IP = @Node2IP
 ,SQLServerEdition = SERVERPROPERTY('Edition')
 ,SQLServerLevel = SERVERPROPERTY('ProductLevel')
 ,ServerTimeZone = @TimeZone
 ,SQLServerVersion = @ProductVersion
 ,SQLServerPlatform = @PlatForm
 ,ProcessorCore = @Processors
 ,PhysicalMemory = @PhysicalMemory
 ,ServiceAccountName = @ServiceAccount
 ,WKS_Server = @MachineType
 ,Domain = @DOMAIN

GO
DROP TABLE #Node1IP
DROP TABLE #NODE2IP
DROP TABLE #SQLServerIP
DROP TABLE #TempTable
DROP TABLE #OSEdition
GO
sp_configure 'xp_cmdshell',0
RECONFIGURE WITH OVERRIDE
GO
sp_configure 'show advanced options',0
RECONFIGURE WITH OVERRIDE
GO

</pre>
<p></code><br />
Please do post back your feed back for this script, I will try my best to update and post back new version for this script.</p>
<p>- Hemantgiri S. Goswami (Cross posting from http://www.sql-server-citation.com/)</p>
</div>
<p>photo credit: <a href="http://www.flickr.com/photos/skimaniac/100490646/">Skimaniac</a> via <a href="http://photopin.com">photopin</a> <a href="http://creativecommons.org/licenses/by-nc/2.0/">cc</a></p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/dbRddQeq1ps" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/how-to-collect-cluster-information-using-tsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/how-to-collect-cluster-information-using-tsql/</feedburner:origLink></item>
		<item>
		<title>The Importance of an Action Plan</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/VzKQ_MeSa3E/</link>
		<comments>http://www.pythian.com/blog/the-importance-of-an-action-plan/#comments</comments>
		<pubDate>Mon, 13 May 2013 12:28:15 +0000</pubDate>
		<dc:creator>Rene Antunez</dc:creator>
				<category><![CDATA[Pythian]]></category>
		<category><![CDATA[DBA Lounge]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55047</guid>
		<description><![CDATA[When I started my work in IT, I used to be in a very small shop, and even though we had people in several places in the same state, everything used to be very centralized and from 9 to 5, and because we were basically only 2 people , our action plan used to be...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>When I started my work in IT, I used to be in a very small shop, and even though we had people in several places in the same state, everything used to be very centralized and from 9 to 5, and because we were basically only 2 people , our action plan used to be a talk over the lunch table and that would be it, we would go ahead and execute it after 5 PM, and I won&#8217;t lie sometimes before 5 :) .</p>
<p>Over the years I have understood that even if you are a 2 guy shop or a team of 15 separated by oceans and being miles apart, communication is the most important thing to have on your team, and one of the means of communication is having an action plan in place for any major/medium change you do in your organization. First this will generate discussions amongst your teammates and it will reduce the possibility of errors when you are faced with time and pressure constraints when implementing it.</p>
<p>This might sometimes feel like a mundane and boring task, as it will take an effort to come up with it and it will take time to verify it, but when game day comes along you will see the great benefit of having an action plan.</p>
<p>Another great benefit of having an action plan is that you also have a road map if you need to rollback your change, and that is also critical, because normally any major change or rollback is not done only by one person, take for example a change that takes about 7 or 8 hours to be done, and at the end when the UAT (User Application Testing) is done, 1 or 2 more hours ,the application team decides that a rollback is needed, you are probably not in a good state of mind to do the rollback after 8 hours of continuous work, if you have an action plan, one of your teammates can step in and you can have a rest, even if it is to go to the kitchen and have a sandwich and a coke and forget 10 minutes about that pressure.</p>
<p>As with life and with us being human, having an action plan doesn&#8217;t mean that everything will go smoothly or you won&#8217;t have an error in there, but believe me, it will reduce in a big way the possibility of an error if you execute it by memory or by doing one yourself without revision.</p>
<p>I do hope that you already have an action plan as part of your major/medium changes, but if you don&#8217;t, it is time to get <a title="FIT-ACER" href="http://www.pythian.com/resources/dba-resources/fit-acer-dba-checklist/" target="_blank">FIT-ACER</a>, here is an example of one (Kudos to Cesar Sanchez as it is his Action Plan Template), use it and modify it to your needs, it is a good start.</p>
<p><a href="http://www.pythian.com/blog/wp-content/uploads/ACTION_PLAN_TEMPLATE.html">Action Plan Template</a></p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/VzKQ_MeSa3E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/the-importance-of-an-action-plan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/the-importance-of-an-action-plan/</feedburner:origLink></item>
		<item>
		<title>Log Buffer #319, A Carnival of the Vanities for DBAs</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/lhZ5i3QApjs/</link>
		<comments>http://www.pythian.com/blog/log-buffer-319-a-carnival-of-the-vanities-for-dbas/#comments</comments>
		<pubDate>Fri, 10 May 2013 12:52:27 +0000</pubDate>
		<dc:creator>Fahd Mirza</dc:creator>
				<category><![CDATA[Log Buffer]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55035</guid>
		<description><![CDATA[This week again, the Log Buffer Edition covers the exciting and ever-evolving galaxies of Oracle, MySQL and SQL Server. Oracle: When does an Oracle process know it’s on Exadata? MobaXterm 6.3 has been released. You can find the download and changelog in the usual place. A new major release (version 3.0) of Randolf&#8217;s XPLAN_ASH tool...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>This week again, the Log Buffer Edition covers the exciting and ever-evolving galaxies of Oracle, MySQL and SQL Server.</p>
<p><span id="more-55035"></span><strong>Oracle:</strong></p>
<p>When does an Oracle process know it’s on <a href="http://fritshoogland.wordpress.com/2013/05/04/when-does-an-oracle-process-know-its-on-exadata/">Exadata</a>?</p>
<p><a href="http://www.oracle-base.com/blog/2013/05/09/mobaxterm-6-3/">MobaXterm</a> 6.3 has been released. You can find the download and changelog in the usual place.</p>
<p>A <a href="http://oracle-randolf.blogspot.com/2013/05/new-version-of-xplanash-tool-video.html">new</a> major release (version 3.0) of Randolf&#8217;s XPLAN_ASH tool is available for download.</p>
<p>Important !! <a href="http://richardfoote.wordpress.com/2013/05/08/important-clustering-factor-calculation-improvement-fix-you/">Clustering</a> Factor Calculation Improvement</p>
<p><a href="http://hoopercharles.wordpress.com/2013/05/01/grouping-data-sets-by-week-number-in-the-month/">Grouping</a> Data Sets by Week Number of the Month</p>
<p><strong>SQL Server:</strong></p>
<p><a href="http://sqlserverpedia.com/blog/">Jason Crider</a> asks to put some Windows update in his basket.</p>
<p>Data cleansing can be done via SSIS as well as Data Quality Services (DQS) and Master Data Services (MDS).  The lines are a bit blurred when talking about data cleansing using SSIS, DQS and <a href="http://www.jamesserra.com/archive/2012/06/microsoft-data-quality-services-in-sql-server-2012/">MDS</a>.</p>
<p>How To: Migrate Encrypted Procedures To Windows Azure SQL Database (<a href="http://thomaslarock.com/">WASD</a>).</p>
<p>It’s a best <a href="http://littlekendra.com/">practice</a> to keep your index keys as narrow as possible, and SQL Server enforces a maximum key length of 900 bytes on most “normal” clustered and non-clustered indexes.</p>
<p>Webcast Presentation <a href="http://www.jasonstrate.com/">Materials</a>: Introduction to SQL Server Security</p>
<p><strong>MySQL:</strong></p>
<p>This is the start of the heavy travel season for the MySQL Community Team. So if you are attending<a href="http://opensourcedba.wordpress.com/2013/05/09/mysql-community-team-at-phptek-drupalcon-texas-linux-fest-self-redhat-summit-and-lonestar-php/"> PHPTek</a>, Drupalcon, Texas LinuxFest, SELF, Redhat Summit, or Lonestar PHP please make sure to say ‘hi’ while you are in Chicago, Portland, Austin, Charlotte, Boston, or Addison.</p>
<p>Your databases in a glance with <a href="http://www.mysqlplus.net/2013/05/09/databases-glance-glimpsee/">Glimpsee</a></p>
<p><a href="http://continuent-tungsten.blogspot.com/2013/05/tungsten-university-introduction-to.html">Continuent</a> Tungsten 2.0 is a major step forward that includes key feature improvements to help you manage very large datasets on MySQL.</p>
<p>How to create a new (or repair a broken) GTID based slave with Percona <a href="http://www.mysqlperformanceblog.com/2013/05/09/how-to-create-a-new-or-repair-a-broken-gtid-based-slave-with-percona-xtrabackup/">XtraBackup</a></p>
<p>Disk I/O is frequently the performance bottleneck with relational databases. With AWS recently releasing 4,000 PIOPs EBS volumes, <a href="http://palominodb.com/blog/2013/05/08/benchmarking-postgres-aws-4000-piops-ebs-instances">Laine Campbell</a> wanted to do some benchmarking with pgbench and PostgreSQL 9.2.</p>
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/lhZ5i3QApjs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/log-buffer-319-a-carnival-of-the-vanities-for-dbas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/log-buffer-319-a-carnival-of-the-vanities-for-dbas/</feedburner:origLink></item>
		<item>
		<title>Online retailers have 3 seconds to make mom happy.</title>
		<link>http://feedproxy.google.com/~r/PythianGroupBlog/~3/VlaBJJ8iF4I/</link>
		<comments>http://www.pythian.com/blog/online-retailers-have-3-seconds-to-make-mom-happy/#comments</comments>
		<pubDate>Wed, 08 May 2013 19:56:21 +0000</pubDate>
		<dc:creator>Samer Forzley</dc:creator>
				<category><![CDATA[Pythian]]></category>
		<category><![CDATA[Datafication]]></category>

		<guid isPermaLink="false">http://www.pythian.com/blog/?p=55017</guid>
		<description><![CDATA[Mothers day is coming up fast. May 12th 2013 is just around the corner and If you have not already done so, make sure you go out and get mom a special gift as soon as possible. If you need a hand picking something great, take a look at this mothers day gift guide by...]]></description>
				<content:encoded><![CDATA[<div itemscope itemtype="http://schema.org/BlogPosting"><p>Mothers day is coming up fast. May 12th 2013 is just around the corner and If you have not already done so, make sure you go out and get mom a special gift as soon as possible. If you need a hand picking something great, take a look at this mothers day gift guide by the <a href="http://live.huffingtonpost.com/r/segment/the-best-gift-ideas/5189a9d578c90a52530001a0">HuffingtonPost</a></p>
<p>Many this year like they have in previous years shopped online and bought mom that special gift from an online retailer, a simple, easy and fun process. But is it always? Unfortunately for many, the experience did not live up to expectation due to site performance and both customers and merchants end up losing.</p>
<p>Is this a big deal? We put together this infograph on mothers day shopping. Take a look.</p>
<p>&nbsp;</p>
<img class="alignnone" alt="Mother day online shopping infograph" src="http://www.pythian.com/wp-content/uploads/2013/04/MothersDayPerformance_Infographic_Pythian1.png" width="656" height="2080" />
</div><img src="http://feeds.feedburner.com/~r/PythianGroupBlog/~4/VlaBJJ8iF4I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/blog/online-retailers-have-3-seconds-to-make-mom-happy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pythian.com/blog/online-retailers-have-3-seconds-to-make-mom-happy/</feedburner:origLink></item>
	</channel>
</rss>
