<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Virtual Andy</title>
	<atom:link href="http://virtualandy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://virtualandy.wordpress.com</link>
	<description>Moving the masses to the cloud one day at a time</description>
	<lastBuildDate>Mon, 21 Nov 2011 01:31:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='virtualandy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Virtual Andy</title>
		<link>http://virtualandy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://virtualandy.wordpress.com/osd.xml" title="Virtual Andy" />
	<atom:link rel='hub' href='http://virtualandy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>New Direction</title>
		<link>http://virtualandy.wordpress.com/2011/11/20/new-direction/</link>
		<comments>http://virtualandy.wordpress.com/2011/11/20/new-direction/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 01:31:41 +0000</pubDate>
		<dc:creator>andyhillky</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=317</guid>
		<description><![CDATA[About a month ago I moved to Texas to take on a new exciting opportunity and work on cloud computing &#8230;<p><a href="http://virtualandy.wordpress.com/2011/11/20/new-direction/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=317&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>About a month ago I moved to Texas to take on a new exciting opportunity and work on cloud computing with Rackspace. While I will no longer be working on VMware products as a part of my day to day, the virtualization concepts are largely the same. With such a large personal and professional change, a rebooting of Virtual Andy is necessary.</p>
<p>Virtual Andy&#8217;s new direction can be summarized with a <a href="http://siliconangle.com/blog/2011/06/22/live-blogging-om-malik-interview-with-vmware-ceo-paul-maritz/">paraphrased interview with Paul Maritz</a>:</p>
<blockquote><p>Asked guys how many system admins per server Google used, came back to 1 to 1000&#8230;VMware ratio was 1:20 or 1:50…have to get to point where enterprises, regardless of where they are consuming IT, have to do it at similar level of efficiency to free up operations spend&#8230; If they can’t free up resources they won’t be able to address the legacy code bases</p></blockquote>
<p><strong>So what&#8217;s all of this mean for the site? </strong></p>
<p>It means exploring new technologies and new tools which will enable sysadmins to do more with less. It means helping sysadmins pitch these tools internally to benefit the business. It means arming sysadmins with the tools to move their organizations to the next generation of technology.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=317&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2011/11/20/new-direction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">andyhillky</media:title>
		</media:content>
	</item>
		<item>
		<title>What&#8217;s your VM chargeback model?</title>
		<link>http://virtualandy.wordpress.com/2011/02/23/vm-chargeback/</link>
		<comments>http://virtualandy.wordpress.com/2011/02/23/vm-chargeback/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 22:25:22 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[powercli]]></category>
		<category><![CDATA[chargeback]]></category>
		<category><![CDATA[excel]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=279</guid>
		<description><![CDATA[Over the past few years our organization has been tried to adopt a pricing model for providing virtual machines. We &#8230;<p><a href="http://virtualandy.wordpress.com/2011/02/23/vm-chargeback/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=279&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Over the past few years our organization has been tried to adopt a pricing model for providing virtual machines. We are a small college with several semi-independent units to support. We need to be able to quickly quote, chargeback, and fulfill our incoming requests.</p>
<p>This is a <em>very</em> big update to the post I made in December 2009 entitled <a href="http://virtualandy.wordpress.com/2009/12/09/vmware-expert-system-with-powercli-and-excel/">VMware Expert System with PowerCLI and Excel</a>. Problem 1: Solved. Problem 2: In progress&#8230;</p>
<p>The VMware Expert System has changed significantly. Here&#8217;s a summary of the changes:</p>
<ul>
<li>Added deployment via PowerCLI and the OSCustomizationSpec/OSCustomizationNicMapping in PowerCLI 4.0 Update 1</li>
<li>Completely rewritten its capacity gathering functionality using SQL queries instead of PowerCLI</li>
<li>Added chargeback functionality</li>
<li>Made a pretty invoice system</li>
</ul>
<p>It&#8217;s not quite ready for posting&#8230; but here&#8217;s a sneak preview:</p>
<p>1 &#8211; Entering in the systems basic requirements (similar to the expert system screenshots) Users can only select guest OSes with a corresponding template that has been created and maintained by our team.</p>
<p><a href="http://virtualandy.files.wordpress.com/2011/02/sheet1-requirements.png"><img class="alignnone size-large wp-image-280" title="Sheet1-Requirements" src="http://virtualandy.files.wordpress.com/2011/02/sheet1-requirements.png?w=600&#038;h=360" alt="" width="600" height="360" /></a></p>
<p>2 &#8211; Viewing the quote/invoice. After this step, the document printed as a PDF and sent to the requesting department.</p>
<p><a href="http://virtualandy.files.wordpress.com/2011/02/sheet2-invoice.png"><img class="alignnone size-large wp-image-281" title="Sheet2-Invoice" src="http://virtualandy.files.wordpress.com/2011/02/sheet2-invoice.png?w=600&#038;h=360" alt="" width="600" height="360" /></a></p>
<p>3 &#8211; After departmental approval, the deployment details are opened and more specifics are added</p>
<p><a href="http://virtualandy.files.wordpress.com/2011/02/sheet3-deploymentdetails.png"><img class="alignnone size-large wp-image-282" title="Sheet3-DeploymentDetails" src="http://virtualandy.files.wordpress.com/2011/02/sheet3-deploymentdetails.png?w=600&#038;h=360" alt="" width="600" height="360" /></a></p>
<p>It is important to note that this sheet is pretty flexible. It supports up to 4 vNICs, and 60 disks across any datastore that is available to vCenter. Capacity for each disk is checked before allowing a deployment. The templates we use only have one vNIC and virtual hard disk, so the additional required ones are added after deployment. DEPLOY VIRTUAL MACHINE fires off PowerCLI script with the appropriate parameters to make the deployment happen, validates them, and deploys the VM.</p>
<p>4- Cost data. We had to decide how many vCPUs we would be able to get per CPU.  After that, it became a cost accounting exercise. Another important note: we built this to be the full capacity of the two UCS chassis purchased, even though our initial outlay was 8 B200s spread out over two chassis.   We broke our costs down per GB RAM, GB SAN storage, vCPU, and applied fixed VMware Licensing/support and UCS support costs.</p>
<p><a href="http://virtualandy.files.wordpress.com/2011/02/sheet4-cost.png"><img class="alignnone size-large wp-image-283" title="Sheet4-Cost" src="http://virtualandy.files.wordpress.com/2011/02/sheet4-cost.png?w=600&#038;h=360" alt="" width="600" height="360" /></a></p>
<p>I plan to release the spreadsheet, its underlying VBA source code and the PowerCLI in the coming weeks. I&#8217;m particularly interested in other chargeback models for similarly sized and positioned organizations.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=279&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2011/02/23/vm-chargeback/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2011/02/sheet1-requirements.png?w=1024" medium="image">
			<media:title type="html">Sheet1-Requirements</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2011/02/sheet2-invoice.png?w=1024" medium="image">
			<media:title type="html">Sheet2-Invoice</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2011/02/sheet3-deploymentdetails.png?w=1024" medium="image">
			<media:title type="html">Sheet3-DeploymentDetails</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2011/02/sheet4-cost.png?w=1024" medium="image">
			<media:title type="html">Sheet4-Cost</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows 2000 P2V in vCenter Converter 4: No more BSoD</title>
		<link>http://virtualandy.wordpress.com/2011/02/17/windows-2000-p2v-in-vcenter-converter-4/</link>
		<comments>http://virtualandy.wordpress.com/2011/02/17/windows-2000-p2v-in-vcenter-converter-4/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 20:47:19 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[windows2000]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=275</guid>
		<description><![CDATA[I&#8217;ve run into the issue lately where P2Ving a Windows 2000 machine will result in a blue screen when the &#8230;<p><a href="http://virtualandy.wordpress.com/2011/02/17/windows-2000-p2v-in-vcenter-converter-4/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=275&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve run into the issue lately where P2Ving a Windows 2000 machine will result in a blue screen when the new virtual machine boots. <a href="communities.vmware.com windows 2000 blue screen p2v">A google search shows many others with this problem</a>.  The root cause of the issue is related to <a href="http://support.microsoft.com/kb/891861">Update 1 of Service Pack 4</a>.</p>
<p>Luckily, with <span style="text-decoration:underline;"><strong>vCenter Converter</strong></span>, <em>not</em> VMware Converter Standalone, VMware delivers a nice fix for this issue.</p>
<p>Follow normal steps in vCenter Converter &#8211; import a machine, setup your source, and as the Converter Agent is installed you&#8217;ll be prompted for a location to the <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1006956">VMware SCSI Disk Driver</a> (scsiport.sys, not scsiport.flp) which is accessible by vCenter Server. After that, the P2v works and your Windows 2000 machine will not blue screen.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=275&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2011/02/17/windows-2000-p2v-in-vcenter-converter-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Higher Ed: Virtualizing Banner Unified Digital Campus with VMware</title>
		<link>http://virtualandy.wordpress.com/2010/12/07/higher-ed-virtualizing-banner-unified-digital-campus-with-vmware/</link>
		<comments>http://virtualandy.wordpress.com/2010/12/07/higher-ed-virtualizing-banner-unified-digital-campus-with-vmware/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 04:14:59 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[sungard]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=239</guid>
		<description><![CDATA[Banner Unified Digital Campus (Banner UDC) is the most used administrative suite of applications specific to higher education. A specially &#8230;<p><a href="http://virtualandy.wordpress.com/2010/12/07/higher-ed-virtualizing-banner-unified-digital-campus-with-vmware/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=239&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Banner Unified Digital Campus (Banner UDC) is the most used administrative suite of applications specific to higher education. A <a href="http://www.google.com/search?rlz=1C1CHNU_enUS339US339&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=numeric+or+value+error:+character+string+buffer+too+small#q=inurl:bwckctlg.p_display_courses++inurl:edu&amp;hl=en&amp;safe=off&amp;rlz=1C1CHNU_enUS339US339&amp;prmd=iv&amp;ei=PYL-TO-nBYG78gbBuZHJBw&amp;start=30&amp;sa=N&amp;fp=cc7ad1a43d378bba">specially crafted Google search</a> shows almost 30,000 different universities running Banner UDC!</p>
<p>If you are wondering if Banner UDC can be virtualized the answer is <strong>YES</strong>. <a href="http://alliances.vmware.com/public_html/catalog/supportedProducts.php?searchKey=xtender">VMware&#8217;s website has very little information about virtualizing Banner UDC</a>&#8230; there&#8217; just info about virtualizing Banner Xtender, the integrated document imaging solution. Many sysadmins will have difficulty finding a definitive answer to the &#8220;Are we supported on VMware?&#8221;  question.</p>
<p>Get an account with the <a href="http://www.edu1world.org/CommonsSunGardHE/">Sungard Commons</a> and <a href="https://connect.sungardhe.com/customer_support/">Sungard Connect</a> and see for yourself. You&#8217;ll find Sungard has this to say in FAQ 1-44BOB8:</p>
<blockquote><p>Banner UDC clients can realize significant cost benefits through the use of virtualization technologies.  Virtualization allows for server consolidation, with potential savings in hardware acquisition and maintenance, operating costs, and administrative time. Virtualization can also play an important role in High Availability and Disaster Recovery strategies. Banner UDC applications are supported with two software solutions, Sun Solaris Containers and VMware ESX Server. Also supported are hardware partitions offered by Solaris Logical Domains (LDoms), HP-UX Virtual Partitions (vPars),  and AIX Logical Partitions (LPARs).  Virtualization is a very dynamic field and additional solutions will be supported in accordance with market demand.</p>
<p>The SunGard Higher Education Support Center will not require clients to replicate every Banner UDC issue in a native supported environment. If we have reason to believe that virtualization is part of the problem, we may ask clients to independently verify that the problem exists in a native environment.  We will also work with virtualization vendors to jointly diagnose and resolve issues. The Support Center is not able to accept virtual images from clients to use as debugging aids. Such images may contain software for which SunGard Higher Education is not licensed.</p></blockquote>
<p>The note specifically says the Banner Database server is not recommended on vSphere, citing Metalink 249212.1. Google it for yourself: we have found that the Oracle support is just perpetuating fear, uncertainty, and doubt.  Aside from Google, another good place to research is  Sungard&#8217;s <a href="http://lists.sungardhe.com/cgi-bin/wa?A0=BORACLE">BORACLE mailing list</a> (customers only) &#8211; you&#8217;ll find there are several Banner UDC customers large and small running their full suite (including the database) VMware vSphere with no issues.</p>
<p>The support note also mentions &#8216;Other Third-Party Products&#8217;. Many Banner UDC clients use Cognos for reporting/BI. <a href="http://download.boulder.ibm.com/ibmdl/pub/software/data/cognos/support/en/products/vmware_statement.pdf">IBM offers Cognos support on VMware</a>. There&#8217;s also Luminis, the most popular web portal with Banner UDC, which is also supported as a virtual machine. For more information, see documents titled &#8220;Luminis Platform 5&#8243; and &#8220;Luminis Platform Virtualization&#8221;.</p>
<p>As for our organization, we have been running a couple of parts of the Banner UDC install in virtual machines from the beginning: eVisions Intellecheck and Banner ePrint have given zero problems with regard to virtualization.</p>
<p>Our journey to full suite virtualization started out by performing a large Banner UDC upgrade (Banner 7 to Banner 8) with vSphere. The testing of the upgrade was successful (and so the real upgrade) AND we obtained Oracle DBA buy-in to running Banner UDC on virtual machines.</p>
<p>Since then, the staging environment&#8217;s application and database servers are on virtual machines and no one&#8217;s noticed.  Once the staging environment pilot is done, the next step is to work toward moving our production servers to vSphere.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=239&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2010/12/07/higher-ed-virtualizing-banner-unified-digital-campus-with-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>
	</item>
		<item>
		<title>PowerCLI: nSeries Guest OS Timeout Scripts</title>
		<link>http://virtualandy.wordpress.com/2010/11/30/powercli-nseries-guest-os-timeout-scripts/</link>
		<comments>http://virtualandy.wordpress.com/2010/11/30/powercli-nseries-guest-os-timeout-scripts/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 21:44:12 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[ibm nseries]]></category>
		<category><![CDATA[powercli]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=233</guid>
		<description><![CDATA[First post in months. Hopefully I&#8217;ll have more to post on in the next few weeks. Onto more pressing issues&#8230; &#8230;<p><a href="http://virtualandy.wordpress.com/2010/11/30/powercli-nseries-guest-os-timeout-scripts/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=233&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First post in months. Hopefully I&#8217;ll have more to post on in the next few weeks. Onto more pressing issues&#8230;</p>
<p>&#8220;The N Series VMware ESX Host Utilities&#8221; have a couple of ISOs that have scripts for tweaking the guest OS disk timeouts.</p>
<p>From the IBM Redbook <a href="http://www.redbooks.ibm.com/abstracts/sg247871.html?Open">IBM System Storage N series and VMware vSphere Storage Best Practices</a>:</p>
<p><a href="http://virtualandy.files.wordpress.com/2010/11/gos.png"><img class="alignnone size-full wp-image-234" title="gos" src="http://virtualandy.files.wordpress.com/2010/11/gos.png?w=600&#038;h=425" alt="" width="600" height="425" /></a></p>
<p>This is a job for PowerCLI. Inspired from <a href="http://www.jasemccarty.com/blog/?p=691">Jase&#8217;s script</a>.</p>
<p>Considerations for Linux: Use an account that can do passwordless sudo (or root- you don&#8217;t have to have root SSH enabled for Invoke-VMscript).</p>
<p><pre class="brush: powershell;">
# Requires VMware Tools to be installed on each guest.
$winisoName = &quot;[datastore] path/to/windows_gos_timeout.iso&quot;
$linisoName = &quot;[datastore] path/to/linux_gos_timeout.iso&quot;
# Get Windows Guest Credentials
Write-Host &quot;Enter Windows Credentials&quot;
$wincred = Get-Credential
# Get Linux Guest Credentials
Write-Host &quot;Enter Linux Credentials&quot;
$lincred = Get-Credential
# Get ESX Host Creds
Write-Host &quot;Enter ESX  Credentials&quot;
$esxcred = Get-Credential
# Get ALL VMs
$vms = Get-VM
foreach($vms as $vm){
	$driveName = &quot;CD/DVD Drive 1&quot;
	$vm = $vm | Get-View
	$dev = $vm.Config.Hardware.Device | where {$_.DeviceInfo.Label -eq $driveName}

	$spec = New-Object VMware.Vim.VirtualMachineConfigSpec
	$spec.deviceChange = New-Object VMware.Vim.VirtualDeviceConfigSpec[] (1)
	$spec.deviceChange[0] = New-Object VMware.Vim.VirtualDeviceConfigSpec
	$spec.deviceChange[0].operation = &quot;edit&quot;
	$spec.deviceChange[0].device = $dev
	$spec.deviceChange[0].device.backing = New-Object VMware.Vim.VirtualCdromIsoBackingInfo
	$spec.deviceChange[0].device.backing.fileName = $isoName

	$vm.ReconfigVM_Task($spec)

	$winscript = &quot;regedit /s windows_gos_timeout.reg&quot;
	$linscript = &quot;sudo /media/cdrom/linux_gos_timeout-install.sh&quot;

	if($vm.Guest.OSFullName -match &quot;Microsoft&quot;) {
			Invoke-VMScript -HostCredentials $esxcred -GuestCredentials -ScriptText $winscript
	}
	else if($vm.Guest.OSFullName -match &quot;Linux&quot;) {
			Invoke-VMScript -HostCredentials $esxcred -GuestCredentials -ScriptText $linscript
	}
}</pre></p>
<p>Back to work.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=233&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2010/11/30/powercli-nseries-guest-os-timeout-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2010/11/gos.png" medium="image">
			<media:title type="html">gos</media:title>
		</media:content>
	</item>
		<item>
		<title>Gem in the VMware vCenter Converter 4.2 for vCenter Server Release Notes</title>
		<link>http://virtualandy.wordpress.com/2010/07/24/gem-in-the-vmware-vcenter-converter-4-2-for-vcenter-server-release-notes/</link>
		<comments>http://virtualandy.wordpress.com/2010/07/24/gem-in-the-vmware-vcenter-converter-4-2-for-vcenter-server-release-notes/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 21:30:54 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[p2v]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=222</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve had time to post, but I couldn&#8217;t keep this to myself: From the VMware vCenter &#8230;<p><a href="http://virtualandy.wordpress.com/2010/07/24/gem-in-the-vmware-vcenter-converter-4-2-for-vcenter-server-release-notes/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=222&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve had time to post, but I couldn&#8217;t keep this to myself:</p>
<p>From the VMware vCenter Converter 4.2 for vCenter Server 4.1 <a href="http://www.vmware.com/support/vsphere4/doc/vsp_vcc_42_rel_notes.html">Release Notes</a>:</p>
<blockquote>
<div id="_mcePaste">What&#8217;s New</div>
<div id="_mcePaste">The VMware vCenter Converter 4.2 is a substantial upgrade from vCenter Converter 4.1 and includes the following new functionality (previously found only in vCenter Converter Standalone 4.0.x):</div>
<div id="_mcePaste">Physical to virtual machine conversion support for Linux sources including:</div>
<div id="_mcePaste">Red Hat Enterprise Linux 2.1, 3.0, 4.0, and 5.0</div>
<div id="_mcePaste">SUSE Linux Enterprise Server 8.0, 9.0, 10.0, and 11.0</div>
<div id="_mcePaste">Ubuntu 5.x, 6.x, 7.x, and 8.x</div>
</blockquote>
<p>This sounds too good to be true. I upgraded my lab environment and confirmed:  <strong><em>you can now do scheduled Linux P2V</em></strong>.</p>
<p>The lab setup was ESX 4.1, vCenter 4.1, and vCenter Converter 4.2 for vCenter Server with a RHEL4.7 AS server imported.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/222/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=222&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2010/07/24/gem-in-the-vmware-vcenter-converter-4-2-for-vcenter-server-release-notes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware Expert System with PowerCLI and Excel</title>
		<link>http://virtualandy.wordpress.com/2009/12/09/vmware-expert-system-with-powercli-and-excel/</link>
		<comments>http://virtualandy.wordpress.com/2009/12/09/vmware-expert-system-with-powercli-and-excel/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 22:17:51 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[decision support]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[viops]]></category>
		<category><![CDATA[vitoolkit]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=191</guid>
		<description><![CDATA[This post is a writeup of a project for a master&#8217;s class in Decision Support Systems at Murray State.  This &#8230;<p><a href="http://virtualandy.wordpress.com/2009/12/09/vmware-expert-system-with-powercli-and-excel/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=191&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is a writeup of a project for a <a href="http://csis.murraystate.edu/">master&#8217;s class</a> in Decision Support Systems at Murray State.  This is my first dive into VMware PowerCLI aside from some <a href="http://virtualandy.wordpress.com/tag/vitoolkit/">one shots</a>. All feedback is welcome.</p>
<h2>Our Problems</h2>
<h2><strong>Problem 1: Servers are not being virtualized due to a decentralized procurement process</strong></h2>
<p><strong><span style="font-weight:normal;">A decentralized server procurement process presents many problems to an organization. There are many gains with standardizing OS/hardware platforms.</span></strong></p>
<p><strong><span style="font-weight:normal;"><strong>Problem 2: Servers are not being virtualized because knowledge is required to make “Virtualize/Don’t Virtualze” decision</strong></span></strong></p>
<p>The benefits of server virtualization are easy to explain and are a part of our culture.  However, the organization has not adopted a “virtualize first” mentality.  There is still a lack of stakeholder understanding with regards to virtualization.</p>
<p>Due to <em>lack of knowledge</em>, ROI is not maximized.  This knowledge exists in two places – the virtual infrastructure itself and as tacit knowledge with the VMware administrator.</p>
<h2>PROBLEM ANALYSIS</h2>
<p>Problem 1: Servers are not being virtualized due to a decentralized procurement process<br />
This problem is outside of the scope of the CIS645 class. We&#8217;re working on it.</p>
<p>Problem 2: Servers are not being virtualized because knowledge is required to make “Virtualize/Don’t Virtualze” decision</p>
<p>Problem 2 has two major parts.</p>
<p><strong>CAPACITY – CAN OUR VIRTUAL INFRASTRUCTURE SUPPORT THIS APPLICATION?</strong></p>
<p><strong> </strong>This question has historically been answered heuristically with ball park figures. Manually gathering current storage and RAM capacity data too time consuming.</p>
<p><strong>CANDIDACY – BASED ON SYSTEM REQUIREMENTS AND INDUSTRY KNOWLEDGE, IS VIRTUALIZATION SUITABLE FOR THIS APPLICATION?</strong></p>
<p><strong> </strong>This is the harder question. Typically you’ll hear consultants say “it depends”. Answering this question usually involves a phone call with the VMware administrator. The conversation is series of questions from the administrator to the stakeholder.</p>
<p><strong>RECOMMENDATION</strong></p>
<p><strong> </strong>When the two questions have been answered, a recommendation of Virtualize/Don’t Virtualize is made. If a Virtualize decision is made, the VMware administrator must find the optimal storage unit to deploy to and coordinate the deployment with the stakeholder.</p>
<h2>SOLUTION DESIGN</h2>
<h3>USER INTERFACE</h3>
<p>The users of this system are already familiar with Excel and would prefer to utilize Excel’s familiarity and What-If scenario planning.</p>
<blockquote><p>What if we added another 2TB of storage?<br />
What if we upgraded our RAM?<br />
What if we didn’t have to have the license dongle?</p></blockquote>
<p>Excel quickly enables these questions to be answered. A normal ‘GUI’ application would take more time to develop and would not invite queries of an ad-hoc nature.</p>
<p><strong>CAPACITY</strong></p>
<p>Capacity data resides at several levels: the virtual machine itself, the host, and the data store.  The data is put into Excel using VMware’s PowerCLI. PowerCLI is a Windows PowerShell snap-in that integrates with any VMware Virtual Infrastructure. Windows PowerShell also integrates nicely with Excel.<br />
Here are the steps to capacity gathering with the VMware Expert System:</p>
<ul>
<li> Open the Excel Spreadsheet</li>
<li> Clear previously gathered data</li>
<li> Connect to a vCenter Server</li>
<li> Gather datastore information</li>
<li> Gather host information</li>
<li> Gather virtual machine information</li>
<li> Write values to ‘Capacity’ Worksheet</li>
<li> Write values to ‘New Virtual Machine’ Worksheet</li>
<li> Save Excel Spreadsheet</li>
<li>Clean up and quit Excel</li>
</ul>
<h3>CANDIDACY</h3>
<p>The user of the VMware Expert System will answer a series of questions to determine system candidacy.  Through knowledge capture, the conversation with the VMware Administrator does not need to take place. The knowledge is generally accepted by a community of VMware experts.</p>
<h3>RECOMMENDATION</h3>
<p>After answering the capacity and candidacy questions, the user receives a final recommendation. The recommendation is only “Virtualize” if capacity is available and candidacy is met.</p>
<p>The interface also displays reasons why a machine is not suitable for virtualization to enable What-If analysis.</p>
<h2>DECISION TREE</h2>
<p style="text-align:center;"><a href="http://virtualandy.files.wordpress.com/2009/12/decision_tree.png"><img class="size-full wp-image-197 aligncenter" title="decision_tree" src="http://virtualandy.files.wordpress.com/2009/12/decision_tree.png?w=600&#038;h=739" alt="" width="600" height="739" /></a></p>
<p style="text-align:center;"><em>Modified from </em><a href="http://viops.vmware.com/home/docs/DOC-1353"><em>VI:OPS P2V Decision Tree</em></a></p>
<h2>RUNNING  THE VMWARE EXPERT SYSTEM</h2>
<h3>PREREQUISITES</h3>
<ul>
<li>VMware PowerCLI 4.0 or better
<ul>
<li>Installation guide: <a href="http://www.vmware.com/support/developer/windowstoolkit/wintk40/doc/viwin_install.pdf">http://www.vmware.com/support/developer/windowstoolkit/wintk40/doc/viwin_install.pdf</a></li>
</ul>
</li>
</ul>
<h3>STEPS TO RUN THE VMWARE EXPERT SYSTEM</h3>
<ul>
<li>Download and extract <a href="http://www.bofe.org/demo/vmware-expert-system/vmware_expert_system.zip">vmware-expert-system.zip</a></li>
<li>Rename launch.tab to launch.bat</li>
<li>Edit launch.bat, line 2
<ul>
<li>Substitute your path to updatespreadsheet.ps1 where you see &#8220;C:\users\%username%\Documents\cis645\Project\vmware_expert_system\updatespreadsheet.ps1&#8243;, make sure the path is in quotation marks</li>
</ul>
</li>
<li>Edit updatespreadsheet.ps1, line 11
<ul>
<li>Substitute your path to vmware_expert_system.xlsm where you see &#8220;C:\users\%username%\Documents\cis645\Project\vmware_expert_system\vwmare_expert_system.xlsm&#8221;, make sure the path is in quotation marks</li>
</ul>
</li>
<li>Run click ‘launch.bat’</li>
<li>A screen similar to this will appear:<br />
<a href="http://virtualandy.files.wordpress.com/2009/12/screenshot0741.jpg"><img class="alignnone size-full wp-image-205" title="ScreenShot074" src="http://virtualandy.files.wordpress.com/2009/12/screenshot0741.jpg?w=600&#038;h=304" alt="" width="600" height="304" /></a></li>
<li>Launch the spreadsheet “vmware_expert_system.xlsm” and enable macros</li>
<li>Enter system requirements</li>
<li>Press “Send Work Order”</li>
</ul>
<h2>EXAMPLE SYSTEM: NEW WEB SERVER</h2>
<p><a href="http://virtualandy.files.wordpress.com/2009/12/screenshot072.jpg"><img class="alignnone size-full wp-image-200" title="ScreenShot072" src="http://virtualandy.files.wordpress.com/2009/12/screenshot072.jpg?w=600&#038;h=319" alt="" width="600" height="319" /></a></p>
<ul>
<li>Enter the hostname: <strong>newwebserver </strong>
<ul>
<li><em>The hostname must not be already existing and must be a valid hostname (“The Internet Engineering Task Force (IETF)”)</em></li>
</ul>
</li>
<li>Enter a functional contact: <strong>Andy Hill</strong></li>
<li>Enter a staff contact: <strong>Andy Hill</strong></li>
<li>Select an Operating System: <strong>Windows Server 2003</strong></li>
<li>Enter a storage requirement: <strong>20 GB </strong>
<ul>
<li><em>The minimum storage requirement must be &gt;8 GB and less than the size of a maximum single disk</em></li>
</ul>
</li>
<li>Enter a RAM requirement: <strong>1024 MB </strong>
<ul>
<li><em>The minimum RAM requirement is 256MB and must be less than one host and still tolerant of a host failure</em></li>
</ul>
</li>
<li>Number of Processors: <strong>1 </strong>
<ul>
<li><em>Must be numeric,  greater than or equal to 1, less than or equal to 4</em></li>
</ul>
</li>
<li>Number of NICs: <strong>1 </strong>
<ul>
<li><em>Must be numeric,  greater than or equal to 1, less than or equal to 4</em></li>
</ul>
</li>
<li>Average CPU utilization: <strong>5% </strong>
<ul>
<li><em>Must be numeric, between 0 and 1, if 4 processors are used average utilization cannot exceed 50%</em></li>
</ul>
</li>
<li>Average RAM utilization: <strong>256 MB </strong>
<ul>
<li><em>Must not exceed </em><em>8GB</em></li>
</ul>
</li>
<li>Average NIC utilization: <strong>1 MBps </strong>
<ul>
<li><em>Must not exceed 100MBps</em></li>
</ul>
</li>
<li>Maximum Disk IO: <strong>10 MBps </strong>
<ul>
<li><em>Must not exceed 100MBps</em></li>
</ul>
</li>
<li>Answer TRUE/FALSE to the following hardware components
<ul>
<li>Modems: <strong>FALSE</strong></li>
<li>Fax Cards: <strong>FALSE</strong></li>
<li>License Dongles:<strong> FALSE</strong></li>
<li>Security Dongles: <strong>FALSE</strong></li>
<li>Hardware Encryption: <strong>FALSE</strong></li>
</ul>
</li>
<li>Answer TRUE/FALSE to Vendor Support: <strong>TRUE</strong></li>
<li>Recommendation: <span style="color:#008000;">Virtualize!</span></li>
</ul>
<p><a href="http://virtualandy.files.wordpress.com/2009/12/screenshot075.jpg"><img class="alignnone size-full wp-image-206" title="ScreenShot075" src="http://virtualandy.files.wordpress.com/2009/12/screenshot075.jpg?w=600&#038;h=770" alt="" width="600" height="770" /></a></p>
<h3>ADD NEW SUPPORTED GUEST OS</h3>
<p>VMware’s Guest OS Compatibility Guide (“VMware, Inc.”)  is exhaustive and does not line up with Murray State University’s environment. The drop-down list is populated from a hidden worksheet within Excel. For our environment, we limited this drop down to Guests OSes which have regularly maintained templates.</p>
<p><a href="http://virtualandy.files.wordpress.com/2009/12/screenshot069.jpg"><img class="alignnone size-full wp-image-204" title="ScreenShot069" src="http://virtualandy.files.wordpress.com/2009/12/screenshot069.jpg?w=550&#038;h=135" alt="" width="550" height="135" /></a></p>
<p>To add, delete, or change an entry in the operating system list follow these steps:</p>
<ol>
<li>Toward the bottom of Excel, right click the current worksheet <a href="http://virtualandy.files.wordpress.com/2009/12/screenshot071.jpg"><img class="alignnone size-full wp-image-202" title="ScreenShot071" src="http://virtualandy.files.wordpress.com/2009/12/screenshot071.jpg?w=144&#038;h=21" alt="" width="144" height="21" /></a></li>
<li>From the context menu, select “Unhide…”<br />
<a href="http://virtualandy.files.wordpress.com/2009/12/unhide.png"><img class="alignnone size-full wp-image-201" title="unhide" src="http://virtualandy.files.wordpress.com/2009/12/unhide.png?w=244&#038;h=264" alt="" width="244" height="264" /></a></li>
<li>From the Unhide Window, Select ‘Supported Guest Operating Systems’ and press OK<br />
<a href="http://virtualandy.files.wordpress.com/2009/12/screenshot070.jpg"><img class="alignnone size-full wp-image-203" title="ScreenShot070" src="http://virtualandy.files.wordpress.com/2009/12/screenshot070.jpg?w=332&#038;h=214" alt="" width="332" height="214" /></a></li>
<li>Navigate to the ‘Supported Guest Operating Systems’ Worksheet. Make changes Column A. Only changes in Column A will be reflected in the spreadsheet. Save your changes.</li>
</ol>
<h2>Future Considerations</h2>
<div>Future versions of this project will include:</div>
<div id="_mcePaste">
<ul>
<li> Support for advanced disk layouts</li>
<li> Get-Template feeding the ‘Supported Guest OS’ worksheet</li>
<li> 1 click ‘deploy from template’</li>
<li> Support for tiered storage</li>
<li> Graphs of compute resources by host and virtual machine</li>
</ul>
</div>
<p><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;"> </span></p>
<p><pre class="brush: powershell;">
# VMware Expert System Capacity Gathering
# v0.2
# by Andy Hill
# http://virtualandy.wordpress.com

# gathering data for VMware capacity
$viserver = Read-Host &quot;Enter a vCenter server&quot;;
Write-Host &quot;Gathering Excel data...1/8&quot;

$excel = new-object -comobject Excel.Application
# Edit this value to the location of your vmware_expert_system.xlsm
$excelfile = $excel.workbooks.open(&quot;C:\Users\andy.hill\Documents\cis645\Project\vmware_expert_system\vmware_expert_system.xlsm&quot;)
$worksheet = $excelfile.worksheets.item(3) # Select Capacity Worksheet

Write-Host &quot;Clearing existing capacity data...2/8&quot;
# Clear existing data
$worksheet.Range(&quot;A5:N65000&quot;).Clear() | out-null
$worksheet.cells.item(1,2) = $viserver

Write-Host &quot;Connecting to $viserver, this may take a moment...3/8&quot;
connect-viserver $viserver -erroraction stop -WarningAction SilentlyContinue | out-null

# datastore information
Write-Host &quot;Gathering disk information...4/8&quot;
$i = 5
$disks = get-datastore
foreach($disk in $disks) {
	$worksheet.cells.item($i, 1) = $disk.name;
	$worksheet.cells.item($i, 2) = $disk.freespaceMB;
	$worksheet.cells.item($i, 3) = $disk.capacityMB;
	$i++;
}
$disk_count = $i;

$i = 5
Write-Host &quot;Gathering host information...5/8&quot;
# host information
Get-VMHost | %{Get-View $_.ID} | %{
	$esx = &quot;&quot; | select Name, NumCpuPackages, NumCpuCores, Hz, Memory
	$esx.NumCpuPackages = $_.Hardware.CpuInfo.NumCpuPackages
	$esx.NumCpuCores = $_.Hardware.CpuInfo.NumCpuCores
	$esx.Hz = $_.Hardware.CpuInfo.Hz
	$esx.Memory = $_.Hardware.MemorySize
	$esx.Name = $_.Name

	$worksheet.cells.item($i, 6) = $esx.Name
	$worksheet.cells.item($i, 7) = $esx.NumCpuPackages
	$worksheet.cells.item($i, 8) = $esx.NumCpuCores
	$worksheet.cells.item($i, 9) = $esx.hz / 1000 / 1000
	$worksheet.cells.item($i, 10) = $esx.memory / 1024 / 1024;
	$i++;
}
$host_count = $i;

# vm information
$i = 5
Write-Host &quot;Gathering virtual machine information...6/8&quot;

get-vm | % {
	$vm = &quot;&quot; | select name, MemoryMB
	$worksheet.cells.item($i, 13) = $_.Name
	$worksheet.cells.item($i, 14) = $_.MemoryMB
	$i++;
}

# Create the totals and amount utilized
$worksheet.cells.item(($i+1),13) = &quot;Total&quot;
$worksheet.cells.item(($i+1),14) = &quot;=sum(N6:N&quot; + $i + &quot;)&quot;
$vm_count = $i;

Write-Host &quot;Writing values to Excel Spreadsheet...7/8&quot;
#add some formatting
$worksheet.cells.item(($disk_count + 2), 1) = &quot;Datastore with most free space&quot;;
$worksheet.cells.item(($disk_count + 3), 1) = &quot;Memory (MB) Available&quot;;
$worksheet.cells.item(($disk_count + 4), 1) = &quot;Memory Utilization %&quot;;
$worksheet.cells.item(($disk_count + 5), 1) = &quot;Storage Available (GB)&quot;;
$worksheet.cells.item(($disk_count + 6), 1) = &quot;Storage Utilization %&quot;;
$worksheet.cells.item(($disk_count + 7), 1) = &quot;Most Storage Available on a datastore (GB)&quot;;

# add the formulas
$worksheet.cells.item(($disk_count + 2), 2) = &quot;=INDEX((A5:A&quot; + $disk_count + &quot;),MATCH(MAX(B5:B&quot; + $disk_count + &quot;),B5:B&quot; + $disk_count + &quot;,0))&quot;;
$worksheet.cells.item(($disk_count + 3), 2) = &quot;=SUM(J5:J&quot; + $host_count + &quot;) - N&quot; + ($vm_count+1);
$worksheet.cells.item(($disk_count + 4), 2) = &quot;=N&quot; + ($vm_count+1) + &quot;/SUM(J5:J&quot; + ($host_count-1) + &quot;)&quot;; # n-1 hosts for HA failover
$worksheet.cells.item(($disk_count + 5), 2) = &quot;=SUM(B5:B&quot; + $disk_count + &quot;)/1024&quot;;
$worksheet.cells.item(($disk_count + 6), 2) = &quot;=1-SUM(B5:B&quot; + $disk_count + &quot;)/SUM(C5:C&quot; + $disk_count + &quot;)&quot;;
$worksheet.cells.item(($disk_count + 7), 2) = &quot;=INDEX((B5:B&quot; + $disk_count + &quot;),MATCH(MAX(B5:B&quot; + $disk_count + &quot;),B5:B&quot; + $disk_count + &quot;,0))/1024&quot;;

Write-Host &quot;Saving Excel Spreadsheet...8/8&quot;;
# Select main worksheet
$worksheet = $excelfile.worksheets.item(1);
# Update the 'new virtual machine' worksheet with capacity data
$worksheet.cells.item(8,4) = &quot;=Capacity!B&quot; + ($disk_count + 5) + &quot;-'New Virtual Machine'!B8&quot;;
$worksheet.cells.item(8,7) = &quot;=MAX(Capacity!B5:&quot; + &quot;B&quot; + ($disk_count - 1) + &quot;)/1024&quot;;
$worksheet.cells.item(9,4) = &quot;=(Capacity!B&quot; + ($disk_count +3) + &quot;)/1024&quot;;
$worksheet.cells.item(29,2) = &quot;=Capacity!B&quot; + ($disk_count + 2);
$excel.activeworkbook.save();
$excel.quit();
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=191&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2009/12/09/vmware-expert-system-with-powercli-and-excel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/decision_tree.png" medium="image">
			<media:title type="html">decision_tree</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/screenshot0741.jpg" medium="image">
			<media:title type="html">ScreenShot074</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/screenshot072.jpg" medium="image">
			<media:title type="html">ScreenShot072</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/screenshot075.jpg" medium="image">
			<media:title type="html">ScreenShot075</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/screenshot069.jpg" medium="image">
			<media:title type="html">ScreenShot069</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/screenshot071.jpg" medium="image">
			<media:title type="html">ScreenShot071</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/unhide.png" medium="image">
			<media:title type="html">unhide</media:title>
		</media:content>

		<media:content url="http://virtualandy.files.wordpress.com/2009/12/screenshot070.jpg" medium="image">
			<media:title type="html">ScreenShot070</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtual Andy Update</title>
		<link>http://virtualandy.wordpress.com/2009/08/27/virtual-andy-update/</link>
		<comments>http://virtualandy.wordpress.com/2009/08/27/virtual-andy-update/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:10:45 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[Virtual Andy]]></category>
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=161</guid>
		<description><![CDATA[It&#8217;s been months since I&#8217;ve updated. It&#8217;s been a busy summer but I&#8217;m delivering some new posts: iSCSI SAN performance &#8230;<p><a href="http://virtualandy.wordpress.com/2009/08/27/virtual-andy-update/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=161&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been months since I&#8217;ve updated.</p>
<p>It&#8217;s been a busy summer but I&#8217;m delivering some new posts:</p>
<ul>
<li> <a href="http://virtualandy.wordpress.com/2009/08/27/iscsi-san-performance-woes-with-vmware-esx-3-5/">iSCSI SAN performance woes in ESX 3.5</a></li>
<li> <a href="http://virtualandy.wordpress.com/2009/08/27/upgrading-esx-3-5-to-esx-3-5-u4-and-virtual-center-2-5-to-vcenter-2-5-u4/">ESX 3.5 -&gt; ESX 3.5 U4 and Virtual Center 2.5 -&gt; vCenter 2.5 U4</a></li>
<li> <a href="http://virtualandy.wordpress.com/2009/08/27/esx-3-5-u4-kickstart-for-ibm-xseries-and-qla4050/">ESX 3.5 U4 Kickstart for IBM xSeries and QLA4050</a></li>
</ul>
<p>While the big boys are at VMworld the small shops are back to getting things done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=161&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2009/08/27/virtual-andy-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>
	</item>
		<item>
		<title>ESX 3.5 U4 Kickstart for IBM xSeries and QLA4050</title>
		<link>http://virtualandy.wordpress.com/2009/08/27/esx-3-5-u4-kickstart-for-ibm-xseries-and-qla4050/</link>
		<comments>http://virtualandy.wordpress.com/2009/08/27/esx-3-5-u4-kickstart-for-ibm-xseries-and-qla4050/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:10:37 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[hba]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[kickstart]]></category>
		<category><![CDATA[qlogic]]></category>
		<category><![CDATA[xseries]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=167</guid>
		<description><![CDATA[This was our shop&#8217;s first real dive into kickstarts. The material I read in Visible Ops really emphasized track able/repeatable &#8230;<p><a href="http://virtualandy.wordpress.com/2009/08/27/esx-3-5-u4-kickstart-for-ibm-xseries-and-qla4050/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=167&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was our shop&#8217;s first real dive into kickstarts. The material I read in <a href="http://www.amazon.com/Visible-Ops-Handbook-Implementing-Practical/dp/0975568612">Visible Ops</a> really emphasized track able/repeatable processes for setting up systems. One great way to do that is through kickstart scripts and some kind of version control system. We used <a href="http://subversion.tigris.org/">Subversion</a>.</p>
<p>I&#8217;ve edited a few parts out of this, but I spent a while finding several kickstart scripts that accomplished parts of what we needed. I highly customized one for our environment.</p>
<p>What it does:</p>
<ul>
<li>Configures licensing for the host using a license server</li>
<li>Configures NTP</li>
<li>Adds users, expires their accounts and configures a sudo group</li>
<li>MOTD</li>
<li>Configures NICs and VMware ESX Networking</li>
<li>Creates a script to download and install IBM iSCSI Host Utilities Kit</li>
<li>Creates a script to download and install QLA4050C BIOS and firmware updates</li>
</ul>
<p>Thanks to <a href="http://blog.core-it.com.au/?p=147">Leo&#8217;s ESX 3.5 Kickstart script – part 3</a>.</p>
<p>You will need to download IBM iSCSI Host Utilities Kit from IBM and the QLA4050C BIOS and Firmware from QLogic to a server with scp capabilities.</p>
<p><pre class="brush: jscript;">
# make sure this file is UNIX formatted so the line breaks can be handled.
install
lang en_US.UTF-8
langsupport --default en_US.UTF-8
keyboard us
mouse genericwheelps/2 --device psaux
skipx
network --device eth0 --bootproto static --ip &lt;ip&gt; --netmask &lt;netmask&gt; --gateway &lt;gw&gt; --nameserver &lt;dns1&gt;,&lt;dns2&gt; --hostname &lt;hostname&gt; --addvmportgroup=0 --vlanid=0
# Encrypted root password
rootpw --iscrypted
&lt;password&gt;
firewall --enabled
authconfig --enableshadow --enablemd5
timezone America/Chicago
bootloader --location=mbr
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
vmaccepteula
# test license server
vmlicense --mode=server --server=27000@&lt;vc&gt; --edition=esxFull --features=vsmp,backup
reboot
firewall --enable
clearpart --exceptvmfs --drives=sda
part /boot --fstype ext3 --size=100 --ondisk=sda
part / --fstype ext3 --size=1800 --grow --maxsize=5000 --ondisk=sda
part swap --size=544 --grow --maxsize=544 --ondisk=sda
part /var/log --fstype ext3 --size=100 --grow --ondisk=sda

%packages
grub
@base

%post
cat &gt; /etc/rc.d/rc3.d/S11servercfg &lt;&lt; EOF

#Configure NTP
echo &quot;Configuring NTP&quot;
chkconfig --level 345 ntpd on
echo &quot;restrict kod nomodify notrap noquery nopeer&quot; &gt; /etc/ntp.conf
echo &quot;restrict 127.0.0.1&quot; &gt;&gt; /etc/ntp.conf
echo &quot;server &lt;ntp&gt; &gt;&gt; /etc/ntp.conf
echo &quot;driftfile /var/lib/ntp/drift&quot; &gt;&gt; /etc/ntp.conf
echo &lt;ntp&gt;&quot; &gt; /etc/ntp/step-tickers
service ntpd start

#Adding users with default password &quot;changeme&quot; generated with `openssl passwd changeme`

echo &quot;Adding users&quot;
adduser &lt;user1&gt; -p MKgX23V6snwoc
chage -d 0 -M 99999 &lt;user1&gt;
adduser &lt;user2&gt; -p MKgX23V6snwoc
chage -d 0 -M 99999 &lt;user2&gt;
adduser &lt;user3&gt;  -p MKgX23V6snwoc
chage -d 0 -M 99999 &lt;user3&gt;
usermod -G wheel user
usermod -G wheel user2
usermod -G wheel user3
echo &quot;Done adding users&quot;

echo &quot;Configuring sudoers&quot;
cat &gt; /etc/sudoers &lt;&lt; SUDO
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
Defaults syslog=local2
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
SUDO
echo &quot;Done configuring sudoers&quot;

echo &quot;Configuring MOTD&quot;
echo &quot;MOTD HERE&quot; &gt; /etc/motd
echo &quot;Done configuring MOTD&quot;

echo &quot;Configuring hosts file&quot;
echo &quot;ip hostname.fqdn hostname&quot; &gt;&gt; /etc/hosts
echo &quot;Done configuring hosts file&quot;

# we have 6 nics
echo &quot;Configuring NIC duplex/speeds&quot;
/usr/sbin/esxcfg-nics -s 1000 -d full vmnic0
/usr/sbin/esxcfg-nics -s 1000 -d full vmnic1
/usr/sbin/esxcfg-nics -s 1000 -d full vmnic2
/usr/sbin/esxcfg-nics -s 1000 -d full vmnic3
/usr/sbin/esxcfg-nics -s 1000 -d full vmnic4
/usr/sbin/esxcfg-nics -s 1000 -d full vmnic5
echo &quot;Configuring NIC duplex/speeds&quot;

echo &quot;Configuring networking&quot;
# VMNetwork
/usr/sbin/esxcfg-vswitch -a vSwitch1
# Blind Switch
/usr/sbin/esxcfg-vswitch -a vSwitch2
# VMkernel
/usr/sbin/esxcfg-vswitch -a vSwitch3
# Add NIC 1 and 3 to vSwitch1 (VMNetwork)
/usr/sbin/esxcfg-vswitch -L vmnic1 vSwitch1
/usr/sbin/esxcfg-vswitch -L vmnic3 vSwitch1
# Add NIC 2 to vSwitch0 (Service Console, already contains NIC 0)
/usr/sbin/esxcfg-vswitch -L vmnic2 vSwitch0
# Add NIC 4 and 5 to vSwitch3 (VMkernel)
/usr/sbin/esxcfg-vswitch -L vmnic4 vSwitch3
/usr/sbin/esxcfg-vswitch -L vmnic5 vSwitch3
# Give appropriate port group labels to vSwitches
/usr/sbin/esxcfg-vswitch -A &quot;Blind Switch&quot; vSwitch2
/usr/sbin/esxcfg-vswitch -A &quot;VMkernel&quot; vSwitch3
/usr/sbin/esxcfg-vswitch -A &quot;VMNetwork&quot; vSwitch1
# Configure IP addresses for service console and VMkernel
/usr/sbin/esxcfg-vswif -i &lt;ip&gt; -n 255.255.255.0 vswif0
/usr/sbin/esxcfg-vmknic -a -i &lt;vmotion address&gt; -n 255.255.255.0 VMotion
/usr/sbin/esxcfg-vswif -E
# Enable SSH Client through firewall
/usr/sbin/esxcfg-firewall -e sshClient
echo &quot;Done configuring networking&quot;

# generate script to download/install HUK, make it executable
echo &quot;Generating host utilities download/install script&quot;
cat &gt; /root/huk-install.sh &lt;&lt; HUK
cd /home/user/
scp user@host:/home/user/ibm_iscsi_esx_host_utilities_3_1.tar.gz .
tar -zxf ibm_iscsi_esx_host_utilities_3_1.tar.gz
cd ibm_iscsi_esx_host_utilities_3_1
./install
echo &quot;Done generating host utilities download/install script&quot;
HUK
chmod a+x /root/huk-install.sh

# generate script to download/install iscli and firmware/BIOS updates, make it executable
echo &quot;Generating iscli and firmware update script&quot;
cat &gt; /root/iscli-script.sh &lt;&lt; ISCLI
cd /home/user/
scp user@host:/home/user/iscli-1.2.00-15_linux_i386.install.tar.gz user@host:/home/user/ql4022rm.BIN user@host:/home/user/VER4032_03_00_01_53.zip .
tar -xvzf iscli-1.2.00-15_linux_i386.install.tar.gz
unzip VER4032_03_00_01_53.zip
chmod +x iscli.dkms.install.sh
./iscli.dkms.install.sh install
# HBA 0
/usr/local/bin/iscli -f 0 /home/user/qla4022.dl
sleep 5
/usr/local/bin/iscli -bootcode 0 /home/user/ql4022rm.BIN
sleep 5
# HBA 1
/usr/local/bin/iscli -f 1 /home/user/qla4022.dl
sleep 5
/usr/local/bin/iscli -bootcode 1 /home/user/ql4022rm.BIN
sleep 5
reboot
ISCLI
echo &quot;Done generating iscli and firmware script&quot;

# Moves this file so it will not be called on next host boot
mv /etc/rc.d/rc3.d/S11servercfg /root/unsw-setup.sh
rm -f /root/system-info
EOF
/bin/chmod a+x /etc/rc.d/rc3.d/S11servercfg
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=167&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2009/08/27/esx-3-5-u4-kickstart-for-ibm-xseries-and-qla4050/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrading ESX 3.5 to ESX 3.5 U4 and Virtual Center 2.5 to vCenter 2.5 U4</title>
		<link>http://virtualandy.wordpress.com/2009/08/27/upgrading-esx-3-5-to-esx-3-5-u4-and-virtual-center-2-5-to-vcenter-2-5-u4/</link>
		<comments>http://virtualandy.wordpress.com/2009/08/27/upgrading-esx-3-5-to-esx-3-5-u4-and-virtual-center-2-5-to-vcenter-2-5-u4/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:10:34 +0000</pubDate>
		<dc:creator>vandyblog</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[kickstart]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[vcenter]]></category>

		<guid isPermaLink="false">http://virtualandy.wordpress.com/?p=174</guid>
		<description><![CDATA[Here&#8217;s the &#8216;script&#8217; read from while doing our ESX upgrades: In general: Do lots of up front work with kickstarts &#8230;<p><a href="http://virtualandy.wordpress.com/2009/08/27/upgrading-esx-3-5-to-esx-3-5-u4-and-virtual-center-2-5-to-vcenter-2-5-u4/">Continue reading &#187;</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=174&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the &#8216;script&#8217; read from while doing our ESX upgrades:</p>
<p>In general:</p>
<ul>
<li>Do lots of up front work with kickstarts and analysis</li>
</ul>
<p><strong>Each ESX Host</strong></p>
<ul>
<li>Put host in maintenance mode</li>
<li>Shut Down</li>
<li>File request with storage administrator to make only boot LUN is visible to host as we are about to do some potentially damaging operations</li>
<li>Put in new HBA (QLA4050)</li>
<li>Boot to floppy diskette with QLA 4050 BIOS firmware updates</li>
<li>Upgrade HBA BIOS</li>
<li>iFlash</li>
<li>If the system detects a QLx40xx controller, it displays the following message:</li>
<li> QLx40xx Adapter found at I/O address: xxxxxxxx</li>
<li>You will need to enter the adapter address</li>
<li>Select &#8220;FB&#8221; to flash the BIOS. The iFlash program will write flash to the adapter using ql4022rm.BIN found in the same directory.</li>
<li>Reboot. Press CTRL+Q on the second (new) HBA to manage boot settings</li>
<li>Configure Host Adapter according to IP / initiator name</li>
<li>Configure iSCSI Target
<ul>
<li>You will need:</li>
<li> iSCSI name</li>
<li> IP Address</li>
<li> Subnet Mask</li>
<li> Default Gateway</li>
<li> iSCSI Target</li>
<li> IP Address:port</li>
<li> Target Name</li>
<li> Host Boot Settings = MANUAL</li>
<li> Exit and Reboot</li>
</ul>
</li>
<li>Insert ESX 3.5 U4 CD (We don&#8217;t have PXE boot available yet)</li>
<li>Reboot system to boot from ESX 3.5 U4 CD</li>
<li>Install ESX 3.5 U4</li>
<li>type &#8216;<code>esx ks=&lt;url to kickstart file&gt; ksdevice=eth0 method=cdrom</code>&#8216;</li>
<li><a href="http://virtualandy.wordpress.com/2009/08/27/esx-3-5-u4-kickstart-for-ibm-xseries-and-qla4050/">More on the kickstart file is here</a></li>
<li>Press enter. This installs ESX with all appropriate settings. Ask someone for the root password.</li>
<li>Log in as root</li>
<li>sh iscli-script.sh (from the kickstart)</li>
<li>sh huk-install.sh (from the kickstart)</li>
<li>Launch VirtualCenter</li>
<li>Disconnect the host from VirtualCenter (Right click, disconnect)</li>
<li>Reconnect the host to VirtualCenter (Right click, connect)</li>
<li>Enter maintenance mode (so no VMs are vMotioned on)</li>
<li><strong>VMotion doesn&#8217;t get set up correctly via kickstart because the host does not have shared storage. Contact the SAN Administrator to make the other ESX LUNs  visible and rescan.</strong></li>
<li>Delete the VMKernel Switch</li>
<li>Add the VMkernel switch (nic4 and nic5), enabling vmotion. &lt;IP address&gt; subnet &lt;subnet&gt; &#8211; no default GW since not routed</li>
<li>Configuration -&gt; Memory -&gt; Increase Service Console RAM to 800MB</li>
<li>Configure Storage Paths in Active/Passive</li>
<li>Reboot Host (to enact Service Console RAM changes)</li>
<li>Exit Maintenance Mode</li>
</ul>
<p><strong>vCenter Database Server</strong></p>
<ul>
<li>Manually  backup VMware database</li>
</ul>
<p><pre class="brush: sql;">BACKUP DATABASE [VMWare] TO  DISK =  N'C:\Program Files\Microsoft SQL  Server\MSSQL.1\MSSQL\Backup\VMWare\VMWare_backup_preupgrade.bak' WITH NOFORMAT,  NOINIT,  NAME = N'VMWare-Full Database Backup', SKIP, NOREWIND, NOUNLOAD,  STATS  = 10
	GO</pre></p>
<ul>
<li>Manually  backup UpdateManager</li>
</ul>
<p><pre class="brush: sql;">BACKUP DATABASE [UpdateManager] TO  DISK =  N'C:\Program Files\Microsoft SQL  Server\MSSQL.1\MSSQL\Backup\UpdateManager\UpdateManager_backup_preupgrade.bak'  WITH NOFORMAT, NOINIT,  NAME = N'UpdateManager-Full Database Backup', SKIP,  NOREWIND, NOUNLOAD,  STATS = 10
GO
</pre></p>
<ul>
<li>Grant MSDB owner permissions for SQL user</li>
</ul>
<p><pre class="brush: sql;">USE [msdb]GO

EXEC sp_addrolemember  N'db_owner', N'USER'

GO</pre></p>
<p><strong>vCenter Server</strong></p>
<ul>
<li>Log in  as local administrator</li>
<li>Back up  the License File
<ul>
<li><code>copy "C:\Program Files\VMware\VMware  License Server\Licenses\vmware.lic"  \\server\share\vmware-license-backup.lic</code></li>
</ul>
</li>
<li>Mount  vCenter DVD ISO</li>
<li>Back up  sysprep files for templates
<ul>
<li><code>copy C:\Documents and Settings\All  Users\Application Data\VMware\VMware VirtualCenter\sysprep\.*  \\server\share</code></li>
</ul>
</li>
<li>Run vCenter Install</li>
<li>Reboot  Server</li>
<li>Notify  users of upgrades</li>
<li>Schedule  times for VMware Tools Upgrades</li>
</ul>
<p><strong>vCenter Database Server</strong></p>
<ul>
<li>Revoke MSDB owner permissions for SQL user</li>
</ul>
<p><pre class="brush: sql;">USE [msdb]GO
	EXEC  sp_droprolemember N'db_owner', N'USER'
        GO
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/virtualandy.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/virtualandy.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/virtualandy.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/virtualandy.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/virtualandy.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/virtualandy.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/virtualandy.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/virtualandy.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/virtualandy.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/virtualandy.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/virtualandy.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/virtualandy.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/virtualandy.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/virtualandy.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=virtualandy.wordpress.com&amp;blog=5979717&amp;post=174&amp;subd=virtualandy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://virtualandy.wordpress.com/2009/08/27/upgrading-esx-3-5-to-esx-3-5-u4-and-virtual-center-2-5-to-vcenter-2-5-u4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vandyblog</media:title>
		</media:content>
	</item>
	</channel>
</rss>
