Latest Entries »

According to the website, backups for Cloud Servers are only available for instances with a memory size of 2GB or less.  However, this restriction only applies to (some of) the control panel, and not the API itself.  It is still quite possible to take snapshots of your larger servers, though there are a few caveats along the way.

To take snapshots of your >2GB Cloud Servers through the control panel, you first need to go to Hosting -> Cloud Servers and click on the “My Server Images” tab.  Note that you do not want to go to an individual server’s overview page to take the image;  it will not work for >2GB servers.

View full article »

Whenever you upgrade the memory on a Windows Cloud Server, you’ll notice that, although the memory has increased, the disk space has not.  This happens because the hypervisor uses a sparce disk file for the virtual hard drive on Windows instances.  Since the hypervisor is unable to access the partition structure inside this file directly, the additional drive space that is allocated to your server after the resize must be manually managed within the OS itself.

**DISCLAIMER**

Before making any changes to your partition structure, make sure you take a backup!  Any kind of mistake or problem during this process will render your machine unusable!

Windows 2008

On Windows 2008, this can be accomplished quite easily with the built-in tools.  After the resize operation has been completed and the Rackspace control panel has asked you to verify the integrity of your server, you can follow these steps to expand the partition:

View full article »

For the longest time, cloud servers has been limited to the hypervisor’s seeded kernels. They were patched for exploits, and generally worked well – but some people require specific things in their kernel. While you could compile modules before, you were never allowed to touch the kernel itself.

However recently, PV-Grub became available as an option for Cloud Servers. This loads your grub loader and lets you use whatever kernel you feel like. In order to get it, all you need to do is request it in a ticket and give permission to restart the server. However before that, you will need to set up your kernel and a grub stub.

View full article »

There is currently no way to build a server on one account from an image on another account, at least not directly. This article will show you how to do it manually using a Cloud Files image.

This only covers Linux servers, Windows users get no love! (Actually, once I’ve had a chance to test on Windows servers I’ll update this article as to whether it’s possible and what steps are required to do it.)

View full article »

Server security is one of those topics that there’s a lot of different opinions flying around. How secure do you want to be? It really comes down to how much you want to inconvenience your users (and yourself). While there are many different ways to secure a server, this article focuses on an implementation of something I think is a nice cross between convenience and security. For a more in depth view on server security, I would recommend looking at Racker Hacker’s Blog.

However this post is for configuring ppp-pam.

View full article »

The Rackspace Cloud allows you to save your images to Cloud Files, however currently your automated backups are still stored with server.

Additionally you can only have a backup every day. What if you wanted one say, every 6 hours? You can achieve this with the API, curl and a bash script.

Below is the script, all you need to do is plug in your API key and your username. After that we just need to create a cron job to run it and we’re all good to go.

This Script Requires the Following:

  • Awk
  • cURL

These should all be installed by default, try running the script manually and making sure it doesn’t return any errors before setting up your cron job.

View full article »

The Ubuntu nfs-kernel-server package installs an init script in /etc/init.d/nfs-kernel-server that checks the kernel for a certain ksym to determine if the kernel has NFS support compiled in. Rackspace Cloud Servers use a custom kernel that does not include that particular ksym, however NFS functionality is fully supported.

View full article »

Why use Load Balancing?

This is an article about setting up a load balancer, so if you’re here it’s probably because you want to set one up. So I’ll keep this section relatively brief. A load balancer is a piece of hardware that accepts incoming traffic and then passes it through to other servers on the backend, this allows you to scale your infrastructure easily with little downtime simply by adding more servers into it. The main benefit of load balancing is distributing the load across multiple servers to make the site run quickly, even when there are a large volume of concurrent connections. This article will be about setting up a software based solution using HA Proxy, this allows you to use a server as a load balancer useful if your in a virtual environment such as the Rackspace Cloud where you can’t have hardware load balancers.

This article assumes you have already set up your apache nodes, and are familiar with using SSH and Linux.

cialis coupon

This article will show you some mod_rewrite wizardry to get your static content served from your own “cdn” domain until CNAME support is here.

Requirements
This article assumes you know how to get the public URL for your container, and are familiar with uploading files to the Rackspace Cloud platform.

All implementations require an Apache web hosting account with mod_rewrite enabled.

View full article »

So, while idling on IRC today, I had a conversation. Well technically, I talked about another conversation. It was about zombie botnets. You might be asking yourself  “what the hell is a zombie botnet”

Don’t worry friend, for I shall enlighten you.

cialis 25mg