Category: Cloud Servers

Scalr 4.5 Install Notes For Cento 6.4

Last year we published an article on installing the open-source version of Scalr: http://blogs.reliablepenguin.com/2013/08/29/scalr-install-notes Now there’s a new 4.5 release of Scalr available so it’s time for an update. We’re installing on Cento 6.4 hosted on a RackSpace Performance 1 Cloud Server. The installation instructions have improved since the last time around but Scalr is till a complex install: https://scalr-wiki.atlassian.net/wiki/display/docs/Installing+Scalr+4.5 Follow these instructions one section at a time and make sure you’ve got the section complete and working before moving to the next section. We’ve provided notes below about each section. Before you start, select a hostname for the server and add a DNS A record. For this article we’ll use:

You’ll have problems later on if you don’t get the hostname setup in advance. Also I like to add some swap to the server:

 Create UNIX Users and Group for Scalr I setup a script at /root/env.sh

Read More »

Scale Out For SharkTank

Recently one of our clients was featured on SharkTank, the critically-acclaimed business-themed show, featuring the Sharks and their continuing the search to invest in the best businesses and products that America has to offer. Fohawx is a line of cool accessories that can easily attach to any kind of safety helmet – instantly transforming annoying headgear into a fashion statement. The appearance on SharkTank was a great opportunity for Fohawx to showcase their product. Based on past experience we know that their web site could get 5000 or more simultaneous users. The small RackSpace Cloud Server on which they were hosted would be vaporized by this traffic. Due to the proprietary nature of their application server (ColdFusion) we could not add additional web servers. So a couple of days before the event we outlined measures to temporarily scale out their hosting capacity: 1. Re-sized the web server to 16GB of RAM. We

Read More »

Percona XtraDB Cluster On CentOS

This article is built off of a similar article we published last month: Percona XtraDB Cluster on Ubuntu The primary difference is this time we’re going to use CentOS instead of 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 CentOS 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

Read More »

RackSpace Cloud Networks Bug and Interesting Notes

There’s a bug in the automation for provisioning RackSpace Cloud Servers with Cloud Networks from the control panel. If you setup a server with more then one Cloud Network, the networks get assigned to the wrong interfaces. This is not a problem if all the servers you’re connecting to the Cloud Network are created from the control panel because they will all be consistently wrong. But if some of your server are created from the API then you’ll have a problem because the API automation assigns the networks correctly. The fix, until RackSpace corrects the bug, is to manually correct the address assignments on the control panel generated cloud servers. While troubleshooting this issue, RackSpace support pointed out a couple of interesting commands: To see what your networking should be, you can run this:

And to view a specific interface run:

This will show the config that should be

Read More »

Categories

Get a free consultation from Reliable Penguin

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