About
Kiran Murari works at CSS Corp . Earlier, he was into the domain of Embedded Networking and has worked on developing software for ARM and MIPS based routers, porting Linux kernel and Linux applications to various hardware platforms like Intel IXP4xx, Xscale and OMAP3. As a part of developing software for routers, he was involved in developing the firewall and IDS/IPS modules.
His current interests include Virtualization, Cloud Computing and Embedded devices.
5 Comments
Comments are closed.

Hi Kiran ,
I have just started working on the Cloud Computing and while searching documents on the internet i came across your blog .
http://kiranmurari.wordpress.com/2010/04/21/uec-installation-on-ubuntu-10-04-lucid-lynx/
I really liked the simplicity in which the whole architecture is documented and following the same was able to get the Cloud Configured uisng Ubuntu Server CD 10.04 LTS having eucalyptus Ver 1.6.2
I have used the bundled image with eucalyptus and have been able to run the same successfully , i am even able to login to this instance .
Now i have one small query . I have shutdown the instance by loggin as root user and am not able to get the same booted up .
When i re-run the instance using the instance ID which was described by “euca-describe-instance” i get below error
ImageVerify: Failed to find disk image: i-513D0987
Now to my knowledge when we run the image using “euca-run-instance” the image gets deployed to the Node under /var/lib/eucalyptus/instances
I wanted to know
1. How will the controller access the image which has been terminated or shutdown
2. Is there some other process to shutdown the running instance . Am i missing something .
3. Was curios to know when we run the image from the contoroller then in case we have a setup having 2 Nodes then will this image get pushed to both these nodes and will be accessible even if one of the Node has been shutdown
Will appreciate your help with this regards since i have been stuck with the management of the VM’s
Regards ,
Gill Sukhvir Singh
1. How will the controller access the image which has been terminated or shutdown2. Is there some other process to shutdown the running instance . Am i missing something .
All instances are treated as dispensable units. So if you terminated or shutdown an instance, your connectivity/access to that specific instance is lost. In order to have a similar instance, you need to start the instance again with euca-run-instances command specifying the keypair (not the instance id)
3. Was curios to know when we run the image from the contoroller then in case we have a setup having 2 Nodes then will this image get pushed to both these nodes and will be accessible even if one of the Node has been shutdownIt is the job of the CC to consolidate all available resources from the NCs and then start the instance on a specific NC. You don’t have any choice to decide on which NC the instance has to be started. In order to think of “High Availabilty” and “Failovers”you have to start the instance on two different availability zones.
Hope that helps.
Kiran
Hi Kiran ,
First accept by thanks for your prompt response . I have still queries based on your response and the same is briefed below
w.r.t Point Number 2 :
You have mentioned all instances are treated as dispensible units . I have query on the same .
Does this means if we Shutdown or Terminate any Running Instance then we cannot re-run the same . ? What happens to the Data which has been configured on that Instance ? Is it LOST
Suppose , I have run the instance using below command
# euca-run-instances emi-DFE41080 -k admin -t c1.medium [ Enter]
The instance is Running and i am able to login to the same . I have created some test directories and now have shutdown this instance .
I wanted to know ,
Is there a way to boot the same instance and access the created directories over the same IPAddress as we accessed prior shutting down the instance ? Pls Elaborate .
Regards ,
Gill Sukhvir Singh
If you shutdown or terminate a running instance then all data that has been stored after starting the instance will be lost. Having said that, the temporary directories created and any files saved in them will not be accessible after shutdown. So you create the required directories and/or make configuration changes etc during the bundling process, so that this data is always available even if you raise a new instance. The other way to do this is to create an EBS volume, store all data on this volume and attach this volume to the running instance. See: UEC – Storage Management
Hi Kiran ,
Thanks for your valuable inputs . This cleared our doubts and helped us to understand the Cloud Infrastructure .
We will now work on images with KVM .
Regards ,
Gill Sukhvir Singh