<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Peter's Blog - Nodes for slicehost</title>
    <link>http://www.petersblog.org/</link>
    <description>Nodes containing the tag slicehost</description>
    <item>
      <title>On the Move Again</title>
      <link>http://www.petersblog.org/node/view/1733</link>
      <description>&lt;p&gt;
I was watching the news and they mentioned how the pound is falling against the dollar. This concerned me as I am paying &lt;a href="http://slicehost.com"&gt;slicehost&lt;/a&gt; $70 a month for hosting. Some quick calculations told me I was now paying 30% more than when I chose them. It's about &#163;50 a month! Slicehost have been faultless but I felt a review was in order. 
&lt;/p&gt;
&lt;p&gt;
The first place I looked was &lt;a href="http://1and1.co.uk/"&gt;one and one&lt;/a&gt; as their 'value' root dedicated servers are usually temptingly priced, even if the companys customer support is dire. In my experience this isn't too much of an issue: if you need tech support you shouldn't be getting root access. My various sites aren'texactly critical (i.e. I make no money from them) in which case I definitely would want to know good support was there. I had one of their value servers a fewyears ago and it was fine but I cancelled it because back then I wasn't making good use of it. 
&lt;/p&gt;
&lt;p&gt;
Their 'value' root server was &#163;30 a month and came with: 
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
64 bit 2ghz processor 
&lt;/li&gt;
&lt;li&gt;
1G memory 
&lt;/li&gt;
&lt;li&gt;
2 x 80g disks in a raid 1 configuration (mirroring, safe from disk failures). 
&lt;/li&gt;
&lt;li&gt;
a free domain name 
&lt;/li&gt;
&lt;li&gt;
50g of FTP space (only accessible from the server) 
&lt;/li&gt;
&lt;li&gt;
1Tb of data/month 
&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;
A very good deal for the money. The box can be rebooted from their web site, there is an emergency boot mode and also a serial login so you can fix network problems. All these tools help me solve any problems myself without needing some guy to press a reset button for me. 
&lt;/p&gt;
&lt;p&gt;
The server can be reconfigured through the web site with a choice of Linux distributions. The only ubuntu was about two years old (dapper) but I chose it anyway and upgraded it to hardy. 
&lt;/p&gt;
&lt;p&gt;
Everything went smoothly and the blog is now hosted there. 
&lt;/p&gt;
&lt;p&gt;
The one problem I have had is that it is using a kernel that has been compiled by one and one and is missing the modules (!) so I can't use autofs to mount the FTP backup space in a file system. Since the next version of ubuntu is out in two days time I will wait for a clean new kernel. 
&lt;/p&gt;
&lt;p&gt;
I'm not so happy with having to deal with one and one but this was too good a deal to miss. I'm using their free domain just to access this server as I don't want the hassle of transferring it away from them if I become attached to it. Also I would prefer to have my sites backed up to a third party (escrow). Rsync.net have just cut their prices so I will probably keep using them. 
&lt;/p&gt;
&lt;p&gt;
Peter's Blog previous hosts (from memory): 
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
pycs.net 
&lt;/li&gt;
&lt;li&gt;
site5.com 
&lt;/li&gt;
&lt;li&gt;
linode (briefly) 
&lt;/li&gt;
&lt;li&gt;
one and one dedicated server 
&lt;/li&gt;
&lt;li&gt;
site5.com 
&lt;/li&gt;
&lt;li&gt;
vpshost (briefly) 
&lt;/li&gt;
&lt;li&gt;
slicehost 
&lt;/li&gt;
&lt;li&gt;
one and one 
&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;
Conclusion: moving up from a Vps to a dedicated server and saving &#163;20 a month, not too shabby. 
&lt;/p&gt;&lt;p&gt;Related Posts: &lt;a href="/tag/linux"&gt;linux&lt;/a&gt; &lt;a href="/tag/oneandone"&gt;oneandone&lt;/a&gt; &lt;a href="/tag/slicehost"&gt;slicehost&lt;/a&gt;&lt;/p&gt;</description>
      <guid>http://www.petersblog.org/node/view/1733</guid>
      <category domain="http://www.technorati.com/tag">linux</category>
      <category domain="http://www.technorati.com/tag">oneandone</category>
      <category domain="http://www.technorati.com/tag">slicehost</category>
    </item>
    <item>
      <title>Slicehost Progress Report</title>
      <link>http://www.petersblog.org/node/view/1588</link>
      <description>&lt;p&gt;
A short update on my &lt;a href="/tag/slicehost"&gt;Slicehost&lt;/a&gt; vps which I have had for two months now. I love it. It's fast, reliable and I have no criticisms of it whatsoever. I've cancelled my &lt;a href="/tag/vpslink"&gt;vpslink&lt;/a&gt; vps and I will cancel &lt;a href="/tag/site5"&gt;site5&lt;/a&gt; once the contract runs out. All my eggs in one basket (ok, two if you count the &lt;a href="http://www.rsync.net"&gt;rsync.net&lt;/a&gt; backups). Slicehost offer backups but: 
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
they cost $15 a month 
&lt;/li&gt;
&lt;li&gt;
you only get three 
&lt;/li&gt;
&lt;li&gt;
they are snapshots of your live system and hence will back up the trojans, root kits or whatever your system has succumbed to 
&lt;/li&gt;
&lt;li&gt;
rsync.net is independent 
&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;
TODO: learn capistrano. 
&lt;/p&gt;
&lt;p&gt;
Peter's Blog: No affiliate links. 
&lt;/p&gt;&lt;p&gt;Related Posts: &lt;a href="/tag/slicehost"&gt;slicehost&lt;/a&gt; &lt;a href="/tag/vps"&gt;vps&lt;/a&gt; &lt;a href="/tag/vpslink"&gt;vpslink&lt;/a&gt;&lt;/p&gt;</description>
      <guid>http://www.petersblog.org/node/view/1588</guid>
      <category domain="http://www.technorati.com/tag">slicehost</category>
      <category domain="http://www.technorati.com/tag">vps</category>
      <category domain="http://www.technorati.com/tag">vpslink</category>
    </item>
    <item>
      <title>Faster Blogging</title>
      <link>http://www.petersblog.org/node/view/1559</link>
      <description>&lt;p&gt;
I'm so taken with my new &lt;a href="/node/1554"&gt;SliceHost VPS&lt;/a&gt; that I've moved this blog over to it. For the first time in four years this blog is hosted on something other than Apache: &lt;a href="/node/1557"&gt;Nginx&lt;/a&gt;. It's still on &lt;a href="/tag/drupal"&gt;drupal&lt;/a&gt; but running under php5 for the first time (only needing &lt;a href="http://drupal.org/node/93456"&gt;this fix&lt;/a&gt;). 
&lt;/p&gt;
&lt;p&gt;
The DNS has only just propogated so this is my first posting on the new host. To me it feels snappier when navigating around, a definite improvement. 
&lt;/p&gt;
&lt;p&gt;
I've been moving all my sites over to the new host, I've decided to put all my eggs in one basket. Well, not quite, I've also signed up for a minimal &lt;a href="http://rsync.net/"&gt;rsync.net&lt;/a&gt; account, giving me just over 3g of backup space. It will cost me circa &#163;2.50 a month but will be worth it for the peace of mind. 
&lt;/p&gt;
&lt;p&gt;
I've put all my sites and also my most important /etc directories (such as /etc/nginx) into a subversion repository. I found a great subversion tip for checking /etc into subversion in the &lt;a href="http://subversion.tigris.org/faq.html"&gt;subversion faq&lt;/a&gt;: 
&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;
How can I do an in-place 'import' (i.e. add a tree to Subversion such that the original data becomes a working copy directly)? 
&lt;/p&gt;
&lt;p&gt;
Suppose, for example, that you wanted to put some of /etc under version control inside your repository: 
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;
svn mkdir file:///root/svn-repository/etc \          -m "Make a directory in the repository to correspond to /etc" 
&lt;/li&gt;
&lt;li&gt;
cd /etc 
&lt;/li&gt;
&lt;li&gt;
svn checkout file:///root/svn-repository/etc . 
&lt;/li&gt;
&lt;li&gt;
svn add apache samba alsa X11 
&lt;/li&gt;
&lt;li&gt;
svn commit -m "Initial version of my config files" 
&lt;/li&gt;&lt;/ol&gt;

&lt;p&gt;
This takes advantage of a not-immediately-obvious feature of svn checkout: you can check out a directory from the repository directly into an existing directory. Here, we first make a new empty directory in the repository, and then check it out into /etc, transforming /etc into a working copy. Once that is done, you can use normal svn add commands to select files and subtrees to add to the repository. 
&lt;/p&gt;
&lt;p&gt;
There is an issue filed for enhancing svn import to be able to convert the imported tree to a working copy automatically; see issue 1328. 
&lt;/p&gt;
&lt;p&gt;
&lt;/blockquote&gt; 
&lt;/p&gt;
&lt;p&gt;
So all the juicy stuff is in subversion and then I rsync the subversion repository over to rsync.net for the backup (nb, don't rsync a live svn repository while anyone else is modifying it!). This will allow me to roll-back changes should need be (or more likely see what I've changed to break something) using the Slicehost subversion repositories. 
&lt;/p&gt;
&lt;p&gt;
If anything does go wrong with my Slicehost slice (not saying it will but it might), I can rent a new VPS or dedicated server and have my stuff back up and running in less than a day (DNS propgation to the new server would be the delaying factor). It's not perfect redundancy but I'm not shafted. 
&lt;/p&gt;
&lt;p&gt;
Probably a more likely scerario is my server gets pwned in which case I would remaster it. 
&lt;/p&gt;
&lt;p&gt;
The rsync copy between the Slicehost and rsync runs at 583850.15 bytes/sec. Pretty good. 
&lt;/p&gt;
&lt;p&gt;
Possible improvements: 
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
Use &lt;a href="http://duplicity.nongnu.org/"&gt;Duplicity&lt;/a&gt; to backup the repositories, with a full+incremental scheme. 
&lt;/li&gt;
&lt;li&gt;
Put a web front end on the subversion repositories so I can browse them (although [subclipse|http://subclipse.tigris.org/) is working nicely). 
&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;
UPDATE: I've noticed this article getting hits for people looking how to copy a subversion repository. The simple answer is to just copy the files: cp -rf, rsync -a, however you like copying things. If the repository is live (i.e people are using it) or it will be running on a different version of subversion then the answer is to use: 
&lt;/p&gt;
&lt;pre class="lazy"&gt;svnadmin dump path-to-repository &lt;span class="Keyword"&gt;&amp;gt;&lt;/span&gt; dump.dat
cp dump.dat {wherever}
cd {wherever}
svnadmin load path-to-new-repository &lt;span class="Keyword"&gt;&amp;lt;&lt;/span&gt; dump.dat
&lt;/pre&gt;&lt;p&gt;Related Posts: &lt;a href="/tag/rsync"&gt;rsync&lt;/a&gt; &lt;a href="/tag/slicehost"&gt;slicehost&lt;/a&gt; &lt;a href="/tag/subversion"&gt;subversion&lt;/a&gt; &lt;a href="/tag/svn"&gt;svn&lt;/a&gt;&lt;/p&gt;</description>
      <guid>http://www.petersblog.org/node/view/1559</guid>
      <category domain="http://www.technorati.com/tag">rsync</category>
      <category domain="http://www.technorati.com/tag">slicehost</category>
      <category domain="http://www.technorati.com/tag">subversion</category>
      <category domain="http://www.technorati.com/tag">svn</category>
    </item>
    <item>
      <title>Slicehost</title>
      <link>http://www.petersblog.org/node/view/1554</link>
      <description>&lt;p&gt;
When researching VPS's to host websites a few months ago I came across &lt;a href="http://www.slicehost.com"&gt;SliceHost&lt;/a&gt; who were very highly regarded but had a long waiting list, with waiting times measured in weeks unless you were willing to commit to a top range deal for a year in advance. 
&lt;/p&gt;
&lt;p&gt;
Hence I went with &lt;a href="http://www.vpslink.com"&gt;vpslink&lt;/a&gt; and a 512Mb VPS. Vpslink are cheap but have the limitation that you get no 'burst' ram so if your 512M runs out then phut, apache crashes. This was happening to me until I changed from the preforking apache to the multithreaded one that uses less memory (fewer processes) after which it was rock solid. However, I no longer trusted it. 
&lt;/p&gt;
&lt;p&gt;
Last Saturday I was still mulling over hosting and checked Slicehost again to find that their waiting times were down to less than a week for all their packages. Their prices are slightly better than VPSlink so I applied for one and by tuesday I got an email with a link to sign up. Signing up was easy enough and within minutes I had 1024Mb slice for three months. 
&lt;/p&gt;
&lt;p&gt;
My first impression when I logged into it with ssh was that it was very fast. Typing into the console, the keypresses appeared immediately. In a way it's a detail but it shows there is low latency between me and the server (I'm not sure where the server is but I saw something about swbell in the iptables which makes me suspect it is in sw USA). Everything I did with it (installing packages etc) happened very quickly. 
&lt;/p&gt;
&lt;p&gt;
But the thing that impressed me most was... &lt;a href="http://articles.slicehost.com/"&gt;the documentation on their site&lt;/a&gt;. Very good indeed, great guides on setting up servers for Apache, Rails, Mongrel, iptables etc. Simple step-by-step instructions to go from a raw OS install (ubuntu gutsy for me) to a running site. Other hosting services I have used have had scrappy and out-of-date documents (oneandone) or I had to spend ages trawling forums for answers (site5: and with a shared hosting service like site5 setting anything up is intrinsically more difficult because of the shared hosting shackles). Slicehost appears to be a 'run-by-developers-for-developers' deal and feels very web 2 and geeky. Perfect. 
&lt;/p&gt;
&lt;p&gt;
Armed with the documentation my site is running under apache with a mongrel cluster serving up my rails app! And it is running very nicely, very snappy. The mongrel cluster is using 10% of my memory under zero load (I wouldn't dare do this on vpslink) and setting it up is not the most straightforward thing and I couldn't do it again without the slicehost docs. I would ditch apache and use pure mongrel but: 
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
apache makes virtual sites very easy 
&lt;/li&gt;
&lt;li&gt;
if I ever wanted to move one of my drupal sites to this server I would need php and apache's url rewriting facilities (to get the clean urls working: the 'new wave' servers like lighttpd are great for serving static files but have too many shortcomings for anything beyond that). 
&lt;/li&gt;
&lt;li&gt;
I want multiple rails apps and I'm unsure whether mongrel can do that (I've been bitten by cherrypy and it's one-site-under-mod-python ethos so don't trust anything else yet). 
&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;
So far Slicehost is looking very promising. And no, there are no referral links here. Vpslink are good but their slightly more expensive &lt;a href="http://spry.com"&gt;spry&lt;/a&gt; brand VPS's may be better for reliability. There aren't any other vps providers that I would consider. They are either the pile-high-sell-cheap types (oneandone) or poor/terse support (linode). 
&lt;/p&gt;
&lt;p&gt;
Petersblog is still on site5/drupal. Maybe, just maybe, I can make it my christmas holiday project to port it to rails. Maybe. 
&lt;/p&gt;&lt;p&gt;Related Posts: &lt;a href="/tag/rails"&gt;rails&lt;/a&gt; &lt;a href="/tag/slicehost"&gt;slicehost&lt;/a&gt;&lt;/p&gt;</description>
      <guid>http://www.petersblog.org/node/view/1554</guid>
      <category domain="http://www.technorati.com/tag">rails</category>
      <category domain="http://www.technorati.com/tag">slicehost</category>
    </item>
  </channel>
</rss>
