<?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>Preston Lee&#039;s Blog &#187; server</title>
	<atom:link href="http://www.prestonlee.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prestonlee.com</link>
	<description>Technologist, businessman and entrepreneur.</description>
	<lastBuildDate>Tue, 24 Aug 2010 18:41:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MacPort MySQL &#8220;Can&#8217;t find file: &#8216;./mysql/host.frm&#8217;&#8221; Error</title>
		<link>http://www.prestonlee.com/2010/03/31/macport-mysql-cant-find-file-mysqlhost-frm-error/</link>
		<comments>http://www.prestonlee.com/2010/03/31/macport-mysql-cant-find-file-mysqlhost-frm-error/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 19:34:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[launchctl]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macport]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.prestonlee.com/?p=751</guid>
		<description><![CDATA[I recently set up a new Mac OS X Snow Leopard laptop for software development purposes. After going through my usual MacPorts installation and installed MySQL using the following steps sudo install mysql5-server sudo cp /opt/local/var/macports/software/mysql5/5.1.44_0/opt/local/share/mysql5/mysql/my-medium.cnf /opt/local/etc/mysql5/my.cnf sudo -u mysql mysql_install_db5 sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist A few days past, and one day I notice [...]]]></description>
			<content:encoded><![CDATA[<p>I recently set up a new <a href="http://www.apple.com/macosx/">Mac OS X Snow Leopard</a> laptop for software development purposes. After going through my usual <a href="http://www.macports.org/">MacPorts</a> installation and installed MySQL using the following steps</p>
<ol>
<li>sudo install mysql5-server</li>
<li>sudo cp /opt/local/var/macports/software/mysql5/5.1.44_0/opt/local/share/mysql5/mysql/my-medium.cnf /opt/local/etc/mysql5/my.cnf</li>
<li>sudo -u mysql mysql_install_db5</li>
<li>sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist</li>
</ol>
<p>A few days past, and one day I notice that launchctl was loading the script, but `nmap localhost` did not show the the process listening on port 3306 as expected. I looked at the log file:</p>
<blockquote><p>sudo tail -f /opt/local/var/db/mysql5/preston.local.err</p></blockquote>
<p>..and noticed it was terminating with the following errors:</p>
<blockquote>
<div id="_mcePaste">100331 12:05:30 [ERROR] /opt/local/libexec/mysqld: Can&#8217;t find file: &#8216;./mysql/host.frm&#8217; (errno: 13)</div>
<div id="_mcePaste">100331 12:05:30 [ERROR] Fatal error: Can&#8217;t open and lock privilege tables: Can&#8217;t find file: &#8216;./mysql/host.frm&#8217; (errno: 13)</div>
<p>100331 12:05:30 [ERROR] /opt/local/libexec/mysqld: Can&#8217;t find file: &#8216;./mysql/host.frm&#8217; (errno: 13)100331 12:05:30 [ERROR] Fatal error: Can&#8217;t open and lock privilege tables: Can&#8217;t find file: &#8216;./mysql/host.frm&#8217; (errno: 13)</p></blockquote>
<p>After a considerable amount of grief I evertually discovered that the contents of /opt/local/var/db/mysql5/ need to be owned by the appropriate mysql user (in my case &#8220;_mysql&#8221;), but some files were being owned by the &#8220;root&#8221; user. After correcting all file ownership and restarting the service&#8230;</p>
<ol>
<li>sudo chown -R _mysql /opt/local/var/db/mysql5/</li>
<li>sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql5.plist</li>
<li>sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist</li>
</ol>
<p>Everything now seems to work fine again. Hope this helps!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.prestonlee.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.prestonlee.com/2010/03/31/macport-mysql-cant-find-file-mysqlhost-frm-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Recovering A Corrupt OpenLDAP Database On OSX Server</title>
		<link>http://www.prestonlee.com/2009/07/08/recovering-a-corrupt-openldap-database-on-osx-server/</link>
		<comments>http://www.prestonlee.com/2009/07/08/recovering-a-corrupt-openldap-database-on-osx-server/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 19:57:38 +0000</pubDate>
		<dc:creator>preston.lee</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[db_recover]]></category>
		<category><![CDATA[ichat]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[openldap]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[slapd]]></category>

		<guid isPermaLink="false">http://www.prestonlee.com/?p=657</guid>
		<description><![CDATA[Recovering A Corrupt OpenLDAP Database On OSX Server Last night we noticed some services provided by an OSX Leopard Server instance were not working correctly. The iChat, AFP and Web services were not authenticating. In Server Admin.app, the &#8220;Overview&#8221; tab of the Open Directory service reported&#8230; LDAP Server is: Not Running Password Server is: Running [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Recovering A Corrupt OpenLDAP Database On OSX Server</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Last night we noticed some services provided by an OSX Leopard Server instance were not working correctly. The iChat, AFP and Web services were not authenticating. In Server Admin.app, the &#8220;Overview&#8221; tab of the Open Directory service reported&#8230;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">LDAP Server is: Not Running</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Password Server is: Running</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Kerberos is: Not Running</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Looking at the server error logs through Console.app, the following was occuring every 10 seconds..</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">com.apple.launchd[1] (org.openldap.slapd[27382]) Exited with exit code: 1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">com.apple.launchd[1] (org.openldap.slapd) Throttling respawn: Will start in 10 seconds</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The slapd daemon appeared not to be starting. Jumping to the command line, I tested the configuration using the `slapd -Tt` command.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">core:openldap admin$ sudo /usr/libexec/slapd -Tt</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">bdb(dc=openrain,dc=com): PANIC: fatal region error detected; run recovery</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">bdb_db_open: Database cannot be opened, err -30978. Restore from backup!</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">bdb(dc=openrain,dc=com): DB_ENV-&gt;lock_id_free interface requires an environment configured for the locking subsystem</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">backend_startup_one: bi_db_open failed! (-30978)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">slap_startup failed (test would succeed using the -u switch)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://discussions.apple.com/message.jspa?messageID=9548971</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">With a little research, I concluded that..</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The OpenLDAP database had been corrupted, and..</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The `slapd_db_recover` tool (as present on some Linux installations) is instead named `db_recover`. Ah!</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">After carefully backing up the /var/db/openldap folder, I ran the recovery tool and re-tested the configuration..</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">core:openldap admin$ sudo db_recover -h /var/db/openldap/openldap-data/</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">core:openldap admin$ sudo /usr/libexec/slapd -Tt</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">config file testing succeeded</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The errors in Console.app stopped, and the Server Admin.app panel started reporting..</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">LDAP Server is: Not Running</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Password Server is: Running</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Kerberos is: Not Running</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I had to restart the AFP, iChat and Web services on the machine to get everything working again, but all seems well now.</div>
<div>Last night <a href="http://openrain.com">we</a> noticed some services provided by an OSX Leopard Server instance were not working correctly. The iChat, AFP and Web services were not authenticating. In Server Admin.app, the &#8220;Overview&#8221; tab of the Open Directory service reported&#8230;</div>
<blockquote>
<div>LDAP Server is: <strong>Not Running</strong></div>
<div>Password Server is: <strong>Running</strong></div>
<div>Kerberos is: <strong>Not Running</strong></div>
</blockquote>
<div>Looking at the server error logs through Console.app, the following was occuring every 10 seconds..</div>
<blockquote>
<div>com.apple.launchd[1] (org.openldap.slapd[27382]) Exited with exit code: 1</div>
<div>com.apple.launchd[1] (org.openldap.slapd) Throttling respawn: Will start in 10 seconds</div>
</blockquote>
<div>The slapd daemon appeared not to be starting. Jumping to the command line, I tested the configuration using the `slapd -Tt` command.</div>
<blockquote>
<div>core:openldap admin$ <strong>sudo /usr/libexec/slapd -Tt</strong></div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>bdb(dc=openrain,dc=com): PANIC: fatal region error detected; run recovery</div>
<div>bdb_db_open: Database cannot be opened, err -30978. Restore from backup!</div>
<div>bdb(dc=openrain,dc=com): DB_ENV-&gt;lock_id_free interface requires an environment configured for the locking subsystem</div>
<div>backend_startup_one: bi_db_open failed! (-30978)</div>
<div>slap_startup failed (test would succeed using the -u switch)</div>
</blockquote>
<div>With <a href="http://discussions.apple.com/message.jspa?messageID=9548971">a little research</a>, I concluded that..</div>
<div>
<ol>
<li>The OpenLDAP database had been corrupted, and..</li>
<li>The `slapd_db_recover` tool (as present on some Linux installations) is instead named `db_recover`. Ah!</li>
</ol>
</div>
<div><strong><em>After</em> carefully backing up the /var/db/openldap folder</strong>, I ran the recovery tool and re-tested the configuration..</div>
<blockquote>
<div>core:openldap admin$ <strong>sudo db_recover -h /var/db/openldap/openldap-data/</strong></div>
<div>core:openldap admin$ <strong>sudo /usr/libexec/slapd -Tt</strong></div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>overlay_config(): warning, overlay &#8220;dynid&#8221; already in list</div>
<div>config file testing succeeded</div>
</blockquote>
<div>The errors in Console.app stopped, and the Server Admin.app panel started reporting..</div>
<blockquote>
<div>LDAP Server is: <strong>Running</strong></div>
<div>Password Server is: <strong>Running</strong></div>
<div>Kerberos is: <strong>Running</strong></div>
</blockquote>
<div>I had to restart the AFP, iChat and Web services on the machine to get everything working again, but all seems well now.</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.prestonlee.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.prestonlee.com/2009/07/08/recovering-a-corrupt-openldap-database-on-osx-server/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Parallels Server for Mac Pricing</title>
		<link>http://www.prestonlee.com/2008/06/10/parallels-server-for-mac-pricing/</link>
		<comments>http://www.prestonlee.com/2008/06/10/parallels-server-for-mac-pricing/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 17:53:00 +0000</pubDate>
		<dc:creator>preston.lee</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[openrain]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.prestonlee.com/?p=245</guid>
		<description><![CDATA[Fresh from my inbox.. Parallels Server for Mac will be available soon. As a thank you to all participating Parallels Server for Mac Beta users, Parallels is offering an exclusive discount on a single Parallels Server for Mac license. Purchase this new software for only $700* &#8211; a 30% savings. Hmm&#8230; well, the product has been working fairly [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestonlee.com/wp-content/uploads/2008/06/parallels_server.png"><img class="alignright size-full wp-image-246" style="float: right;" title="parallels_server" src="http://www.prestonlee.com/wp-content/uploads/2008/06/parallels_server.png" alt="" width="132" height="172" /></a></p>
<p>Fresh from my inbox..</p>
<blockquote><p>Parallels Server for Mac will be available soon. As a thank you to all participating Parallels Server for Mac Beta users, Parallels is offering an <strong>exclusive discount</strong> on a single Parallels Server for Mac license. Purchase this new software for only $700* &#8211; a <strong>30% savings</strong>.</p></blockquote>
<p>Hmm&#8230; well, the product has been working fairly well for us at <a href="http://openrain.com">OpenRain</a>, but I&#8217;m not sure $700 per major version is going to be worth it as opposed to buying another cheap Dell machine and running VMWare Server on Linux for free, which we already do in some of our hosted environments. Here&#8217;s the kicker in tiny font at the bottom of the email explaining the asterisk after &#8220;$700&#8243;..</p>
<blockquote><p><span style="font-size: xx-small;">* </span><span style="font-size: xx-small;">The limited-time discount offer is limited to a single server from May 30 &#8211; June 30, 2008. Annual maintenance is required at the time of purchase, starting at an additional $249.75 per year. For academic pricing and volume licensing, <a title="register now" href="http://cl.exct.net/?ju=fe20157975640374721278&amp;ls=fdf212727c61027a76117077&amp;m=feff1674776503&amp;l=fe5e15747260077c7313&amp;s=fde915727c6c0d7c71127772&amp;jb=ffcf14&amp;t=" target="_blank"><span style="color: #ff0000;">register now</span></a> or contact Parallels Sales at +1 (425) 282-6400.</span></p></blockquote>
<p>So that&#8217;s $950 for the first year of our first system alone. Hmmmm&#8230; </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.prestonlee.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.prestonlee.com/2008/06/10/parallels-server-for-mac-pricing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xserve w/Leopard Server (Mac OS X 10.5), First Impressions</title>
		<link>http://www.prestonlee.com/2007/12/10/xserve-wleopard-mac-os-x-105-first-impressions/</link>
		<comments>http://www.prestonlee.com/2007/12/10/xserve-wleopard-mac-os-x-105-first-impressions/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 05:48:54 +0000</pubDate>
		<dc:creator>preston.lee</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[expensive]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[openldap]]></category>
		<category><![CDATA[openrain]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[xserve]]></category>

		<guid isPermaLink="false">http://www.prestonlee.com/archives/167</guid>
		<description><![CDATA[We just picked up a refurbished 2.66GHz quad-core Xeon from Apple, which we&#8217;ll be using for internal infrastructure. (We&#8217;re in the process of migrating from a mix of Solaris and Linux). After about 8 hours of learning the ins and outs of Leopard Server over the weekend, we had the box running Open Directory (Kerberos [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openrain.com"><img id="image168" title="picture-4.png" src="http://www.prestonlee.com/wp-content/uploads/2007/12/picture-4.png" alt="picture-4.png" width="361" height="78" align="right" />We</a> just picked up a refurbished 2.66GHz quad-core Xeon from Apple, which we&#8217;ll be using for internal infrastructure. (We&#8217;re in the process of migrating from a mix of <a href="http://www.sun.com/software/solaris/">Solaris</a> and Linux). After about 8 hours of learning the ins and outs of <a href="http://www.apple.com/server/macosx/">Leopard Server</a> over the weekend, we had the box running Open Directory (<a href="http://web.mit.edu/Kerberos/">Kerberos</a> and <a href="http://www.openldap.org/">OpenLDAP</a>), DNS, AFP, <a href="http://us1.samba.org/samba/">SMB</a>, FTP, domain account and machine management, mobile home directories, MySQL, Software Update, Xgrid controller, Wikis, Blogs, <a href="http://en.wikipedia.org/wiki/CalDAV">iCal</a> and VPN services, all tightly integrated with single sign-on (via <a href="http://web.mit.edu/Kerberos/">Kerberos</a>) into a sexy 1U package.</p>
<ul>
<li>Xserve (refurbished discount, <a href="http://store.apple.com">direct from Apple</a>): ~$3K</li>
<li>3 x 750GB Disks (Newegg): ~$450</li>
<li>2 x Apple Drive Module (direct from Apple): ~$380</li>
<li>2 x 2GB FB-DIMM RAM (Crucial): ~$300</li>
<li>Infrastructural sanity: priceless. (&#8230;or ~$4.5K after tax and random small stuff)</li>
</ul>
<p>That&#8217;s some serious value considering how much of a <a href="http://blogs.ittoolbox.com/emergingtech/macsploitation/archives/who-needs-leopard-server-calendar-server-on-linux-19982">PITA</a> setting all this up can be in Linux (or whatever) without vendor support, and far cheaper than paying a Systems Administrator in the long run. The Server Admin and Workgroup Manager tools are pretty freakin&#8217; usable, too, relative to the internal complexity of the system. I&#8217;m a happy camper for now&#8230; let&#8217;s see if it lasts.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.prestonlee.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.prestonlee.com/2007/12/10/xserve-wleopard-mac-os-x-105-first-impressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The $1,000 (USD), 2TB OpenSolaris File Server</title>
		<link>http://www.prestonlee.com/2007/06/02/the-1000-usd-2tb-opensolaris-file-server/</link>
		<comments>http://www.prestonlee.com/2007/06/02/the-1000-usd-2tb-opensolaris-file-server/#comments</comments>
		<pubDate>Sat, 02 Jun 2007 08:35:35 +0000</pubDate>
		<dc:creator>preston.lee</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.prestonlee.com/archives/118</guid>
		<description><![CDATA[Here&#8217;s how to score a sweet OpenSolaris-compatible 2TB file server for $1000 (USD). I&#8217;m running Solaris Express Developer Edition on it with a ZFS RAIDZ1 file system. Motherboard: Asus M2NPV-VM. A great, inexpensive mATX board w/4 SATA ports, 2 IDE, PCI-X, GigE, built-in nVidia graphics w/DVI and VGA outs, FireWire, and tons of USB love. [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image119" title="images.jpeg" src="http://www.prestonlee.com/wp-content/uploads/2007/06/images.jpeg" alt="images.jpeg" width="81" height="36" align="right" /></p>
<p>Here&#8217;s how to score a sweet OpenSolaris-compatible 2TB file server for $1000 (USD). I&#8217;m running <a href="http://developers.sun.com/solaris/downloads/solexpdev/product_faq.html">Solaris Express Developer Edition</a> on it with a <a href="http://www.sun.com/2004-0914/feature/">ZFS</a> RAIDZ1 file system.</p>
<ul>
<li>Motherboard: <a href="http://www.asus.com/products4.aspx?l1=3&amp;l2=101&amp;l3=0&amp;model=1138&amp;modelmenu=1">Asus M2NPV-VM</a>. A great, inexpensive mATX board w/4 SATA ports, 2 IDE, PCI-X, GigE, built-in nVidia graphics w/DVI and VGA outs, FireWire, and tons of USB love. Oh, and the official nVidia driver works like a charm. Sweet! (The only thing that hasn&#8217;t run out-of-the-box is the built-in audio controller. Oh well.) $100.</li>
<li>CPU: <a href="http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_9485_13041%5E13076,00.html">AMD Athlon 64 X2 4800+ Dual Core Processor</a>. 2.5GHz, 2x512KB, 1GHz Bus. $130.</li>
<li>Memory: 4x1GB via <a href="http://www.ocztechnology.com/products/memory/ocz_ddr2_pc2_6400_gold_gx_xtc_dual_channel">OCZ OCZ2G8002GK</a> DDR2-800 PC2-6400 kits. $175 total (after MIR).</li>
<li>Drives: 4x<a href="http://www.wdc.com/en/products/Products.asp?DriveID=301">500GB Western Digital Caviar SE 16 WD5000AAKS 7200RPM 16MB Cache SATA 3.0Gb/s</a> for the ZFS data volume. $450. (Old, small, slow and cheap PATA disks reused for the system volume.  <a href="http://en.wikipedia.org/wiki/Fair_market_value">FMV</a> ~$25.)</li>
<li>Optical Drive: Reused old typical IDE DVD-ROM. <a href="http://en.wikipedia.org/wiki/Fair_market_value">FMV</a> ~$20.</li>
<li>Case: Reused typical ATX tower w/450 watt PSU. FMV ~$80.</li>
<li>Peripherals: Reused optical mouse and keyboard. FMV ~$20.</li>
</ul>
<p>Total: $1,000. Nice!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.prestonlee.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.prestonlee.com/2007/06/02/the-1000-usd-2tb-opensolaris-file-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
