OpenStack Part 4

This week James and I continued the install process for OpenStack. We began with installing MongoDB, because OpenStack uses MongoDB for its Telemetry service. Next, installed rabbitmq, because OpenStack uses rabbitmq for its message queue system. The message queue system coordinates operations and status information among the different services OpenStack uses to operate correctly.

After that we moved on to “Add the Identity service” section of the documentation. The first step to adding the Identity service was to log into MySQL using the command line and  then create a database. However, when we tried that, we ran into a strange error.

Here is the command we ran to log into MySQL via command line:

mysql -u root -p

This is the error we got after we ran command:

mysql-error

Both of our servers had this same issue. We tried to use Google to find a solution to fix this problem, but we had trouble finding any solutions. I think I’m going to ask one of our professors for help, hopefully we will get it figured out so we can continue next week.

Posted in Senior project

OpenStack part 3

In the previous posts, I forgot to mention that I’m working on this project with another student, whose name is James. James and I are both seniors in our senior seminar class.

This week we started installing OpenStack. We started by making sure the IP addresses for both servers are static. We are using the university’s DHCP server, so we had to get them to set it statically for us. After that we updated Ubuntu using the two commands below:

apt-get update
apt-get upgrade

Then we started installing OpenStack using this doc page: http://docs.openstack.org/liberty/install-guide-ubuntu/

We are currently in the “Environment” section of that doc page. So far we have gotten the OpenStack packages installed and also mariadb installed. We didn’t have time to keep going, so I’ll continue next week.

Posted in Senior project

OpenStack Part 2

For this week on my OpenStack project, I got networking for my servers and ssh access. My servers didn’t have networking on part 1, because I was trying to use a managed Cisco switch. Unfortunately, the university network I am on does not allow for managed switches unless you get it approved by the IT department. For the sake of time, I decided to bypass the IT department and use an unmanaged switch for now. I’m using a 5 port Netgear switch that is 1 Gbps. It should be good enough for now.

After hooking both servers up to the switch, I configured networking on them. I’m using my university’s DHCP server for now, and I’ll get a static IP later, since the IT department has to set static IPs on their DHCP server (which can take a few days). I also installed OpenSSH on both servers for remote access.

Also here are the specs of both of my server, for future reference:

Intel(R) Xeon(R) CPU  –  E5430  @ 2.66GHz

4 GB ram

255 GB storage

1 Gbps nic

These are the system requirements for OpenStack:

http://docs.openstack.org/mitaka/install-guide-ubuntu/environment.html

Both of my servers meet the requirements.

Posted in Senior project

OpenStack Project Part 1

For my senior project at the university I attend, I’m setting up an OpenStack cluster. I’m using two physical servers, both of them are IBM System x3650 servers.

Here is a picture of the servers I’m using:

img_0696

So far I’ve only hooked up power cables and ethernet, and I also installed Ubuntu Server 16.04.1 on them. I decided to use Ubuntu Server, because OpenStack’s documentation mentioned that Ubuntu has a a little better support than other Linux distros. I also have SSH servers running on both of them, so I can remotely access them. My next step will be to start installing OpenStack, but I’ll save that for the next post.

Posted in Senior project
Categories