Support: 1-800-961-4454
Sales Chat

Inside My Home Rackspace Private Cloud, OpenStack Lab, Part 1: The Setup


Over the past year I’ve been using a home lab for quick, hands-on testing of OpenStack and Rackspace Private Cloud, and a number of people have requested information on the setup. Throughout the next few blog posts I will explain what I’ve got. This serves two purposes: 1) documentation of my own setup as well as 2) hopefully providing information that other people find useful – and not everything is about OpenStack.

This first post is about the tech involved and how it is set up. In subsequent posts I’ll go into further detail and then detail the installation of Rackspace Private Cloud.

The Servers

Let’s first take a look at the servers I’m using:

5 x HP MicroServer N40L

The N40L is an incredibly cheap, 4 SATA Bay (+ CDROM Bay), low-power server with supplied 250Gb SATA. It’s a single CPU AMD Turion II processor with two cores that supports Hardware-VT.  It has been superseded by the HP MicroServer N45L and often found with cash-back deals, meaning these usually come in under $215/£130.

There seems to be some caution when choosing memory for these things, with the documentation reporting they support up to 8Gb. I’ve read about people successfully running 16Gb, and through my own trial I grabbed the cheapest memory I could get and found it worked.

When choosing the PCI-X NICs and other cards, be aware that you need to use low-profile ones. The NICs I added to mine are low-profile, but the metal backing plate isn’t. A quick email to TP-Link customer services will get you some low-profile backing plates free of charge.

Networked Attached Storage

I have two QNAP NAS devices. One functions as my main network storage (nas / with two drives in, running DHCP for my home subnet, DNS for all connected devices and Proxy (primarily used to compensate for the slow 6Mbps to 7Mbps ADSL speed I get when installing packages on my servers). The second (nas2 / acts as a TFTP server and proxy for my servers, as well as providing a replication/backup for my primary NAS. The reason I run a proxy and TFTP next to my servers, rather than on the main NAS, is the wireless link I have between my servers and my router. Although WiFi speeds are OK, it’s a much more efficient setup (and I have two floors between my servers and WiFi router). Powerline adapters? I tried them, but due to my home having an RCD (Residual Current Device), it made Powerline adapters useless.

  • nas
    • QNAP TS-210 (QTS 4.0.2)
    • 2 x Western Digital Caviar Green 500GB SATA 6Gb/s 64MB Cache – OEM (WD5000AZRX)
    • Raid 1 EXT4
    • eth0 (onboard)
    • DHCP (Dnsmasq)
    • DNS (Dnsmasq)
    • Proxy (Squid)
  • nas2
    • QNAP TS-121 (QTS 4.0.2)
    • 1 x Western Digital Caviar Green 500GB SATA 6Gb/s 64MB Cache – OEM (WD5000AZRX)
    • EXT4
    • eth0 (onboard)
    • TFTP (Dnsmasq)
    • Proxy (Squid)

Network Kit

Essentially, I have two parts to my network –separated by two floors of a house and connected using WiFi bridging – all on a subnet. I have unmanaged switches connecting the servers and NAS so there’s nothing here that’s highly exciting, but it’s presented here for clarity and completeness (and useful if you think you’ll need to WiFi bridge two parts of your network together)

  • TP-Link TL-WA901ND Wireless-N PoE Access Point (300Mbps)
    • Bridge Mode
    • Connects LAN based servers to wireless network/clients
  • TP-Link TD-W8980 N600 Dual Band Wireless ADSL Modem Router
    • WiFi Router (2.4GHz + 5GHz)
    • ADSL Router disabled (for now)
    • DHCP/DNS disabled (Dnsmasq used instead)
  • TP-Link TL-SG1024 24-port Ethernet Switch
    • 24-Port Switch connecting servers to NAS and Wifi Bridge (TL-WA901ND)

(I think I should get sponsorship from TP-Link for this post!)

Overall, it looks like this (click for bigger version). Hopefully, having this detailed background info will aid you in setting up your own OpenStack environment big or small.

In the next post I’ll cover QNAP Dnsmasq Configuration providing DHCP, DNS and TFTP for my network, which allows me to PXE boot my N40L servers to kick Ubuntu and Rackspace Private Cloud.

About the Author

This is a post written and contributed by Kevin Jackson.

Kevin Jackson, the author of OpenStack Cloud Computing Cookbook, is part of the Rackspace Private Cloud Team and focuses on assisting enterprises to deploy and manage their Private Cloud infrastructure. Kevin also spends his time conducting research and development with OpenStack, blogging and writing technical white papers.

  • Graham Moore

    Enjoyed that Kev, have been trying to think what to do with a pair of Microservers I have gathering dust, I think you’ve provided some inspiration!

    • itarchitectkev

      They’re great little devices for this purpose. I’ve had Swift running on them to test various features and now I’ve got RPC 4.2.1 on here at the moment. They so cheap I need to find an excuse to buy some more!

  • PaulHend

    I am planning on developing a small lab environment to learn on a larger scale than just DevStack. I am looking at the Dell r210’s and its quad core VT-x capable processors. I would like to create a full-scale cloud solution for myself and friends, we are college students (with some cash), CIS majors, and want to get on the band wagon. We know that the OpenStack movement is the way to go. Any ideas on how to focus our energy? We found some cheap r210s, we have the facilities blessing, bandwidth, and a drive to learn.

    • itarchitectkev

      Those will be fine. Key things to note: ensure at least 2 nics in each – one for host/api access, the other for Networking (Neutron). You’ll want 2 servers for a HA controller setup. You will then want a handful with more RAM to run the Compute/Hypervisors as well as enough disk to satisfy the number of running instances. This will allow you to start. You can then at a later date add on different servers, with more disks in, to run Block Storage (Cinder) to give you the flexibility of adding extra storage to your instances, rather than local storage. So I’d concentrate on compute, and size it according to your lab’s needs.

  • PaulHend

    I have purchased 6x “Dell Poweredge R210 Xeon X3450 QC 2.66GHz 4GB 1TB 7.2K SATA HDD Rails”

    Now, I want to get cracking. What do you suggest I do as my first step?

    • itarchitectkev

      Great stuff. As this will be for a lab, do you plan on using HA? Non-HA will free up one of those boxes for extra compute, or block storage for example. So first is how much compute capacity you need? Once you know that we know what you need in terms of controllers and compute. Put Ubuntu 12.04 on there (yeah it’s still good) then follow: Even if you don’t need HA, just forgo the second controller steps. Any problems let me know on that post so I can update accordingly and others can see the fixes and drop me an email at kevin.jackson @ of how you get on!

      • PaulHend

        Thanks for the response! I will get back to you soon as soon as I get them all installed.

  • Mehul V

    Great post Kev. Where do I find the next part of the post and lab setup?

Racker Powered
©2015 Rackspace, US Inc.