Posts

My first proposal to OpenStack

Image
submitted here ==>  https://blueprints.launchpad.net/horizon/+spec/consolidated-and-componentwise-log-dashboard-horizon

What is OpenStack! OpenStack 101

Image
I was at the Chef conference the other day and while talking to a Sys Admin who would now prefer being addressed to as a DevOps person now, was ranting how they wanted to move away from the expensive VMware and implement OpenStack! There are several who have these smart plans but looking at the complexity involved in trying to understand why this is impossible, makes me to accept this ignorance. Firstly OpenStack is very close to me as it's written in Python :) Python continues to be the secret ingredient for success of things as ancient as Google, upto DropBox and now for "The Linux of the Cloud--OpenStack!" Before we start off lets understand what a Hypervisor is! A hypervisor or virtual machine monitor (VMM) is a piece of computer software, firmware or hardware that creates and runs virtual machines . In this again there are two types, Type 1 and Type 2 Type 1 (or native, bare metal ) hypervisors run directly on the host's hardware to control the h

Curl vs Wget

Image
To get started first we do the following First check if curl is installed on our Ubuntu, if not, we install is using the following: -L if server reports that the requested page has moved to a different location. redo the requests on new place. -# for progress bar -O Write output to a local file named like the remote file we get. The remote file name to use for saving is stracted from teh given URL. wget is more like a predecessor of curl. 

Python on the Cloud for Gaming!

This is to show how Python was used on the cloud IDE called http://www.codeskulptor.org/ This game was not only a test of my programming concepts in Python but also a great learning in Physics, how things works in zero gravity, damping, angular velocity, and its damping..... You can play this game here !  It was honoured to have been played at the office wide annual event of India and Brazil Away Day of 2013. And was a massive crowd puller. (I was told that people begged to play this game and there was so much of crowd around the stalls that the GMs had to intervene and disperse the crowds!) Below are some pics trying to capture the audience response to this game

Getting the Chef to cook for us!

Image
We have three things here, in the earlier post , we saw how chef was installed on the workstation. 1. Enterprise Chef Server - Which is the main server which will be orchestrating the entire process. 2. Node -  this is the Virtual machine which will be hosting our app the one which will be carrying our payload. It will have the chef-client installed on it, which will be communicating with the Enterprise Chef server and controlling the configuration of the node or the VM. 3. Workstation - your laptop, that is the machine used to configure the Enterprise server and control the nodes. This is where we had installed chef in our earlier exercise . Before we get started we would need to get a login name and the starter kit from the Chef Enterprise Server. Go to this link  and register. Remember that you will be using the organisation name, as we will be using it. Once registered, signed in! Download the Starter Kit. Unzip the kit, this is the knife tool rename the folder to

Installing Guest Additions for VirtualBox on a Ubuntu node

When working with VirutalBox it is quite helpful to have the VirtualBox guest additions installed. The main reason for us to have this would be to blow up the VM we are working on to full screen. Assuming that you have already launched the VirtualBox and firedup the VM we going to work on 1. Open a terminal on the VM. 2. Just so that everything is uptodate sudo apt-get update 3. Followed by sudo apt-get install build-essential module-assistant 4. To Configure the system for building kernel modules  sudo m-a prepare 5. On the VirutalBox menu Click on  Devices  >>  Install Guest Additions which is at the bottom of the menu. 6. We switch over to the CD. cd /media 7. Using "ls" find the contents of the CD and swtich to it. cd VOBXADDITIONS_4.3.6... 8. finally running  sudo ./VBoxLinuxAdditions.run You would need to restart the VM to get these changes effective sometimes.  shutdown -r now And now we can see that on Full

Chef Advanced - Setup and Installation

Image
There was an earlier  post  in which we were able to install chef in no time, but now we will dig deeper and understand what exactly happens so that we have more control over this process.  Firstly we will start off by installing VirtualBox, Vagrant, Git and Ruby on a linux machine, I am using Ubuntu today to demonstrate this.  Installing VirtualBox and getting Ubuntu ready to receive it. I have tried to do this in two ways, one of easiest way of doing this by going to the terminal and entering sudo apt-get install virtualbox The more detailed Version is as below, which will give us more control so that we could be as precise as possible with versions and dependencies.  Lets confirm our Ubuntu version before we install the VirtualBox using the below lsb_relase -a We go to this  download page for VirtualBox  to get the link for the virtualBox that we would like to have installed. Before we run the single line command to install VirtualBox, lets just ensure that th