Category: RackSpace

Install Nova Client With Cloud Networks Support

Nova is the the cloud management command line utility for RackSpace and other OpenStack clouds. Special setup is required to use Nova with RackSpace Cloud Networks. Here’s the docs from RackSpace: http://docs.rackspace.com/servers/api/v2/cn-gettingstarted/content/ch_overview.html http://docs.rackspace.com/servers/api/v2/cn-devguide/content/index.html Here are the steps: 1. Install python-pip package

For RedHat/CentOS we need to install EPEL repository if it’s not already installed:

Now we can install python-pip:

2. Install rackspace version of nova client

If “python-pip” does not work then try:

3. Reinstall nova client from latest github souce:

Note that you might need to install git to complete this step:

 4. Add credentials to .bash_profile

You’ll need to set the appropriate region, account number, username and password. 5. Verify credentials

If this fails with an error like:

then install “pbr” module:

6. Install RackSpace Cloud Networks Virtual Interface extensions

7. List Cloud Networks

Read More »

Recap Script

Useful logging script from RackSpace: https://github.com/rackerlabs/recap.git   See the readme file for instructions.

Read More »

GlusterFS Cluster With Ubuntu On RackSpace Cloud

We want to build a high-availability storage cluster based on GlusterFS using RackSpace Cloud Servers on Ubuntu. Additionally we want to use RackSpace Cloud Networks to provide private networks for replication and cluster access. There’s a great doc by Falko Timme on Howto Forge titled: High-Availability Storage With GlusterFS 3.2.x On Ubuntu 11.10 – Automatic File Replication Across Two Storage Servers We’re going to follow this doc with a few modifications for Cloud Networks and using a newer version of Gluster. As shown in the diagram, we’ll have two Cloud Networks, one for replication between the servers and one for access by clients to the storage. Part 1 – Server Setup 1. Create servers and networks – Login to your RackSpace Cloud account and create two server following these guidelines: Make sure you choose a Next Gen region for the servers. For the Image choose “Ubuntu 13.04 (Raring Ringtail)” Select

Read More »

Percona XtraDB Cluster on Ubuntu

In this article we’re going to build a Percona XtraDB Cluster using a pair of RackSpace Cloud Servers. Percona XtraDB Cluster is a MySQL compatible replacement supporting multi-master replication. For this project we’ll use the latest Ubuntu release and we’re going to use RackSpace Cloud Networks to setup an isolated segment for the replication between the cluster nodes. We’ll do two nodes in the cluster but you can add additional nodes as desired. Finally we’ll use a RackSpace Cloud Load Balancer to distribute traffic between the nodes. To get started, create the cloud servers from the RackSpace control panel using the following guidelines: Make sure you choose a Next Gen region for the servers. For the Image choose “Ubuntu 13.04 (Raring Ringtail)” Select a size based on your requirements. We’re using 1GB for this article. In the Networks section, when creating the first server, click the “Create Network” button and

Read More »

Secure Hosting On RackSpace Cloud

We’re going to build a highly secure hosting environment on RackSpace Cloud using Cloud Networks and the new Brocade Vyatta vRouter image. The diagrams shows the target configuration: There are 4 networks: Public – this is the RackSpace Public Cloud/Internet network. The vRouter connects via eth0 to this network with public address of 1.1.1.1 LocalPrivate – this is a private Cloud Network that connects the vRouter and the servers. This network uses the private 192.168.3.0/24 subnet. DBPrivate – this is a private Cloud Network that connects the web and database servers. This network uses the private 192.168.4.0/24 subnet. Service – this is RackSpaces multi-tenent management network. This network is not being used and is not shown in the diagram. On these networks are three servers: Brocade Vyatta vRouter – this device provides a router, firewall and VPN termination point Web Server – provides hosting for the web application. Database Server – provides

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.