Arif’s Scratch Pad

OpenStack Lab2 – Part 1: Packstack

For those people following my blogs, you would’ve had an all-in-one install all up and running by now; but now we are going to start afresh. We are going to have a fresh system as explained in my first post, with all the relevant RDO packages installed, and we have all the repositories enabled. Now this installation will be for the foreseeable future, so we won’t need to re-install our OpenStack machine.

This post is going to be quite intensive, such that we are going to try and get to the same stage that we finished in the previous post, but with extra compute nodes in mind.

Openstack Lab – Part 3: Networking All-in-one

Welcome to the third part of the series of the blog, today we are going to look at installing and configuring OpenStack networking which will allow us to assign a floating IP to the VM created a in the previous post, and then we should be able to ping and SSH to the instance.

You will need to have your system up to the stage where all the RPMs, repositories, and base config of the system is configured, with one instance up, and available. If in doubt, follow Parts 1 and 2 of the series.

Openstack Lab – Part 2: Packstack All-in-one

Welcome to the second part of the series of the blog, today we are going to look at installing and configuring OpenStack using packstack, which is provided by the RDO openstack-packstack RPM.

You will need to have your system up to the stage where all the RPMs, repositories, and base config of the system is up to follow this blog. See Part 1 of this topic for more information

Openstack Lab – Part 1: xCAT

Before I start, the contents of all files mentioned in this blog are available at (https://gitlab.arif-ali.co.uk/arif/openstack-lab). Also my assumption is that you would have some knowledge of most of the components in OpenStack. Finally, this will be in a few parts so that there’s not as much to take on

Over the past few months, I have been evaluating OpenStack, and trying a few things in a Proof of Concept(PoC) environment, to see how we can use this in the future. I came through many challenges and hurdles, but finally I got the core components working recently.

Wget Piped to SSH

There are many times in a datacenter, where we can log into the machines remotely, but we are unable to get external access directly from the machine itself.

I have wanted to use wget to download files, but fortuntely, I found a new way to do it

So, I would like to download http://heanet.dl.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.6.0/ganglia-3.6.0.tar.gz, onto the remote server

  • First I log on to my ssh server
1
ssh ssh.arif-ali.co.uk
  • Then I run the following command
1
wget -O - "http://heanet.dl.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.6.0/ganglia-3.6.0.tar.gz" | ssh remote.arif-ali.co.uk "cat >> /root/ganglia-3.6.0.tar.gz"

You should now have a file named ganglia-3.6.0.tar.gz in /root on the host remote.arif-ali.co.uk