<?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>HiperLogic</title>
	<atom:link href="http://www.hiperlogic.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.hiperlogic.com/blog</link>
	<description>Virtualization, High Performance Computing, Enterprise Computing</description>
	<lastBuildDate>Sat, 12 May 2012 04:31:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AzureBlobUtility &#8211; Command Line Azure Blob Manipulation</title>
		<link>http://www.hiperlogic.com/blog/?p=899</link>
		<comments>http://www.hiperlogic.com/blog/?p=899#comments</comments>
		<pubDate>Sat, 12 May 2012 04:31:12 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=899</guid>
		<description><![CDATA[HiperLogic has released our latest AzureBlobUtility command line tool! AzureBlobUtility enables a simple command line interface to upload, download, list, and delete files in Azure BLOB storage. For example, to upload to Azure blob storage all the zip files starting with &#8220;foo&#8221;  in c:\Temp\
AzureBlobUtility /B:Upload /BlobContainer:blob /LocalDir:c:\Temp\ &#160;/RegularExpression:foo*.zip
To list these uploaded files:
AzureBlobUtility /B:List /BlobContainer:blob
To [...]]]></description>
			<content:encoded><![CDATA[<p>HiperLogic has released our latest AzureBlobUtility command line tool! AzureBlobUtility enables a simple command line interface to upload, download, list, and delete files in Azure BLOB storage. For example, to upload to Azure blob storage all the zip files starting with &#8220;foo&#8221;  in c:\Temp\</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">AzureBlobUtility /B:Upload /BlobContainer:blob /LocalDir:c:\Temp\ &nbsp;/RegularExpression:foo*.zip</div></div>
<p>To list these uploaded files:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">AzureBlobUtility /B:List /BlobContainer:blob</div></div>
<p>To download all zip  files from AzureBlob storage that start with foo to the local c:\Test\ directory:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">AzureBlobUtility /B:Download /BlobContainer:blob /LocalDir:c:\Test\ &nbsp; /RegularExpression:foo*.zip</div></div>
<p>New major changes in this release:</p>
<h2>Improved Azure Failure Recovery</h2>
<p>If an error occurs when uploading, downloading, or deleting because of a network issue or for some unknown reason, the action will be attempted again in four seconds.  If there are ten failures then the action has failed and the user is notified.  Some known errors, such as if the file does not exist will cause immediate failure as waiting longer will not solve the problem.</p>
<h2>New Command Line Arguments for Recursion, Statistics, and Regular Expressions</h2>
<p>There are additional command line arguments and a few have evolved in the latest release.<br />
•	<strong>/FileName (or /F)</strong>:  Can now be used to locate specific files when uploading, downloading, or deleting.<br />
•	<strong>/Recurse (or /R)</strong>: When uploading, deleting, listing, or downloading, give this option to iterate all subdirectories.<br />
•	<strong>/RegularExpression</strong>:   Uses the specified regular expression to filter the set of blobs in a container.<br />
•	<strong>/Statistics (or /S)</strong>:  When downloading a large file (currently defined as greater than 32KB), use Statistics to have an ASCII generated progress bar display the current percentage of file that has been downloaded.  This option can only be used in a console, it must not be used in batch.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=899" rel="bookmark">AzureBlobUtility &#8211; Command Line Azure Blob Manipulation</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on May 11, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=899</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Report the location on disk of Virtual Machines with PowerCLI</title>
		<link>http://www.hiperlogic.com/blog/?p=895</link>
		<comments>http://www.hiperlogic.com/blog/?p=895#comments</comments>
		<pubDate>Fri, 30 Mar 2012 00:35:45 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=895</guid>
		<description><![CDATA[Sometimes you want a quick report of all the VMs, where their disks are, and what those names are in disk. 
This is a quick PowerCLI script that reports VM Name, datastore, name on disk
Connect-VIServer -Server youvcserverhere

$myVMs = get-vm

foreach($vm in $myVMs){
&#160; &#160; $myDisks = @($vm &#124; get-harddisk)
&#160; &#160; foreach ($disk in $myDisks) {
&#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you want a quick report of all the VMs, where their disks are, and what those names are in disk. </p>
<p>This is a quick PowerCLI script that reports VM Name, datastore, name on disk</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Connect-VIServer -Server youvcserverhere<br />
<br />
$myVMs = get-vm<br />
<br />
foreach($vm in $myVMs){<br />
&nbsp; &nbsp; $myDisks = @($vm | get-harddisk)<br />
&nbsp; &nbsp; foreach ($disk in $myDisks) {<br />
&nbsp; &nbsp; &nbsp; &nbsp;write-host $vm.Name, ( $disk|select -ExpandProperty Filename)<br />
&nbsp; &nbsp; }<br />
}</div></div>
<p>You can download PowerCLI at <a href="http://www.vmware.com/go/powercli">http://www.vmware.com/go/powercli</a></p>
<p><a href="http://www.hiperlogic.com/blog/?p=895" rel="bookmark">Report the location on disk of Virtual Machines with PowerCLI</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 29, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=895</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AzureBlobUtility &#8211; Get/Put/Delete/List Files in BLOB Storage</title>
		<link>http://www.hiperlogic.com/blog/?p=893</link>
		<comments>http://www.hiperlogic.com/blog/?p=893#comments</comments>
		<pubDate>Wed, 14 Mar 2012 00:34:54 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[AzureBlobUtility]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=893</guid>
		<description><![CDATA[A command line utility that allows you to download, upload, list, and delete files in Azure blob storage.]]></description>
			<content:encoded><![CDATA[<p>We recently posted our AzureBlobUtility on BitBucket as open source that is utilized by our <a href="http://www.totalcae.com">TotalCAE</a> tools. </p>
<p>This Azure utility allows you to easily integrate legacy applications into Azure by enabling you to PUT, GET, DELETE, and LIST files in Azure storage. It builds on the original AzureBlobCopy.</p>
<p>You can get the code at</p>
<pre class="brush: plain; title: ;">
$ hg clone https://bitbucket.org/hiperlogic/azureblobutil
</pre>
<p>Enjoy!</p>
<p>-Rod</p>
<p><a href="http://www.hiperlogic.com/blog/?p=893" rel="bookmark">AzureBlobUtility &#8211; Get/Put/Delete/List Files in BLOB Storage</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 13, 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=893</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere 5 is Out!</title>
		<link>http://www.hiperlogic.com/blog/?p=889</link>
		<comments>http://www.hiperlogic.com/blog/?p=889#comments</comments>
		<pubDate>Thu, 25 Aug 2011 17:18:27 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere 5]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=889</guid>
		<description><![CDATA[vSphere 5 is out! Rodney Mach has a presentation on What&#8217;s New available Here [pdf]
]]></description>
			<content:encoded><![CDATA[<p>vSphere 5 is out! Rodney Mach has a presentation on What&#8217;s New available <a href="http://www.rodmach.com/p/NewInvSphere5.pdf">Here [pdf]</a></p>
<p><a href="http://www.hiperlogic.com/blog/?p=889" rel="bookmark">vSphere 5 is Out!</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on August 25, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=889</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Veeam Backup and Replication &#8211; Now with Hyper-V</title>
		<link>http://www.hiperlogic.com/blog/?p=886</link>
		<comments>http://www.hiperlogic.com/blog/?p=886#comments</comments>
		<pubDate>Mon, 16 May 2011 17:33:37 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Hyper-V R2]]></category>
		<category><![CDATA[VMware Backups]]></category>
		<category><![CDATA[Veeam]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=886</guid>
		<description><![CDATA[Veeam announced today that their #1 VMware Backup for VMware is coming to Hyper-V in Veeam Backup and Replication version 6.
While not all the Veeam Backup functionality present in the VMware version will be present for Hyper-V, Veeam is bringing these important backup technologies to the Hyper-V platform:
 &#8211; Both Backup and Replication in One [...]]]></description>
			<content:encoded><![CDATA[<p>Veeam announced today that their #1 VMware Backup for VMware is coming to Hyper-V in Veeam Backup and Replication version 6.</p>
<p>While not all the Veeam Backup functionality present in the VMware version will be present for Hyper-V, Veeam is bringing these important backup technologies to the Hyper-V platform:</p>
<p> &#8211; Both Backup and Replication in One Product.<br />
-  File Level Recovery (FLR). The ability to pull individual files from an image based backup to avoid the need for agents.<br />
 &#8211; A Hyper-V implementation of Change Block Tracking (CBT) to allow Veeam to only backup only the blocks that have changed in the VM. Veeam had CBT even before VMware had an official API for it, so I assume they are leveraging that investment to bring that to HYPER-V.<br />
- Compression and De-Duplication.<br />
- Support for the Free Hyper-V (System Center Virtual Machine Manager (SCVMM) is not required.)</p>
<p>Veeam Backup &#038; Replication v6 is slated to be released in Q4 2011. Note that the v6 release will have a lot of new features for VMware customers as well, Veeam is supporting multiple hypervisors like many virtualization ISV&#8217;s, and I anticipate they will continue to innovate on both hypervisor platforms.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=886" rel="bookmark">Veeam Backup and Replication &#8211; Now with Hyper-V</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on May 16, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=886</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unidesk &#8211; Simple Maintenance With Scheduled Update Deployment</title>
		<link>http://www.hiperlogic.com/blog/?p=869</link>
		<comments>http://www.hiperlogic.com/blog/?p=869#comments</comments>
		<pubDate>Sun, 03 Apr 2011 17:51:53 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Desktop Virtualization]]></category>
		<category><![CDATA[Unidesk]]></category>
		<category><![CDATA[VDI]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=869</guid>
		<description><![CDATA[With Unidesk, you don&#8217;t rely on Windows Update, individual component patch updaters, or have to mess with Linked Clone operations like Reset, Refresh, Recompose, Rebalance. In a Unidesk world, you just perform the update or patch in the appropriate layer, and schedule a reboot of the desktop during the normal maintenance window.  

On reboot [...]]]></description>
			<content:encoded><![CDATA[<p>With Unidesk, you don&#8217;t rely on Windows Update, individual component patch updaters, or have to mess with Linked Clone operations like Reset, Refresh, Recompose, Rebalance. In a Unidesk world, you just perform the update or patch in the appropriate layer, and schedule a reboot of the desktop during the normal maintenance window.  </p>
<p>
On reboot the Windows 7 desktop is re-composited on the fly with all the new changes, and preserves all user data, user customizations, user installed applications, and so-called &#8220;user pollution&#8221; where files are stored all over the c:\ drive.</p>
<p>I prefer this approach because it is clean and simple for desktop administrators to manage. Simply schedule updates during the weekly desktop maintenance window or off hours through the Unidesk scheduler.</p>
<div id="attachment_871" class="wp-caption aligncenter" style="width: 522px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/04/UnideskDeploymentDeadline.jpg"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/04/UnideskDeploymentDeadline.jpg" alt="Unidesk Deployment Deadline" title="Unidesk Deployment Deadline" width="512" height="247" class="size-full wp-image-871" /></a><p class="wp-caption-text">Unidesk Deployment Deadline</p></div>
<p>Make sure that your Unidesk management appliance and cache points all have a consistent and correct system time for the system scheduler to work properly, if you did not do this at installation time.</p>
<p>To do this login to the cache points at<strong><em> https://&lt;cachepoint ip&gt;:8003/ </em></strong>with admin and Unidesk1 ( assuming the default login/password) and at your management appliance at <em><strong>https://&lt;management ip&gt;:8004/ </strong></em>with admin and Unidesk1 (assuming the defaults). Go to <em><strong>Configuration->System Time on </strong></em>the left hand side, then validate that the timezone and current system time are correct.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=869" rel="bookmark">Unidesk &#8211; Simple Maintenance With Scheduled Update Deployment</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on April 3, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=869</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Non-Persistent Desktops with Unidesk and Pano</title>
		<link>http://www.hiperlogic.com/blog/?p=843</link>
		<comments>http://www.hiperlogic.com/blog/?p=843#comments</comments>
		<pubDate>Sun, 03 Apr 2011 17:25:28 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Desktop Virtualization]]></category>
		<category><![CDATA[Pano]]></category>
		<category><![CDATA[Unidesk]]></category>
		<category><![CDATA[VDI]]></category>
		<category><![CDATA[Non-Persistent]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=843</guid>
		<description><![CDATA[A popular use case for VDI is for student labs, call centers, or kiosk type computers where the user does not need to have any of their desktop modifications saved, termed &#8220;non-persistent&#8221;.

Unidesk offers a perfect solution where the computer is put in its &#8220;pristine&#8221; state simply by tossing the users personalization layer that Unidesk would [...]]]></description>
			<content:encoded><![CDATA[<div>A popular use case for VDI is for student labs, call centers, or kiosk type computers where the user does not need to have any of their desktop modifications saved, termed &#8220;non-persistent&#8221;.</div>
</p>
<div>Unidesk offers a perfect solution where the computer is put in its &#8220;pristine&#8221; state simply by tossing the users personalization layer that Unidesk would otherwise version and store. Below are the steps to use non-persistent desktops with Unidesk 1.2 and Pano Logic Broker and Zero-Client.</div>
<h1>Step 1. Tweak the gold image</h1>
<div>Before importing your gold image to be used for non-persistent, tweak the following registry key<br />
<em><strong>HKLM\System\CurrentControlSet\services\Netlogon\Parameters</strong></em><br />
and change the value of <strong><em>DisablePasswordChange </em></strong>to <strong>1</strong></div>
<p>See the Unidesk KB article on this topic for more information.</p>
<div>Import the gold image as you would normally in Unidesk.</div>
<h1>Step 2. Create a non-persistent desktop in Unidesk</h1>
<div>In Unidesk just check &#8220;non-persistent&#8221; while creating the desktop:</div>
<div>
<div>
<div>
<div>
<div id="attachment_846" class="wp-caption aligncenter" style="width: 520px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/04/unidesk-nonpersistent.jpg"><img title="unidesk nonpersistent" class="size-full wp-image-846" src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/04/unidesk-nonpersistent.jpg" alt="unidesk nonpersistent" width="510" height="248" /></a><p class="wp-caption-text">unidesk nonpersistent</p></div>
</div>
</div>
</div>
</div>
<h1>Step 3. Create a Pano Pool and Assign the Desktops to It</h1>
<div>Unidesk 1.2 relies on the broker to power on the non-persistent desktop after the user logs off and the desktop is powered off. After creating a set of non-persistent desktops in Unidesk, just assign those desktops to a Pano pool.</div>
<div>
<div>
<div>
<div>
<div id="attachment_847" class="wp-caption aligncenter" style="width: 520px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/04/Pano-NonPersistent.jpg"><img title="Pano Non-Persistent" class="size-full wp-image-847" src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/04/Pano-NonPersistent.jpg" alt="Pano Non-Persistent" width="510" height="472" /></a><p class="wp-caption-text">Pano Non-Persistent</p></div>
</div>
</div>
</div>
</div>
<div>Pano will power back on the non-persistent desktop after the user logs off.</div>
<p><a href="http://www.hiperlogic.com/blog/?p=843" rel="bookmark">Creating Non-Persistent Desktops with Unidesk and Pano</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on April 3, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=843</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Quiesce Linux Virtual Machines with Veeam Backup &#8211; MySQL</title>
		<link>http://www.hiperlogic.com/blog/?p=803</link>
		<comments>http://www.hiperlogic.com/blog/?p=803#comments</comments>
		<pubDate>Fri, 25 Mar 2011 03:08:59 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware Backups]]></category>
		<category><![CDATA[Veeam]]></category>
		<category><![CDATA[vDR]]></category>
		<category><![CDATA[Application Consisten]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=803</guid>
		<description><![CDATA[I was asked today how to perform an application consistent backup of MySQL in a Linux Virtual Machine on VMware for a customer evaluating Veeam Backup. 
On Windows, Veeam can do application consistent backups through the Veeam Microsoft Volume Shadow Copy Services (VSS) integration for VSS aware applications. Unfortunately Linux does not have a system [...]]]></description>
			<content:encoded><![CDATA[<p>I was asked today how to perform an application consistent backup of MySQL in a Linux Virtual Machine on VMware for a customer evaluating Veeam Backup. </p>
<p>On Windows, Veeam can do application consistent backups through the Veeam Microsoft Volume Shadow Copy Services (VSS) integration for VSS aware applications. Unfortunately Linux does not have a system like Microsoft Volume Shadow Copy Services (VSS) that allows applications to be made application consistent by backup applications like VMware vDR or Veeam Backup.</p>
<p>A simple workaround is to leverage VMware tools ability to call custom freeze/thaw scripts during a quiesced snapshot to enable customers to do the required application quiescence.</p>
<p>The example below is for MySQL, for other applications you need to know the application specific command to quiesce the application and modify the scripts below appropriately.</p>
<p><strong>Step 1. Make sure VMware Tools are installed in the Linux VM </strong><br />
  VMware Tools MUST be installed and should be up to date in your Linux Virtual Machine.<br />
<strong>Step 2.  Determine how to quiesce the application</strong><br />
To quiesce MySQL we will do a mysqldump to create a transactionally consistent backup of mysql without downtime.</p>
<p>Note the  disadvantage of this method is that it takes more space since it creates a copy of the database.  Alternatively, If you can stop/start mysql during an off hour backup that is a simple way to quiesce ( no transactions can occur if the database is stopped ) as well. You would stop mysql in the pre-freeze, and start mysql in the post-thaw in that case.</p>
<p><strong>Step 3. Create /usr/sbin/pre-freeze-script </strong><br />
Below are the commands to type at the Linux command shell to create the pre-freeze script which will create a transactionally consistent backup of MYSQL and store the resulting statements in <b>/var/mysqlbackup.<i>todaysdate</i>.sql</b></p>
<p>The resulting .sql file produced by mysqldump contains a set of SQL INSERT statements that can be used to reload the dumped tables at a later time</p>
<pre class="brush: bash; title: ;">
cat &lt;&lt;EOF &gt; /usr/sbin/pre-freeze-script
mysqldump --single-transaction --all-databases &gt; /var/mysqlbackup.\`date +&quot;%m%d%y&quot;\`.sql
EOF
</pre>
<p>Check the above command worked properly by examining the created script.</p>
<pre class="brush: bash; title: ;">
cat /usr/sbin/pre-freeze-script
</pre>
<p>The result of the cat command above should look like below</p>
<pre class="brush: bash; title: ;">
mysqldump --single-transaction --all-databases &gt; /var/mysqlbackup.`date +&quot;%m%d%y&quot;`.sql
</pre>
<p>Make the script executable</p>
<pre class="brush: bash; title: ;">
chmod 755 /usr/sbin/pre-freeze-script
</pre>
<p><strong>Step 4. Create the /usr/sbin/post-thaw-script </strong><br />
In this case we don&#8217;t have to call anything in the post-thaw so create an empty script :</p>
<pre class="brush: bash; title: ;">
  touch /usr/sbin/post-thaw-script
  chmod 755 /usr/sbin/post-thaw-script
</pre>
<p><strong>Step 5. Enable VMware Tools Quiescence</strong><br />
Now check &#8220;Use VMware Tools Quiescence&#8221; in Veeam Backup, and Veeam will ask VMware tools to quiesce the VM, and VMware Tools will call /usr/sbin/pre-freeze-script and /usr/sbin/post-thaw-script to create the application consistent snapshot.</p>
<p>After the Veeam backup, login to the VM and validate the backup file with the date of the backup exists:</p>
<pre class="brush: bash; title: ;">
root@vCentos ~# ls -la /var/mysqlbackup.032411.sql
-rw-r--r-- 1 root root 422120 Mar 24 11:59 /var/mysqlbackup.032411.sql
root@vCentos ~#
</pre>
<p>You can customize the above procedure for any Linux application that provides a method to quiesce itself.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=803" rel="bookmark">How to Quiesce Linux Virtual Machines with Veeam Backup &#8211; MySQL</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 24, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=803</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell Script to Bulk Add Domain User to Local Admin</title>
		<link>http://www.hiperlogic.com/blog/?p=788</link>
		<comments>http://www.hiperlogic.com/blog/?p=788#comments</comments>
		<pubDate>Fri, 25 Mar 2011 01:05:53 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=788</guid>
		<description><![CDATA[If you need to add a domain service account to the local Administrators group on a list of computers, this simple PowerShell script will take file with a list of computer names ( one per line) and add the user to the local Administrators group on all of them.
Usage:
The script is below, you must change [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to add a domain service account to the local Administrators group on a list of computers, this simple PowerShell script will take file with a list of computer names ( one per line) and add the user to the local Administrators group on all of them.</p>
<p>Usage:</p>
<div id="attachment_795" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/AddToLocalAdminRemoteComputer.jpg"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/AddToLocalAdminRemoteComputer.jpg" alt="Powershell to Bulk Add a User to Local Admin on Multiple Computers" title="Powershell to Bulk Add a User to Local Admin on Multiple Computers" width="580" height="201" class="size-full wp-image-795" /></a><p class="wp-caption-text">Powershell to Bulk Add a User to Local Admin on Multiple Computers</p></div>
<p>The script is below, you must change the string MYDOMAINHERE to whatever your domain is.</p>
<pre class="brush: powershell; title: ;">

function ListAdministrators($Group)
{
  $members= $Group.psbase.invoke(&quot;Members&quot;) | %{$_.GetType().InvokeMember(&quot;Name&quot;, 'GetProperty', $null, $_, $null)}
  $members
}

function Ping-Server {
   Param([string]$srv)
   $pingresult = Get-WmiObject Win32_PingStatus -Filter  &quot;Address='$srv'&quot;
   if($pingresult.StatusCode -eq 0) {$true} else {$false}
}

if ($args.Length -ne 2) {
 Write-Host &quot;`tUsage: &quot;
 Write-Host &quot;`t`t.\AddToLocalAdmin.ps1 &lt; group or user &gt; &lt;file of machines&gt;&quot;
 Write-Host &quot;`t`tExample: .\AddToLocalAdmin.ps1 FooBarGroup c:\temp\mymachines.txt&quot;
 return
}

#Your domain, change this
$domain = &quot;MYDOMAINHERE&quot;

#Get the user to add
$username = $args[0]

#File to read computer list from
$strComputers = Get-content $args[1]

foreach ($strComputer in $strComputers)
{ 

  if (Ping-Server($strComputer)) { 

      $computer = [ADSI](&quot;WinNT://&quot; + $strComputer + &quot;,computer&quot;)
      $Group = $computer.psbase.children.find(&quot;administrators&quot;)
      # This will list what’s currently in Administrator Group so you can verify the result
      write-host -foregroundcolor green &quot;====== $strComputer BEFORE =====&quot;
      ListAdministrators $Group
      write-host -foregroundcolor green &quot;====== BEFORE =====&quot;

      # Even though we are adding the AD account
      # It is being added to the local computer and so we will need to use WinNT: provider 

      $Group.Add(&quot;WinNT://&quot; + $domain + &quot;/&quot; + $username) 

      write-host -foregroundcolor green &quot;====== $strComputer AFTER =====&quot;
      ListAdministrators $Group
      write-host -foregroundcolor green &quot;====== AFTER =====&quot;

   }
   else
   {
      write-host -foregroundcolor red &quot;$strComputer is not pingable&quot;
   }
}
</pre>
<p><a href="http://www.hiperlogic.com/blog/?p=788" rel="bookmark">Powershell Script to Bulk Add Domain User to Local Admin</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 24, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=788</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How Cloud Computing Transforms IT Operations</title>
		<link>http://www.hiperlogic.com/blog/?p=787</link>
		<comments>http://www.hiperlogic.com/blog/?p=787#comments</comments>
		<pubDate>Sat, 12 Mar 2011 04:37:01 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=787</guid>
		<description><![CDATA[HiperLogic will be presenting on How Cloud Computing Transforms IT Operations at the Online Tech Cloud Computing Seminar on March 22nd: Cloud 2 Cloud
]]></description>
			<content:encoded><![CDATA[<p>HiperLogic will be presenting on How Cloud Computing Transforms IT Operations at the Online Tech Cloud Computing Seminar on March 22nd: <a href="http://resource.onlinetech.com/cloud2cloud.php">Cloud 2 Cloud</a></p>
<p><a href="http://www.hiperlogic.com/blog/?p=787" rel="bookmark">How Cloud Computing Transforms IT Operations</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 11, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=787</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing VMware vCenter Operations</title>
		<link>http://www.hiperlogic.com/blog/?p=731</link>
		<comments>http://www.hiperlogic.com/blog/?p=731#comments</comments>
		<pubDate>Tue, 08 Mar 2011 05:30:11 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware Monitoring]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[vCenter Operations]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=731</guid>
		<description><![CDATA[VMware announced today a new product called vCenter Operations. The one takeaway about this new solution is that it enables the VMware admin to quickly find out what is abnormal in the environment through self-learning technology.
For example, an application owner will come to the VMware team and say &#8220;something is not normal with my application, [...]]]></description>
			<content:encoded><![CDATA[<p>VMware announced today a new product called vCenter Operations. The one takeaway about this new solution is that it enables the VMware admin to quickly find out what is <b><i>abnormal</i></b> in the environment through self-learning technology.</p>
<p>For example, an application owner will come to the VMware team and say &#8220;something is not normal with my application, it is slower than normal, what is going on?&#8221;. </p>
<p>The VMware admin now has to determine what &#8220;normal&#8221; is for the application is, determine if the problem is the application or the infrastructure, and package all of this information up to report back to the application owner. </p>
<p>With vCenter Operations a skilled VMware admin can quickly understand what is <strong>abnormal</strong>  to narrow the scope of the issue, quickly identify what the problem and remediate the issue. </p>
<p>vCenter Operations has a very different UI than you may be accustomed to.  In the screenshot below, vCenter Operations is reporting on three metrics: Workload, Health, and Capacity:</p>
<ol>
<LI>workload score (0-100)  &#8211; The amount of resources the objects wants to use compared to the  resources the object has. </li>
<p><LI>health score  (0-100). How normal is the object behaving based on past historical behavior of the object.</li>
<p><LI>capacity score (0-100). How much capacity do you have on a object, less than 30 days capacity left would be red. </li>
<p></oL></p>
<p>Note I use the word &#8220;object&#8221;, and object can be many things like a virtual machine etc. </p>
<p><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/vCenterOperations.png"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/vCenterOperations-300x198.png" alt="vCenter Operations " title="vCenter Operations" width="300" height="198" class="aligncenter size-medium wp-image-734" /></a></p>
<p>Another detail view:<br />
<div id="attachment_737" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/vCEnterOperations2.png"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/vCEnterOperations2-300x195.png" alt="vCenter Operations Detail" title="vCenter Operations Detail" width="300" height="195" class="size-medium wp-image-737" /></a><p class="wp-caption-text">vCenter Operations Detail</p></div></p>
<p>vCenter Operations is packaged as a virtual appliance and comes in three editions, see below for some the basic differences.  For the standard edition pricing starts at $50 per VM (Less than 500 VMs). With standard edition you don&#8217;t get access to 3rd party integration, customized dashboards, or AD integration.</p>
<p><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/vCenterOperationsEditions.png"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/vCenterOperationsEditions-300x192.png" alt="vCenter Operations Edition Comparison" title="vCenter Operations Edition Comparison" width="300" height="192" class="aligncenter size-medium wp-image-732" /></a></p>
<p>Note vCenter Operations still requires the VMware admin to interpret the abnormal metrics and create a plan of action, it does not offer a prescriptive recommendation (yet). </p>
<p><a href="http://www.hiperlogic.com/blog/?p=731" rel="bookmark">Introducing VMware vCenter Operations</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 8, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=731</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with PowerShell: PowerShell vs Rock-Paper-Scissors</title>
		<link>http://www.hiperlogic.com/blog/?p=771</link>
		<comments>http://www.hiperlogic.com/blog/?p=771#comments</comments>
		<pubDate>Tue, 08 Mar 2011 03:54:01 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Powershell Rock-Paper-Scissors]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=771</guid>
		<description><![CDATA[There is an interesting webpage at the NY Times that allows you to play rock-paper-scissors against a computer that uses 200,000 past rounds against humans in an attempt to defeat you.
A truly random game would be the best offense, since the computer is programmed to reply with a non-random throw based on what a human [...]]]></description>
			<content:encoded><![CDATA[<p>There is an interesting <a href="http://www.nytimes.com/interactive/science/rock-paper-scissors.html">webpage at the NY Times</a> that allows you to play rock-paper-scissors against a computer that uses 200,000 past rounds against humans in an attempt to defeat you.</p>
<p>A truly random game would be the best offense, since the computer is programmed to reply with a non-random throw based on what a human would do. I thought this would be a fun way to show how you can use PowerShell to create a simple script to create a randomized set of throws to play:</p>
<pre class="brush: powershell; title: ;">
$hand = &quot;rock&quot;, &quot;paper&quot;, &quot;scissors&quot;
$rand = New-Object system.random
#Just keep repeating this line to get the next throw
$hand[$rand.next(0,3)]
</pre>
<p>The result after 41 rounds was a PowerShell Win!</p>
<div id="attachment_772" class="wp-caption let" style="width: 410px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/rockspaperscissors.png"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/03/rockspaperscissors.png" alt="Result of PowerShell vs Rock-Paper-Scissors" title="Result of PowerShell vs Rock-Paper-Scissors" width="400" height="250" class="size-full wp-image-772" /></a><p class="wp-caption-text">Result of PowerShell vs Rock-Paper-Scissors</p></div>
<p><a href="http://www.hiperlogic.com/blog/?p=771" rel="bookmark">Fun with PowerShell: PowerShell vs Rock-Paper-Scissors</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 7, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=771</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud Applications Don&#8217;t Need Hypervisor High Availability and Fault Tolerance</title>
		<link>http://www.hiperlogic.com/blog/?p=761</link>
		<comments>http://www.hiperlogic.com/blog/?p=761#comments</comments>
		<pubDate>Tue, 08 Mar 2011 02:50:47 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=761</guid>
		<description><![CDATA[There was a recent discussion online on the merits of using VMware High Availability (HA) and Fault Tolerance (FT) to protect an application that had HA and FT baked in. I believe this discussion will start popping up more and more in the near future, many new &#8220;cloud scale&#8221; applications are coded in such a [...]]]></description>
			<content:encoded><![CDATA[<p>There was a recent discussion online on the merits of using VMware High Availability (HA) and Fault Tolerance (FT) to protect an application that had HA and FT baked in. I believe this discussion will start popping up more and more in the near future, many new &#8220;cloud scale&#8221; applications are coded in such a way to be highly available, scalable, and fault tolerant which alleviates the need for features like Hypervisor level HA and FT. </p>
<p>For example, Google uses a software stack that has allowed them to withstand 1,600 server failures in a 1,800-unit cluster with uninterrupted service. This same distributed model that assumes failure of the underlying resource is how cloud applications are commonly developed today. VMware with their investment in <a href="http://www.springsource.com/">Spring Source</a> has recognized the importance of supporting the next generation of applications that will not be depend on keeping a single OS instance up and running at all costs. The future is going to revolve around applications built and designed to run on unreliable, cheap, expendable resources.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=761" rel="bookmark">Cloud Applications Don&#8217;t Need Hypervisor High Availability and Fault Tolerance</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 7, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=761</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enlighten CentOS or RHEL on Hyper-V R2</title>
		<link>http://www.hiperlogic.com/blog/?p=711</link>
		<comments>http://www.hiperlogic.com/blog/?p=711#comments</comments>
		<pubDate>Sun, 30 Jan 2011 21:00:08 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Hyper-V R2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos on hyper-v]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=711</guid>
		<description><![CDATA[Installing the Hyper-V R2 Linux Integration Components inside a Linux Virtual Machine provides the following features:

Optimized Drivers: The Linux integration components include support for storage and network controllers specifically optimized for Hyper-V R2.
Fastpath Boot Support: Boot devices now take advantage of the storage VSC to provide enhanced performance.
Timesync: The clock inside the virtual machine will [...]]]></description>
			<content:encoded><![CDATA[<p>Installing the Hyper-V R2 Linux Integration Components inside a Linux Virtual Machine provides the following features:</p>
<ol>
<li>Optimized Drivers: The Linux integration components include support for storage and network controllers specifically optimized for Hyper-V R2.
<li>Fastpath Boot Support: Boot devices now take advantage of the storage VSC to provide enhanced performance.
<li>Timesync: The clock inside the virtual machine will remain synchronized with the clock on the host.
<li> Integrated Shutdown: Virtual machines running Linux can be shut down from either Hyper-V Manager or System Center Virtual Machine Manager, using the “Shut Down” command .
<li>Symmetric Multi-Processing (SMP) Support: Up to 4 virtual processors (VP) per virtual machine.
<li>Heartbeat: Allows the host to detect whether the guest is running and responsive.
<li>Pluggable Time Source: A pluggable clock source module is included to provide a more accurate time source to the guest. ( Not supported on 64-bit RHEL ( and by extension CentOS) see the workaround below.
</ol>
<h2>Step 1. Download the Linux Integration Components for Hyper-V R2</h2>
<p>First download the integration components download them from <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551">Microsoft</a>. You will have to do this form a Windows Machine as it is .EXE file that must be clicked on to extra the ISO image.</p>
<h2>Step 2. Mount the ISO image in the Virtual Machine</h2>
<p>Mount the ISO image to your existing CentOS/RHEL Virtual Machine executable like below:<br />
<a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/01/AddLinuxIC.png"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/01/AddLinuxIC-300x278.png" alt="" title="AddLinuxIC" width="300" height="278" class="aligncenter size-medium wp-image-713" /></a></p>
<h2>Step 3. Prepare your Virtual Machine to Build the Integration Components</h2>
<p><b>Snapshot your VM and have a backup so you can roll back if something goes wrong, don&#8217;t do this on a production VM.</b></p>
<p>Next, you will want to make sure you are running the latest kernel before installing the IC components. Note each time you upgrade the kernel, you will have to rebuild.</p>
<pre class="brush: bash; title: ;">
yum update
reboot
</pre>
<p>The development tools are also needed to compile the IC components</p>
<pre class="brush: bash; title: ;">
yum install kernel-devel
yum groupinstall &quot;development tools&quot;
</pre>
<p>Finally, we can build the Linux IC components with these commands:</p>
<h2>Step 4.  Build the IC Components</h2>
<pre class="brush: bash; title: ;">
cp -pR /media/CDROM /tmp/
cd /tmp/CDROM
make
make install
</pre>
<h2>Step 5. Install timekeeping fix and reboot</h2>
<pre class="brush: bash; title: ;">
yum install adjtimex
shutdown -r now
</pre>
<h2> Step 6. Check the kernel modules reloaded on reboot </h2>
<p>Check that the vmbus kernel module loaded on startup with this command:</p>
<pre class="brush: bash; title: ;">
/etc/init.d/vmbus status
</pre>
<h2> Step 7. Turn off eth0, enable seth0 </h2>
<p>You can now use the </p>
<pre class="brush: bash; title: ;">
setup
</pre>
<p>command to configure the networking for seth0, and then configure the the old legacy “eth0” interface to not start on boot (set “ONBOOT=no” in /etc/sysconfig/network-scripts/ifcfg-eth0 using the VI editor).</p>
<p>Finally restart the networking with</p>
<pre class="brush: bash; title: ;">
/etc/init.d/network restart
</pre>
<p><a href="http://www.hiperlogic.com/blog/?p=711" rel="bookmark">Enlighten CentOS or RHEL on Hyper-V R2</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on January 30, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=711</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a HP Blade Disk Wipe Utility</title>
		<link>http://www.hiperlogic.com/blog/?p=658</link>
		<comments>http://www.hiperlogic.com/blog/?p=658#comments</comments>
		<pubDate>Sun, 09 Jan 2011 00:15:53 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[HP]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=658</guid>
		<description><![CDATA[Recently a customer needed to automatically wipe the disks on hundreds of HP blades that were being returned on lease. To facilitate this HiperLogic created a custom boot Linux CD to wipe the disks that had the following features:
1. Re-configured the RAID from STRIPED to MIRRORED to 1/2 the wiping time.
2. Wiped the disks using [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a customer needed to automatically wipe the disks on hundreds of HP blades that were being returned on lease. To facilitate this HiperLogic created a custom boot Linux CD to wipe the disks that had the following features:</p>
<p>1. Re-configured the RAID from STRIPED to MIRRORED to 1/2 the wiping time.<br />
2. Wiped the disks using the linux <a href="http://www.gnu.org/software/coreutils/manual/html_node/shred-invocation.html">shred</a> utility without user intervention.<br />
3. Halted the machine on completion.</p>
<p>This CD is easily mounted  across all blades in the chassis via the USB media. A custom solution was developed as some of the <a href="http://www.dban.org/">popular</a> free wipe utilities were too old to support the latest HP blades.</p>
<p>Here is the guide to creating your own:</p>
<h2> Building the SLAX ISO IMAGE </h2>
<p><a href="http://www.slax.org/">SLAX</a> was chosen because it was simple, had the shred utility installed, and had all the linux drivers needed out of the box. These same principles could be applied to your distro of choice.</p>
<p>Step 1. Download the SLAX iso image, then do the following:</p>
<pre>
  mount -o loop slax-6.1.2.iso /mnt/loop
  cp -a /mnt/loop /tmp/slax
  cd /tmp/slax
</pre>
<p> Step 2. Create the following inside the slax directory :</p>
<pre>
   rootcopy/etc/rc.d/rc.local
   rootcopy/usr/local/sbin/shredit
</pre>
<p>  The contents of this file are like below:<br />
  # cat rootcopy/etc/rc.d/rc.local </p>
<pre>
  #!/bin/sh
   nohup /usr/local/sbin/shredit &#038;
   </pre>
<p>  #cat rootcopy/usr/local/sbin/shredit </p>
<pre>
#!/bin/sh 

#delete the existing RAID 0 array. This command is specific to your layout.
echo "Y"  | /opt/compaq/hpacucli/bld/hpacucli ctrl slot=0 ld 1 delete 

#create a RAID 1 array. This command is specific to your layout
/opt/compaq/hpacucli/bld/hpacucli  ctrl slot=0 create type=ld raid=1 

#This says do a one pass overwrite of the device with random data, then follow up with a zero write pass.
shred -n 1 -z -v /dev/cciss/c0d0
#Now halt after completion
halt
</pre>
<p>Step 3:<br />
Download and install the HP hpacucli RPM. This utility is used to re-create the RAID0 raid to RAID1 to speed up the wipe. SLAX isn&#8217;t RPM based, but you can use rpm2cpio on another box to get a CPIO archive to install.<br />
Step 4. Create the ISO<br />
Now just run the</p>
<pre>
  mkiso_fs.sh
</pre>
<p>command included with SLAX to build your custom ISO image. Assuming you called it shred.iso, follow the instructions below to mount it on the blades.</p>
<h1> Automatically mounting the ISO on the blades </h1>
<p>There are a couple ways to mount the ISO image, if you have the ILO Advanced Pack you can use the following method:</p>
<h2>Use RIBCL in the OA to download and mount the ISO as a virtual CD drive for one time nooy</h2>
<p>1. Put the ISO image somewhere on a webserver on your network.<br />
2. Create this XML in a text file which we will use in the next step via copy/paste, replacing the myloginhere and mypassword here with your admin credentials for the Onboard Administrator (OA). This will mount the shred.iso via http, and configure the blade for a one time boot into this ISO image. </p>
<pre>
 &lt;RIBCL VERSION="2.0"&gt;
  &lt;LOGIN USER_LOGIN="myloginhere" PASSWORD="mypasswordhere"&gt;
  &lt;RIB_INFO MODE="write"&gt;
    &lt;INSERT_VIRTUAL_MEDIA DEVICE="CDROM" IMAGE_URL="http://someipaddresshere/shred.iso"/&gt;
    &lt;SET_VM_STATUS DEVICE="CDROM"&gt;
      &lt;VM_BOOT_OPTION VALUE="BOOT_ONCE"/&gt;
      &lt;VM_WRITE_PROTECT VALUE="YES" /&gt;
    &lt;/SET_VM_STATUS&gt;
  &lt;/RIB_INFO&gt;
  &lt;/LOGIN&gt;
 &lt;/RIBCL&gt; 
</pre>
<p>Now copy the above lines, SSH to the OA in the chassis and then type ONE of the following examples depending if you want to shred ALL blades, one blade, or a range of blades. </p>
<p>Applies to All blades in chassis. | is the termination character</p>
<pre>
  HPONCFG ALL << |
</pre>
<p>Applies to Bay 1 only </p>
<pre>
  HPONCFG 1 << |
</pre>
<p>Applies to Bays 1 through 8 </p>
<pre>
HPONCFG 1-8 << |
</pre>
<p> Applies to Bays 1, 2, 9 and 10 </p>
<pre>
HPONCFG 1,2,9,10 << |</pre>
</pre>
<p>Now PASTE the XML we copied in the previous step after this. </p>
<p>Finally  just type </p>
<pre>
|
</pre>
<p> on a line by itself and hit enter to execute the XML string.</p>
<h2> Boot the ISO off of a USB key in the OA</h2>
<p>The second option works with standard ILO but you need to do the following:</p>
<p>1. Copy the ISO image to a USB key, you should see the file shred.iso on the USB key. The OA will show all files with .ISO to mount.<br />
2. Insert the ISO image into the OA of the chassis<br />
3. Go to the OA web page, go to Enclosure Settings and then DVD drive<br />
4. Mount the image on the blade(s) like in the screenshot below:<br />
<div id="attachment_665" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2011/01/connect.png"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2011/01/connect-300x212.png" alt="" title="connect iso to a blade through the OA" width="300" height="212" class="size-medium wp-image-665" /></a><p class="wp-caption-text">connect iso to a blade through the OA</p></div></p>
<p>After you power on the blade, it will begin the wiping proceses. It took about 3 hours for the wipe to complete, with each blade having dual 72GB 15k SAS drives. Once the wipe is complete, the blades will shut down.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=658" rel="bookmark">Create a HP Blade Disk Wipe Utility</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on January 8, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=658</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tuning Java Performance on vSphere</title>
		<link>http://www.hiperlogic.com/blog/?p=647</link>
		<comments>http://www.hiperlogic.com/blog/?p=647#comments</comments>
		<pubDate>Tue, 07 Dec 2010 05:46:11 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=647</guid>
		<description><![CDATA[I recommend the following reading list for Java on VMware vSphere:
Enterprise Java Applications on VMware &#8211; Best Practices Guide [PDF]
Java in Virtual Machines on VMware [PDF].
Check out this blogger on Java and VMware as well who also wrote a whitepaper on the topic.
]]></description>
			<content:encoded><![CDATA[<p>I recommend the following reading list for Java on VMware vSphere:</p>
<p><a href="http://www.vmware.com/resources/techresources/1087">Enterprise Java Applications on VMware &#8211; Best Practices Guide [PDF]</a></p>
<p><a href="http://www.vmware.com/files/pdf/Java_in_Virtual_Machines_on_ESX-FINAL-Jan-15-2009.pdf">Java in Virtual Machines on VMware [PDF]</a>.</p>
<p>Check out this <a href="http://communities.vmware.com/blogs/haroldr">blogger</a> on Java and VMware as well who also wrote a <a href="http://www.vmware.com/resources/techresources/10158">whitepaper</a> on the topic.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=647" rel="bookmark">Tuning Java Performance on vSphere</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on December 7, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=647</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Intel Extended Page Tables (EPT) with vSphere</title>
		<link>http://www.hiperlogic.com/blog/?p=637</link>
		<comments>http://www.hiperlogic.com/blog/?p=637#comments</comments>
		<pubDate>Tue, 07 Dec 2010 05:38:22 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Hyper-V R2]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Intel EPT]]></category>
		<category><![CDATA[MMU]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=637</guid>
		<description><![CDATA[I was recently asked what was required to enable vSphere to take advantage of Intels hardware memory management unit (MMU) virtualization technology, called Extended Page Tables™ (EPT). If you aren&#8217;t aware EPT  improve performance for MMU heavy workloads.
While the setting varies from vendor to vendor, all you do is enable Intel Virtualization in the [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently asked what was required to enable vSphere to take advantage of Intels hardware memory management unit (MMU) virtualization technology, called Extended Page Tables™ (EPT). If you aren&#8217;t aware EPT <a href="http://blogs.vmware.com/performance/2009/03/performance-evaluation-of-intel-ept-hardware-assist-.html"> improve performance for MMU heavy workloads.</a></p>
<p>While the setting varies from vendor to vendor, all you do is enable Intel Virtualization in the ESX BIOS, and vSphere will do what it thinks is best with regards to hardware vs software MMU with no intervention required.</p>
<p>If you want to dive deeper, See page 21 of <a href="http://www.vmware.com/pdf/Perf_Best_Practices_vSphere4.0.pdf"> The vSphere Performance Best Practices Guide</a>. under Configuring ESX for Hardware-Assisted Virtualization.  </p>
<p>Especially note that  vSphere will use the hardware MMU sometimes, and software MMU sometimes, depending on a mix of factors. See:</p>
<p><a href="http://communities.vmware.com/docs/DOC-9882">http://communities.vmware.com/docs/DOC-9882</a></p>
<p>for the default settings matrix when the VM is set to Automatic  for CPU/MMU Virtualization (the default) .  See the best practices guide mentioned above for how to change from Auto if you want to override the VMware recommendation like in the screenshot below:</p>
<p><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2010/12/MMU.jpg"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2010/12/MMU-300x242.jpg" alt="Change MMU Setting in vSphere" title="Change MMU Setting in vSphere" width="300" height="242" class="aligncenter size-medium wp-image-652" /></a><br />
The only tradeoff for EPT is you give up the memory savings of VMware TPS (Transparent Page Sharing). This VMware KB article sums it up very nicely:</p>
<p>                      <a href="http://kb.vmware.com/kb/1021095">http://kb.vmware.com/kb/1021095</a></p>
<p>In a nutshell,  you give up TPS for EPT because for EPT to be really effective large memory pages are used, but using large memory pages really reduces the odds  ( i.e. makes it impossible) to find two pages of identical memory to be shared. Under heavy memory pressure, vSphere will break down the large pages into smaller pages in order for TPS to kick in before it has to resort to swapping.</p>
<p>Incidentally Large Memory Pages is one reason <a href="http://blogs.technet.com/b/virtualization/archive/2010/04/07/dynamic-memory-coming-to-hyper-v-part-3.aspx. ">Microsoft decided against implementing TPS in Hyper-V. </a>.  Microsoft has enabled large pages by default in 2008/2008 R2/Windows 7. While it may be in the future TPS will have diminished importance, it is a nice feature to get ( for free ) today on vSphere.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=637" rel="bookmark">Using Intel Extended Page Tables (EPT) with vSphere</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on December 7, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=637</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing RHEL6 on Hyper-V R2</title>
		<link>http://www.hiperlogic.com/blog/?p=632</link>
		<comments>http://www.hiperlogic.com/blog/?p=632#comments</comments>
		<pubDate>Tue, 07 Dec 2010 03:08:45 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Hyper-V R2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL6]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=632</guid>
		<description><![CDATA[If you install RHEL6 on Hyper-V R2 you will notice no networking devices are seen. The simple workaround is to use add a legacy network adapter to the VM as shown below:
As of this post the Hyper-V R2  Linux Integration Components v2.1 from Microsoft do not support RHEL6. 
Then you will see eth0. ( [...]]]></description>
			<content:encoded><![CDATA[<p>If you install RHEL6 on Hyper-V R2 you will notice no networking devices are seen. The simple workaround is to use add a legacy network adapter to the VM as shown below:</p>
<p><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2010/12/legacy.jpg"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2010/12/legacy-300x277.jpg" alt="Add Legacy Adapter Hyper-V R2" title="Add Legacy Adapter Hyper-V R2" width="300" height="277" class="aligncenter size-medium wp-image-633" /></a>As of this post the Hyper-V R2  Linux Integration Components v2.1 from <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551">Microsoft</a> do not support RHEL6. </p>
<p>Then you will see eth0. ( Note you will not receive the benefits of OS enlightenment until Microsoft supports RHEL6 under Hyper-V. )</p>
<p><a href="http://www.hiperlogic.com/blog/?p=632" rel="bookmark">Installing RHEL6 on Hyper-V R2</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on December 6, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=632</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Virtualizing USB License Dongles &#8211; To Pass Through or Not To Pass Through</title>
		<link>http://www.hiperlogic.com/blog/?p=617</link>
		<comments>http://www.hiperlogic.com/blog/?p=617#comments</comments>
		<pubDate>Fri, 29 Oct 2010 16:00:34 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=617</guid>
		<description><![CDATA[Many legacy programs still use USB license dongles to lock an application to a specific host. This kind of locking makes it difficult to virtualize the server hosting the locked application. 
With vSphere 4.1, it is now fully supported to pass through USB to the ESX host, enabling you to plug the license dongle into [...]]]></description>
			<content:encoded><![CDATA[<p>Many legacy programs still use USB license dongles to lock an application to a specific host. This kind of locking makes it difficult to virtualize the server hosting the locked application. </p>
<p>With vSphere 4.1, <strong>it is now fully supported to pass through USB to the ESX host</strong>, enabling you to plug the license dongle into your ESX host, and attached that to a virtual machine. The USB pass through even works when you vMotion the VM to another ESX host. The vSphere guide has a list of supported USB license key style dongles that have been validated.</p>
<p>However, there is one large caveat with this solution, and that is that if you need to take the ESX host down that is hosting the USB key, for example to do routine maintenance, or during an unplanned HA event, the VM will no longer be able to access the USB key.</p>
<p>This often means customer prefer to stick with the pre-vSphere 4.1 &#8220;tried and true&#8221; method of using a USB over IP adapter. This method while costing a <a href="http://www.siig.com/ViewProduct.aspx?pn=ID-DS0011-S1">couple hundred bucks</a>  has the advantage the VM still has access to the USB device at all times, assuming the network stays up.</p>
<div id="attachment_618" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.hiperlogic.com/blog/wp-content/uploads/2010/10/USBOVERIP.jpg"><img src="http://www.hiperlogic.com/blog/wp-content/uploads/2010/10/USBOVERIP.jpg" alt="USB over IP" title="USB over IP" width="300" height="171" class="size-full wp-image-618" /></a><p class="wp-caption-text">USB over IP</p></div>
<p><a href="http://www.hiperlogic.com/blog/?p=617" rel="bookmark">Virtualizing USB License Dongles &#8211; To Pass Through or Not To Pass Through</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on October 29, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=617</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swapping Out Your VMware Swap Datastore With No Downtime</title>
		<link>http://www.hiperlogic.com/blog/?p=608</link>
		<comments>http://www.hiperlogic.com/blog/?p=608#comments</comments>
		<pubDate>Tue, 19 Oct 2010 02:16:12 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=608</guid>
		<description><![CDATA[Recently a customer needed to do some maintenance on the filer backing their centralized VMware swap datastore without taking downtime, this post will help other folks who face a similar issue.
As a refresher,  the VMware .vswp file is used by ESX/ESXi to allow for memory overcommit, each running virtual machine (VM) has a .vswp [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a customer needed to do some maintenance on the filer backing their centralized VMware swap datastore without taking downtime, this post will help other folks who face a similar issue.</p>
<p>As a refresher,  the VMware .vswp file is used by ESX/ESXi to allow for memory overcommit, each running virtual machine (VM) has a .vswp file whose size is the virtual machine memory MINUS the memory reservation for the VM. The .vswp file is typically deleted when the VM is powered off, and re-created when the VM is powered on.   The .vswp files can be configured to be in a centralized datastore, or to be stored alongside the associated VM (the default).</p>
<p>With that background, the issue for this customer was that with a <strong>centralized</strong> swap datastore, it wasn&#8217;t clear to them how to take the filer backing the swap datastore down without incurring downtime of a virtual machine to re-create the .vswp in the new location via a power VM power off/power on operation. </p>
<p>Luckily, the vswp file is also re-created when you do a VMotion to another host, or a Storage vMotion to another LUN.  The simple solution was after changing the swap data store location from the current centralized location, to VMotion all VMs off of host A to other hosts, then back. Repeate for each host in the cluster.  A quick PowerCLI script took care of the whole process. </p>
<p>When you are done, all .vswp files for running VMs will have been re-created at the new location. You can validate no VMs are using the old swap datastore, then remove it.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=608" rel="bookmark">Swapping Out Your VMware Swap Datastore With No Downtime</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on October 18, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=608</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

