Open Thoughts

Kiran Murari

Subscribe to Kiran Murari: eMailAlertsEmail Alerts
Get Kiran Murari: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Kiran Murari

Creating a new disk Image This will be the main HDD in the virtual image, so make sure to give it as much space as youll need. Since were building a kvm image, we can use a qcow2 format for disk images. Qcow2 is an expandable image format, so itll only take as much storage space as its actually used within the image. $ kvm-img create -f qcow2 image.img 5G OS Installation Download the iso file of the Linux distribution you want installed in the image. $ wget http://releases.ubuntu.com/karmic/ubuntu-9.04-server-amd64.iso And start the installation process: $ sudo kvm -m 256 -cdrom ubuntu-9.04-server-amd64.iso -drive file=image.img,if=scsi,index=0 \ -boot d -net nic,vlan=0,model=e1000,macaddr= 00:16:3e:de:ad:01 -net tap -nographic -vnc :0 If your installation process requires more than 256MB of RAM change the -m option, and if you need more processors available, you can use... (more)

UEC: Bundling Windows Image

Creating new disk image This will be the main HDD in the virtual image, so make sure to give it as much space as you’ll need. Since we’re building a kvm image, we can use a qcow2 format for disk images. Qcow2 is an expandable image format, so it’ll only take as much storage space as it’s actually used within the image. $ kvm-img create -f qcow2 win-2k3.img 20G OS Installation Get the iso file of the Windows distribution to be installed in the image. And start the installation process. $sudo kvm -m 1024 -cdrom Win2003_cd1.iso -drive file=win-2k3.img,if=scsi,boot=on -nographic -vnc :... (more)

Eucalyptus: Not Enough Resources - VM Instances

Cloud Expo 2010 East in New York Issue: FinishedVerify: Not enough resources: vm instances. Reasoning: This issue arises if the node controller is not registered with the cluster controller or if there are no free VMs available to launch the instance. Solution: In case, the node controller is not registered, the output of “euca-describe-availability-zones verbose” will show zero free and max VMs as below. $ euca-describe-availability-zones verbose AVAILABILITYZONE        mycloud       A.B.C.D AVAILABILITYZONE        |- vm types     free / max   cpu   ram  disk AVAILABILITYZONE  ... (more)

Ubuntu Enterprise Cloud: Log Files

Cloud Expo 2010 East in New York The following log files would be of interest for debugging errors encountered while working with UEC. On CC axis2c.log – This file logs messages specific to Axis2c web services. cc.log – This file logs messages specific to Cluster controller. cc-registration.log – This file logs the success or failure of Cluster Controller registration. For example, SUCCESS: new cluster 'mycloud' on host '192.168.1.1' successfully registered. cloud-debug.log, cloud-error.log, cloud-output.log – These files log messages specific to Cloud Controller. sc-registration.lo... (more)

UEC: Attach EBS volume to a running instance

Linux Instances First create a volume of the required size using euca-create-volume $ euca-create-volume -s 10 -z mycloud VOLUME vol-333C04B8 10 creating 2010-03-26T05:20:56.383Z Check the available volumes and their status with euca-describe-volumes $ euca-describe-volumes VOLUME vol-333C04B8 10 mycloud available 2010-03-26T05:20:56.383Z Now attach the volume to a running instance using euca-attach-volume $ euca-attach-volume -i i-41620887 -d /dev/sdb vol-333C04B8 The volumes status changes from “available” to “in-use” if it is attached properly. $ euca-describe-volumes VOLUME vol-3... (more)