OpenStack Components – A Note to Remember

OpenStack is a Cloud Operating System that controls the large pools of compute, storage and networking resources in a datacenter.

# Compute – Nova – This has been developed for NASA and Open Sourced by them
Used to create instances

# Object Storage – Swift – This has been developed by Rackspace and Open Sourced by them
Storing files as Objects.

# Image Management – Glance – Developed and Open Sourced by Rackspace
Used to manage OS images in Object Storage. It is like a catalog for the images available.

# Volume Management – Cinder – Developed by OpenStack Community
Used to manage disk level block storage, like a USB disk connected to the system.

# Network Management – Neutron( Previously named as Quantum) – Developed by OpenStack Community
Used to setup a network for our instances.

# Identity Management – KeyStone – Developed By Community
Used to provide Authorization and Authentication for the OpenStack Components

# DashBoard – Horizon – Developed By Community
Used to provide the graphical interface to the users to manage the cloud

Convert a Unicode file to ASCII file

When I have created fixtures in Django, it was created as unicode file in Windows.
When I reload it, it was thrown the decode error. So in that case I have followed the below windoes command line utility to convert the unicode file to ASCII file!

gc -en utf8 .\data.json | Out-File -en ascii do.json

Can you laugh for a same joke again?

A wise man once sat in the audience & cracked a joke.

All laughed like crazy. After a moment he cracked the same joke again and a little less people laughed this time.
He cracked the same joke again & again, when there was no laughter in the crowd,
he smiled and said,

When u can’t laugh on the same joke again & again, then why do u keep crying over the same thing over and over again

// Read it somewhere in Internet

My IIT Guwahati Trip: Part-I

Our Paper selected in IIT Guwahati.
We,Kaniyarasu,Ramkumar,Panner,Dinesh,Praveen and me are ready to start a long journey.
Here I want to share my travel experience and environment at India’s top most University.

30th August,Time,6.20 AM: Guwahati Express started from chennai.My first long travel in train,away from home.We have packed loads of snacks and water.I have the courage to see the North-East India which is popular for ULFA, NSCN and army.Only 2 berths were confirmed for us.So we sat next to the window.Got a clear view outside.
Mostly we have seen the paddy with full of water,different kind of people.
We have travelled through 4 states of India Andra pradesh, Orissa, West Bengal, finally Assam Capital Guwahati.
After the 2 days travel in train we have reached the Guwahati Railway station on 1st September 6.00AM.
There are some IITians roaming in the station for pick the participants at 6 o clock.They have a bus to bring us to campus.
Around 7o clock we reached campus.They have allocated a room for us.After some time they asked us to take breakfast.We had a good food.At mess Rajesh,doing Ph.D,chemistry approached us apeaking in Tamil.We were happy to met a tamil guy.He helped us a lot through out our stay.
Then we roaming around the campus for some time.
Evening 4o clock we started our walk to visit the View Point @ IITG to see the view of the campus @ night.Mist creates a pleasure environment,while we are moving.
At 6o clock we are there at View point,nice sight seeing place inside the campus.Then we returned to hostel,finished dinner,Got to sleep.

2nd September: Early Morning 2.00AM,
A strange experience happened at nit!!
I am writing the next post.Wait for some time..

Check the Applications that use internet connection at this moment (Linux)

Hi Guys
If you are working with low bandwidth internet connection,your data usage may be wasted by desktop applications other than
you the browser.
To know about that type this command in terminal

$ lsof -P -i -n

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
gwibber-s 1910 kannan 9r IPv4 11424 0t0 TCP 127.0.0.1:51536->127.0.0.1:53444 (CLOSE_WAIT)
gwibber-s 1910 kannan 11r IPv4 11447 0t0 TCP 127.0.0.1:51540->127.0.0.1:53444 (CLOSE_WAIT)
gwibber-s 1910 kannan 14u IPv4 11481 0t0 TCP 127.0.0.1:51548->127.0.0.1:53444 (CLOSE_WAIT)
gwibber-s 1910 kannan 15u IPv4 11480 0t0 TCP 127.0.0.1:51547->127.0.0.1:53444 (ESTABLISHED)
gwibber-s 1910 kannan 16r IPv4 11498 0t0 TCP 127.0.0.1:51551->127.0.0.1:53444 (CLOSE_WAIT)

Above command give the lot of details.

Simply to get the application name,give the following command

$ lsof | grep TCP | cut -f1 -d" " | uniq

beam.smp
desktopco
firefox-b
chrome

If you are working in the Public Wifi or Ethernet connection,Dont worry about the data usage,Forgot this post.