<?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, Healthcare IT,  Enterprise Computing</description>
	<lastBuildDate>Wed, 20 Mar 2013 21:03:18 +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>vCenter Database is Full</title>
		<link>http://www.hiperlogic.com/blog/?p=927</link>
		<comments>http://www.hiperlogic.com/blog/?p=927#comments</comments>
		<pubDate>Wed, 20 Mar 2013 20:59:13 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=927</guid>
		<description><![CDATA[We had a customer using the free Microsoft SQL Server database with vCenter 5.0 that had surpassed the 4GB limit, at which point vCenter started crashing.
To fix the issue, stop the vCenter service, and connect to the vCenter database with SQL Server express. Make a backup of the database before you start.
Next  issue the [...]]]></description>
			<content:encoded><![CDATA[<p>We had a customer using the free Microsoft SQL Server database with vCenter 5.0 that had surpassed the 4GB limit, at which point vCenter started crashing.</p>
<p>To fix the issue, stop the vCenter service, and connect to the vCenter database with SQL Server express. Make a backup of the database before you start.</p>
<p>Next  issue the following commands:</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">truncate table VPX_HIST_STAT1;<br />
truncate table VPX_SAMPLE_TIME1;<br />
<br />
truncate table VPX_HIST_STAT2;<br />
truncate table VPX_SAMPLE_TIME2;<br />
<br />
truncate table VPX_HIST_STAT3;<br />
truncate table VPX_SAMPLE_TIME3;<br />
<br />
truncate table VPX_HIST_STAT4;<br />
truncate table VPX_SAMPLE_TIME4;</div></div>
<p>Open the vCenter database dbo.VPX_PARAMETER. Adjust the following parameters in the table:</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">event.maxAge &nbsp; 30<br />
event.maxAgeEnabled &nbsp;true<br />
task.maxAge 30<br />
task.maxAgeEnabled true</div></div>
<p>After making these changes go to the programmability folder in Sql Server Management Studio, click stored procedures, execute dbo.cleanup_event_tasks_proc. This might take a while.</p>
<p>After that completes, right click on the databases and go to shrink database to get it under 4GB. You can restart vCenter now.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=927" rel="bookmark">vCenter Database is Full</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 20, 2013.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=927</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing the Oracle Java Plugin on CentOS/RHEL</title>
		<link>http://www.hiperlogic.com/blog/?p=919</link>
		<comments>http://www.hiperlogic.com/blog/?p=919#comments</comments>
		<pubDate>Wed, 13 Mar 2013 01:02:27 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=919</guid>
		<description><![CDATA[With the almost  weekly Java exploits  it is a best security practice to disable Java in your browser.  FireFox on Linux will do this automatically. (See about:plugins to check this)
Some applications like WebEx still rely on Java on Linux.  here are the ways to get the Oracle Java Plugin integration working [...]]]></description>
			<content:encoded><![CDATA[<p>With the almost  <a href="http://java-0day.com/">weekly Java exploits</a>  it is a best security practice to disable Java in your browser.  FireFox on Linux will do this automatically. (See about:plugins to check this)</p>
<p>Some applications like WebEx still rely on Java on Linux.  here are the ways to get the Oracle Java Plugin integration working after downloading the very latest Oracle Java JRE if you need to have it running:<br />
<code><br />
#install latest RPM from Oracle<br />
rpm –i jre-7u17-linux-x64.rpm<br />
#Configure it as the default Java install<br />
alternatives --install /usr/bin/java java /usr/java/latest/bin/java 20000<br />
alternatives --install /usr/bin/javaws javaws /usr/java/latest/bin/javaws 20000<br />
#Configure the Java plugin for 64-bit Firefox<br />
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/jre1.7.0_17/lib/amd64/libnpjp2.so 21000<br />
#Check it is indeed being used<br />
alternatives --display  libjavaplugin.so.x86_64<br />
#Test. Be sure that the version displayed is the version installed<br />
firefox http://www.java.com/en/download/testjava.jsp
</pre>
<p><a href="http://www.hiperlogic.com/blog/?p=919" rel="bookmark">Installing the Oracle Java Plugin on CentOS/RHEL</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 12, 2013.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=919</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual Boot Windows 7 and CentOS</title>
		<link>http://www.hiperlogic.com/blog/?p=917</link>
		<comments>http://www.hiperlogic.com/blog/?p=917#comments</comments>
		<pubDate>Thu, 07 Mar 2013 05:27:08 +0000</pubDate>
		<dc:creator>Aldan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Dual Boot]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=917</guid>
		<description><![CDATA[If you have two hard drives in your system and want to dual boot between Windows and Linux, add the following to /boot/grub/grub.conf on the Linux side assuming Windows is on the second (slave) drive:
title Windows 7
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
That is it! An alternative solution is to just run Linux under VMware [...]]]></description>
			<content:encoded><![CDATA[<p>If you have two hard drives in your system and want to dual boot between Windows and Linux, add the following to /boot/grub/grub.conf on the Linux side assuming Windows is on the second (slave) drive:</p>
<p>title Windows 7<br />
map (hd0) (hd1)<br />
map (hd1) (hd0)<br />
rootnoverify (hd1,0)<br />
chainloader +1</p>
<p>That is it! An alternative solution is to just run Linux under VMware Workstation, or if you are on Windows 8 you can use Hyper-V, if you need to run Linux workloads and Windows at the same time.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=917" rel="bookmark">Dual Boot Windows 7 and CentOS</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on March 7, 2013.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=917</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware vCenter Appliance (VCVA) /dev/sdb3 100% full</title>
		<link>http://www.hiperlogic.com/blog/?p=907</link>
		<comments>http://www.hiperlogic.com/blog/?p=907#comments</comments>
		<pubDate>Thu, 07 Feb 2013 04:07:27 +0000</pubDate>
		<dc:creator>Aldan</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[VCVA]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=907</guid>
		<description><![CDATA[Recently a customer was receiving some unusual errors with their VMware vCenter Appliance (VCVA) including:

&#8220;An unknown connection error occurred. (The request failed because of a connection failure. (Unable to connect to the remote server))&#8221;.
Trying to connect over vSphere Web Client presented us with a different but more detailed error
	
&#8220;The authentication server returned an unexpected error: [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a customer was receiving some unusual errors with their VMware vCenter Appliance (VCVA) including:</p>
<ol>
<li>&#8220;An unknown connection error occurred. (The request failed because of a connection failure. (Unable to connect to the remote server))&#8221;.<br />
Trying to connect over vSphere Web Client presented us with a different but more detailed error
	</li>
<li>&#8220;The authentication server returned an unexpected error: ns0:RequestFailed: STS token validators are not initialized. The error may be caused by a malfunctioning identity source.&#8221;</li>
</ol>
<p>If you see this, Login to the VCVA as root, and issue the command df –h and check if the database partition /dev/sdb3 is 100% full.</p>
<pre>
	vcenter01:~ # df -h
	Filesystem      Size  Used Avail Use% Mounted on
	*cut*
	/dev/sdb3        20G   19G     0 100% /storage/db
</pre>
<p>If you find that this partition is out of space, you can make a new  larger partition and migrate the existing data over. </p>
<p>The basic process is to attach a new virtual disk of greater size, partition it with fdisk, format as ext3, mount it in a temporary location, and transfer the existing data from /dev/sdb3 over to the new disk using tar or other tool. </p>
<p>Make sure that ALL processes are quiesced by doing fuser /storage/db before the data copy, and stopping any processes that are actively accessing /storage/db/</p>
<p>After the migration is complete,  change /etc/fstab so that /storage/db is pointing to your new partition ( like /dev/sdc1) and reboot, and you are back in business.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=907" rel="bookmark">VMware vCenter Appliance (VCVA) /dev/sdb3 100% full</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on February 6, 2013.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=907</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing Auto logoff for Linux hosts for HIPAA compliance</title>
		<link>http://www.hiperlogic.com/blog/?p=906</link>
		<comments>http://www.hiperlogic.com/blog/?p=906#comments</comments>
		<pubDate>Wed, 09 Jan 2013 18:33:37 +0000</pubDate>
		<dc:creator>Rod</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[HIPAA]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.hiperlogic.com/blog/?p=906</guid>
		<description><![CDATA[One of the HIPAA Healthcare requirements states roughly &#8220;Implement electronic procedures that terminate an electronic session after a predetermined time of inactivity&#8221;
In a VMware environment a user who logs in to a command line console session in vCenter stays logged in until the user actively remembers to logs out. Automatic logoff is a simple mechanism [...]]]></description>
			<content:encoded><![CDATA[<p>One of the HIPAA Healthcare requirements states roughly &#8220;Implement electronic procedures that terminate an electronic session after a predetermined time of inactivity&#8221;</p>
<p>In a VMware environment a user who logs in to a command line console session in vCenter stays logged in until the user actively remembers to logs out. Automatic logoff is a simple mechanism to ensure that information displayed on the screen is not accessible to unauthorized users to meet this HIPAA requirement.</p>
<p>A simple mechanism for both virtual and physical Linux machines is to add the following line to /etc/profile</p>
<pre class="brush: bash; title: ;">
       #Log the user off after 10 minutes of inactivity
        export TMOUT=600
</pre>
<p>This only works for command line logins, for X-Windows logins there is a variety of tools that can be used to implement auto-locking.</p>
<p><a href="http://www.hiperlogic.com/blog/?p=906" rel="bookmark">Implementing Auto logoff for Linux hosts for HIPAA compliance</a> originally appeared on <a href="http://www.hiperlogic.com/blog">HiperLogic</a> on January 9, 2013.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiperlogic.com/blog/?feed=rss2&amp;p=906</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
	</channel>
</rss>
