<?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>The Dev Null Blog &#187; Administration</title>
	<atom:link href="http://empoweringmedia.com/blog/category/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://empoweringmedia.com/blog</link>
	<description>Empowering Media&#039;s tech blog</description>
	<lastBuildDate>Mon, 23 Jan 2012 14:36:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image><title>The Dev Null Blog</title><url>http://empoweringmedia.com/images/em-logo-alt.gif</url><link>http://empoweringmedia.com/blog</link><width>249</width><height>69</height><description>The Dev Null Blog - http://empoweringmedia.com/blog</description></image><xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Great article on Puppet</title>
		<link>http://empoweringmedia.com/blog/48/great-article-on-puppet/</link>
		<comments>http://empoweringmedia.com/blog/48/great-article-on-puppet/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 12:35:51 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.empoweringmedia.com/blog/?p=48</guid>
		<description><![CDATA[Luke Kanies, the creator of Puppet, talks in depth how backwards system administration still is and why VPS images is not a good path to go down (something we found out very quickly). http://news.oreilly.com/2008/08/luke-kanies-wants-to-modernize.html Errors aside in the transcript, it&#8217;s great article.  Administration is no longer a task, but a process.  If you are still [...]]]></description>
			<content:encoded><![CDATA[<p>Luke Kanies, the creator of Puppet, talks in depth how backwards system administration still is and why VPS images is not a good path to go down (something we found out very quickly).</p>
<p><a href="http://news.oreilly.com/2008/08/luke-kanies-wants-to-modernize.html">http://news.oreilly.com/2008/08/luke-kanies-wants-to-modernize.html</a></p>
<p>Errors aside in the transcript, it&#8217;s great article.  Administration is no longer a task, but a process.  If you are still doing administration via SSH, it&#8217;s time to look at <a href="http://reductivelabs.com/trac/puppet">Puppet</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://empoweringmedia.com/blog/48/great-article-on-puppet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test your DNS and domain name</title>
		<link>http://empoweringmedia.com/blog/36/test-your-dns-and-domain-name/</link>
		<comments>http://empoweringmedia.com/blog/36/test-your-dns-and-domain-name/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 03:26:00 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[cname]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[mx record]]></category>

		<guid isPermaLink="false">http://www.empoweringmedia.com/blog/?p=36</guid>
		<description><![CDATA[A common support question/issue we get is DNS and domain name information.  Is it correct, does it point the proper name servers, is the MX record and the CNAME?  DNSstuff used to be free, and was a quick and simple way for us to test DNS information.  That is until they starting charging for the [...]]]></description>
			<content:encoded><![CDATA[<p>A common support question/issue we get is DNS and domain name information.  Is it correct, does it point the proper name servers, is the MX record and the CNAME?  <a href="http://www.dnsstuff.com/">DNSstuff</a> used to be free, and was a quick and simple way for us to test DNS information.  That is until they starting charging for the service, and limited the amount of queries you could perform.  Enter <a href="http://www.intodns.com/">intoDNS</a>, a DNSstuff clone, that shows similar information and works just as well.  Here is an example for <a href="http://www.intodns.com/empoweringmedia.com">empoweringmedia.com</a>.  I recommend to any client when changing their DNS or name servers, make sure it&#8217;s correct by using <a href="http://www.intodns.com/">intoDNS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://empoweringmedia.com/blog/36/test-your-dns-and-domain-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Master of Puppets</title>
		<link>http://empoweringmedia.com/blog/5/master-of-puppets/</link>
		<comments>http://empoweringmedia.com/blog/5/master-of-puppets/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 04:09:09 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[provisioning system]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.empoweringmedia.com/blog/?p=5</guid>
		<description><![CDATA[No this post isn&#8217;t about the Metallica album, it&#8217;s about the provisioning system we use named Puppet.  It allows us to automate many of the system administration tasks, to a level that was previously very costly or hard to do.  It&#8217;s a declarative programming language that, at a very high level, describes the state you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://reductivelabs.com/trac/puppet"><img class="alignright size-medium wp-image-24" style="float: right;" title="Puppet" src="http://www.empoweringmedia.com/blog/wp-content/uploads/2008/06/puppetwithlogo-med-300x249.png" alt="Puppet" width="141" height="116" /></a>No this post isn&#8217;t about the <a href="http://www.metallica.com/releases/master-of-puppets.asp">Metallica album</a>, it&#8217;s about the provisioning system we use named <a href="http://reductivelabs.com/trac/puppet">Puppet</a>.  It allows us to automate many of the system administration tasks, to a level that was previously very costly or hard to do.  It&#8217;s a <a href="http://en.wikipedia.org/wiki/Declarative_programming_language">declarative programming language</a> that, at a very high level, describes the state you want to &#8220;<a href="http://en.wikipedia.org/wiki/Jean-Luc_Picard">Make it so</a>&#8220;.  This includes applications installed/removed, files configured and dependencies with other applications.  To put simply, Puppet is the glue between an operating system&#8217;s <a href="http://www.rpm.org/">package manager</a> and the configuration needed to make your specific setup work.  Puppet binds these two together and makes the task a consistent and repeatable process. The Puppet scripts (known as recipes) are operating system independent, and can easily apply to other operating systems with little or no changes.  Since we are primarily a <a href="http://www.centos.org">CentOS</a>/<a href="http://www.redhat.com/">RHEL</a> shop, this blog discuss our specific setup.  I believe an example recipe will speak volumes:</p>
<pre>package { "openssh-server":
      ensure  =&gt; latest,
      notify  =&gt; Service["sshd"],
}
file { "sshd_config":
       name     =&gt; "/etc/ssh/sshd_config",
       checksum =&gt; md5,
       ensure   =&gt; present,
       owner    =&gt; 'root',
       group    =&gt; 'root',
       mode     =&gt; '0600',
       require  =&gt; Package["openssh-server"],
       notify   =&gt; Service["sshd"],
}
service { "sshd":
       name       =&gt; "sshd",
       ensure     =&gt; running,
       enable     =&gt; true,
       hasrestart =&gt; true,
       hasstatus  =&gt; true,
       require =&gt; Package["openssh-server"],
}</pre>
<p>This 22 line recipe does all of the following:</p>
<ol>
<li>Installs the openssh-server RPM via &#8216;yum&#8217;.</li>
<li>Automatically upgrades the openssh-server RPM, if a newer version is available.</li>
<li>Makes sure the sshd_config configuration file exists and has the proper permissions.</li>
<li>Ensure the sshd server starts at boot time.</li>
<li>Ensure the sshd server is currently running.</li>
<li>If either the RPM is upgraded OR the sshd_config file changes restart the sshd service.</li>
<li>If during any time puppet runs again and the server doesn&#8217;t match the recipe it will change it back to this state.</li>
<li>Perform this task on every server you specify.</li>
</ol>
<p>While the above recipe hasn&#8217;t been tested on other Unix platforms, only minor changes would be required.  Previously to do this you needed to create custom shell scripts, use <a href="http://www.cfengine.org/">Cfengine</a>, purchase an expensive software automation tool, or manually perform this on each server installation.  Most options are hacks and not as graceful as Puppet. Package managers, while moved Unix administration into the 21st century (instead of the medieval times of compiling software), still have some warts.  Specifically package managers lack:</p>
<ol>
<li>a good updating procedure.  Installations are well covered.</li>
<li>passing your own configuration files specific to your needs/wants.</li>
<li>performing the tasks in a specific order, or making sure specific actions occur before an application is installed</li>
<li>a service is running and will run at boot time</li>
</ol>
<p>Things like &#8216;yum&#8217; on CentOS/RHEL addressed #1 and #3 somewhat, but didn&#8217;t address configuration files, and the state of the service.  Before Puppet, it required creating custom RPMs.  With custom RPMs, the issue then became when updates occurred from the distro provider.</p>
<p>Puppet makes system administration a programming task, rather then manual labor process. It&#8217;s still very common to see administrators use a SSH prompt to manage each server. Manually performing administration is a time consuming and error prone process.  Puppet allows us a transfer of our best practices, apply our administration experience to the server&#8217;s configuration, and allows us to make network-wide installations with ease.</p>
<p>I agree with the notion; &#8220;Operations: The New Secret Sauce&#8221; <a href="http://radar.oreilly.com/archives/2006/07/operations-the-new-secret-sauc.html">(article #1</a> , <a href="http://radar.oreilly.com/archives/2007/10/operations-is-a-competitive-ad.html">article #2</a>).  Puppet makes deployment of new VPS instances quick and exact.   System administrators are skilled individuals, great with keeping operations running smoothly, but usually not good with automation.  Puppet allows to transfer an administrator&#8217;s knowledge into a repeatable process.  Automating system administration is the next advancement with Web 2.0, Cloud Computing, SaaS, or whatever the latest trend may be called.  When using our <a href="http://www.hostcube.com/">HostCube</a> service, Puppet puts the power of a large operations center like Google in the hands of much smaller companies,  Cloud computing, while may address the quick provisioning of hardware, it doesn&#8217;t address operations. The ability to automate the install, configure, patch, monitor and backup are important aspects and <a href="http://www.hostcube.com/">HostCube</a> does for you automatically and seamlessly.  The bigger and much more complex problem is system administration, not hardware provisioning.</p>
<p>Puppet allows us to <a href="http://www.imdb.com/title/tt0120601/">Malkovich</a> a setup, over and over and over again.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/Ur3CQE8xB3c&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/Ur3CQE8xB3c&amp;hl=en"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://empoweringmedia.com/blog/5/master-of-puppets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The HostCube advantage over EC2</title>
		<link>http://empoweringmedia.com/blog/21/the-hostcube-advantage-over-ec2/</link>
		<comments>http://empoweringmedia.com/blog/21/the-hostcube-advantage-over-ec2/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 00:43:24 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[patch management]]></category>

		<guid isPermaLink="false">http://www.empoweringmedia.com/blog/?p=21</guid>
		<description><![CDATA[Amazon&#8217;s EC2 computing cloud, while potentially a great service, falls short of what most developers need when developing traditional Internet based applications. Since a few customers have asked what&#8217;s the advantage of using HostCube, I thought I would summarize in a blog posting: EC2 pay as your go service, while cheap for low CPU/bandwidth usage, [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon&#8217;s EC2 computing cloud, while potentially a great service, falls short of what most developers need when developing traditional Internet based applications.  Since a few customers have asked what&#8217;s the  advantage of using <a href="http://www.hostcube.com/">HostCube</a>, I thought I would summarize in a blog posting:</p>
<ul>
<li>EC2 pay as your go service, while cheap for low CPU/bandwidth usage, can get very costly compared to our fixed plans.  With HostCube there are no surprises at the end of the month.  Most of today&#8217;s Internet applications are CPU bound and EC2 can get very costly in this regard.</li>
<li>No hardware based load balancer, important for scaling or automatic fail over.</li>
<li>No persistent storage unless you use their S3 service.  Shutdown or the node dies; your data and configuration settings are gone.   Using S3 service your disk I/O traffic then becomes network bound and of course is an additional fee.</li>
<li>When compared to our managed VPSes, you must perform all of the system administration yourself.   This IMHO is the biggest added value when comparing services.  Our service already includes backups, monitoring, administration, patch management, security, and a control panel that makes many administration tasks a simple click.  With EC2 you must be much more involved with the system administration.</li>
<li>Technical support with EC2 is an additional option.  What&#8217;s not clear is how much support you really get.  Can they assist and give recommendations on how to scale your site?</li>
<li>Odd instance sizes (1.7 GB of memory, 350GB of storage?) what is that?  Computing is based upon the multiples of 2.</li>
<li>32-bit by default.  We, by default, use 64-bit which is 10-15% faster than the 32 bit version.  It appears you have to use the their Extra Large instance to get 64-bit.  This really becomes noticeable when you use more than 2GB of ram.  Not sure with Amazon but all of our nodes are using 64 bit based Xen.  The hypervisor is really where the performance matters.</li>
</ul>
<p>In brief, EC2 is really geared towards batch based processing and processing services in low volume.  If you need public service access (i.e. web service) and hassle-free administration HostCube is a perfect fit and a much better value.</p>
<p>While the HostCube service has some shortcomings, we are adding services like shared storage, quick (under 15 min.) provisioning and an API in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://empoweringmedia.com/blog/21/the-hostcube-advantage-over-ec2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The &#8216;root&#8217; of all evil?</title>
		<link>http://empoweringmedia.com/blog/4/the-root-of-all-evil/</link>
		<comments>http://empoweringmedia.com/blog/4/the-root-of-all-evil/#comments</comments>
		<pubDate>Thu, 15 May 2008 13:23:24 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.empoweringmedia.com/blog/?p=4</guid>
		<description><![CDATA[Is root, &#8220;superuser&#8221;, or in the world of Microsoft &#8220;administrator&#8221; access needed? One of our competitors posted a recent blog about this subject. To paraphrase their posting, &#8220;We give you root so you have the flexibility to do anything you want on your Accelerator&#8221;. In case you are wondering, their Accelerator service is just marketing [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.imdb.com/title/tt0118655/"><img class="alignright size-full wp-image-18" style="margin: 0px 30px; float: right; border: 1px;" title="Dr Evil" src="http://www.empoweringmedia.com/blog/wp-content/uploads/2008/05/dr-evil.jpg" alt="Dr. Evil" width="150" height="160" /></a>Is root, &#8220;superuser&#8221;, or in the world of Microsoft &#8220;administrator&#8221; access needed? One of our <a href="http://www.joyent.com/">competitors</a> posted a <a href="http://www.joyeur.com/2008/04/08/let-my-people-have-root">recent blog</a> about this subject. To paraphrase their posting, &#8220;We give you root so you have the flexibility to do anything you want on your Accelerator&#8221;. In case you are wondering, their Accelerator service is just marketing speak for an <a href="http://www.hostcube.com/hosting-solutions/unmanaged-vps/">unmanaged VPS</a>.</p>
<p>IMHO they completely missed the point and some of the blog commentators caught this.  Regardless if their service is open, what they failed to mention, you are the system administrator.   With that you have the responsibility of installing software, proactive monitoring, patch management, security, hardening and backups.  This is fine if you are a full time system administrator; bad if you are a developer.</p>
<p><a href="http://en.wikipedia.org/wiki/Cloud_computing">Cloud computing</a> is about abstracting the technical details of your SaaS (Software as a Service) or PaaS (Platform as a Service).  My favorite statement, &#8220;It just works!&#8221; applies here. What they are calling &#8220;open&#8221; is really a myth.  Regardless if you have root access or not you still are locked into a specific hosting provider, OS, and the software applications you choose.  Anyone that has switched dedicated server providers can attest this isn&#8217;t a small task. In addition, with the <a href="http://www.supportem.com/blog/167">large amounts of SSH, FTP, IMAP and POP3 attacks</a> we see its obvious proper system administration on a large scale isn&#8217;t already happening. What makes them think giving root access will make these other issues better?</p>
<p>Developers, for the most part, care about their development environment.  In some cases yes, OS flavor does matter, but in most cases it does not.  Developers typically want an environment that works and don&#8217;t have to worry about how to install and configure software packages.  What&#8217;s important then?  The development language and the tools that aid in the development.  Giving root access to each developer (each on their own mind you) install to and configure a software package wastes time. Wading through docs, wikis, forums, and other online info trying to get a package configured, can be time consuming and frustrating experience.   In some cases this requires a lot of technical skill.  There has to be a better way.  The better way is to offer pre-built configurations of services, programming languages and applications. This is what we offer with our <a href="http://www.hostcube.com/">HostCube</a> service.  Why reinvent the wheel each time you need a <a href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> stack installed?  Tools like <a href="http://reductivelabs.com/trac/puppet">Puppet</a> automate this process and make it consistent.</p>
<p>Let me sidetrack for a minute and discuss the differences between system administrators and programmers.  I&#8217;ve worked on both sides of the fence and from my experience, most developers make poor system administrators, as do many system administrators (sysadmins) make poor programmers. The mindsets are completely different.  Developers care about how quickly they can develop their code and bring it into production.  Sysadmins care about the stability, reliability and security of the service they are responsible for.  As you can see, these two mindsets are always at odds with each other.</p>
<p>To solve this conflict, I believe in the traditional three tier development methodology. They are:</p>
<ul>
<li>Development &#8211; code that&#8217;s in flux and to &#8220;try out&#8221; new things</li>
<li>Staging &#8211; some state of code that is stable and in testing before production</li>
<li>Production &#8211; live code that&#8217;s being used by users, customers, vendors, etc.</li>
</ul>
<p>This tiered environment allows for the best of both worlds and is recommended when a customer wants root access to a production server.  Unfortunately I have seen many developers perform all of these tiers on their production system!  In all of but the smallest of projects, this can lead disaster on many levels.</p>
<p>Creating a VPS for development is where I personally believe developers should/could have root.  Let them play in their sandbox, break things and test out new code.  Staging (which should mirror production configuration) and production should be managed by system administrators.   In my opinion, developers, at least with production, should not have root access.  At <a title="Cloud Hosting" href="http://www.hostcube.com/">HostCube</a> the value added is we perform the software installs, proactively monitor, patch management, security, hardening and backups.  That&#8217;s what we&#8217;re experts in and have invested many years developing tools to automate this process.  We also do realize <a href="http://www.hostcube.com/hosting-solutions/unmanaged-vps/">unmanaged VPSes</a> serve a valuable niche.</p>
]]></content:encoded>
			<wfw:commentRss>http://empoweringmedia.com/blog/4/the-root-of-all-evil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

