<?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>Computing@Thayer &#187; Servers</title>
	<atom:link href="http://computing.thayer.dartmouth.edu/blog/category/servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://computing.thayer.dartmouth.edu</link>
	<description>The blog of your Friendly Computing Services Team</description>
	<lastBuildDate>Thu, 15 Oct 2009 19:54:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running MATLAB Non-interactively</title>
		<link>http://computing.thayer.dartmouth.edu/blog/2008/09/28/running-matlab-non-interactively/</link>
		<comments>http://computing.thayer.dartmouth.edu/blog/2008/09/28/running-matlab-non-interactively/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 02:45:56 +0000</pubDate>
		<dc:creator>jordan</dc:creator>
				<category><![CDATA[Computer Labs]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://computing.thayer.dartmouth.edu/?p=177</guid>
		<description><![CDATA[I was working with a grad student this weekend to take advantage of compute resources effectively, and one of the questions that came up was how run Matlab non-interactively as well as persistently. 
To run Matlab persistently (so it doesn&#8217;t die when you log out), &#8220;screen&#8221; can be used as described  at this link. [...]]]></description>
			<content:encoded><![CDATA[<p>I was working with a grad student this weekend to take advantage of compute resources effectively, and one of the questions that came up was how run Matlab non-interactively as well as persistently. </p>
<p>To run Matlab persistently (so it doesn&#8217;t die when you log out), &#8220;screen&#8221; can be used as described <a href="https://wiki.thayer.dartmouth.edu/display/computing/Linux+Services#LinuxServices-LongRunningProcesses"> at this link. </a></p>
<p>To run Matlab non-interactively, I found a concise and useful page with instructions and explanations: <a href="http://people.scs.fsu.edu/~burkardt/m_src/matlab_batch/matlab_batch.html">http://people.scs.fsu.edu/~burkardt/m_src/matlab_batch/matlab_batch.html .</a></p>
]]></content:encoded>
			<wfw:commentRss>http://computing.thayer.dartmouth.edu/blog/2008/09/28/running-matlab-non-interactively/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thayer Computing Projects</title>
		<link>http://computing.thayer.dartmouth.edu/blog/2008/04/03/thayer-computing-projects/</link>
		<comments>http://computing.thayer.dartmouth.edu/blog/2008/04/03/thayer-computing-projects/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 01:29:15 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[Energy]]></category>
		<category><![CDATA[File Storage]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News and Announcements]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://computing.thayer.dartmouth.edu/blog/2008/04/03/thayer-computing-projects/</guid>
		<description><![CDATA[In between keeping all things computing running at Thayer, we always have several projects in the works. Here&#8217;s a quick overview of projects we&#8217;re currently working on or planning. In no particular order&#8230;
Email and collaboration tools
Dartmouth&#8217;s Council on Computing has constituted a task force to determine Dartmouth&#8217;s requirements for future email and collaboration tools. Thayer [...]]]></description>
			<content:encoded><![CDATA[<p>In between keeping all things computing running at Thayer, we always have several projects in the works. Here&#8217;s a quick overview of projects we&#8217;re currently working on or planning. In no particular order&#8230;</p>
<h2>Email and collaboration tools</h2>
<p>Dartmouth&#8217;s Council on Computing has constituted a task force to determine Dartmouth&#8217;s requirements for future email and collaboration tools. Thayer School&#8217;s Director of Computing Services is on the task force and seeks your thoughts on the subject.</p>
<h2>Hard drive based back up server</h2>
<p>We are a &#8220;belt and suspenders&#8221; computing staff. To reflect our paranoia of making sure all your ThayerFS data is safe, we&#8217;re adding another layer of redundancy to our data back up plan. We just started setting up a new &#8220;online backup server&#8221;.  It consists of fifteen 1 Terabyte hard drives which we&#8217;ll use to back up ThayerFS.  This system will eventually be located off-site.  We&#8217;ll continue to use our tape library which will be located in yet another off-site location.</p>
<h2>Weather station and Solar Panel monitoring</h2>
<p>We&#8217;re in the middle of a project to get a weather station installed on the roof of Murdough. We&#8217;ll be using the same system to monitor the output of the Solar Panels which are already installed on the roof. The plan is to make the data available on the web for those interested in local conditions and for research purposes.</p>
<h2>Spanos lighting improvements</h2>
<p>We have been working with our building manager and FO&amp;M to add special lights to properly illuminate presenters. This should improve the quality of our lecture capture video and should reduce the harsh shadows the current lighting causes on the speaker&#8217;s face.</p>
<h2>A/V system improvements, documentation, and repairs</h2>
<p>Collaborating with Instrument Room personnel, we have been working for some time now to make our classroom and meeting room audio visual systems more user-friendly. This includes simplification of touch screen controls or even their replacement with pushbutton controls, <a href="https://wiki.thayer.dartmouth.edu/display/computing/Projectors+and+AV">enhanced documentation about how to use the systems</a>, improved image quality in Spanos and C200, a combination white board/projector screen in M210, additional microphone options, improved/repaired audio, etc. Some of these improvements are finished, but we still have a long way to go on others.</p>
<h2>New Intel compiler available</h2>
<p>We purchased two floating licenses of Intel Fortran and C++ compilers for Linux. They are available on any of our Linux clients or compute servers. Also included with these licenses are the MKL and IPP libraries.</p>
<p>For more information about these new compilers and how to use them, please see our <a href="https://wiki.thayer.dartmouth.edu/display/computing/Linux+Services" target="_blank">Linux Services page</a>.</p>
<h2>New lab computers</h2>
<p>In the next few months, we plan to deploy new lab computers for the Linux lab in Cummings and to replace the ten oldest computers in MacLean 210.</p>
<h2>Adobe Contribute rollout soonish</h2>
<p>We&#8217;ve purchased licenses of Adobe Contribute, which will allow the Thayer Community to create and edit web pages in a simple WYSIWYG editor.  The experience is similar to a word processor. If you are interested in using this software, please contact us.</p>
<h2>Vista planning</h2>
<p>While we&#8217;re content with Windows XP, Windows Vista is an inevitability as XP support is dropped by Microsoft. We&#8217;re going to start looking at the best way to image and deploy Vista on lab, desktop, and laptop computers.</p>
<h2>Blade servers</h2>
<p>We recently took delivery of a new blade chassis and some new blade servers. The chassis can accommodate up to 16 servers.  The preliminary plan is to replace our aging babylon compute cluster with a couple of blades.  This will reduce space, electricity, cooling, and administration time, while increasing the computing power over our current cluster. We&#8217;ll have several empty slots available for faculty with research projects that need extra computer power.</p>
<h2>Condor High Throughput Computing</h2>
<p>We&#8217;re investigating the use of <a href="http://www.cs.wisc.edu/condor/" target="_blank">Condor High Throughput Computing</a> on our linux clusters. This would allow the Thayer community to submit compute jobs and have them distributed automatically to our compute clusters.</p>
<p>Currently, we are testing this on our limited-access sisyphus cluster, but hope to roll it out to an upgraded babylon cluster after the Spring term. Jobs run on either cluster will be able to use the other cluster&#8217;s CPUs if they are available.</p>
<h2>Hardy Heron is coming&#8230;</h2>
<p>The new version of Ubuntu, version 8.04 (hardy heron), is scheduled to be released at the end of April. This new release features many enhancements to the version we&#8217;re currently running on our linux clients, and is also the next of Ubuntu&#8217;s &#8220;long-term release&#8221; versions, which will get security updates for a longer period of time than their other versions.</p>
<p>We have been alpha (and now beta) testing this to ensure that any bugs related to our systems are reported and corrected prior to its official release. We plan to upgrade the Cummings 227 linux lab with the new version (and new computers, too!) after the Spring term. We will also be in touch with faculty and staff who have linux clients to schedule their upgrades.</p>
<h2>ThayerCups server upgrade</h2>
<p>We just upgraded the CUPS print server that handles print jobs from Mac and Linux clients. There should not be any change in the way you print from these platforms.  The new server is now easier to back up.</p>
<h2>Application Virtualization</h2>
<p>We are testing, &#8220;Application Virtualization&#8221;, a new technique for encapsulating applications to ease deployment to lab computers and client computers.</p>
<h2>Atrium Help Desk continues</h2>
<p>We continue to hold our &#8220;Atrium Help Desk&#8221; from 3:00-4:00 on Tuesdays and Thursdays.  Come by the atrium if you have any computing-related questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://computing.thayer.dartmouth.edu/blog/2008/04/03/thayer-computing-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When Hard Drives Attack: What System Administrators do on Friday nights for fun</title>
		<link>http://computing.thayer.dartmouth.edu/blog/2008/02/20/when-hard-drives-attack-what-system-administrators-do-on-friday-nights-for-fun/</link>
		<comments>http://computing.thayer.dartmouth.edu/blog/2008/02/20/when-hard-drives-attack-what-system-administrators-do-on-friday-nights-for-fun/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 16:28:54 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://computing.thayer.dartmouth.edu/blog/2008/02/20/when-hard-drives-attack-what-system-administrators-do-on-friday-nights-for-fun/</guid>
		<description><![CDATA[Systems Administrators tend to worry a lot.  Computers break all the time, and we try to have a plan for when the inevitable occurs.
On Friday the 8th, a hard drive failed on one of our physical servers.  The server had four production virtual servers on it.  Supposedly, the hard drives we use [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://computing.thayer.dartmouth.edu/wp-content/uploads/2008/02/sick_disk.png" alt="Sad Disk" align="right" />Systems Administrators tend to worry a lot.  Computers break all the time, and we try to have a plan for when the inevitable occurs.</p>
<p>On Friday the 8th, a hard drive failed on one of our physical servers.  The server had four production virtual servers on it.  Supposedly, the hard drives we use in our servers are less likely to fail.  They come with 5 year warranties, and graduated at the top of their class.   To be on the safe side, each of our servers have 2 hard drives that are mirrored.  So if one drive fails, the server just keeps operating without a hiccup.</p>
<p>The story could have ended there.  We could have just left it until Monday, ordered a replacement drive, and installed it without any downtime.  The likelihood of the second drive failing in the next few days is low, and we have backups. However, what if the other drive <em><strong>did</strong></em> fail?  That would mean downtime as we reinstall and restore data&#8230; and downtime means sad customers (you).</p>
<p>Don&#8217;t worry, we&#8217;ve got a backup plan for our backup plan.  Actually, we&#8217;ve got many layers of backup plans that could put you to sleep.  Here&#8217;s the quick version of contingency plans that actually came into play.</p>
<p>We use <a href="http://www.nagios.org/" target="_blank">Nagios</a> (set up by Sys. Admin Matt Dailey) to monitor all our systems and let us know if something is unhappy. Matt also installed utilities on the servers for keeping track of the hard drives, and other critical hardware.  If a drive gets grumpy, Nagios knows, and immediately sends us an email.  And for critical things like drive failures, sends us a text message to our cell phones.</p>
<p>I received the text message and after verifying the problem, called Jordan (who happens to be the primary maintainer of the virtual servers in peril).</p>
<p>Jordan immediately transferred the virtual servers to a backup blade server we had waiting on standby.  Even over a slow dial-up connection, he was able to do this from home.</p>
<p>The next day, Saturday, Matt Dailey came in to replace the bad hard drive with a spare we had on hand for just such an occasion.  Matt pulled the bad drive out, and inserted the new drive.  The good drive immediately started mirroring all its data to the new drive for the next time something goes wrong.</p>
<p>Everything is rosy!</p>
<p>Well mostly rosy. Considering this was our first disk failure since I&#8217;ve been working here, everything went surprising well.  However, there are always surprises.  Thankfully, none of the ones we encountered caused any hardship to the community.</p>
<p>First, when you plan for disaster, it is often easy to not cover the basics&#8230;. like&#8230; where the spare hard drive actual is located.  We all were sure that we had put the spare drive on top of the servers.  However, we installed larger capacity drives several months ago and the spare never made it to the server room from our office.  Thankfully, Matt was easily able to find it.</p>
<p>Second, it is a pain, but it can be really helpful to simulate failures.  It took the server 11 hours to fully mirror a 147 GB hard drive.  This is much slower than we anticipated.  Because we had already moved the production virtual servers off the system, it wasn&#8217;t an issue.  We have been told by Dell that this is a limitation of the RAID controller.  So this is a limitation that we&#8217;ll need to work around.</p>
<p>The third hiccup we&#8217;ve run into is that Hitachi no longer manufacturers the hard drive we are using.  I purchased a new spare from Seagate that has all the identical specs.  However, for reasons Dell doesn&#8217;t even understand, the RAID controller refuses to allow two drives from different manufacturers to work together.  For systems that you plan to have in production for many years, buy more than one spare, or at least know that you may need contingency plan when you can no longer buy a specific component.</p>
]]></content:encoded>
			<wfw:commentRss>http://computing.thayer.dartmouth.edu/blog/2008/02/20/when-hard-drives-attack-what-system-administrators-do-on-friday-nights-for-fun/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Where have all the servers gone?</title>
		<link>http://computing.thayer.dartmouth.edu/blog/2007/09/10/where-have-all-the-servers-gone/</link>
		<comments>http://computing.thayer.dartmouth.edu/blog/2007/09/10/where-have-all-the-servers-gone/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 02:15:19 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Equipment]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://computing.thayer.dartmouth.edu/blog/2007/09/10/where-have-all-the-servers-gone/</guid>
		<description><![CDATA[In the past few months a huge change has occurred with Thayer School servers&#8230; now, most of them are virtual.  Poof!
While the change isn&#8217;t very visible to the community, for us Systems Administrators (Jared, Jordan, and Matt Dailey), the change is significant.
Virtualization allows us to run multiple &#8220;computers&#8221; on one physical computer.  So [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://computing.thayer.dartmouth.edu/wp-content/uploads/2007/08/dell_blade_server.jpg" title="Dell blade chassis" alt="Dell blade chassis" align="right" />In the past few months a huge change has occurred with Thayer School servers&#8230; now, most of them are <em>virtual</em>.  Poof!</p>
<p>While the change isn&#8217;t very visible to the community, for us Systems Administrators (Jared, Jordan, and Matt Dailey), the change is significant.</p>
<p>Virtualization allows us to run multiple &#8220;computers&#8221; on one physical computer.  So we can easily run independent servers for web site, email, databases all on one real server.</p>
<p>The short story is that we now have over a dozen virtual servers in production which has allowed us to save space, lower our hardware expenses, reduce electrical and cooling usage, ease backup, and improve reliability.</p>
<p>Read on for more details of our move to virtualized servers.</p>
<p><span id="more-22"></span></p>
<h2>Setup details</h2>
<h3>Virtualization Software</h3>
<p>We briefly looked at <a href="http://user-mode-linux.sourceforge.net/" target="_blank">User-Mode-Linux</a>, <a href="http://xen.xensource.com/" target="_blank">Xen</a>, and more recently <a href="http://kvm.qumranet.com/kvmwiki" target="_blank">KVM</a>, but in the end decided to use VMware server (not ESX).  At the time, VMWare had recently released the free server version.  We found it&#8217;s setup and administration to be very straightforward, and VMWare&#8217;s technology was mature.  We decided to move cautiously.  First experimenting with the product, then moving a server that was non-critical.  Once it proved stable, we converted more and more of our servers to virtual machines.  We&#8217;ve now gone through several iterations of server hosts and come to a solution that is stable and flexible.</p>
<h3>Space</h3>
<p>Thanks to our  new server room in MacLean, space wasn&#8217;t at huge premium.  But is definitely nice to have your servers consolidated.  The reduction in cables alone is huge.</p>
<h3>Cost</h3>
<p>Costs of server hardware can be dramatically reduced.  Many servers sit idle all day. This means one physical server can run many virtual servers.  We&#8217;ve decided to run no more than about 4 virtual machines per physical server.  However, there are several other hidden costs which are reduced.  Less physical servers means less cooling and less electricity consumption.</p>
<h3>Backup</h3>
<p>The flexibility of backups that virtualization provides is one of the biggest changes from the move.  In the past, we&#8217;ve used many techniques to do full backups that, in the event a physical server blows up, would allow us to quickly restore the server from scratch onto new hardware.  Tools like dd, partimage, udpcast all work fairly well. However, they require the machine be shutdown and automation can be tricky.</p>
<p>With the help of LVM and a few other basic utilities, we have successfully implemented a completely automated full server backup system.  The backup procedure is as follows:</p>
<ul>
<li>Pause the virtual server</li>
<li>Create an LVM snapshot</li>
<li>Resume the virtual server (steps 1-3 require about 3-15 seconds of downtime)</li>
<li>Copy the Virtual machine files to the backup server</li>
<li>tar and gzip the files for safe keeping and space savings</li>
</ul>
<p>For us, 3-15 seconds of downtime during non-peak hours is acceptable, so we create these full backups for all virtual machines every night.  Once the files are compressed, the disk usage per server is typically very small 500 &#8211; 1500 MB.  We keep several nights worth of these backups in case the most recent backup has corruption.</p>
<p>On many of our Virtual Servers, we continue to do rsync backups of important directories from within the OS.  Initially, we did this so that, in case the LVM snapshot method wasn&#8217;t robust, we&#8217;d have a fall back.  However, it is sometimes handy to access just a single backup file (ie. a config file from /etc), so we&#8217;ve kept them around.  Disk space is cheap, and you can never have too many backups.</p>
<h3>Reliability</h3>
<p>Instead of spending all your server budget on many quasi-fault-tolerant servers, with virtualization, you can buy fewer <em>very</em> fault-tolerant servers. We have a blade chassis with 10 server blades which we run our virtual servers on.  The blade chassis has four power supplies, and each blade has two network interfaces (which we&#8217;ve bonded for failover), and two hard drives which are mirrored.  The system is connected to different electrical circuits and two different switches.  If one blade begins to fail, we can quickly copy the virtual machines to another host (this takes approximately 10 minutes per virtual machine, could be faster if we were using a SAN).  If the entire blade chassis were to melt down, the Virtual Machines can be restored to any machine running VMWare server.  With the release of VMWare Fusion for Mac OS X, we could even run our critical servers off our MacBook Pros :)</p>
<h3>Testing</h3>
<p>Whenever you do a server upgrade, there is a chance something will break.  Virtualization offers us a couple nice safety nets. VMware supports snapshots of the VM at any given point, which can be restored.  We can also restore to a LVM snapshot backup.  There is also the option of creating a new development virtual machine, testing the change, then applying it to the production server.  When you are done with the development server, you can simply remove it.  All without touching any physical hardware.</p>
<h3>The down sides</h3>
<p>While virtualization has been very positive overall, there are a couple down sides to keep in mind.</p>
<p>The biggest issue is that all your virtual machines are dependent on the host server.  If your host machine crashes, it means all virtual machines will be down.  Early on, we ran into a serious LVM bug in the Ubuntu 6.06 stock kernel.  Creating and removing snapshots caused kernel panics on the host.  We made the decision to use a minimal Ubuntu 6.10 as the host OS and haven&#8217;t had issues since.</p>
<p>Kernel upgrades also require some forethought. VMware can be set up to automatically shutdown and start up the virtual machines when the host machine is rebooted.  However, VMware kernel modules need to be rebuilt whenever the kernel version changes.  It isn&#8217;t complicated, but it does require some planning ahead.</p>
<p>Virtual machine performance can be slower than real servers. Our servers are rarely under any significant load, so we haven&#8217;t run into this yet.  However, it is something to keep in mind. File servers and database servers are probably left as real servers unless they are very lightly used.</p>
<h3>Long time passing</h3>
<p>From all the <a href="http://www.google.com/trends?q=virtualization&amp;ctab=0" title="Google trends for virtualization" target="_blank">buzz</a> in the IT world regarding virtualization, it is clearly here to stay.  As management tools continue to improve, I&#8217;m sure we&#8217;ll be re-evaluating the offerings, especially from the open source community.  Until then, we are extremely pleased with our implementation.</p>
]]></content:encoded>
			<wfw:commentRss>http://computing.thayer.dartmouth.edu/blog/2007/09/10/where-have-all-the-servers-gone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
