<?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>TLF Blog &#187; TLF Blog</title>
	<atom:link href="http://www.thelinuxfix.com/blog/category/tlf-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelinuxfix.com/blog</link>
	<description>Updates from the trenches of The Linux Fix</description>
	<lastBuildDate>Thu, 05 Nov 2009 18:41:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cloning and Templates with VMware ESXi</title>
		<link>http://www.thelinuxfix.com/blog/2008/12/24/cloning-and-templates-with-vmware-esxi/</link>
		<comments>http://www.thelinuxfix.com/blog/2008/12/24/cloning-and-templates-with-vmware-esxi/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 15:08:42 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[TLF Blog]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[cloning]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[virtual center]]></category>
		<category><![CDATA[virtual machine]]></category>

		<guid isPermaLink="false">http://www.thelinuxfix.com/blog/?p=40</guid>
		<description><![CDATA[For those not familiar with it, VMware ESX is an enterprise-level virtualization solution packed with features, high-availability clusters chief among those.  For those that do not require these extra features, VMware had made, freely available, VMware Server, which ran on a single instance on top of Windows or Linux.  ESX, on the other hand, is [...]]]></description>
			<content:encoded><![CDATA[<p><em>For those not familiar with it, VMware ESX is an enterprise-level virtualization solution packed with features, high-availability clusters chief among those.  For those that do not require these extra features, VMware had made, freely available, VMware Server, which ran on a single instance on top of Windows or Linux.  ESX, on the other hand, is entirely self contained and runs on the vmkernel.  In a move that i can only imagine makes it easier to manage a single code base, VMware did away with the Server product, to be replaced by ESXi, a stripped down version of ESX.  It is great for environments where high-availabilty is not necessary.</em></p>
<p>So now that you know what VMware ESX and ESXi are, let&#8217;s get on with it.  We started implementing ESXi internally, and to our dismay discovered one other feature that is missing from ESXi &#8211; the ability to clone virtual machines and to create templates.  Without cloning and templates, you lose out on one of the biggest advantage of using virtual machines, VMware or otherwise &#8211; rapid deployment.  I guess VMware wants you to purchase ESX if you need these features.</p>
<p>Unsatisfied with that assessment, I started digging around and came up with a procedure to be able to clone VM&#8217;s.  It&#8217;s more manual than using the &#8216;Clone to Virtual Machine&#8230;&#8217; option in Virtual Center with ESX, but that&#8217;s what you pay the big bucks for &#8211; ease of management.  In a nutshell, this is what I did:</p>
<ol>
<li>Build a virtual machine with your OS of choice.  <strong>*cough*</strong> Linux <strong>*cough*</strong></li>
<li>Enable ssh into the ESX host</li>
<li>ssh into the host</li>
<li>Go into the datastore in which you created your VM</li>
<li>Make a copy of the VM you just built</li>
</ol>
<p>There you have your template.  In order to deploy it, it&#8217;s not as bad as one might think for a manual process.</p>
<ol>
<li>Go into the datastore you are going to keep your new VM.</li>
<li>Make a new directory &#8211; I always call it the same as the short name of the VM I am creating</li>
<li>Copy only the .vmdk files into the new directory you&#8217;ve created.</li>
<li>Logout, and fire up the Virtual Infrastructure Client, and create a new VM as you normally would.</li>
<li>When it asks about the disk, choose &#8220;Use an existing disk,&#8221; and select the copy of the vmdk.</li>
</ol>
<p>The new Virtual Machine will have been created with the disk.  Boot the server up and change the network settings and customize to your heart&#8217;s content.  I&#8217;ve thrown in a sample session of creating the template and deploying it below.  Note that in you have to build the source VM first.</p>
<p><code><br />
[root@tlf1 ~]# ssh tlfesx1<br />
root@tlfesx1's password:</code></p>
<p><code>Tech Support Mode successfully accessed.<br />
The time and date of this access have been sent to the system logs.<br />
</code><br />
<code>WARNING - Tech Support Mode is not supported unless used in<br />
consultation with VMware Tech Support.</code></p>
<p><code>~ # cd /vmfs/<br />
/vmfs/devices/  /vmfs/volumes/<br />
~ # cd /vmfs/volumes/datastore1/<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # mkdir template<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # cp -p tlfsource/*.vmdk template/<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # mkdir tlfnewsrvr1<br />
/vmfs/volumes/4946cee9-8d78d96a-2302-00137250f7df # cp -p template/sda*.vmdk newserver1/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxfix.com/blog/2008/12/24/cloning-and-templates-with-vmware-esxi/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Starting this off!</title>
		<link>http://www.thelinuxfix.com/blog/2008/09/24/starting-this-off/</link>
		<comments>http://www.thelinuxfix.com/blog/2008/09/24/starting-this-off/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 18:17:07 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[TLF Blog]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://204.11.34.182/blog/?p=3</guid>
		<description><![CDATA[Hi everyone!  Along with the new site, we&#8217;ve launched the official TLF Blog along with our new TLF Forums.
Our goal is to ensure we stay better connected with our customers with goings on inside TLF, as well as getting news and updates regarding to The Linux Fix into your hands as quickly as possible.
Keep an [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone!  Along with the new site, we&#8217;ve launched the official TLF Blog along with our new <a href="http://www.thelinuxfix.com/forums/">TLF Forums</a>.</p>
<p>Our goal is to ensure we stay better connected with our customers with goings on inside TLF, as well as getting news and updates regarding to The Linux Fix into your hands as quickly as possible.</p>
<p>Keep an eye out for posts from the other TLFers soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxfix.com/blog/2008/09/24/starting-this-off/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
