<?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>conrey.org</title>
	<atom:link href="http://conrey.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://conrey.org</link>
	<description>homebrew and virtualization madness</description>
	<lastBuildDate>Wed, 25 Apr 2012 04:33:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Howto add the RPMForge repo in Centos 6</title>
		<link>http://conrey.org/2012/04/25/howto-add-the-rpmforge-repo-in-centos-6/</link>
		<comments>http://conrey.org/2012/04/25/howto-add-the-rpmforge-repo-in-centos-6/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 03:32:49 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://conrey.rwx3.com/?p=1616</guid>
		<description><![CDATA[This one is a quick one. If you&#8217;re looking for a package and you can&#8217;t find it in the main CentOS repos, there&#8217;s a good chance it&#8217;s over in the RPMforge repository. However, adding additional repos like this can be problematic during upgrades as software version can conflict. Even though you can&#8217;t always avoid the [...]]]></description>
			<content:encoded><![CDATA[<p>This one is a quick one. If you&#8217;re looking for a package and you can&#8217;t find it in the main CentOS repos, there&#8217;s a good chance it&#8217;s over in the RPMforge repository.  However, adding additional repos like this can be problematic during upgrades as software version can conflict.</p>
<p>Even though you can&#8217;t always avoid the problem, you CERTAINLY can try to minimize the potential damage that you can do.</p>
<p><span id="more-1616"></span></p>
<h3>Download the RPM Forge Repository Package</h3>
<p><code>wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm</code></p>
<h3>Install the RPM Forge Repository</h3>
<p><code>rpm -ivh rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm</code></p>
<p>You&#8217;ll get a warning, but it will proceed based on the flags that you set.</p>
<p><code>warning: rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm : Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY</code><br />
<code>Preparing... ########################################### [100%]</code><br />
<code>1:rpmforge-release ########################################### [100%]</code></p>
<h3>Set YUM priorities</h3>
<p>Now you need to edit /etc/yum.repos.d/CentOS-Base.repo and add these priorities to the bottoms of each of the following repo sections:</p>
<p><code>[base]<br />
priority=1</p>
<p>[updates]<br />
priority=1</p>
<p>[extras]<br />
priority=1</code></p>
<p>Save your changes on this file and edit the rpmforge.repo file.  You&#8217;ll only need to edit the one repository section.</p>
<p><code>[rpmforge]<br />
priority=5</code></p>
<p>Save your changes and you&#8217;re finished.</p>
<p>Setting this repo to a higher priority ensures that this repo is only used if the other repos don&#8217;t have what you&#8217;re looking for.  Like Pure-FTPd. <img src='http://conrey.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   The above assumes you&#8217;re using 64bit Centos 6.  if you&#8217;re using 32bit today stop and ask yourself why.  Then, use the link and substitute the 32 bit links instead.</p>
<h3>Install a test package</h3>
<p>In this case we don&#8217;t see Pure-FTPd in the stock CentOS repos.  let&#8217;s update yum and then install PureFTPd.</p>
<p><code> yum update</code><br />
<code> yum install pure-ftpd</code></p>
<p>viola! you should see the package install now and you&#8217;re pulling this from the newly install RPM Forge repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2012/04/25/howto-add-the-rpmforge-repo-in-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SparkleShare on illumian Howto &#8211; a privately hosted dropbox replacement</title>
		<link>http://conrey.org/2012/03/12/sparkleshare-on-illumian-howto-a-privately-hosted-dropbox-replacement/</link>
		<comments>http://conrey.org/2012/03/12/sparkleshare-on-illumian-howto-a-privately-hosted-dropbox-replacement/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 07:20:02 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://conrey.rwx3.com/?p=1512</guid>
		<description><![CDATA[In my ever lengthening wait for VMware&#8217;s project octopus to be released into public beta, I&#8217;ve been trying other dropbox like applications for feature functionality. One of the ones that I&#8217;ve been most impressed by is SparkleShare. With the announcement today that they&#8217;ve released their first windows client, I thought I&#8217;d post this quick tutorial [...]]]></description>
			<content:encoded><![CDATA[<p>In my ever lengthening wait for VMware&#8217;s project octopus to be released into public beta, I&#8217;ve been trying other <a href="http://www.dropbox.com">dropbox</a> like applications for feature functionality.  One of the ones that I&#8217;ve been most impressed by is <a href="http://sparkleshare.org">SparkleShare</a>. <a href="http://twitter.com/SparkleShare/status/179013183275667456">With the announcement today that they&#8217;ve released their first windows client</a>, I thought I&#8217;d post this quick tutorial on how to get sparkleshare up and running leveraging illumian as your data repository, and also test it out with the new windows client.  There&#8217;s already a mac and linux client available and both work great.</p>
<p><span id="more-1512"></span></p>
<h3>What is SparkleShare?</h3>
<p>From the sparkleshare website: &#8220;SparkleShare is a collaboration and sharing tool that is designed to keep things simple and to stay out of your way.&#8221;  Feature wise, it acts very similarly to dropbox, but provides some additional functionality. It leverages a Git repository on the back end, and is extremely flexible.</p>
<p>My only concern with it, or any hosted data story, is ensuring that my data is always available and more importantly, that it doesn&#8217;t corrupt over time. That&#8217;s why I&#8217;m using illumian.</p>
<h3>What is Illumian?</h3>
<p>illumian was started by Nexenta to create an illumos distribution with Debian style package management tools for familiarity and compatibility with existing tools. This distribution uses the same versions of externally maintained packages as the OpenIndiana project uses today.  Where NCP was based on OpenSolaris and some interesting ways to get debian packages ported, illumian is a based on the work in the continued new work in the illumos project.  The recent 1.0 release contains only a small number of maintained packages and a simple command line installer.  No GUI required.</p>
<h3>Download illumian</h3>
<p>you can download the illumian iso from <a href="http://www.illumian.org">illumian.org</a></p>
<h3>Base VM configuration</h3>
<p>On the road and working in a hotel, I&#8217;m using VMware workstation for this installation and have assigned the following items to the VM:</p>
<ul>
<li>2 8G disks for the syspool (OS install disks)</li>
<li>2 16G disks for data (I&#8217;ll mirror these as well)</li>
<li>2G of RAM</li>
<li>1 vCPU</li>
</ul>
<h3>Install Illumian</h3>
<p>Boot from your illumian ISO and start the install process.</p>
<p>select language, keyboard and timezone.</p>
<p>You&#8217;ll be prompted to select the installation drives, very similar to a Nexenta installation, I&#8217;ve selected the two 8G drives as shown below.</p>
<p>disk layout<br />
<a href="http://conrey.org/files/2012/03/illumian01.png"><img src="http://conrey.org/files/2012/03/illumian01-300x172.png" alt="" title="illumian01" width="300" height="172" class="aligncenter size-medium wp-image-1517" /></a></p>
<p>It will ask if you would like to add an additional drive as a hot spare.  I selected no.<br />
Next it will prompt you to make sure you want to erase all the data on the drives, select yes.</p>
<p>Once the installation is complete, it will prompt you to enter the root password for the system.  </p>
<p><a href="http://conrey.org/files/2012/03/illumian02.png"><img src="http://conrey.org/files/2012/03/illumian02-300x166.png" alt="" title="illumian02" width="300" height="166" class="aligncenter size-medium wp-image-1518" /></a></p>
<p>Enter the password twice you want to use and select next.</p>
<p>Create a user account.</p>
<p><a href="http://conrey.org/files/2012/03/illumian03.png"><img src="http://conrey.org/files/2012/03/illumian03-300x169.png" alt="" title="illumian03" width="300" height="169" class="aligncenter size-medium wp-image-1519" /></a></p>
<p>enter the password twice for the new user, and select next.<br />
Commit the changes for the new user.</p>
<p>Enter the hostname for the new system, select next, and commit the changes for the hostname.</p>
<p><a href="http://conrey.org/files/2012/03/illumian04.png"><img src="http://conrey.org/files/2012/03/illumian04-300x165.png" alt="" title="illumian04" width="300" height="165" class="aligncenter size-medium wp-image-1520" /></a></p>
<p>The next step is configuring the network adapter.  Illumian (and Nexenta) allow for some pretty serious network configurations out of the box, but for this one we&#8217;re going to just use dhcp for getting up and running.  We can go back and change it as needed later.</p>
<p>You should be presented for the network interface that you&#8217;ve assigned or is installed in your system.  Select Yes to configure it.</p>
<p>When prompted if you want to enable DHCP, select yes.<br />
When prompted if you want to enable ipv6 I selected no.  <insert long drawn out ipv6 tirade here><br />
Select yes that you&#8217;re done configuring the device and the installation will proceed.</p>
<p>With the installation completed, disconnect your cdrom and reboot into your new illumian installation.</p>
<p><a href="http://conrey.org/files/2012/03/illumian05.png"><img src="http://conrey.org/files/2012/03/illumian05-300x167.png" alt="" title="illumian05" width="300" height="167" class="aligncenter size-medium wp-image-1521" /></a></p>
<p>Like ubuntu, the first user created has sudo privileges. First thing after logging in as your user you&#8217;ll want to do is update the system.</p>
<p><code>sudo apt-get update</code></p>
<p>Once that&#8217;s complete, we can install git</p>
<p><code>sudo apt-get install git</code></p>
<p>Before we actually get started with sparkleshare we want to create a new mirrored zpool with the additional 16G drives we added to the VM.  With illumian, (and Nexenta) we can grow this zpool as needed when we need additional space.  I don&#8217;t expect to need more than 16G to start, but I want to keep my options open.</p>
<p>First let&#8217;s get a look at what the installer did:<br />
<code>zpool status</code></p>
<p><a href="http://conrey.org/files/2012/03/illumian06.png"><img src="http://conrey.org/files/2012/03/illumian06-300x150.png" alt="" title="illumian06" width="300" height="150" class="aligncenter size-medium wp-image-1522" /></a></p>
<p>with that listed we can see what drives are being used by the syspool.</p>
<p>The easiest way to get a drive list is via format.<br />
<code>sudo format</code></p>
<p><a href="http://conrey.org/files/2012/03/illumian07.png"><img src="http://conrey.org/files/2012/03/illumian07-300x118.png" alt="" title="illumian07" width="300" height="118" class="aligncenter size-medium wp-image-1523" /></a></p>
<p>This shows us the initial two 8G drives that we saw in the initial zpool as well as the additional two drives that aren&#8217;t currently in use.<br />
press:<br />
<code>ctrl+c</code><br />
to exit format.</p>
<p>Now we&#8217;ll create our new zpool for the sparkleshare repository.</p>
<p><code> sudo zpool create sparkle mirror c1t2d0 c1t3d0</code></p>
<p>another:</p>
<p><code> zpool status</code></p>
<p>should show us our new zpool:</p>
<p><a href="http://conrey.org/files/2012/03/illumian08.png"><img src="http://conrey.org/files/2012/03/illumian08-300x293.png" alt="" title="illumian08" width="300" height="293" class="aligncenter size-medium wp-image-1524" /></a></p>
<p>One thing to remember if you&#8217;re new to illumian or ZFS in general, when you create a zpool there is automatically a zfs filesystem created on it. The mountpoint defaults to the poolname. So my pool &#8220;sparkle&#8221; is mounted as a zfs filesystem at /sparkle by default.</p>
<p><a href="http://conrey.org/files/2012/03/illumian09.png"><img src="http://conrey.org/files/2012/03/illumian09-300x94.png" alt="" title="illumian09" width="300" height="94" class="aligncenter size-medium wp-image-1525" /></a></p>
<p>Now we can configure illumian for hosting the sparkleshare repository.</p>
<p>Create our user<br />
<code>sudo useradd git</code><br />
Set the password for the user as a value that cannot be used for login, but does not lock the account.<br />
<code>sudo passwd -N git</code><br />
Create our project folder<br />
<code>sudo mkdir /sparkle/git</code><br />
Change the permissions on the project folder<br />
<code>sudo chown -R git.staff /sparkle/git</code><br />
<code>cd /sparkle/git</code><br />
create the project<br />
<code>sudo git init ––bare MyProject</code><br />
create and change dir to the users home directory<br />
<code>sudo mdkir /home/git</code><br />
<code>cd /home/git</code><br />
create the ssh folder<br />
<code>sudo mkdir .ssh</code><br />
create the authorized keys file<br />
<code>sudo touch .ssh/authorized_keys</code><br />
set the permissions on git&#8217;s home directory<br />
<code>sudo chown -R git.staff /home/git</code></p>
<p>On the Client System<br />
Install sparkleshare for you OS, I&#8217;m going to be testing with the new Windows client.  Head over to sparkleshare.org and download the windows client.</p>
<p>Start the installer.</p>
<p><a href="http://conrey.org/files/2012/03/illumian11.png"><img src="http://conrey.org/files/2012/03/illumian11-300x234.png" alt="" title="illumian11" width="300" height="234" class="aligncenter size-medium wp-image-1528" /></a></p>
<p>It&#8217;s a simple accept the license next, next, install, finish affair.</p>
<p>Start SparkleShare and enter your name and email address. </p>
<p><a href="http://conrey.org/files/2012/03/illumian12.png"><img src="http://conrey.org/files/2012/03/illumian12-300x207.png" alt="" title="illumian12" width="300" height="207" class="aligncenter size-medium wp-image-1529" /></a></p>
<p>Continue through the installer to finish the installation.</p>
<p>Once done, you&#8217;ll see a SparkleShare icon in your taskbar.</p>
<p>Right click on it and open your SparkleShare folder.</p>
<p><a href="http://conrey.org/files/2012/03/illumian13.png"><img src="http://conrey.org/files/2012/03/illumian13-237x300.png" alt="" title="illumian13" width="237" height="300" class="aligncenter size-medium wp-image-1530" /></a></p>
<p>During the install SparkleShare will have created a key for you to use.  This key will be in your SparkleShare directory. Copy the contents of the key file.  </p>
<h3>Back on the Server</h3>
<p>Open up the .ssh/authorized_keys file we created earlier in a text editor and paste the key that you previously copied at The client side step on a new line at the end of the file. This gives the client access to the git repository. </p>
<p>Now lock down the ssh directory and the authorized key file.</p>
<p><code>sudo chmod 700 .ssh</code><br />
<code>sudo chmod 600 .ssh/authorized_keys</code><br />
<code>sudo chown -R git.staff . </code></p>
<h3>Add a project to the client</h3>
<p>With that done, move or delete the key in the sparkleshare directory.  Notice that before moving (or deleting) this file, the option to &#8220;Add Hosted Project&#8221; is grayed out.  The key file needs to be moved or deleted before you are allowed to add a project.</p>
<p><a href="http://conrey.org/files/2012/03/illumian14.png"><img src="http://conrey.org/files/2012/03/illumian14-234x300.png" alt="" title="illumian14" width="234" height="300" class="aligncenter size-medium wp-image-1532" /></a></p>
<p>Right click on the sparkleshare folder and select &#8220;Add Hosted Project&#8221;</p>
<p>In the Setup screen, select &#8220;On my own Server&#8221; and enter the address and remote path you created for the project.</p>
<p><a href="http://conrey.org/files/2012/03/illumian15.png"><img src="http://conrey.org/files/2012/03/illumian15-300x207.png" alt="" title="illumian15" width="300" height="207" class="aligncenter size-medium wp-image-1534" /></a></p>
<p>Select Add and when complete, Finish!</p>
<h3>You&#8217;re up and running!</h3>
<p>From here you can add files to your project folder and it will sync the data with the server automatically.</p>
<p>If you want to give more people access to your project, just paste their keys on a new line at the end of the authorized_keys file.  Don&#8217;t share your client key, append it.  This will allow you to add a lot of users based on the project as needed.</p>
<p>On top of this you can add multiple projects and servers to sync to. This opens up a range of ideas, from projects down to the team level, to organization wide distribution.  </p>
<p>On top of this you get all the benefits of ZFS at the file system layer managing your data.</p>
<p>Let me know if you have any questions, or if this works for you.  SparkleShare is a great looking project and when you add in the data security that ZFS provides it makes a pretty solid combination.</p>
<p>When you&#8217;re ready, continue on to part two.</p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2012/03/12/sparkleshare-on-illumian-howto-a-privately-hosted-dropbox-replacement/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Nexenta features and why they matter.</title>
		<link>http://conrey.org/2011/12/30/nexenta-features-and-why-they-matter/</link>
		<comments>http://conrey.org/2011/12/30/nexenta-features-and-why-they-matter/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 14:46:27 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1477</guid>
		<description><![CDATA[Initially I was going to post this article as part of an install and configure series that I&#8217;m writing, but quickly realized that it&#8217;s going to be a probably going to be a reference article for other stuff as well. Hopefully, as I continue to learn and pick things up, this article will expand as [...]]]></description>
			<content:encoded><![CDATA[<p>Initially I was going to post this article as part of an install and configure series that I&#8217;m writing, but quickly realized that it&#8217;s going to be a probably going to be a reference article for other stuff as well. Hopefully, as I continue to learn and pick things up, this article will expand as well.<br />
<span id="more-1477"></span></p>
<h3>Why Nexenta is different</h3>
<p>If you&#8217;re coming from the standard storage arena, it&#8217;s hard to put a bead on Nexenta. First off, it&#8217;s just software. But more than that, at it&#8217;s core is open source software. Think of it as a <a href="http://en.wikipedia.org/wiki/Gobstopper">gobstopper</a> with three layers. At it&#8217;s core it&#8217;s based off of illumos and ZFS. Added on top is NexentaOS, a ubuntu userland that makes software management easy. If you&#8217;re ever tried Ubuntu, you know that it&#8217;s pretty simple to install updates. The third and outermost layer to Nexenta are the additional modules that add additional enterprise functionality to the storage appliance.</p>
<h3>What is illumos</h3>
<p>The illumos project started as a binary compatible distribution of OpenSolaris, the comunity supported distribution of Solaris.  Years ago, for me anyway, it was the most cost effective way to learn Solaris.  The intent was to create a straight fork that would stay compatible with any possible future releases that Oracle makes to the community.  It turned out this was a pretty wise move.  The OpenSolaris project within Sun didn&#8217;t adjust well to the transition [1].  Now illumos stands at the center of a new OS community, with a <strong>SOLID</strong> enterprise class foundation.  Many of the folks that were contributing/creating to the solaris codebase continue to contribute to illumos, and it will continue to be an interesting project to watch.</p>
<h3>What is ZFS</h3>
<p>In short, ZFS is an enterprise grade file system. It was designed by Sun to be a modern filesystem to handle modern hardware. To understand why ZFS is important you also need to understand how modern harddrives work:</p>
<blockquote><p>A modern hard disk devotes a large portion of its capacity to error detection data. Many errors occur during normal usage, but are corrected by the disk&#8217;s internal software, and thus are not visible to the host software. A tiny fraction of errors are not corrected. For example, a modern Enterprise SAS disk specification estimates this fraction to be one uncorrected error in every 1016 bits, or approximately one in every 1.2 PB.[19] A smaller fraction of errors are not even detected by the disk firmware or the host operating system. This is known as &#8220;silent corruption&#8221;. In a recent study, <a href="http://indico.cern.ch/getFile.py/access?contribId=3&amp;sessionId=0&amp;resId=1&amp;materialId=paper&amp;confId=13797">CERN found this issue to be problematic</a>.</p></blockquote>
<p>As hard drives get bigger, we&#8217;re all seeing data corruption become more of an issue. The changes of corruption, both noticed and silent, increase. In vmware envionments silent data corruption can ruin your day. I&#8217;m actually not sure how common it is, but in a service provider environment I worked at we had VMs that would not let us do anything with the vmdk. It seemed &#8220;stuck&#8221;. We couldn&#8217;t storage vmotion it, and it would continually give us grief. After troubleshooting for couple days, the only thing we could do was clone it and delete the original VM. That&#8217;s worked fine, but it could have been a lot worse. As storage envionments get bigger, silent data corruption will eventually happen in your environment unless you protect against it.</p>
<p>ZFS checksums every block that is written and automatically repairs blocks where corruption occurs. This provides end to end data integrity allowing you to be confident there won&#8217;t be a problem with the data when you need it.</p>
<p>Beyond this feature, ZFS allows for heterogeneous block and file replication, <strong>UNLIMITED</strong> snapshots and clones, compression, deduplication, non-disruptive volume increases and a host of other features. I&#8217;ll work through (and link to from here) these features in the future, but it&#8217;s important to get some other base functions explained.</p>
<h3>What is the ARC</h3>
<p>As legacy storage vendors will tell you; Cache is king.  The ability to cache data efficiently or &#8220;move blocks&#8221; or &#8220;other fancy caching name here&#8221; basically does one thing.  It moves data that is most accessed to a faster tier, or more responsive, layer.  ZFS leverages the ARC as it&#8217;s front line cache for most accessed blocks.  This means if your Nexenta appliance has 24G of RAM, it&#8217;s going to get 23 or so gigs to use to cache the most heavily used blocks.  As RAM is added, the ARC cache grows.  RAM being A LOT faster than SSD&#8217;s this proves invaluable for providing FAST response times and lower latency to the client devices.</p>
<h3>What is the L2ARC</h3>
<p>Below the ARC ZFS can leverage additional cache devices, in most configurations today this is SSD drives.  Cheaper than RAM, but still way faster than spinning tin.  This is the 2nd level of cache that Nexenta appliances use for caching &#8220;warm&#8221; data.  This hybrid storage model allows for Nexenta to use slow SLOOOOOWWWW disks for it&#8217;s main storage pool of the working size set (average amount of blocks that are constantly active) fit inside both the L2ARC and ARC cache.</p>
<div></div>
<h3>What is the ZIL</h3>
<p>The ZIL (ZFS intent Log) is the write cache.  Random R/W is the bane of every VMware administrators life.  Not only does Nexenta leverage a read cache, we can cache writes to more efficiently lay down blocks on the slow disks to better handle write workloads.</p>
<h3>How does all of this tie together?</h3>
<p>For our lab environment, if you can move the L2ARC and the ZIL to an SSD drive, you&#8217;ll already start being able to use some of the performance gains that Nexenta brings to the table. Even in a two drive configuration, if one of them is SSD, and there is plenty of Ram available, Nexenta can start helping increase performance through it&#8217;s caching technology.  But that&#8217;s not it, Nexenta brings to the table a host of other features.</p>
<ol>
<ol>
<li>Nexenta provides a software stack that can deliver NAS (NFS/CIFS) and/or SAN (iSCSI/FC)<br />
storage that allows for high performance allowing users to leverage current commodity technologies (ex SSD for performance).</li>
<li>It provides UNLIMITED snapshots and clones</li>
<li>It can be configured in a fully active/active HA configuration.</li>
<li>It provides block and file level replication that can be leveraged for easy DR configurations either in a syncronous or asynchronous configuration.</li>
<li>It&#8217;s vmware certified</li>
<li>It provides compession, dedupe and inline virus scanning. (not post process!)</li>
<li>metro clustering</li>
<li>global namespace</li>
<li>(this goes on and on)</li>
</ol>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>[1] The opensolaris project wasn&#8217;t alone. Oracle&#8217;s purchase of Sun resulted in the forking of <a href="http://www.libreoffice.org/">LibreOffice</a> from OpenOffice.org, and <a href="http://mariadb.org/">MariaDB</a> from MySQL. <a href="http://www.youtube.com/watch?v=-zRN7XLCRhc">Bryan Cantrill&#8217;s talk at LISA</a>  this year pretty much sums up oracle in a nutshell.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/12/30/nexenta-features-and-why-they-matter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>looking forward to 2012</title>
		<link>http://conrey.org/2011/11/21/2011-wrap-up-and-looking-forward-to-2012/</link>
		<comments>http://conrey.org/2011/11/21/2011-wrap-up-and-looking-forward-to-2012/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 13:00:18 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1389</guid>
		<description><![CDATA[I&#8217;ve spent the last few years working at a service provider working on client facing VMware projects, rolling out out a VMware vCloud environment, and helping shape how VMware can be leveraged internally. One of great things for me professionally was a chance to get my hands deeper into VMware&#8217;s product catalog from about every [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent the last few years working at a service provider working on client facing VMware projects, rolling out out a <a href="http://www.vmware.com">VMware</a> <a href="http://www.vmware.com/products/vcloud/overview.html">vCloud</a> environment, and helping shape how VMware can be leveraged internally. One of great things for me professionally was a chance to get my hands deeper into VMware&#8217;s product catalog from about every angle imaginable.<br />
It was awesome getting a look behind the curtains at how a really great datacenter and internet company works to constantly deliver solid solutions to their customers.   With this year drawing to a close soon, I&#8217;m eagerly looking forward to new projects and new challenges to tackle.</p>
<p><span id="more-1389"></span></p>
<p>Outside the office I had the opportunities to get involved elsewhere as well.  <a href="http://www.vmworld.com">VMworld</a> this year was awesome and I&#8217;m still watching presentations I didn&#8217;t watch live. <a href="http://www.vmunderground.com">VMunderground</a> this year was pretty amazing.  We had our biggest event ever. As always we had great sponsors and we were really impressed with the support and turnout from the community. I was invited to attend TechFieldDay6 but due to an unruly internal organ, attended <a href="http://techfieldday.com/2011/tfd7/">TechFieldDay7</a> instead. Stephen Foskett runs a great event, and I was honored to be invited.</p>
<p>Locally, and against better judgement, I was voted in as president for my local LUG, and even though I didn&#8217;t have any intentions of running, I&#8217;m looking forward to it nonetheless.  I&#8217;m also excited that we may be able to start more coordinated and focused efforts with the Iowa Ubuntu LoCo, as I&#8217;m moving into a more active role there as well.</p>
<p>One of the more interesting things I&#8217;ve done this year was take some time to attend the <a href="http://www.conrey.org/?p=1414">Open Storage Summit</a> in San Jose.  Great week, great presentations, and I took away a ton of information.  Maybe more importantly, I took away the knowledge that these guys (and gals) are really building something different, something open, and something with community at the forefront.  The team around illumos is really focused on making a difference.  <a href="http://www.nexenta.com">Nexenta</a> has been a big supporter of VMUGs around the globe, and of course <a href="http://www.vmunderground.com">VMunderground</a> as well.</p>
<p>The storage market has got to be a tough nut to crack.  <em>Buying your storage from a software company</em> is something new in the minds of many companies and IT management, but it isn&#8217;t a new idea.  Most of us in the industry today are completely ok with <em>buying our compute and OS resource management from a software company</em>. VMware has effectively moved the cheese for many MANY hardware companies.  I don&#8217;t need to buy &#8220;windows specific&#8221; or linux optimized&#8221; hardware.  Solid hardware that supports VMware is enough.  This change isn&#8217;t done yet.  I think Stephen Foskett&#8217;s assessment of <a href="http://blog.fosketts.net/2011/10/31/vmware-oedipus-server-virtualization-change-storage/">VMware as Oedipus</a> has legs.  This doesn&#8217;t mean that traditional storage vendors are going to toss in the towel, there is significant innovation going on <em>industry wide</em> and they&#8217;ve got huge war chests to spend.  It just means, like always, things are changing.  This is a really exciting time to be involved in technology.</p>
</p>
<p>With the adaption of vmware&#8217;s VSA it&#8217;s important to realize, now more than ever, you don&#8217;t have to wrap mostly expensive tin around your software <em>anywhere</em>, anymore.  You <strong>can</strong> leverage commodity hardware.  You <strong>can</strong> build what you need, <strong>when</strong> you need it. </p>
<p>Which brings me back to the beginning of this tirade.  New projects and new challenges.  At this point it should be pretty evident where I&#8217;m placing my chips.  It was a tough decision but I&#8217;ve decided to leave <a href="http://www.lightedge.com">LightEdge</a> and jump feet first into the open storage arena.  I&#8217;ll be starting soon with <a href="http://www.nexenta.com">Nexenta</a> helping get open storage based solutions deployed to customers around the globe.  <a href="http://www.lightedge.com">Lightedge</a> has been a great company to work for and I wish them the best of luck as they move forward.</p>
<p>In charting a new course I&#8217;m looking forward to new and exciting challenges.  Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/11/21/2011-wrap-up-and-looking-forward-to-2012/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>building virtual appliances on ubuntu</title>
		<link>http://conrey.org/2011/11/14/building-virtual-appliances-on-ubuntu/</link>
		<comments>http://conrey.org/2011/11/14/building-virtual-appliances-on-ubuntu/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 00:07:21 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1435</guid>
		<description><![CDATA[Ubuntu to me is still the best OS to use for virtual appliances. It may not be for the reasons that you&#8217;re thinking about so here&#8217;s my short list. it&#8217;s wildly successful to me this means lots of updates and support for packages both from the vendor (canonical) as well as the community. support available [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ubuntu.com">Ubuntu</a> to me is still the best OS to use for virtual appliances. It may not be for the reasons that you&#8217;re thinking about so here&#8217;s my short list.</p>
<ul>
<li>it&#8217;s wildly successful</li>
</ul>
<p>to me this means lots of updates and support for packages both from the vendor (canonical) as well as the community.</p>
<ul>
<li>support available from ONE install</li>
</ul>
<p>What other distribution has one install for the community AND commercial support? Yea. I can&#8217;t think of one either. This allows users to choose how much support they want/need from one virtual appliance/installation.</p>
<ul>
<li>small minimal virtual machine footprint</li>
</ul>
<p>The ovf will fit neatly on a 512M usb drive when complete.<br />
<span id="more-1435"></span></p>
<h3>why another virtual appliance tutorial?</h3>
<p>I know that building virtual appliances is old hat for many of you, but I keep getting the question about how to build virtual appliances for distribution. In a recent scenario at my work, they were looking for a splunk virtual appliance that members of the consulting group could quickly leave on site. I thought this would be a good walkthrough. Let me know if you have any questions.</p>
<h3>let&#8217;s get started!</h3>
<p>First things first we need to download a copy of <a href="http://www.ubuntu.com/download/server/download">ubuntu server</a>. Once you&#8217;ve got your iso downloaded, go ahead and build out the base VM that you&#8217;re going to use. For these types of deployments, I go ahead and configure the appliance inside a vApp as we are starting to deploy more of these on vCloud deployments.</p>
<h3>build your vApp and VM</h3>
<ul>
<li>In vSphere, right click on your cluster or host and select New vApp.</li>
<li>Name your vApp, select next.</li>
<li>If you need/want to isolate resources specifically for this vApp you can do so on the Resource Allocation screen. I&#8217;ll go ahead and reserve 1G of Memory cause I&#8217;m greedy like that. Select next.</li>
<li>Select Finish and find your vApp in the VM list.<br />
Now we need to add the VM to the vApp.</li>
<li>Right click on the vApp and select New Virtual Machine.</li>
<li>Name your virtual machine and select Next (this demo will be for spunk so I&#8217;ll use the ever so cunning name splunk. Select Next.</li>
<li>select which datastore you want this VM to temporarily live, select next.</li>
<li>select the Guest Operating System for this VM, in this case, select the Linux radio button, and select Ubuntu Linux (64-bit) in the Version dropdown window. Select Next. (you did download the 64bit version right?!)</li>
<li>Set the size of your virtual appliance, I&#8217;ll crank this down to 10G, as the splunk data directories will be remote NFS mounted in most cases. I&#8217;m a huge fan of thin provisioning. check it if it&#8217;s appropriate for your workload. select Next.</li>
<li>Select Finish.<br />
<h3>install ubuntu</h3>
<p>mount the iso to your vm, and start &#8216;er up. Once you&#8217;ve selected your language, on the initial install screen&#8230;</li>
<li>select f4</li>
<li>
<p style="clear: both;">select Install a minimal virtual machine [1] <img src="http://conrey.org/files/2011/11/virtappliance01.png" alt="" width="519" height="471" /></p>
</li>
<li>select enter (this takes you back to the main screen)</li>
<li>select Install Ubuntu Server (should be checked by default) Select Next</li>
<li>select your language again (don&#8217;t ask) Hit Enter</li>
<li>select your location. hit Enter</li>
<li>select No for keyboard layout</li>
<li>select your Keyboard language (English (US) is default)</li>
<li>select your Keyboard layout (English (US) is default)</li>
<li>The system will load additional components as needed</li>
<li>Network configuration. I SERIOUSLY recommend DHCP for just about everything. It&#8217;s 2011 folks, DNS and DHCP works.</li>
<li>give your appliance a hostname (splunkappliance in my case) Select next.</li>
<li>it&#8217;ll start up the clock and check your time zone. change it if needed or select Yes.</li>
<li>For partitioning, I select Guided &#8211; use entire disk and set up LVM to make it easier to expand the install as needed down the road if required. Select this and hit enter</li>
<li>default vm will have one disk listed, select it and hit enter.</li>
<li>Select Yes to write the changes to disk, and hit enter</li>
<li>If using LVM you&#8217;ll be prompted with the maximum amount of space in the volume group. Select Continue and hit enter.</li>
<li>Select Yes to write the changes to disk and hit enter</li>
<li>Enter your default full username, select continue.</li>
<li>Enter your default user name, select continue.</li>
<li>Enter your default password, select continue.</li>
<li>You&#8217;ll be prompted with &#8220;How do you want to manage upgrades on this system?&#8221; I select install security updates automatically so I don&#8217;t have to worry about being blamed for something that is WAY outside my control 6 months from now. It&#8217;ll still happen, but I&#8217;ll sleep easier. Select which of the first two you want, and hit enter.</li>
<li>Choose software to install. The only thing I select here is OpenSSH server. that&#8217;s it. select it and select continue.</li>
<li>This will start the package install, and it should go relatively fast</li>
<li>select Yes to install the GRUB boot loader to the master boot record.</li>
<li>Select Continue to finish your installation</li>
<li>unmount the iso from vSphere client</li>
<li>The above will install a really base system for your virtual appliance. I go ahead and install openssh-server on the vm so that it doesn&#8217;t need unproxied internet access during it&#8217;s first boot to get it installed. As I&#8217;m regenerating the ssh keys anyway, I don&#8217;t worry about it too much. This VM should boot REALLY really fast.<br />
<h3>/etc/issue</h3>
<p>/etc/issue.net is the file that handles what is displayed before a user logs in. like this:<br />
<img src="http://conrey.org/files/2011/11/virtappliance02.png" alt="" width="468" height="281" /></p>
<p>that&#8217;s pretty boring right? what we want for our appliance is to have something awesome like this:</p>
<p><img src="http://conrey.org/files/2011/11/virtappliance03.png" alt="" width="408" height="269" /></p>
<p>To get this we&#8217;ll need to do a couple of things. we&#8217;ll want to create a new script that is run at bootup <strong>every time</strong>. This will generate the /etc/issue.net for us after we get our ip address. Here&#8217;s the contents of a generic one I used for this demo. Adjust as needed.</p>
<p><sourcecode language="text"><br />
#! /bin/bash<br />
#<br />
# issue-reset set ipaddr in /etc/issue<br />
#<br />
# chkconfig: 2345 90 60<br />
# description: this will echo the ip address to /etc/issue for display<br />
#<br />
# Source function library.<br />
#. /etc/init.d/functions<br />
RETVAL=0<br />
#<br />
# See how we were called.<br />
#<br />
prog=&#8221;issue-reset&#8221;<br />
start() {<br />
#<br />
#change /etc/issue to display ip address<br />
#<br />
echo &#8220;AWESOMETACULAR Splunk Appliance&#8221; &gt; /etc/issue<br />
echo &#8220;Powered by Ubuntu Linux and caffeine&#8221; &gt;&gt; /etc/issue<br />
echo &#8221; &#8221; &gt;&gt; /etc/issue<br />
netcount=$(/sbin/ifconfig | grep -o &#8220;inet&#8221;)<br />
if [[ $netcount &gt; 1 ]]<br />
then<br />
echo &#8220;To manage this virtual appliance please use a web &#8221; &gt;&gt; /etc/issue<br />
echo &#8220;browser on a different system and navigate to &#8221; &gt;&gt; /etc/issue<br />
echo &#8221; &#8221; &gt;&gt; /etc/issue<br />
/sbin/ifconfig | grep &#8220;inet addr&#8221; | grep -v &#8220;127.0.0.1&#8243; | awk &#8216;{ print $2 }&#8217; | awk -F: &#8216;{ print &#8220;http://&#8221;$2&#8243;:8000&#8243; }&#8217;&gt;&gt; /etc/issue<br />
echo &#8221; &#8221; &gt;&gt; /etc/issue<br />
else<br />
echo &#8220;This appliance does not have networking configured. Please log in to configure networking&#8221; &gt;&gt; /etc/issue<br />
fi<br />
echo &#8221; &#8221; &gt;&gt; /etc/issue<br />
cp /etc/issue /etc/issue.net<br />
# RETVAL=$?<br />
echo<br />
[ $RETVAL -eq 0 ]<br />
return $RETVAL<br />
}<br />
case &#8220;$1&#8243; in<br />
start)<br />
start<br />
;;<br />
*)<br />
echo $&#8221;Usage: $0 {start}&#8221;<br />
exit 1<br />
esac</p>
<p>exit $?<br />
</sourcecode></p>
<p>Once you&#8217;ve downloaded this, we&#8217;re going to move it to the /etc/init.d directory and rename it banner:<br />
<code>mv ./banner.txt /etc/init.d/banner</code><br />
change the owner to root, and make it executable.<br />
<code>sudo chmod +x /etc/init.d/banner &amp;&amp; sudo chown root.root /etc/init.d banner</code><br />
add /etc/init.d/banner to be run at startup:<br />
<code>sudo update-rc.d banner defaults</code></p>
<p>that&#8217;s it! You&#8217;ll want to edit that file to make it reflect what you want it to say, but it&#8217;s pretty self explanatory.</p>
<h3>firstboot startup script</h3>
<p>There are a couple of ways to handle first boot only startup scripts. The easiest way I&#8217;ve found is to edit the rc.local file to run a script, and when complete, clean up after itself. Here&#8217;s what my firstboot script looks like:</p>
<p><sourcecode language="perl"><br />
#This script is run the first time a user logs in<br />
echo &#8220;Your Splunk appliance is almost finished being deployed&#8221;</p>
<p>INSTALL=&#8221;apt-get install -y&#8221;<br />
REMOVE=&#8221;apt-get remove -y&#8221;<br />
SPLUNK_HOME=&#8221;/opt/splunk&#8221;<br />
apt-get update</p>
<p># email<br />
$INSTALL exim4-daemon-heavy</p>
<p># expire the user account passwd<br />
passwd -e defaultuser</p>
<p># new ssh key generation<br />
rm /etc/ssh/ssh_host*key*<br />
dpkg-reconfigure -f noninteractive -p critical openssh-server</p>
<p># splunk<br />
dpkg -i /root/splunk-4.2.4-110225-linux-2.6-amd64.deb</p>
<p>#start splunk server for the first time<br />
$SPLUNK_HOME/bin/splunk start &#8211;accept-license</p>
<p>#configure splunk to autostart at boot<br />
$SPLUNK_HOME/bin/splunk enable boot-start</p>
<p># clean up<br />
sed -i &#8216;s_/root/firstboot.sh_exit 0_&#8217; /etc/rc.local</p>
<p>echo &#8220;firstboot complete&#8221;<br />
</sourcecode></p>
<p>You&#8217;ll want create a file with that as the content, save it, and put it somewhere where it can be run during boot. For ease of this demo, we&#8217;re going to put it in our home folder. Don&#8217;t Judge, this is just a demo.</p>
<p><code>sudo mv ./firstboot.txt /root/firstboot.sh &amp;&amp; sudo chmod +x /root/firstboot.sh &amp;&amp; sudo chown root.root /root/firstboot.sh</code></p>
<p>Now we&#8217;re going to setup this script to be run during first boot. using whatever editor you want edit /etc/rc.local and remove the exit 0 line and substitute it with the following line:</p>
<p><code>/root/firstboot.sh</code></p>
<p>Let&#8217;s walk through firstboot.sh and take a look at what we&#8217;re doing. In our example, we&#8217;re creating a splunk virtual appliance, so from the top:</li>
<li>we&#8217;re updating our repositories</li>
<li>we&#8217;re installing an MTA for splunk to use.</li>
<li>we&#8217;re expiring the password for our default user account. Change this to reflect whatever username you selected.</li>
<li>we&#8217;re deleting and regenerating ssh keys</li>
<li>we&#8217;re installing splunk. For this example, you&#8217;ll need to get the splunk .deb package downloaded and put somewhere accessible. It&#8217;s free, go grab it now.</li>
<li>Now we&#8217;re going to do some startup specific commands for splunk, first we&#8217;re going to set splunk to start for the first time and accept the license.</li>
<li>Next we&#8217;re going to go ahead and configure splunk to start every time the server starts.</li>
<li>after that&#8217;s complete, we&#8217;re going to clean up /etc/rc.local to not run this script again.That&#8217;s it for our startup script. pretty straightforward.<br />
<h3>Test your appliance</h3>
</li>
<li>power off the VM and create a snapshot.</li>
<li>Power the vm on and test the startup, the install of our splunk package, and the firstboot configuration steps.</li>
<li>If everything works, go ahead and roll back our changes and create your ovf below</li>
<li>if it doesn&#8217;t power back on and dig in <img src='http://conrey.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<h3>add some info to your appliance</h3>
<p>If you&#8217;re planning on posting updates to this, or you want to provide the default username and password information directly in the ovf file, you&#8217;ll want to edit some of the details of your vApp.</li>
<li>Right-click on your vApp and select Edit Settings.</li>
<li>On the options tab, select Advanced.</li>
<li>Enter your appliance name, website, and any other information that you want to provide.</li>
<li>
<h3>export to ovf</h3>
</li>
<li>From the vSphere client, select the vApp, and in the File menu select Export, Export OVF Template.</li>
<li>pick a directory where you can store your appliance</li>
<li>export!</li>
<li>
<h3>test appliance</h3>
<p>one last test of your appliance and you&#8217;re ready for deployments. This last check for me usually provides a sanity check for the finished appliance. to deploy from vSphere client just:</li>
<li>select file</li>
<li>deploy OVF template</li>
<li>browse to the directory and select the OVF file</li>
<li>the only thing you should have to do other than picking a datastore, is selecting a network</li>
<li><a href="http://twitter.com/zenbiking/status/136209420320374784">Go get a cup of coffee while the deployment occurs</a></li>
<li>done!</li>
<li>
<h3>conclusion</h3>
<p>This walkthrough for a splunk appliance is pretty simple but if done correctly virtual appliances deployments can shave hours off of simple traditional application installations for your team. Getting more advanced versions of this, you could get fancy and add additional layers like puppet autoconfigs to further automate package deployments. Let me know what you think and if this worked for you!</p>
<p>[1] this is what used to be the <a href="https://help.ubuntu.com/community/JeOS">ubuntu JeOS install</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/11/14/building-virtual-appliances-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Storage Summit 2011 thoughts</title>
		<link>http://conrey.org/2011/11/14/open-storage-summit-2011-2/</link>
		<comments>http://conrey.org/2011/11/14/open-storage-summit-2011-2/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 20:47:45 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1414</guid>
		<description><![CDATA[It&#8217;s been a few weeks and the dust has (mostly) settled from this years open storage summit and I wanted to get my thoughts down on paper as a first year attendee. overview First off, if you&#8217;re interested in the rapidly changing world around open storage software solutions and/or ZFS based storage, you should try [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a few weeks and the dust has (mostly) settled from this years <a href="http://www.openstoragesummit.org/">open storage summit</a> and I wanted to get my thoughts down on paper as a first year attendee.<br />
<span id="more-1414"></span></p>
<h3>overview</h3>
<p>First off, if you&#8217;re interested in the rapidly changing world around open storage software solutions and/or ZFS based storage, you should try to go next year. seriously.  Start thinking about this <strong>now</strong>. This year had three great tracks and solid keynotes around the evolving world of storage and the datacenter, and it all made for a great show.  </p>
<h3>event organization</h3>
<p>As a regular vmworld attendee, my bar is set pretty high about scale and size.  This conf is much MUCH smaller.  I quickly made my way through registration, and wandered around the partner area.  The &#8220;people herding&#8221; side of running an event always seems to be where it falls apart, but this event was well organized and ran smoothly.</p>
<p>Thumbing through the schedule one of the things that stuck me was that all of the tracks had solid presentations, for both days.  Like <a href="http://www.vmworld.com">vmworld</a>, when I wasn&#8217;t sure, I just dropped in on the session that I&#8217;d have the most questions to ask at the end of the presentation, hoping that the videos will be made available after the fact (<em>Hey Nexenta, they are going to be made available right?</em>)</p>
<p>Lunch was handled efficiently, and the dining area was large separate room.</p>
<h3>keynotes</h3>
<p>Keynotes were well planned and Nexenta did a great job getting speakers lined up.  </p>
<li>Billy Cox&#8217;s presentation around open compute platform and how it is already impacting datacenter design was interesting, and explained some things I really didn&#8217;t understand around open compute.
<li>Jason Hoffman, CTO and a founder at Joyent may have given one of the best economics of cloud presentation that I&#8217;ve ever seen.  Not because of some new idea, or unique data point, but by a seamless story that allowed for greater understanding using already easily understood concepts.  Seriously.  If you&#8217;ve get a time to listen to this guy, do so.
<li>W.C. Preston&#8217;s presentation about the &#8220;state of the backup world&#8221; was great, and his explanation around why cloud is going to stick around struck home for reasons I hadn&#8217;t considered.  Great speaker.
<li>Evan Powell&#8217;s keynote around open storage and where the project is today really set the stage for the whole event, and helped get everyone ramped up.</li>
<p>That was just a few of them.  All in all, an impressive lineup.</p>
<h3>sessions</h3>
<p>Out of all of the sessions that I sat through, I&#8217;ve got to say three of them stuck with me for different reasons.</p>
<li><a href="http://www.slideshare.net/OpenStorageSummit/oss-metro-cluster-andy-bennett-10488413">How to Design Your Metro Cluster with NexentaStor &#8211; Andy Bennett &amp; Roel De Fran</a></li>
<p>I wasn&#8217;t expecting what I got in this session.  at all. ACTIVE / ACTIVE / ACTIVE metro cluster (yea that&#8217;s three way) up and running today on nexenta with vmware.  HOLY FRAKING AWESOME.</p>
<li><a href="http://www.slideshare.net/OpenStorageSummit/oss-presentation-accelerating-vdi-by-daniel-beveridge">Design Options for Integration of VMware View with Nexenta Storage &#8211; Dan Beveridge, VMware</a></li>
<p>Sitting through this really made a few lightbulbs go off. the premise of this is why ZFS makes a silly awesome VSA for VDI workloads.  I&#8217;ll write up something about this here in the coming week or so, it really deserves it&#8217;s own blogpost.</p>
<li>How to Fine Tune NexentaStor for Performance &#8211; <a href="http://blog.richardelling.com/">Richard Elling</a> Nexenta</li>
<p>This was a closing presentation right before the summit ended.  This was your typical &#8220;tuning&#8221; presentation, except for a few things:</p>
<ol>
<li>it ran long&#8230;. like over an hour long.</li>
<li>no one got up and left. There were rears in chairs for the whole thing. </li>
</ol>
<h3>parties</h3>
<p>You&#8217;d have been shocked if I hadn&#8217;t mentioned the parties right?  Nexenta and sponsors threw a REALLY solid party at the <a href="http://loftbarandbistro.com/">Loft Bar and Bistro</a>.  While it wasn&#8217;t an official party around Open Storage Summit, some of the vmware folks in the area threw a <a href="http://www.vbeers.org/2011/10/26/vbeers-silicon-valley-thursday-october-27th/">#vBeers event on thursday night</a> that was well attended and it was great seeing the nexenta team show up in force also.  Thanks again to <a href="http://www.twitter.com/#!/KokopeIIi">@KokopeIIi</a> for organizing the silicon valley vbeers events.</p>
<h3>closing thoughts</h3>
<p>The three sessions highlighted above really solidified what I see going on in the open storage arena today:</p>
<li>Nexenta is driving real innovation.  While it may seem easier to buy vBoxMart solutions, you can&#8217;t blanket dismiss the cost savings and performance of open technologies today. </li>
<li>Nexenta makes a strong partner play whether it&#8217;s delivering VDI storage value and performance or carrying production shared storage workloads. </li>
<li>Nexenta (and illumos) has a REALLY passionate and technically savvy audience&#8230;.. and it&#8217;s growing. I&#8217;m looking forward to next year&#8217;s event, and I&#8217;m looking forward to seeing you there.</li>
<p>I&#8217;ll be adding some photos that I took later this week.  look for them <a href="http://www.conrey.org/" />here</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/11/14/open-storage-summit-2011-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CloudFoundry : zero to server in 7 steps</title>
		<link>http://conrey.org/2011/10/20/cloudfoundry-zero-to-server-in-7-steps/</link>
		<comments>http://conrey.org/2011/10/20/cloudfoundry-zero-to-server-in-7-steps/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 21:18:07 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1380</guid>
		<description><![CDATA[I&#8217;m talking to you vmware people. It&#8217;s time you downloaded and starting testing/deploying/building/breaking/hacking on cloudfoundry. This may be the coolest vmware project I&#8217;ve seen since ESX. seriously. I won&#8217;t go into how it could change application deployment on servers moving forward, or how it&#8217;ll help reshape the idea of application development altogether, there&#8217;s enough folks [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m talking to you vmware people.  It&#8217;s time you downloaded and starting testing/deploying/building/breaking/hacking on <a href="http://www.cloudfoundry.org">cloudfoundry</a>.  This may be the coolest vmware project I&#8217;ve seen since ESX.  seriously.  I won&#8217;t go into how it could change application deployment on servers moving forward, or how it&#8217;ll help reshape the idea of application development altogether, there&#8217;s enough folks that are talking about that. I just want to see more of you getting your hands dirty with it.<br />
<span id="more-1380"></span><br />
But how do we get started quickly?</p>
<ol>
<li><a href="http://www.ubuntu.com/download/server/download">download</a> an Ubuntu 11.10 Server iso.</p>
<li>Create a vm in vmware.  I&#8217;ll assume you&#8217;re good there and skip that part.
<li>mount your new iso and install Ubuntu Server 11.10 server.<br />
when you get to package selection, do nothing.  just do a minimal install.</p>
<li>update and upgrade your system<br />
<code>sudo apt-get update &amp;&amp; sudo apt-get upgrade</code></p>
<li>install a supporting package for step 6&#8230;<br />
<code>sudo apt-get install python-software-properties</code></p>
<li>add the cloudfoundry repositories<br />
<code>sudo apt-add-repository ppa:cloudfoundry/ppa</code></p>
<li>update and install cloudfoundry server<br />
<code>sudo apt-get update &amp;&amp; sudo apt-get install cloudfoundry-server</code><br />
During the install process you&#8217;ll be asked to set the root password for the mysql server that is installed as a dependency. You&#8217;ll also be asked for IP address information.  This is information you&#8217;ll need to have if you want you installation to be publicly visible and is behind a firewall.</p>
<p>Yea, it&#8217;s that easy. </p>
<h3>client install</h3>
<p>If you want to get the client installed on a different vm, follow the steps above on a fullblown <a href="http://www.ubuntu.com/download/ubuntu/download">Ubuntu</a> to install the repositories (steps 5 and 6 above) </p>
<p>Once that&#8217;s done it&#8217;s as easy as<br />
<code>sudo apt-get install cloudfoundry-client</code><br />
to get the vmc installed.</p>
<p>That should have all taken up about 15-20 minutes of your life, start to finish. (post downloads of course)</p>
<h3>Where to go from here?</h3>
<p>Dustin Kirkland has some great writeups about ubuntu and cloudfoundry so I recommend reading up on his blog <a href="http://blog.dustinkirkland.com/2011/07/getting-started-with-cloudfoundry.html">here</a> for some great examples.</p>
<p>I&#8217;ll follow this up with some posts about wordpress and how to get it running in a cloudfoundry deployment soonish.</p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/10/20/cloudfoundry-zero-to-server-in-7-steps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMunderground 2011</title>
		<link>http://conrey.org/2011/09/05/vmunderground-2011/</link>
		<comments>http://conrey.org/2011/09/05/vmunderground-2011/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 23:50:06 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1363</guid>
		<description><![CDATA[Let me start by saying thanks to all of our amazing sponsors. This year was hands down the best party we&#8217;ve thrown. It&#8217;s hard to top the thirsty bear in SFO, but the Nine Fine Irishman in LAS was a roaring success. Thank you to everyone who helped out and I&#8217;ll be posting some pictures [...]]]></description>
			<content:encoded><![CDATA[<p>Let me start by saying thanks to all of our <a href="http://www.vmunderground.com/?page_id=162">amazing sponsors</a>.  This year was hands down the best party we&#8217;ve thrown.  It&#8217;s hard to top the thirsty bear in SFO, but the Nine Fine Irishman in LAS was a roaring success.  Thank you to everyone who helped out and I&#8217;ll be posting some pictures over at the <a href="http://www.vmunderground.com">VMunderground site</a> as soon as I can.</p>
<p>I&#8217;m not sure there could have been a better way to kick off <a href="http://www.vmworld.com">VMworld</a>, and now that the event is over, looking back, I&#8217;m not sure it could have gone any better. Now to start planning a way to top it next year!</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/09/05/vmunderground-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tech Field Day.  Lucky Number 7.</title>
		<link>http://conrey.org/2011/08/08/tech-field-day-lucky-number-7/</link>
		<comments>http://conrey.org/2011/08/08/tech-field-day-lucky-number-7/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 15:39:16 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1334</guid>
		<description><![CDATA[While I was on the docket for Tech Field Day 6 attendance AND a co-sponsored VMunderground Party my appendix decided it wasn&#8217;t going to play nicely. I made an example out of it and had it removed. I&#8217;m hoping that&#8217;s enough to keep the rest of my organs in line while I attend Tech Field [...]]]></description>
			<content:encoded><![CDATA[<p>While I was on the docket for <a href="http://techfieldday.com/2011/tfd6/">Tech Field Day 6 attendance</a> <em><strong>AND</strong></em> a co-sponsored <a href="http://www.vmunderground.com/?p=241">VMunderground Party</a> my appendix decided it wasn&#8217;t going to play nicely.  I made an example out of it and had it removed.  I&#8217;m hoping that&#8217;s enough to keep the rest of my organs in line while I attend Tech Field Day 7.  For those of you not familiar with Tech Field Day, here&#8217;s a blurb from <a href="http://www.techfieldday.com">TechFieldDay.com</a>:</p>
<blockquote><p>Our Field Day events bring together innovative IT product vendors and independent thought leaders to share information and opinions in a presentation and discussion format. Independent bloggers, freelance writers, and podcasters have a public presence that has immense influence on the ways that products and companies are perceived and by the general public.</p></blockquote>
<p><a href="http://techfieldday.com/2011/tfd7/">Tech Field Day 7</a> is being held in the grand city of Austin, TX. and will be sponsored by <a href="http://www.dell.com">Dell</a>, <a href="http://www.veeam.com">Veeam</a>, <a href="http://www.symantec.com">Symantec</a>, and <a href="http://www.solarwinds.com">Solarwinds</a>.</p>
<p>I&#8217;m thrilled to be a part of this event, and looking forward to meeting my fellow delegates as well as the presenting sponsors.  This event is going to be awesome and I&#8217;m bringing a little <a href="http://www.templetonrye.com">something special</a> to share from IA.  I hope someone from Alaska is coming with quality ice.</p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/08/08/tech-field-day-lucky-number-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LVM and vmware linux guests. Just do it already.</title>
		<link>http://conrey.org/2011/05/18/lvm-and-vmware-linux-guests-just-do-it/</link>
		<comments>http://conrey.org/2011/05/18/lvm-and-vmware-linux-guests-just-do-it/#comments</comments>
		<pubDate>Wed, 18 May 2011 05:23:10 +0000</pubDate>
		<dc:creator>theron</dc:creator>
				<category><![CDATA[Front]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.conrey.org/?p=1329</guid>
		<description><![CDATA[What is LVM? Logical Volume Manager (LVM) provides a (virtualized would be a stretch) logical presentation of storage to the OS rather than physical devices. With LVM, logical partitions can span across multiple physical volumes. A single physical disk can divided into one or more physical volumes. This allows for a layer of mgmt above [...]]]></description>
			<content:encoded><![CDATA[<h3>What is LVM?</h3>
<p>Logical Volume Manager (LVM) provides a (virtualized would be a stretch) logical presentation of storage to the OS rather than physical devices. With LVM, logical partitions can span across multiple physical volumes.  A  single physical disk can divided into one or more physical volumes.  This allows for a layer of mgmt above the base disk, before it get&#8217;s presented to the base os, for accessing and using physical storage.<br />
<span id="more-1329"></span></p>
<h3>Why would I use it?</h3>
<p>Why wouldn&#8217;t you?! Most linux operating systems today offer LVM as part of the install.  This can be chosen with no impact on the system even if no future changes are made to the disk layout.  Say you&#8217;ve got a template that is 40G in size, and you&#8217;re deploying out a file server that will need additional space.  Go ahead and use the template, and just add an additional disk (in the form of a physical volume) to the logical volume. easy peasy.  This means you don&#8217;t have to have different templates for every possible use imaginable.  If you need to reutilize a server for a customer, or for a new workload, you can remove physical volumes from a logical volume as well. Coupling this with a standardized base template and you&#8217;ve just tackled the problem of being unable to shrink vmdk files.  (deleting, adding disks, copying data, removing disks gets to be a pain for a busy vmware admin)</p>
<h3>Example base install</h3>
<p>While it&#8217;s different for every distro during install it&#8217;s pretty straightforward during the disk selection and formating section.  In ubuntu for instance, it&#8217;s already the default option you&#8217;re presented with during an 11.04 server installation:<br />
<img alt="" src="http://www.conrey.org/graphics/ubuntulvm01.png" class="alignnone" width="560" height="407" /></p>
<h3>Adding an additional drive</h3>
<p>For this example I&#8217;ve created 10G ubuntu 11.04 vm. The first thing I need to do in order to add additional space to this VM would be to add another disk to the VM. </p>
<p>With the vm powered up, From the vm console, select Edit Settings.  In the Virtual machine properties window select the add button, select settings, select add Hard disk.  In the Add hardware window, select the create new virtual disk radio button and select next.  Set the size of the disk you&#8217;d like to add, and select next.  Make a mental note of the Virtual device node (usually 0:1 for the first disk added after the base), select next, review the selection, and select finish.<br />
With the disk now listed in the Virtual machine properties window in bold, select OK.  This will create and add the disk to your vm.</p>
<h3>rescanning</h3>
<p>Once you&#8217;ve added the disk, you&#8217;ll need to rescan the scsi bus to avoid downtime.  </p>
<p>you can run a </p>
<p><code>ls /sys/class/scsi_host</code> </p>
<p>to identify the scsi hosts on your system.</p>
<p>and run a </p>
<p><code>echo "- - -" &gt; /sys/class/scsi_host/host2/scan</code></p>
<p>command to rescan the host bus and identify and new drives installed.</p>
<h3>adding a physical volume to the new drive</h3>
<p>to prep the disk, first thing I&#8217;ll do is format it:</p>
<p><code>sudo fdisk /dev/sdb</code> </p>
<p>I&#8217;ll create a new partition (select n), primary (select p), select the 1st partition, (select 1), and use the whole disk (selecting the default options for first and last cylinder).  Now I need to identify the partition as an LVM volume (select t to change the type, select 8e for Linux LVM) With that done we need to commit our changes (select w) and that should do it for the disk partition.  To verify, you can run fdisk /dev/sdb and select p to display your disk&#8217;s partition information.</p>
<p><img alt="" src="http://www.conrey.org/graphics/ubuntulvm03.png" class="alignnone" width="650" height="244" /></p>
<p>first thing you need to do is add a physical volume to the new disk.  </p>
<p><code>pvdisplay</code> will list the existing physical volumes.</p>
<p><img alt="" src="http://www.conrey.org/graphics/ubuntulvm02.png" class="alignnone" width="526" height="209" /></p>
<p>I&#8217;ll go ahead and initialize the new physical volume on the new drive.</p>
<p><code>pvcreate /dev/sdb1</code></p>
<p>doing a pvdisplay again will show the new physical volume created.</p>
<h3>adding the new disk to the logical volume</h3>
<p>first thing you want to do is identify what logical volume you want to add the disk to. </p>
<p><code>sudo lvdisplay</code></p>
<p>will list out the existing logical volumes on your system.<br />
<img alt="" src="http://www.conrey.org/graphics/ubuntulvm04.png" class="alignnone" width="619" height="248" /></p>
<p> I&#8217;m going to add the physical volume group I just created to the ubuntu volume group.<br />
<code>vgextend ubuntu /dev/sdb1</code></p>
<p>Now we need to extend the volume group to use the additional space.  You won&#8217;t be able to use all of the drive, but you&#8217;ll get most of it.<br />
<code>lvextend -l +100%FREE /dev/ubuntu/root</code></p>
<p>Now that the volume is using the new disk, we need to get the file system to identify it as well.</p>
<p><strong>warning</strong>: there are tons of reported issues this next command can cause while running on a mounted file system.  While I haven&#8217;t seen it be safe kids, use snapshots.<br />
<code>resize2fs -p /dev/ubuntu/root</code></p>
<h3>done!</h3>
<p>With that done, do a <code>df -h</code> and see your new and improved logical volume. </p>
<p><strong>interesting note:</strong> for those times when you actually are stuck trying to exceed the 2TB single vmdk limitation, and don&#8217;t want to publish new VMFS storage, using LVM is an easy way to get around the limit without having to make changes to your filesystem layout.</p>
<h3>summary</h3>
<p>I see enough linux installs to know that using LVM makes my life easier.  I&#8217;m willing to bet if you&#8217;re using it actively today, you&#8217;d say the same thing.  If you&#8217;re deploying linux vms for anything, take the time and set up your appliances for LVM.  It makes adjusting them down the road that much easier.  (I&#8217;m looking at you EMC)  Additionally, this just scratches the surface of what you can do with LVM, demonstrating a single function to ease growing available space on a single volume. Once you&#8217;ve started using LVM, take the time to familiarize yourself with the rest of what LVM can help you do.</p>
<h3>References:</h3>
<p><a href="http://www.redhat.com/magazine/009jul05/features/lvm2/">http://www.redhat.com/magazine/009jul05/features/lvm2/</a><br />
<a href="http://www.tldp.org/HOWTO/LVM-HOWTO/">http://www.tldp.org/HOWTO/LVM-HOWTO/</a><br />
<a href="http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html">http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://conrey.org/2011/05/18/lvm-and-vmware-linux-guests-just-do-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

