<?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>CatN</title>
	<atom:link href="http://catn.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://catn.com</link>
	<description>Just another Fubra Limited site</description>
	<lastBuildDate>Wed, 16 May 2012 13:54:37 +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>vCluster package structure for version 2</title>
		<link>http://catn.com/vcluster/vcluster-package-structure-for-version-2/</link>
		<comments>http://catn.com/vcluster/vcluster-package-structure-for-version-2/#comments</comments>
		<pubDate>Wed, 16 May 2012 09:00:19 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Product Development]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[vCluster]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11619</guid>
		<description><![CDATA[With the launch of CatN vCluster version 2 nearing, I will be following on from the previous posts introducing the new version and the vCluster timeline to explain one of the major changes we will be introducing. Previously we offered packages with a tiered pricing model, allowing you to select one of three pre-defined vClusters. [...]]]></description>
			<content:encoded><![CDATA[<p>With the launch of CatN vCluster version 2 nearing, I will be following on from the previous posts <a href="http://catn.com/vcluster/what-is-vcluster-version-2-beta/" target="_blank">introducing the new version</a> and the <a href="http://catn.com/vcluster/explaining-the-vcluster-timeline/" target="_blank">vCluster timeline</a> to explain one of the major changes we will be introducing. Previously we offered packages with a tiered pricing model, allowing you to select one of three pre-defined vClusters. After previewing an early alpha version at WordCamp last year as well as the feedback received from users of old version, we have dropped this rigid pricing structure in favour of a more flexible and customisable option.</p>
<p>When you purchase a vCluster in version 2, you will be faced with a single vCluster package option with a base subscription price of <strong>£5.00 per month</strong>. The package itself contains two products, one vCluster and a Shared Database, which are managed independently within the Control Panel and have their own add-ons and overage costs applied despite being part of the same package.<span id="more-11619"></span></p>
<p><img class="alignnone size-full wp-image-11620" style="padding: 0;" title="vCluster package structure for version 2" src="http://catn.com/files/2012/05/what-is-a-vcluster-page2.jpg" alt="" width="670" height="480" /></p>
<p>Each product can have a number of add-ons, ranging from the inclusive features such as SSH Access, Cron and FTP Access to adding additional usage limits to increase the number of FTP Accounts, Data Transfer and Disk Space available. All non-inclusive feature add-ons are charged on a monthly basis and as can be used to increase your base usage limits to reduce any possible overage costs incurred. This allows you to create the package required to suit your needs, instead of the restrictions of a pre-defined package.</p>
<p>Each month, at the end of your billing period an invoice is generated for you package. Your billing day is determined from the date that the package was purchased, each month after this you will be billed on that day (unless the next month has fewer days that your billing date, in which case the invoice will be brought forward to the next available date). The invoice consists of the <strong>subscription</strong> cost (£5.00) plus the price of any <strong>add-ons</strong> you have created and any <strong>overage</strong> costs incurred over the past month. It is important to note here that the subscription cost is paid for <strong>in advance</strong> for the forthcoming month, whereas any product add-ons and overage costs are charged <strong>in arrears</strong> at the end of the billing period (month) and will be shown as additional line items on the invoice.</p>
<p>Add-on packages, for example an additional Shared Database, are different from the product add-ons mentioned previously and can be created and attached to an existing vCluster package. Although these add-on packages are linked to your package they are essentially separate packages and will be billed for individually. This means they could potentially have a different billing date and the generated invoices have no relation to the parent package.</p>
<p>Hopefully this post has successfully outlined the changes in structure to packages in version 2 and has began to prepare you for the upcoming changes. In conclusion to this short series of blog posts in the run up to version 2 we will be taking another look at the Control Panel that will be used to manage your vClusters, which has been designed in a way to implement the concept of products within packages outlined in this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/vcluster/vcluster-package-structure-for-version-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openindiana vs Nexentastor vs FreeNAS</title>
		<link>http://catn.com/vcluster/openindiana-vs-nexentastor-vs-freenas/</link>
		<comments>http://catn.com/vcluster/openindiana-vs-nexentastor-vs-freenas/#comments</comments>
		<pubDate>Fri, 11 May 2012 22:12:29 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[vCluster]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[Nexentastor]]></category>
		<category><![CDATA[OpenIndianna]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11738</guid>
		<description><![CDATA[In my previous post I gave a (very) high level overview of ZFS and why I think it is a solid foundation for vCluster. What I did not say though, was why we chose OpenIndiana over the other operating systems offering ZFS. Just before Sun was bought by Oracle, Solaris came in 2 flavours. Solaris [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post I gave a (very) high level overview of ZFS and why I think it is a solid foundation for vCluster.<br />
What I did not say though, was why we chose OpenIndiana over the other operating systems offering ZFS.</p>
<p>Just before Sun was bought by Oracle, Solaris came in 2 flavours. Solaris and Opensolaris. As the name suggests, OpenSolaris was open source and Solaris was the closed source variant. OpenSolaris was to become proper Solaris some day and development was to be made in the open. Because OpenSolaris was opensource, many different projects were born out of it. Nexetnta made a storage appliance. Belenix was a generic desktop with KDE. StormOS was a simple desktop with Xfce. FreeBSD which had lost it&#8217;s edge to Linux over the years, took the chance and ported ZFS with great success. Joyent based their cloud 100% on Opensolaris. They even offer their version, called SmartOS, free to download and use in production.<br />
Alas, Sun was bought by Oracle, Oracle closed the Solaris source code and open development of OpenSolaris ended.<br />
<span id="more-11738"></span><br />
Or did it?</p>
<p>Just before Oracle closed the OpenSolaris source, a group of hardcore Solaris sysadmins and companies using OpenSolaris for their business decided to create a distro of OpenSolaris, called OpenIndiana. Their aim was to collaborate and move the platform forward and avoid Oracle and their heavy handed policies altogether. The result was Illumos, which is the kernel, and OpenIndiana which is the full generic server grade OS that OpenSolaris was.</p>
<p>So what choices did we have for ZFS storage?</p>
<p>One obvious one would be <strong>OpenIndiana</strong>. For all intents and purposes, it is the continuation of OpenSolaris. It is a stable platform, it has features beyond ZFS that are not found in any other system (i&#8217;ll talk about these later), but it has a flaw. Familiarity with the platform is very low. Solaris in general and by extension OpenIndiana where nowhere near as popular as Linux of FreeBSD. For one person familiar with Solaris you could find fifty familiar with Linux.</p>
<p>Another option was <strong>Nexentastor</strong>. Nexentastor is an Illumos distro that is commercially backed by a company called Nexenta. With Nexentastor one can make a storage appliance out of practically any PC less than 2 years old. Familiarity with the platform is not an issue because the user/admin interacts with the appliance through a web interface. It is a purpose built system just for creating storage appliances.</p>
<p><a href="http://catn.com/files/2012/05/nexenta.jpg"><img class="alignnone size-medium wp-image-11743" src="http://catn.com/files/2012/05/nexenta-300x228.jpg" alt="" width="300" height="228" /></a></p>
<p>Another option was <strong>FreeNAS</strong>. FreeNAS is practically the same as NexentaStor, but using FreeBSD underneath instead of Illumos. Just like NexentaStor, FreeNAS is a purpose built operating system with a nice web interface on top.<br />
<a href="http://catn.com/files/2012/05/24LogonToFreeNasWeb.gif"><img class="alignnone size-medium wp-image-11746" src="http://catn.com/files/2012/05/24LogonToFreeNasWeb-300x258.gif" alt="" width="300" height="258" /></a></p>
<p>The last option was <strong>FreeBSD</strong>. FreeBSD is the father of practically all UNIX and derivatives, going back to the late 70&#8242;s. Over the years it has gained a reputation of stability that any other platform would be envious of. Just like OpenIndiana, not many people are familiar with FreeBSD.</p>
<p>So why did we choose OpenIdiana in the end?</p>
<p>First lets compare the different solutions based on some general features:</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th></th>
<th>Nexenta</th>
<th>OpenIndiana</th>
<th>FreeNAS (FreeBSD)</th>
<th>FreeBSD 9</th>
</tr>
<tr>
<td>Cost</td>
<td>Free/commercial</td>
<td>FREE</td>
<td>FREE/commercial</td>
<td>FREE</td>
</tr>
<tr>
<td>Vendor Support</td>
<td>YES</td>
<td>NO</td>
<td>NO(in U.K.)</td>
<td>NO</td>
</tr>
<tr>
<td>Web GUI</td>
<td>YES</td>
<td>YES (napp-it)</td>
<td>YES</td>
<td>NO</td>
</tr>
<tr>
<td>Stable</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>HA</td>
<td>Yes Commercial</td>
<td>Yes difficult</td>
<td>Yes Commercial</td>
<td>YES (HAST)</td>
</tr>
<tr>
<td>ZFS Version</td>
<td>28</td>
<td>28</td>
<td>15</td>
<td>28</td>
</tr>
<tr>
<td>Snapshots</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>ZFS Send/Receive</td>
<td>Commercial only</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
</tr>
<tr>
<td>Encryption</td>
<td>NO</td>
<td>NO</td>
<td>NO</td>
<td>YES*</td>
</tr>
<tr>
<td>Virtualisation</td>
<td>NO</td>
<td>YES</td>
<td>NO</td>
<td>YES</td>
</tr>
<tr>
<td>xattr</td>
<td>YES</td>
<td>YES</td>
<td>NO</td>
<td>NO</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>iSCSI</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
<td>YES*</td>
</tr>
<tr>
<td>NFS</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
<td>YES</td>
</tr>
</tbody>
</table>
<p>As you can see NexentaStor and FreeNAS are almost identical in features, especially if one takes in account commercial support.</p>
<p>One of the things we will use extensively in vCluster is ZFS send/receive. This is a ZFS feature where a snapshot of a filesystem can be sent locally or over the network to another ZFS server and have an identical replica of the data remotely. Note that this is not the same as rsync, because rsync syncs files, whereas ZFS syncs blocks. This is significant because ZFS will send the difference in <em>blocks</em>, which means that syncs are significantly faster than rsync, plus they are checksummed.<br />
This rules out NexentaStor, for now at least, because we are not prepared to pay a license for such a basic feature of ZFS.</p>
<p>Having that in mind, I started evaluating FreeNAS. The system I used has a Quad Core Xeon Processor @ 2.5 GHz, 32GB RAM, 22 2.5&#8243; 7200rpm 750GB SATA disks and 2 OCZ 32GB SSDs used as ZFS zil accelerators (or slogs or logzillas as some ZFS engineers call them). It also has 3 Adaptec RAID 5805 controllers.<br />
One thing to note is that ZFS hates RAID controllers with a passion. If you have to use a RAID controller configure it so as to present the disks as JBOD or at a minimum configure each disk as a RAID0 array with a single member. Remember that ZFS is a volume manager combined with a filesystem. It also handles RAID, having single parity, double parity, triple parity, mirror and stripe modes of operation.</p>
<p>So back to FreeNAS, I configured the system, I setup the network and I started benchmarking. We need the system to perform well as an NFS server for Linux clients. So I used a system in the lab that has 8GB RAM, 2 250GB SATA disks and a Quad Core Xeon @ 2.5 GHz, as an NFS client.</p>
<p>Initially I wanted to establish the speed of the FreeNAS server locally. So I run iozone, which is included with FreeNAS, to see just how fast the system I built was. After some fiddling around with the various iozone options I ended up running the following test: iozone -az -g 2G /mnt/tank/test -b /mnt/tank/iozone.xls<br />
This command runs iozone in automatic mode, trying block sizes from 4K up to 16384K and writing and reading a file that starts from 4K in size up to 2GB in size.</p>
<p>The result was the following:</p>
<p>Sequential write:</p>
<p><a href="http://catn.com/files/2012/05/zfs_local_raidz2_cache2_html_38d970ee.jpg"><img class="alignnone  wp-image-11776" src="http://catn.com/files/2012/05/zfs_local_raidz2_cache2_html_38d970ee-300x120.jpg" alt="" width="300" height="120" /></a></p>
<p>Random write:</p>
<p><a href="http://catn.com/files/2012/05/zfs_local_raidz2_cache2_html_3ec42f61.jpg"><img class="alignnone size-medium wp-image-11779" src="http://catn.com/files/2012/05/zfs_local_raidz2_cache2_html_3ec42f61-300x121.jpg" alt="" width="300" height="121" /></a></p>
<p>Hmmm. What is happening here? Sequential writing and random writing at 4GB/s?? How is it possible to write a file randomly at the same speed as writing it sequentially?!?<br />
The answer is that ZFS is caching and using RAM so aggressively that if not told otherwise it will eat up *all* RAM minus 1GB by default. Yep, you read that right, all RAM minus 1GB. So the graphs in reality show the speed that the ZFS caching subsystem work. Also note the jump in performance when the benchmark reaches 128K block size in the first writer test. This is because this is the default block size when you create a zfs filesystem.</p>
<p>Ok then. How can we eliminate caching so we can see how the system really performs?<br />
Simple. just add -o to iozone, so that it forces the system to actually write every single time to stable storage before it continues. So what do we get now?</p>
<p>Sync writer</p>
<p><a href="http://catn.com/files/2012/05/iozone_oi_sync_zil_html_m73e4388.jpg"><img class="alignnone size-medium wp-image-11784" src="http://catn.com/files/2012/05/iozone_oi_sync_zil_html_m73e4388-300x119.jpg" alt="" width="300" height="119" /></a></p>
<p>Random sync writer</p>
<p><a href="http://catn.com/files/2012/05/iozone_oi_sync_zil_html_m6c95a406.jpg"><img class="alignnone size-medium wp-image-11787" src="http://catn.com/files/2012/05/iozone_oi_sync_zil_html_m6c95a406-300x121.jpg" alt="" width="300" height="121" /></a></p>
<p>What is this? Again sequential write and random write go at the same speed?!?<br />
If you remember I created the ZFS pool with 2 zil accelerators, slogs from now on. These are used by ZFS exactly when something wants to write to the system using sync. These SSDs can push 75000 IOPS, which translates to ~550MB reads and ~500MB writes per second. Not bad. and if you notice the graphs go up almost linearly with the block size.</p>
<p>Here are some reader stats that go off the scale. <img src='http://catn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I used the SSDs as read caches now. <img src='http://catn.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Reader</p>
<p><a href="http://catn.com/files/2012/05/zfs_local_raidz2_cache2_html_6c6700d9.jpg"><img class="alignnone size-medium wp-image-11790" src="http://catn.com/files/2012/05/zfs_local_raidz2_cache2_html_6c6700d9-300x119.jpg" alt="" width="300" height="119" /></a></p>
<p>Random Reader</p>
<p><a href="http://catn.com/files/2012/05/iozone_nfs_html_m775a2cd4.jpg"><img class="alignnone size-medium wp-image-11795" src="http://catn.com/files/2012/05/iozone_nfs_html_m775a2cd4-300x121.jpg" alt="" width="300" height="121" /></a></p>
<p>Note the speed when the file size is the same as the block size. 10GB/s!! This is straight from RAM.</p>
<p>This is all fine you say, but you want this to be an NFS server!<br />
OK then here it is:</p>
<p>Linux NFS writer performance:</p>
<p><a href="http://catn.com/files/2012/05/iozone_nfs_html_5dcbabb1.jpg"><img class="alignnone size-medium wp-image-11793" src="http://catn.com/files/2012/05/iozone_nfs_html_5dcbabb1-300x120.jpg" alt="" width="300" height="120" /></a></p>
<p>Linux NFS random writer performance:</p>
<p><a href="http://catn.com/files/2012/05/iozone_nfs_html_m775a2cd41.jpg"><img class="alignnone size-medium wp-image-11800" src="http://catn.com/files/2012/05/iozone_nfs_html_m775a2cd41-300x121.jpg" alt="" width="300" height="121" /></a></p>
<p>Again this makes no sense!! 2.5GB/s <em>from the network</em>? This is impossible! The server uses one nic at 1Gbit/s. This translates to a theoretical maximum of 100MB/s, not 2.5GB!!!<br />
Well you see, Linux caches too. To solve the conundrum look at the green line lower in the graphs. This is the 2GB file being transmitted through the network. You will notice that it is going constantly at 1/5th of 500MB/s, which is equal to 100MB/s! This is because the Linux computer does not cache the 2GB file, so it writes it directly to stable storage, in this case the NFS export from FreeNAS.</p>
<p>So then, we have established that the server is more than adequate to cope with the load expected from vCluster and we have established that it can saturate a 1GB network link. So why did we not use FreeNAS?</p>
<p>The answer is xattrs. You see, in vCluster we use SELinux extensively, which relies on xattrs so do its job. It turns out that FreeBSD and by extension FreeNAS do no tsupport xattrs at all!</p>
<p>How annoying.</p>
<p>In the next blog post I will continue with benchmarks and more on OpenIndiana.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/vcluster/openindiana-vs-nexentastor-vs-freenas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An introduction to ZFS</title>
		<link>http://catn.com/vcluster/an-introduction-to-zfs/</link>
		<comments>http://catn.com/vcluster/an-introduction-to-zfs/#comments</comments>
		<pubDate>Fri, 11 May 2012 14:43:23 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[vCluster]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11697</guid>
		<description><![CDATA[One major part of the new vCluster release is storage. As you may know, vCluster uses NFS extensively, so we want to make sure that it works reliably. Reliability means that the data stored is always available, meaning that the server should be able to handle the load and be stable, but also that the [...]]]></description>
			<content:encoded><![CDATA[<p>One major part of the new vCluster release is storage. As you may know, vCluster uses NFS extensively, so we want to make sure that it works reliably. Reliability means that the data stored is always available, meaning that the server should be able to handle the load and be stable, but also that the data is written correctly and consistently on disk. We also need some kind of replication for backups and maybe fail over.</p>
<p>There are lots of systems we could use to serve NFS. There is Linux of course, FreeBSD, OpenIndiana and a slew of commercial solutions from companies like EMC, NetAPP, HP, Dell etc. Looking around and testing various solutions we decided that Openindiana is the best solution for our needs. The main reason is ZFS.</p>
<p><strong>Some background</strong></p>
<p>ZFS is a filesystem originally developed by Sun Microsystems. It was released in late 2005 in the development builds of Solaris. When it was released it obliterated anything freely available at the time. It had features that where not even in the radar of other filesystems.<span id="more-11697"></span></p>
<p>Some of the features are:</p>
<ul>
<li>Block level checksumming</li>
<li>Real-time block level compression</li>
<li>Cheap snapshots</li>
<li>Copy-on-write</li>
<li>Atomic operations</li>
<li>Deduplication</li>
<li>Practically infinite capacity (can address pools of 256 billion terabytes in size)</li>
<li>Intelligent and aggressive caching, making use of dedicated accelerator block devices</li>
<li>Remote replication of filesystems and snapshots</li>
<li>Blatant layer violation (I will explain this further down)</li>
</ul>
<p>One could look at this list and see features that other filesystems have. For example snapshots are generally available in other systems through different mechanisms e.g. LVM in Linux. Checksumming (only metadata) is available in XFS. No stable filesystem has all of them though.</p>
<p>In my view, ZFS has two main advantages that no other system has, which stem from the features above. The first one is that it never needs fsck (or scandisk for you windows users). The second is simplicity.</p>
<p><strong>Fsck</strong></p>
<p>Fsck is one of the most annoying things that a sysadmin can face. First it is slow. If a 10TB array has to check its filesystem a sysadmin (and of course clients!) has to wait needlessly hours and hours for it to finish. Downtime goes up, people get annoyed and in the end fsck might fail because of a million different reasons &#8211; not enough RAM, too many errors, a disk dies while fsck is running etc.<br />
ZFS does not need any kind of fsck because of the atomic nature of its transactions and because every block is checksummed. This means that on disk data is *always* valid.</p>
<p><strong>Simplicity</strong></p>
<p>The second reason that sets ZFS apart from other filesystems is, in my view, simplicity. This comes from the dreaded &#8220;Blatant layer violation&#8221;. What this means is that ZFS ignores the separation of different subsystems that other operating systems use to manage their disks and filesystems. Let me give you an example to illustrate this better:</p>
<p>In Linux you have fdisk to partition the drives, then md to create a RAID array, then LVM to create the physical volumes that you will then chop up in logical volumes and finally mkfs to format the volumes with the desired filesystem. So if you have 3 drives and want to create a RAID5 LVM array you will have to do the following:</p>
<pre class="brush: plain; gutter: false; title: ; notranslate">
fdisk -l
mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/hdb1 /dev/hda1 /dev/hdf1
pvcreate /dev/md0
vgcreate lvm-raid /dev/md0
lvcreate -l 57235 lvm-raid -n lvm0
mkfs.ext4 /dev/lvm-raid/lvm0
mount /dev/lvm-raid/lvm0 /mnt</pre>
<p>In the case of ZFS the equivalent commands are:</p>
<pre class="brush: plain; gutter: false; title: ; notranslate">
format
zpool create tank raidz c2t0d0 c2t1d0 c2t2d0</pre>
<p>End of commands. (format is a Solaris command used just to find the name of the drives e.g. c2t0d0, which could be in Linux /dev/sda)</p>
<p>Really. Nothing more is needed.<br />
The reason is that ZFS combines a volume manager with a filesystem. This eases administration, which in turn leaves room for less errors and which leads to better optimization and of course easier and faster troubleshooting.<br />
So where is the catch, you might ask. There has to be some caveat somewhere.</p>
<p>There is one actually.</p>
<p>All the features of ZFS need computing power. This means RAM and CPU. This means that in order for ZFS to have the same performance as other, may I say lesser filesystems, it needs to run on a significantly bigger box than the competition. These days CPU speed and RAM are cheap, so this argument is getting thinner every day.</p>
<p>In the following days I will continue with the comparison of the different systems that support ZFS and with some very interesting benchmarks.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/vcluster/an-introduction-to-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fake Corsair USB sticks</title>
		<link>http://catn.com/vcluster/technology/fake-corsair-usb-sticks/</link>
		<comments>http://catn.com/vcluster/technology/fake-corsair-usb-sticks/#comments</comments>
		<pubDate>Thu, 10 May 2012 15:43:38 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11640</guid>
		<description><![CDATA[Some days ago we ordered some 8GB USB sticks for our custom made storage systems (I&#8217;ll write several blog posts about this later). The sticks were Corsair Flash Voyager 8GB. I personally have one, albeit 4GB, and Ihave been using these for years now with great success. When the sticks arrived, I opened one of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://catn.com/files/2012/02/technology.png"><img class="aligncenter size-full wp-image-11346" src="http://catn.com/files/2012/02/technology.png" alt="" width="700" height="180" /></a>Some days ago we ordered some 8GB USB sticks for our custom made storage systems (I&#8217;ll write several blog posts about this later). The sticks were Corsair Flash Voyager 8GB. I personally have one, albeit 4GB, and Ihave been using these for years now with great success.</p>
<p>When the sticks arrived, I opened one of them and I noticed something strange. The stick was smaller, lighter, the logo was a bit off and the colour of the stick was different.</p>
<p>Spot the fake:</p>
<p><a href="http://catn.com/files/2012/05/IMG095.jpg"><img class="alignnone size-medium wp-image-11641" src="http://catn.com/files/2012/05/IMG095-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://catn.com/files/2012/05/IMG096.jpg"><img class="alignnone size-medium wp-image-11656" src="http://catn.com/files/2012/05/IMG096-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><span id="more-11640"></span>Thinking that it was just my eyes playing up, I plug the stick into my Ubuntu 12.04 powered laptop. Nothing happens, no nautilus pop-ups, no nothing. Then I notice that load went from 1 to 3 almost immediately!<br />
I start looking at syslog and I see the log being full of:</p>
<pre class="brush: plain; gutter: false; title: ; notranslate">
udevd[4731]: timeout: killing '/sbin/blkid -o udev -p /dev/sdb' [4841]
udevd[4731]: timeout: killing '/sbin/blkid -o udev -p /dev/sdb' [4841]
</pre>
<p>Initially I thought that I had stumbled upon some strange bug in Ubuntu. I plug the stick in a Mac and it works perfectly. Disk Utility said that it was an 8GB stick and I created a new fat partition. I plug it in Ubuntu again hoping it would work now but the result was the same. Load jumps to 3 immediately and the stick is not accessible. I look at the messages more closely and I see:</p>
<pre class="brush: plain; gutter: false; title: ; notranslate">Direct-Access   FlashDis FlashDisk</pre>
<p><strong>FlasDis</strong>??</p>
<p>I insert my own stick and I see: <code>Direct-Access Corsair Voyager</code>.</p>
<p>Suspicious, I grab the box that the stick came in and look closely at the fine print:<br />
<a href="http://catn.com/files/2012/05/IMG100.jpg"><img class="alignnone size-medium wp-image-11644" src="http://catn.com/files/2012/05/IMG100-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>2008 Co<strong>e</strong>sair. I look at the other sticks and they are all the same! Coesair! Not, Corsair!</p>
<p>I plug the stick in Ubuntu again and I run fdisk -l but it is blocked. cfdisk the same. Only Disk Utility in Ubuntu works and it says that the stick is 1.5GB is size.</p>
<p>Wait. 1.5GB??<br />
I plug it in a FreeBSD box I am working on in the lab and again it says 1.5GB.<br />
This is it then. The stick reports wrong size and Ubuntu and FreeBSD get confused when trying to access the drive and discover that it is actually a different size. lsusb reports 0011:7788. Google points me to the right direction where I find that this is a more common problem that I thought: <a title="Fix Fake Flash" href="http://flashchiptech.wordpress.com/2009/09/23/should-you-repair-a-fake-usb-flash-pen-drive/">Fix Fake Flash</a></p>
<p>I would bet that these sticks could also be virus infected.<br />
In conclusion, when you buy sticks always check that the stick you received is actually the stick you ordered and not some cheap virus infected knock-off.</p>
<p>See you in my next post where I dive deep in ZFS, FreeBSD, Openindiana and much more!</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/vcluster/technology/fake-corsair-usb-sticks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Explaining the vCluster Timeline</title>
		<link>http://catn.com/vcluster/explaining-the-vcluster-timeline/</link>
		<comments>http://catn.com/vcluster/explaining-the-vcluster-timeline/#comments</comments>
		<pubDate>Wed, 09 May 2012 10:30:30 +0000</pubDate>
		<dc:creator>Jonathon</dc:creator>
				<category><![CDATA[Product Development]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[vCluster]]></category>
		<category><![CDATA[Control Panel]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11606</guid>
		<description><![CDATA[The parent company behind CatN, Fubra, has long had aspirations of providing a web hosting service. As the company has grown over the past 12 years it has had to overcome a multitude of hosting related problems and has always thought it was well positioned to help others when they found themselves navigating the same [...]]]></description>
			<content:encoded><![CDATA[<p>The parent company behind CatN, Fubra, has long had aspirations of providing a web hosting service. As the company has grown over the past 12 years it has had to overcome a multitude of hosting related problems and has always thought it was well positioned to help others when they found themselves navigating the same twisty road. Various versions of Fubra&#8217;s hosting product reached different levels of maturity; some never making it out of the conceptual stages, some never quite having the development resource to make a polished product. None ever made it to market. In 2010, however, the idea of the CatN vCluster was born. Fubra required a platform which could cope with the traffic levels it&#8217;s own sites were generating while being cost effective &#8212; they had outgrown traditional hosting offerings and therefore began to develop a new web hosting platform.</p>
<p>The first version of the CatN vCluster was built from an engineering point of view: it was feature rich but hard to maintain, stable but not designed for customers to interact with day-to-day. A team of web developers were brought into the project to develop a control panel which made a large part of the backend engineering code accessible to users and it was this which was launched as the vCluster public beta. This is the system which the majority of CatN vCluster clients currently use. However, while this system proved a large number of the key vCluster technologies, there were still a number of problems with the system which needed to be ironed out. Firstly there was a large amount of  duplication in the management layer of the system and, while users didn&#8217;t see it, a number of settings were stored in multiple locations requiring each to be updated when any changes were requested. There were also speed issues with the control panel, as well as a number of other technical problems meaning the system required quite frequent maintenance. So in March 2011 a second round of development work started.<span id="more-11606"></span></p>
<p>Development of vCluster version 2 alpha was driven much more by how users needed to interact with the system. It removed the layers of duplication making day-to-day tasks simpler and quicker. Indeed the speed of the v2 alpha interface was infinitely better than that of the v1 interface. It was also the playground for a number of new technologies &#8212; the underlying way the hosting stack worked was re-engineered &#8212; as well as a testbed for some new pricing models. The v2 alpha was previewed in July 2011 at WordCamp UK and received some very positive feedback. It was released to testing around the same time and currently hosts some of Fubra&#8217;s biggest traffic sites. There were still improvements to be made, however, and a lot more development work was undertaken in the run up to v2 beta.</p>
<p>Development of v2 beta began very early in 2012. It took the very best parts of both v1 and v2 alpha and rolled them into one system. Development again was driven by user interfaces with a focus on powerful, intuitive functionality. The control panel was completely re-written from the ground up. The backend web hosting stack became a hybrid of the previous two versions as well as receiving a number of improvement. An improved caching layer was added and a number of features were introduced to the control panel which removed the need for the level of manual intervention required by the previous control panel builds. Feedback was taken into account from both the preview of v2 beta and from current users of the v1 system and improvements were made. Along side this the billing model was tweaked to make vCluster even more cost effective to users across the board.</p>
<p>But there is still more to come. v2 beta still needs to mature. While we are confident it will out perform both previous versions, we want to make sure it is rock solid be before it is launched. We also have grand plans for the future &#8212; we know that once the control panel is being used by our remarkable customers, comments and suggestions will flow our way and while we intend to base our continued development off those ideas, we also have a number of developments on the drawing board we know our users will love.</p>
<p>The new vCluster and control panel is slated for launch over the summer months, but if you can&#8217;t wait to get a sneak preview of the latest developments in the control panel then you&#8217;ll want to check out Steve&#8217;s next blog post where he will guide you through some of the best bits of the new system.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/vcluster/explaining-the-vcluster-timeline/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is vCluster (version 2 beta)?</title>
		<link>http://catn.com/vcluster/what-is-vcluster-version-2-beta/</link>
		<comments>http://catn.com/vcluster/what-is-vcluster-version-2-beta/#comments</comments>
		<pubDate>Wed, 02 May 2012 15:25:27 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Product Development]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[vCluster]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11565</guid>
		<description><![CDATA[The CatN team and I have been working on the vCluster product for quite a while now. The last time I checked, including vCluster 1.0, it has actually been for 2 years. Never fear though, we are rapidly approaching product launch and are in the final stages of development. As this mile stone draws closer [...]]]></description>
			<content:encoded><![CDATA[<p>The CatN team and I have been working on the vCluster product for quite a while now.</p>
<p>The last time I checked, including vCluster 1.0, it has actually been for 2 years. Never fear though, we are rapidly approaching product launch and are in the final stages of development. As this mile stone draws closer the team and I have decided to put together a series of blog posts explaining the new vCluster version 2 beta, the development process we have gone through to get to this point, and to deliver a tour of the new control panel and product / packaging model.</p>
<p>This is the first post, and as Head of Product, I have written it to address the commercial and product feature elements of vCluster 2.0 from the user&#8217;s perspective.</p>
<p><span id="more-11565"></span></p>
<h2>What is vCluster?</h2>
<p>vCluster is a managed PHP platform as a service (PaaS). This means that we manage every layer below the application layer of the server. For example, we manage the data centres, network, server hardware, server operating system and server software so that our customers can drop their PHP code in a folder and it &#8216;just works&#8217;.</p>
<p>A PaaS is perfect for users who do not want to (or may not possess the technical ability to) manage their own server and infrastructure. Essentially it is plug and play managed hosting which doesn&#8217;t require any additional input from the user beyond uploading their website files for it to work.</p>
<p>Specialising in PHP hosting means that each vCluster comes with a MySQL database and supports applications with LAMP system requirements such as WordPress, Joomla! and Drupal. It is also a great platform for bespoke PHP applications, for example our parent company Fubra is hosting one of their PHP applications9 <a href="http://www.affjet.com/" target="_blank">AffJet</a> on a vCluster.</p>
<p>The vCluster code is deployed on a cluster of physical and virtual servers allowing users to benefit from economies of scale commonly associated with shared hosting. This means we are competitively priced whilst still offering a plethora of powerful features commonly associated with VPS or dedicated hosting.</p>
<h2>How much does it cost?</h2>
<p>At face value this is an easy one; £5 per month! vCluster has a base monthly subscription of £5 per month for the single vCluster package. This charge creates the vCluster account and allocates the initial resources to the account, for example a MySQL database and block of storage.</p>
<p>In addition to the base vCluster subscription data transfer and processing time is charged for on a utility basis similar to a gas or phone bill. We are yet to finalise the price of these units but will be announcing it as soon as possible.</p>
<p>One of the key things about the new pricing structure is that we have done away with the prescriptive small / medium / large packages of vCluster 1.0. This has allowed us to fairly charge purely for the resources used by our customers, and not oversell; it allows our users to design a vCluster that perfectly suits their needs. This decision was made following beta tester feedback and user feedback from events such as <a href="http://catn.com/hosting/wordcamp-uk-2011/" target="_blank">WordCamp UK</a>.</p>
<p>Now that we have a single package we give users the option to add / enhance functionality through add-ons. At launch we will offer the option of additional MySQL databases, multiple FTP users, remote MySQL access and additional storage, but we plan on adding many more add-ons in the weeks following launch. I see the add-ons model as a great way of allowing users not only customisation of our hosting package, but also as a way to add value by integrating partner services with our hosting products in the future.</p>
<h2>What features will it have at launch?</h2>
<p>We are currently in a development feature freeze so what you see here is what you will get. We are aiming to focus on feature adding following launch with additions such as email, and domain name registration integration.</p>
<ul>
<li>Dedicated static IP address with every account.</li>
<li>SSL support and certificate sales.</li>
<li>Static content caching and customisation with Varnish.</li>
<li>Access to error, FTP and access logs on the server and via the control panel.</li>
<li>Multiple sites host-able on a single vCluster account.</li>
<li>On demand backups of your vCluster.</li>
<li>Multiple access options with FTP and SSH.</li>
<li>Cron jobs for automated operations. Manageable through crontab or the control panel.</li>
<li>A custom built control panel developed especially for vCluster and other CatN products.</li>
<li>It feels like a managed VPS for only £5 per month!</li>
</ul>
<h2>Coming soon&#8230;</h2>
<p>Now that I have introduced vCluster version 2.0 beta from the commercial / product perspective you can expect another two posts in the coming days. Jonathon, Head of Infrastructure, will be describing the development process leading us to this point. Steve Whitely, Head of Platform Services will finish the series with a summary of the new product packaging structure and a tour of the new control panel.</p>
<p>Of course, as we approach launch we will keep you updated with progress and let you know when we open for business again, making accounts publicly available for organic sign ups.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/vcluster/what-is-vcluster-version-2-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Introducing Alex</title>
		<link>http://catn.com/staff/introducing-alex-2/</link>
		<comments>http://catn.com/staff/introducing-alex-2/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 11:04:53 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Staff]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11495</guid>
		<description><![CDATA[Hello, my name is Alex Bisogiannis and a few months ago I joined the CatN team as a Storage Architect. I thought I would introduce myself on the CatN blog and share my experience and the previous projects I have worked on. I recently moved to England from Greece and soon my wife and three [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, my name is Alex Bisogiannis and a few months ago I joined the CatN team as a Storage Architect. I thought I would introduce myself on the CatN blog and share my experience and the previous projects I have worked on. I recently moved to England from Greece and soon my wife and three children will be joining me in (currently) sunny Farnham, Surrey!</p>
<p>My expertise lie in the following areas, and as my title would suggest I am a specialist storage architect focusing on building scalable, highly available storage clusters to various requirements depending on the project.</p>
<p><span id="more-11495"></span></p>
<ul>
<li>Extensive experience in the setup, maintenance and ongoing administration of Linux (Ubuntu, RedHat, Debian), Solaris 10, Open Solaris, FreeBSD and Windows Server 2003-2008 operating systems.</li>
<li>Setup, maintenance and ongoing administration of Oracle, PostgreSQL and MySQL databases.</li>
<li>Administration of Java application servers such as Tomcat and Glassfish to enterprise requirements and standards.</li>
<li>Setup, maintenance and ongoing administration of SAN, NAS and other network storage.</li>
<li>Design and implement custom ZFS storage solutions on Opensolaris/Illumos and FreeBSD.</li>
<li>Web Server clustering, using Apache with pound as the load balancer and caching using Varnish.</li>
<li>Extensive experience of creating Private Cloud type architecture based on XEN and KVM.</li>
<li>Setup, configuration and ongoing maintenance of high traffic, critical mail servers.</li>
</ul>
<p>I have been working in the IT industry for over 20 years and of course have worked on various projects. Some of the most notable are as follows.</p>
<ul>
<li>Setting up and maintaining the ClubSeat website, client CRM and ERP systems.</li>
<li>Setup and administration of the Greek Ministry of Finance Export Registry Systems.</li>
<li>Building and maintaining the server infrastacture for the iPhone application Plaisio, and consulted OTE for it’s webhosting business based on Parallels Zirtuozo containers.</li>
<li>A European Union project involving people with dementia, based on the Ecosystem home automation software. Setup and administration of all server infrastructure and remote setup of the Ecosystem on client’s computers.</li>
</ul>
<p>I&#8217;m looking forward to hearing from the CatN testers, and (after we officially launch) our users. Send me an email if you would like to discuss vCluster storage or ask me any other questions, <a href="mailto:alex@catn.com">alex@catn.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/staff/introducing-alex-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Fortnight in Fubra</title>
		<link>http://catn.com/staff/a-fortnight-in-fubra/</link>
		<comments>http://catn.com/staff/a-fortnight-in-fubra/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 09:57:59 +0000</pubDate>
		<dc:creator>Jake Wigmore</dc:creator>
				<category><![CDATA[Staff]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11537</guid>
		<description><![CDATA[I have almost completed my two weeks of work experience at Fubra (give or take a few days for the Easter holidays) and overall I&#8217;ve really valued the experience and what I have learnt during my time here. As I am a student of Digital Media Design at Bournemouth University, Fubra is just the sort [...]]]></description>
			<content:encoded><![CDATA[<p>I have almost completed my two weeks of work experience at Fubra (give or take a few days for the Easter holidays) and overall I&#8217;ve really valued the experience and what I have learnt during my time here.</p>
<p>As I am a student of Digital Media Design at Bournemouth University, Fubra is just the sort of company that would coincide perfectly with the skills that I am currently developing at uni. The friendly, accepting community of employees that work here and the environment in which they work make this place an easy transition from the uni world to the full-time employment world.</p>
<p>I was expecting to be working on a web design project when I joined the team at Fubra but instead I was given the task of producing a short promotional, informative video/animation to raise awareness of Cloud Hosting and its benefits over computer hardware servers. I was happy to accept this challenge as I had worked with Adobe Flash CS5 at university, and the idea that we had for the video would also give me an opportunity to develop my skills with Adobe After Effects CS5.</p>
<p>The project is coming along really well and I&#8217;m hoping that it will be finished by the end of this week. I&#8217;ve really enjoyed working at Fubra and would be happy to come back in the summer to complete my required 4 weeks of work experience.</p>
<p>- Jake Wigmore.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/staff/a-fortnight-in-fubra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction from the new CatN guy</title>
		<link>http://catn.com/hosting/introduction-from-the-new-catn-guy/</link>
		<comments>http://catn.com/hosting/introduction-from-the-new-catn-guy/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 10:46:25 +0000</pubDate>
		<dc:creator>Huw Davies</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Staff]]></category>
		<category><![CDATA[vCluster]]></category>

		<guid isPermaLink="false">http://catn.wp.fubra.vc.catn.com/?p=11508</guid>
		<description><![CDATA[So this is the end of my first week as Product manager here at CatN and there has been a lot to learn and do! I come from a Hosted Exchange background and while there are plenty of similarities there is also a lot of new stuff to learn here which is great! I’ve been [...]]]></description>
			<content:encoded><![CDATA[<p>So this is the end of my first week as Product manager here at CatN and there has been a lot to learn and do! I come from a Hosted Exchange background and while there are plenty of similarities there is also a lot of new stuff to learn here which is great!</p>
<p>I’ve been in one of the DC’s moving a SAN and installing servers, helping me get a better understanding of the hardware side of the business, as well as getting the lowdown on the existing services and services being launched over the next 6 months. I’ve also got to grips with writing wiki articles and learnt the basics of wiki mark-up language.<br />
<span id="more-11508"></span><br />
I’ve met the team and I think I know everyone’s names now, thanks for bearing with me guys!</p>
<p>Going forward I’ll be working to bring the pCluster service to market, developing and managing the service and ensuring it is sufficiently differentiated within the market. I’ll be looking to add value to the product, meeting clients and championing the service to generate interest from potential customers. I’ll also be assisting the product commercial team day-to-day to ensure customer requirements are understood and delivered.</p>
<p>I’ll be working closely with Joe Gardiner to bring pCluster to market by the end of the summer and generate marketing buzz around it in the run-up to the product launch. The pCluster product will build on the success of vCluster and offer a competitive private cloud hosting solution for businesses and public bodies, giving the benefits of security, high availability, backup solutions, replication and load balancing tailored to your needs, with support from a team of dedicated hosting experts.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/hosting/introduction-from-the-new-catn-guy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing WordPress Multi-Site on Apache localhost using Sub-Domains</title>
		<link>http://catn.com/support/guides/installing-wordpress-multi-site-on-apache-localhost-using-sub-domains/</link>
		<comments>http://catn.com/support/guides/installing-wordpress-multi-site-on-apache-localhost-using-sub-domains/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 10:27:48 +0000</pubDate>
		<dc:creator>Neil Sweeney</dc:creator>
				<category><![CDATA[Guides]]></category>

		<guid isPermaLink="false">http://catn.com/?p=11021</guid>
		<description><![CDATA[One of the often missed features of WordPress is the ability to run more than one site off it. It&#8217;s thought that WordPress can be a bit bloated at time with the number of database connections it does, but so long as you keep those connections under control with page caching, then WordPress can have [...]]]></description>
			<content:encoded><![CDATA[<p>One of the often missed features of WordPress is the ability to run more than one site off it. It&#8217;s thought that WordPress can be a bit bloated at time with the number of database connections it does, but so long as you keep those connections under control with page caching, then WordPress can have many sites running from a single install; this is exactly how WordPress.com (a network of hosted WordPress blogs) works.</p>
<p>There are a number of blogs out there that will explain to you how to install a WordPress Multi-Site on your localhost, but they&#8217;ll use the sub-folder method, which is fine but I like working from the root. So I&#8217;ll try to explain why I use a multi-site install, how you can use it and will explain how to get it working on your localhost with sub-domains.</p>
<p><span id="more-11021"></span></p>
<h2>Why Have a Multi-Site Install</h2>
<p>One strong advantaged of working with a WordPress MultiSite install is versioning of WordPress’. Although I’ve not tested this to see if it would be any good or if it would work across every recent versions but for those hardcore developers who wish to test with regards to versions, this maybe a good idea.</p>
<p>Any who, it’s handy to have a single WordPress install base rather than having the same files a number of times that you don’t really care about. When I was looking up last night on how to setup a local install with subdomains (such as sub.domain.com) there was no real documentation how to do it, it was all sub-directories (such as domain.com/sub/). This doesn’t really suite me as I work with sites from the root rather than the directory so I was desperate to find out how to do this, lucky for those reading this I did.</p>
<h2>Setting Up the Host</h2>
<p>This can be a little tricky and change depending on your <abbr title="(Linux/Mac/Windows), Apache, MySQL, PHP">(L/M/W)AMP</abbr> stack and operating system, so I will try to cover the best I can with all three stacks; Linux, Mac and Windows.</p>
<ol>
<li>
<p>Find your system host file and add your custom WordPress multisite install address (mine is mu.wp) by adding the line:<br />
<code>127.0.0.1 mu.wp</code></p>
<ul>
<li>
<p><strong>Windows</strong><br />location: C:\Windows\System32\drivers\etc\host (make sure you can <a href="http://www.howtogeek.com/howto/windows-vista/show-hidden-files-and-folders-in-windows-vista/" rel="external">view hidden files</a> and have <a href="http://support.microsoft.com/kb/923947" rel="external">admin privileges</a>)</p>
</li>
<li>
<p><strong>Mac</strong><br />`/private/etc/hosts` (use <a href="http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/" rel="external">this tutorial</a> for further instructions)</li>
<li>
<p><strong>Linux</strong><br />`/etc/hosts` (use <a href="http://www.divaksh.me/how-to-edit-host-file-in-linux-os/" rel="external">this tutorial</a> for further instructions)</li>
</ul>
</li>
<li>
<p>You might also want to add any sub-domains now to your host file as you will manually need to add each one; for now I just want to add boom.mu.wp, which is as simple as adding a space and typing in the URL next to your install address so you should have a line that now looks like this:<br />
<code>127.0.0.1 mu.wp boom.mu.wp</code><br />
(When ever you want to add another sub-domain, just add it to the same line)</p>
</li>
<li>
<p>Find your Apache `httpd-vhosts.conf` file; head towards your Apache install folder and follow the path `conf/extra/httpd-vhosts.conf` (<a href="http://www.labnol.org/software/edit-hosts-files-as-administrator/13673/" rel="external">Windows requires admin privileges</a>). Keep in mind; this might not be correct and if so, do a system file search for the file, or if you can&#8217;t find it then go to `conf/httpd.conf` (<a href="http://www.labnol.org/software/edit-hosts-files-as-administrator/13673/" rel="external">requires admin privileges</a>)</p>
</li>
<li>
<p>Check that the line <code>NameVirtualHost *:80</code> is included in that file, if not then add it.</p>
</li>
<li>
<p>Now add the the follow block of code (taking into account that some parts will need changing:</p>
<p><code>&lt;virtualhost *:80><br />
    DocumentRoot "[FILE PATH TO YOUR WORDPRESS INSTALL]"<br />
    ServerName mu.wp<br />
    ServerAlias *.mu.wp<br />
    &lt;directory "[FILE PATH TO YOUR WORDPRESS INSTALL]"><br />
        AllowOverride All<br />
        Options Indexes FollowSymLinks<br />
        Order allow,deny<br />
        Allow from all<br />
    &lt;/directory><br />
&lt;/virtualhost></code></p>
<p>To clairfy a few parts, `ServerName mu.wp` is the same as our host file name and `ServerAlias *.mu.wp` is the same again but we added `*`. as a prefix that acts as a wildcard, so anything will be accepted as a sub-domain pre-say</p>
</li>
<li>
<p>Now flush your <a href="http://www.eukhost.com/forums/f15/how-clear-flush-dns-cache-windows-linux-mac-machines-6337/" rel="external">DNS records</a> and <a href="http://httpd.apache.org/docs/2.2/stopping.html" rel="external">restart Apache</a> (may not work for all installs of Apache, if that&#8217;s the case then you will have to look for the relevant documentation) and you can continue with the standard WordPress install</p>
</li>
</ol>
<h2>Installing WordPress Multi-Site</h2>
<ol>
<li>
<p>Install WordPress as normal keeping in mind the options you choose now will be used on that root domain (so mine is called MU with the address http://mu.wp/)</p>
</li>
<li>
<p>Once installed and working, head to your `wp-config.php` file and add the line <code>define('WP_ALLOW_MULTISITE', true);</code> above the line <code>/* That's all, stop editing! Happy blogging. */</code></p>
</li>
<li>
<p>Go into your WordPress admin area hover over the menu item &#8220;Tools&#8221; and look for the option &#8220;Network Setup&#8221; and click on it <a href="http://catn.com/files/2012/01/network-setup.png"><img src="http://catn.com/files/2012/01/network-setup.png" alt="Network Setup option for WordPress multi-site install" title="Network Setup option for WordPress multi-site install" width="309" height="208" class="aligncenter size-full wp-image-11221" /></a></p>
</li>
<li>
<p>In the &#8220;Create a Network&#8221; page you want to select the &#8220;sub-domain&#8221; option and then click the &#8220;Install&#8221; button <a href="http://catn.com/files/2012/01/create-network.png"><img src="http://catn.com/files/2012/01/create-network-300x189.png" alt="Choose the `Sub-domains` option" title="Choose the `Sub-domains` option" width="300" height="189" class="aligncenter size-medium wp-image-11223" /></a></p>
</li>
<li>
<p>You&#8217;re now presented with three things to do before your network is fully operational</p>
<ol>
<li>
<p>Create the <code>blog.dir</code> folder in the <code>wp-content</code> folder (that can be seen in the root</p>
</li>
<li>
<p>Copy the contents of the first textarea and add it to the <code>wp-config.php</code> we previously edited</p>
</li>
<li>
<p>Copy the contents of the second textarea and add it to the <code>.htaccess</code> file in the root of your WordPress install. Keep in-mind that file beginning with a . are seen as system files and thus are invisible so you may have to make it visible (here&#8217;s how to for various systems: <a href="http://www.mactricksandtips.com/2008/04/show-hidden-files.html" rel="external nofollow">Mac</a>, <a href="http://www.howtogeek.com/howto/windows-vista/show-hidden-files-and-folders-in-windows-vista/" rel="external nofollow">Windows 7 and Vista</a>, <a href="http://www.webune.com/forums/how-do-you-show-hidden-files-in-a-linux-directory.html" rel="external nofollow">Linux</a>). If you still can&#8217;t see it then you just need to create the file.</p>
</li>
</ol>
</li>
<li>
<p>Log out and back into your WordPress admin area and you should see a new option under the &#8220;Dashboard&#8221; menu item, namely &#8220;My Sites&#8221;, this lists all the sites you have currently available to you in your network. Ignore that option for now and hover just above that to the &#8220;My Sites&#8221; in the admin bar, hover over &#8220;Network Admin&#8221; and click on &#8220;Sites&#8221; <a href="http://catn.com/files/2012/01/network-admin.png"><img src="http://catn.com/files/2012/01/network-admin.png" alt="Network admin menu" title="Network admin menu" width="400" height="155" class="aligncenter size-full wp-image-11226" /></a></p>
</li>
<li>
<p>You are now in a page with a similar style to the post/page view; here you can add a site, so click &#8220;Add Site&#8221; towards the top and fill in the relevant details (mine was for boom.mu.wp). You should be now able to access that new sub-domain.</p>
</li>
</ol>
<p>That should be it; all you need to remember to do is add each new sub-domain you want to the `host` file. There are easier ways of doing, I for one use <a href="http://www.mamp.info/en/index.html" rel="external">MAMP Pro</a> on my Mac that handles all the Apache and `host` file configurations in a nice GUI. Not sure on Windows and Linux options that allow you to manage Apache using a pretty GUI, if you do though please share with us!</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/support/guides/installing-wordpress-multi-site-on-apache-localhost-using-sub-domains/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

