How Tos, OpenStack

Three-Node OpenStack Juno Deployed on Public Cloud – Part 2

In part 1 of this series I described how to prepare your environment. In this blog post I’ll get into details with the installation of your Controller, Network and Compute nodes.

The following commands should executed on all nodes.

We’ll log first with the root or any other user provided by our public cloud operator and change the password to one we can easily remember

passwd root/username

Screen Shot 2015-03-15 at 7.56.15 AM

We’ll install our favourite packages. In my case vim (nano is simply cramping my style)

apt-get install vim [your favourite package to use]

Continue reading

How Tos, OpenStack

Three-Node OpenStack Juno Deployed on Public Cloud – Part 1

Inspired by this blog post and the one to follow, both written by IBMer Michael J Fork, I have deployed a 3 node OpenStack environment on IBM’s SoftLayer public cloud.

Is this blog post for me?

This blog post is part 1 in a series describing in detail how to establish this deployment successfully. If you are using a different cloud provider, other Linux distribution than Ubuntu or a later/earlier OpenStack release than Juno you’ll still find this blog post helpful. This post is a complementary step-by-step instructions to the official OpenStack Juno installation guide for Ubuntu 14.04. and doesn’t meant to replace it. The exact files I have used to establish a running environment can be found on my GitHub account. My deployment is:

  • Three-node architecture with OpenStack Networking (Neutron)
  • Ubuntu Server 14.04
  • External network is defined as Flat network and Tunnel network is GRE based.
  • No Cinder is installed. Using boot images to start instances.

Now let’s get down to business! Continue reading

OpenStack, Troubleshooting

OpenStack DataBase Basic Troubleshooting

Most OpenStack services use a database to store information. The database typically runs on the Controller node.

In this blog post you’ll find some basic troubleshooting and introduction to MariaDB database server OpenStack usage. If you wonder what MariaDB server has to with MySQL server you can check out this link.

First we’ll log into the database server that is running on our Controller node

root@controller:~# mysql -u root -p

After we have entered our DB server password we can see what users have been configured to have access to our database server  Continue reading

Knowledge, OpenStack

Getting Your Hands Dirty with OpenStack

If you ask yourself the inevitable question “where do I start?” this blog post is for you.

Luckily, being an open source software you have free access to OpenStack’s various installations. OpenStack comes in it’s native (or trunk) form and through various company supported distributions – RedHat, Canonical (Ubuntu), SUSE and Mirantis to name just a few. In that sense it is similar to Linux having one common kernel and various companies making their own distributions. There are also many configuration management software platforms like Chef, Puppet and SaltStack that can make life much easier installing OpenStack but takes much of the learning benefit from it.

No Computer? No Problem!

Your first option to have a bit more hands-on experience is at a free website called stackinsider.org. Also called “deployment-as-a-service”, this website will take you through a step-by-step guide to have a one node or dual node (multi-node is not being supported while writing these lines) OpenStack installation. The focus is to gain familiarity with the installation process rather than having an accessible OpenStack cloud in the sky.  Continue reading

Python

Setting Git and GitHub on Mac OS X

If you are running Mac OS 10.9 (Mavericks) and later you may want to check out GitHub for Mac and install different Git version then the one noted below. 

In this post I’ll walk through the several steps needed to have a running GitHub account synched to a local Git repository. If all these words sounds too intimidating to you I’ll explain it briefly in the text paragraph. Continue reading