Sie sind auf Seite 1von 18

Akash Sharma Akash's personal site and various posts Skip to content Home About me Open Source Contributions

Technologies Portfolio Connect ? Magento tricks and troubleshooting Php parallel programming ? Private cloud setup using eucalyptus and xen Posted on November 30, 2010 by akash Contents Cloud setup private cloud Technical background Front end setup Back end setup Cloud integration ec2 or euca2ools setup Create guest machine Creating EMIs Run instance Troubleshoot EC2 command EUCALYPTUS Commands Cloud setup private cloud My interest in cloud computing started when I worked on a project, to deploy app lication on Amazon cloud and setup the clusters for MySql, Apache and other tech nologies to load balance. While working on Amazon cloud I got some insights of t he cloud computing and various underlying technologies. Here I am going to illustrate all the steps that I have followed to setup cloud. I will be describing the cloud packages, how to setup front end and back end se tup, cloud implementation, ec2 or euca2ools setup, creating xen-supported guest machine, creating EMIs for eucalyptus, run/stop instances and some xen/eucalypt us/ec2 useful command. Technical background When I start on cloud setup, I was sure I will go for XEN rather than KVM. Then came the Ubuntu jaunty as this version was built for the virtualization and desi gned with built-in support. I used eucalyptus, an opensource tool that provide A mazon like features and is EC2 tools compliance. So I starts researching the con tents on all these technologies. The more I study, the more I got confident to u se these technologies for cloud setup. Though, Ubuntu prefers KVM for the visualization support and has added to the de fault packages. But limitation of KVM to run only virtualization extensions (Int el VT or AMD-V) processors only(see http://www.linux-kvm.org/page/Main_Page), ma kes my decision to use XEN for virtualization. Xen, is the underlaying technology used by eucalyptus. Xen hypervisor allows sev eral guest operating systems to be executed on the same computer hardware concur rently. Xen partitions a single physical machine into multiple virtual machines, to provide server consolidation and utility computing. Existing applications an d binaries run unmodified. The hypervisor controls the MMU, CPU scheduling, and interrupt controller, presenting a virtual machine to guests.

The first guest operating system, called in Xen terminology domain 0? (dom0), is booted automatically when the hypervisor boots and given special management priv ileges and direct access to all physical hardware by default. The system adminis trator can log into dom0 in order to manage any further guest operating systems, called domain U (domU) in Xen terminology. Eucalyptus has 3 major packages. Cluster Controller: provides support for the virtual network overlay Cloud Controller: includes the front-end services and the Walrus storage system . Node Controller: that interacts with XEN to manage individual VMs. The basic architecture how client, cloud controller, cluster controller and node controllers communicate with each other in a eucalyptus setup. -> euca lyptus-nc | | Client > eucalyptus-cloud -> eucalyptus-cc > eucalyptus-nc | | -> euca lyptus-nc Packages provided by Ubuntu are: eucalyptus-cloud, eucalyptus-cc and eucalyptusnc. In my private cloud setup, the front end runs both eucalyptus-cloud and eucalypt us-cc and 3 machines act as node controller and run eucalyptus-nc. Front end setup I have setup a Dell machine as front end. Front end runs both eucalyptus-clo ud and eucalyptus-cc. So I install both packages on this machine. Follow the steps for installing the front end:

Step 1: Prepare a raw ubuntu OS system. Install Ubuntu 9.04 on a machine. Select ssh server to be installed on the m achine by default, so We can connect to machine remotely. Step 2: Install postfix. Postfix is a mail server. Eucalyptus send mails to users that are added by admin on eucalyptus web interface. So we install postfix that eucalyptus will use as mail server. Steps to install postfix and to setup configurations and testing success ful Postfix installation command# apt-get install postfix Set configurations command# sudo dpkg-reconfigure postfix Set following parameters with given values. General type of mail configuration: Internet Site NONE doesn t appear to be requested in current config System mail name: server1.example.com Root and postmaster mail recipient: <admin_user_name> (Optional )

Other destinations for mail: server1.example.com, example.com, localhost.example.com, localhost Force synchronous updates on mail queue?: No Local networks: 127.0.0.0/8 Yes doesn t appear to be requested in current config Mialbox size limit (bytes): 0 Local address extension character: + Internet protocols to use: all Test postfix installation command# EHLO localhost mail from: root@localhost rcpt to: akashsharmaa@gmail.com data subject: your sub (press enter twice) Type your message and finish with . then Enter Finish with Quit Check your mail (if received your mail is working) Step 3 Install Cloud and Cluster controller Install the packages provided by Ubuntu, all the dependencies will be in stalled automatically by package manager. command# apt-get install eucalyptus-cloud eucalyptus-cc Step 4 Install dhcp server Install the DHCP server which is used by eucalyptus for assigning the IP s to instances. DHCP server should not be in running state and set the DHCP serv er not to run when system is booted up again. command# apt-get install dhcp3-server command# /etc/init.d/dhcdbd stop command# update-rc.d -f dhcdbd remove Set the DHCP server path in the eucalyptus config file calyptus.conf VNET_DHCPDAEMON= /usr/sbin/dhcpd3?

/etc/eucalyptus/eu

Step 5 Eucalyptus configuration Set the static mode for eucalyptus so that eucalyptus uses IP s from the p ool of IP s provided in the config file and use the machine addresses provided alo ng with IPs. Configuration file for eucalyptus is /etc/eucalyptus/eucalyptus.conf open /etc/eucalyptus/eucalyptus.conf and set the following parameters VNET_INTERFACE= peth0? VNET_BRIDGE= eth0? Locate kvm and replace to xen locate VNET_MODE= SYSTEM and disable it locate VNET_MODE= STATIC and enable it Add machine and IPs for instances to be used and change the netowork set ting to current network settings VNET_MODE= STATIC VNET_SUBNET= 192.168.145.0? VNET_NETMASK= 255.255.255.0? VNET_BROADCAST= 192.168.145.255? VNET_ROUTER= 192.168.145.1? VNET_DNS= 192.168.150.42?

VNET_MACMAP= AA:DD:11:CE:FF:ED=192.168.145.73 AA:DD:11:CE:FF:EE=192.1 68.145.75 AA:DD:11:CE:FF:EF=192.168.145.77? Step 6 Other configurations Edit : /usr/share/eucalyptus/gen_libvirt_xml Locate all sda to xvda Edit : /etc/xen/xend-config.sxp (xend-http-server yes) gateway = 192.168.145.1 netmask = 255.255.255.0 broadcast = 192.168.145.255 Step 7 Rebbot the system to take effect Step 8 Cloud configuarions Once eucalyptus front end has been installed, we can use the eucalyptus web interface and setup cluster and set other parameters. Eucalyptus cloud web URL: https://<front end ip>:8443/ Under configuration tab add cluster name Set host to localhost Create kernel and ramdisk images and set in eucalyptus site. (Procedure to create images will be described later in the page) Restart the eucalyptus daemon to take effects Back end setup On the systems where we want to run instances, we will install node controll er and XEN 3.0. Since I used the XEN as virtualization package, I install the no de controller package eucalyptus-nc manually. I installed required dependencies using the package manager apt-get, but the eucalyptus-nc was installed by donwlo ading and manually installing bypassing dependencies list. Step 1 Hardware compatibility eucalyptus-nc requires libvirt-bin package. Libvirt is a C toolkit to inter act with the virtualization capabilities of recent versions of Linux (and other OSes). More info can be found at: http://libvirt.org/ To install libvirt-bin package, certain flags should be supported by CPU. command# egrep (vmx|svm) /proc/cpuinfo [if no print], libvirt-bin cant be installed Stop the apparmor for Ubuntu System command# /etc/init.d/apparmor stop command# update-rc.d -f apparmor remove Step 2 Install XEN package I am using the XEN virtualization package instead of Ubuntu s default KVM, I install the eucalyptus-nc dependencies manually. command# apt-get install iproute iptables module-init-tools python2.5 p ython2.6 command# apt-get install xen-utils command# apt-get install ubuntu-xen-server

Step 3 Install libvirt-bin package eucalyptus-nc requires libvirt-bin package. Libvirt is a C toolkit to inter act with the virtualization capabilities of recent versions of Linux (and other OSes). More info can be found at: http://libvirt.org/ command# apt-get asl2-2 libxen3 logrotate command# apt-get 3 libc6 libdbus-1-3 command# apt-get libpolkit2 libreadline5 command# apt-get kit install adduser bridge-utils dnsmasq-base iptables libs install netcat-openbsd libavahi-client3 libavahi-common install libgcrypt11 libgnutls26 libhal1 libpolkit-dbus2 libselinux1 install libtasn1-3 libvirt0 libxml2 zlib1g policy

Download the libvirt-bin package from URL: http://packages.ubuntu.com/ja unty/libvirt-bin I used i386 package, http://mirrors.kernel.org/ubuntu/pool/main/libv/lib virt/libvirt-bin_0.6.1-0ubuntu5_i386.deb Install lib-virt command# dpkg -i libvirt-bin_0.6.1-0ubuntu5_i386.deb command# sudo adduser $USER libvirtd Step 4 Install eucalyptus node package command# apt-get install apache2 eucalyptus-common eucalyptus-gl libapa che2-mod-axis2c command# apt-get install libaxis2c0 librampart0 dhcp3-server vlan aoetoo ls command# apt-get install libc6 libcurl3-gnutls libvirt0 zlib1g Download eucalyptus-nc package from Ubuntu package repository. eucalyptus-nc package URL: http://packages.ubuntu.com/jaunty/eucalyptusnc Download the i386 package from URL: http://mirrors.kernel.org/ubuntu/pool/universe/e/eucalyptus/eucalypt us-nc_1.5~bzr266-0ubuntu2_i386.deb command# dpkg -i eucalyptus<version> Step 5 Grub loader for Xen Kernel Setup grub menus and load xen images to boot into XEN kernel. Download the modules and image from URLs: wget http://ftp.debian.org/debian/pool/main/l/linux-2.6/linux-modules-2. 6.26-2-xen-686_2.6.26-15_i386.deb wget http://ftp.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.262-xen-686_2.6.26-15_i386.deb command# sudo dpkg -i linux-modules-2.6.26-2-xen-686_2.6.26-15_i386.deb command# sudo dpkg -i linux-image-2.6.26-2-xen-686_2.6.26-15_i386.deb Step 6 Eucalyptus Configuerations Stop the eucalyptus daemon and set the configuration depending upon your installation. command# /etc/init.d/eucalytpus-nc stop Edit : /etc/sysctl.conf (uncomment net.ipv4.ip_forward=1) Edit : /etc/eucalyptus/eucalyptus.conf (set) VNET_BRIDGE= eth0? VNET_INTERFACE= peth0? HYPERVISOR= xen VNET_MODE= STATIC

Edit : /usr/share/eucalyptus/gen_libvirt_xml locate sda s and replace to xvda s for static ips Edit : /etc/xen-tools/xen-tools.conf gateway 192.168.145.1 broadcast 192.168.145.255 netmask 255.255.255.0 (xend-http-server yes) (xend-unix-server yes) command# /etc/init.d/eucalyptus-nc start Cloud integration Now, we have front controller and node controllers ready. We have to set up now the communication between cluster controller and node controllers. We wil l add the nodes list to the cloud, so cloud know about the available node. command# sudo euca_conf -addnode <node ip> <node ip> <node ip> This will add nodes to cloud config file and replicates the permission a nd certificate files to the nodes to be able to have password-less communication between nodes and cloud. To check the cloud installation, and node communication, you can run euca -describe-availability-zones verbose command and check if all the nodes are liste d in output. ec2 or euca2ools setup Euca2ools setup Install dependencies command# apt-get install curl libopenssl-ruby ruby Download the appropriate tarball from http://open.eucalyptus.com/downloa ds Steps command# tar zxvf euca2ools-1.0-*.tar.gz command# cd euca2ools-1.0-* (Replace this with the actual directory name) command# sudo -s command# echo deb file://${PWD} ./ >> /etc/apt/sources.list command# apt-get update command# apt-get install euca2ools WARNING: The following packages cannot be authenticated! Install these packages without verification [y/N]? y ec2 tools Setup Eucalyptus supports ec2-ami-tools-1.3-26357 and ec2-api-tools-1.3-30349 versions of ec2 tools. Install dependencies Install jdk1.6.0_12 java version. Steps Download ec2-ami-tools-1.3-26357 and ec2-api-tools-1.3-30349. unzip these archives Copy the lib and bin folders under ~/.euca folder.

Export parameters export EC2_HOME=~/.euca export JAVA_HOME=<directory>/jdk1.6.0_12 export PATH=$PATH:<directory>/jdk1.6.0_12/bin export PATH=$PATH:~/.euca/bin Set URL and credentials Download euca2-admin-x509.zip file from cloud site at https://<front end i p>:8443/. Unzip this archive under ~/.euca folder and export the eucarc file. command# source ~/.eucarc Create guest machine I create my image using vmbuilder. More info on vmbuilder can be found on: https://help.ubuntu.com/8.04/ser verguide/C/ubuntu-vm-builder.html Steps Select a directory where all files will be stored. I used cloud Create a part file under directory. The content of part is following: root 400 /mnt/ephemeral 0 /dev/sda2 swap 1 /dev/sda3 Create firstboot file, which is run first time, instance boots up. apt-get -y install openssh-server Create the image. command# vmbuilder xen ubuntu firstboot ./firstboot mirror=http://192. 168.152.87:9999/ubuntu addpkg ssh rootsize=4096 arch i386 verbose debug It creates the image file that i used for creating emi. You can foun d the image under ubuntu-xen folder. This image can be tested, if its compatible to xen. Use xm create c ommand. command# xm create /usr/akash/cloud/ubuntu-xen/xen.cfg Check the status of emi using xm list command. command# xm list If you see your emi ID in the output, your image can be run with XEN . Creating EMIs Now, cloud is setup, we should create images that can be run using eucal yptus. We will create emis for kernel, ramdisk and instance. kernel emi Steps command# mkdir kernel command# ec2-bundle-image -i vmlinuz-2.6.28-13-server -d ./kernel el true command# ec2-upload-bundle -b eucaKernel -m ./kernel/vmlinuz-2.6.28-1 3-server.manifest.xml command# EKI=`ec2-register eucaKernel/vmlinuz-2.6.28-13-server.manife st.xml | awk {print $2} ` kern

/usr/akash/

command# echo $EKI ramdisk emi Steps command# mkdir ramdisk command# ec2-bundle-image -i initrd.img-2.6.28-13-server -d ./ramdisk ramdisk true command# ec2-upload-bundle -b eucaRamdisk -m ./ramdisk/initrd.img-2.6 .28-13-server.manifest.xml command# ERI=`ec2-register eucaRamdisk/initrd.img-2.6.28-13-server.ma nifest.xml | awk {print $2} ` command# echo $ERI instance emi Steps command# mkdir image command# ec2-bundle-image -i root.img -d ./image command# ec2-upload-bundle -b plabImage -m ./image/root.img.manifest. xml command# EMI=`ec2-register plabImage/root.img.manifest.xml | awk t $2} ` command# echo $EMI Run instance Add key pair command# ec2-add-keypair mykey > ~/.euca/mykey.priv command# chmod 0600 ~/.euca/mykey.priv command# ec2-run-instances emi-73FD0EAD -k mykey kernel eki-8D701398 ra mdisk eri-E47F14E8 instance-type m1.xlarge Troubleshoot Once I started installing eucalyptus, roblems because of no/less help available. To e or search http://open.eucalyptus.com forums the solution. I will try to list some of the f some help if you got similar issues. I encounter many issues and face p resolve the issues I have to googl or post my issues in forums to get issues thats I face, it might be o {prin

Eucalyptus Logs When I got any issue, my first area of interest was the logs generat ed by eucalyptus and its dependencies. Eucalyptus maintain all the logs under pr e-defined directory /var/log/eucalyptus . euca_test_nc.log On node controllers, if there is any issue with starting eucalyt us-nc command, check euca_test_nc.log file for any errors. euca_test_nc.log file contains all the errors eucalytus-nc encounter while starting. nc.log nc.log file contains all the logs generated in cluster-node comm unication. While starting a instance, initially I wasnt aware of buggy log handling of eucalyptus and it takes a lot time to understand this. While startin g instance, and keep on adding the logs for non-existing network while instance is currently in booting up. Because of this issue, I got following in the nc.log file [EUCAINFO ] doDescribeResource() invoked [EUCAINFO ] doDescribeResource() invoked [EUCAERROR ] libvirt: Domain not found (code=42)

which indicates, domain can not be started, but after some t ime this error is resolved automatically when network is started for the instanc e. So we can omit this error message in nc.log file. Cloud resources Some times when you install the eucalyptus and cluster, cloud and no des are running successfully on systems. Still you can not run instances, this m ay be issue with the node resource registration with the cluster. Or all the res ources has been consumed by the instances. You can check the resource status for cluster using ec2-describe-availability-zones verbose command. command# ec2-describe-availability-zones verbose Output of above command could be like this. AVAILABILITYZONE iCloud UP localhost AVAILABILITYZONE |- vm types free / max cpu r am disk AVAILABILITYZONE |- m1.small 0002 / 0002 1 1 28 15 AVAILABILITYZONE |- c1.medium 0002 / 0002 1 2 56 15 AVAILABILITYZONE |- m1.large 0001 / 0001 2 5 12 17 AVAILABILITYZONE |- m1.xlarge 0001 / 0001 2 10 24 20 AVAILABILITYZONE |- c1.xlarge 0000 / 0000 4 20 48 20 AVAILABILITYZONE |- 192.168.145.71 certs[cc=tru e,nc=true] @ Wed Sep 30 02:12:15 EDT 2009 From the output, we can clearly visualize the resource manag ement, free/used resources and number of instance we can run. Output also lists the nodes registered/available currently to cluster. Instance issues Some times, I got stuck with instance related issues. When I start i nstance using ec2 tools, instance will die and nc.log or any other log file doe snt provide useful info. So, best way to investigate issue and save time to run the instance using xm command provided by xen. Common steps are, - copy the image file used to create emi to any of the node. - create xen conf file, check following xen config file content kernel = /boot/vmlinuz-2.6.28-13-server ramdisk = /boot/initrd.img-2.6.28-13-server memory = 128 root = /dev/xvda1 ro disk = [ 'file:/usr/akash/cloud/ubuntu-xen/root.img,xvda1,w', 'file:/usr/akash/cloud/ubuntu-xen/swap.img,xvda2,w' ] name = Ubuntu dhcp = dhcp vif = [''] on_poweroff = destroy on_reboot = restart on_crash = restart extra = xencons=tty console=tty1 console=hvc0' - run the instance using xm command. command# xm create xen.cfg - while xm create is starting instance, use console command to c

heck the console output. command# xm console Ubuntu Ubuntu - is the name option provided in xen.cfg file

Useful commands Xen commands command# xm list list all the available Xen instances you re allowed to control command# xm create xen.cfg run the instance using xen.cfg file options command# xm status current status of your Xen guest command# xm console <domain id> allow you to access your Xen guest s console command# xm restore <domain file> Restore a domain from a saved state command# xm save <domain id> Save a domain state to restore later command# xm pause <domain id> Pause execution of a domain command## xm shutdown <domain id> Shutdown a domain command# xm destroy <domain id> Terminate a domain immediately command# xm mem-max <domain id> Set the maximum amount reservation for a domain command# xm mem-set <domain id> Set the current memory usage for a domain EC2 command Delete image command# ec2-deregister emi-55150E20 command# euca-delete-bundle -a $EC2_ACCESS_KEY -s $EC2_SECR ET_KEY url $S3_URL -b eucaubuntu -p image clear Check cloud status, returns all the available nodes and resource available command# euca-describe-availability-zones verbose

EUCALYPTUS Commands Add new node command# euca_conf -addnode 192.168.145.71 Delete node command# euca_conf -delnode 192.168.145.71 Sync keys between nodes and cluster controller command# $EUCALYPTUS/usr/sbin/euca_sync_key -c $EUCALYPTUS/ etc/eucalyptus/eucalyptus.conf Bookmark and Share This entry was posted in Cloud computing and tagged cloud architecture, cloud co

mputing, cloud computing setup, cloud controller, cluster controller, ec2, ec2-a mi-tools, ec2-api-tools, euca2ools, eucalyptus, kvm, node controller, setup clou d computing, ubuntu, virtualization, xen. Bookmark the permalink. ? Magento tricks and troubleshooting Php parallel programming ? 55 Responses to Private cloud setup using eucalyptus and xen Best Mattress December 30, 2011 at 9:33 am Glad to read this blog! Keep it going! Reply P.Saravanaraj January 4, 2012 at 9:50 am Hello Sir, I got what i needed for installing a private cloud using euc alyptus from your article.But i need more information regarding how to work with cloud security on data storage as we are doing our final year on Enabling publi c audibility and data dynamics on data stored in a cloud network.Reply as soon a s possible sir. thanking you, Saravanaraj . Reply akash January 4, 2012 at 10:20 am You create certificates per account. Certificates are used to encrypt th e machine images. Can you explain, what security issues you want to fix for cloud. I can provide you the references for that. Reply Saravanaraj January 4, 2012 at 2:25 pm Sir,i really need to know what all is required for starting a cloud network. We have planned to start our project in ubuntu with eucalyptus and hadoop.We nee d to know what are the initial steps to create the cloud network.Sir,can i send my reference paper to your mail ID. Reply akash January 4, 2012 at 2:32 pm first you need atleast 3 systems to install cloud. Install cloud controller and cloud node controllers, these are packages eucalyptus-cc and eucalyptus-nc. eucalyptus-cc will be installed on single machine, this will be the mach ine providing you all the interfaces to talk to cloud. Now install eucalyptus-nc on other 2 machines. Reply Saravanaraj January 4, 2012 at 2:37 pm Sir can we contact u in person Reply Saravanaraj January 4, 2012 at 2:54 pm thank u Sir.We have send our paper to your mail. Reply

Saravanaraj January 5, 2012 at 11:06 am Sir,can you state all the hardware and software requirements for creating a cloud network and for working on the security enhancement of data stored in the cloud Reply akash January 8, 2012 at 8:47 am It all depends upon what cloud size you want to avail. You need hardware more than the instance configurations, you will run si multaneously. you will start with atleast 2 servers. one for cloud/cluster controller one for node controller It should have more than 4 GB ram. Node controller server should have more than 4 cores, imagine one core p er instance. Reply Sandeep January 5, 2012 at 2:09 pm Dear Sir, We have started implementing the cloud as per your steps. I'd be glad if yo u could help us out in setting up the proper environment for studying the traffi c in cloud. Thanks in advance. Reply kirubakaran January 6, 2012 at 12:34 pm akash i also require to know about the above statement question Reply JOE MADHAN January 7, 2012 at 1:38 pm sir, i need to know whether node controller and cluster controller should be connected everytime when we boot the system or whether it is a one time process . Reply akash January 8, 2012 at 8:43 am Once you have configured node and cluster controller, these will be comm unicated automatically whenever you reboot the systems. But when you are rebooting the cluster or cloud controller, you wont be able to access the cloud backend as well as ec2 APIs for cloud setup. Reply JOE MADHAN January 10, 2012 at 9:05 am sir, whether we will compulsorily need to access the cloud backend during re booting. If so whether there is any way. Reply akash January 11, 2012 at 9:35 am

I think you can access your instances even if cloud controller or cluste r controller is rebooting. But if you reboot any of node controller machine then all the instances running on that node machine will become unavailable. Reply web design and web graphic, webin en iyileri burada January 11, 2012 at 3:23 pm Hi there, I found your blog by the use of Google at the same time as searchi ng for a comparable subject, your web site came up, it seems to be great. I ve boo kmarked it in my google bookmarks. Reply akash January 11, 2012 at 7:57 pm Thanks buddy! I am just trying to be a part of open source community. Reply c++ include mysql January 11, 2012 at 8:53 pm I ve been exploring for a bit for any high-quality articles or weblog posts on this sort of area . Exploring in Yahoo I at last stumbled upon this site. Readi ng this info So i m happy to convey that I ve a very excellent uncanny feeling I dis covered exactly what I needed. I such a lot undoubtedly will make sure to don?t omit this web site and give it a glance on a continuing basis. Reply downloadsoftware January 12, 2012 at 6:59 am I just like the helpful information you provide to your articles. I?ll bookm ark your weblog and test once more here regularly. I m reasonably sure I?ll be inf ormed many new stuff proper right here! Good luck for the following! Reply JOE MADHAN January 12, 2012 at 11:44 am sir, i need to know more about images and how to bundle our image. whether a ll should be implemented as services in clod controller and provided as image to the client i am not clear on that please help me out Reply akash January 12, 2012 at 12:00 pm You can bundle your OS as image or install from provided images. Image bundling is implemented as service. The whole process is like follow: ec2 API create a loopback file and backup os to the loopback file Then this loopback file is encrypted, zipped and then split to multiple files File split enables better fault tolorance, imagine network failure at an y time so that file chunk will be again uploaded Then this image is saved to cloud and made available to run as instance. Reply Levitra January 13, 2012 at 7:41 am Great resource! I ve just added it to vavorites. Reply Blog trao doi kien thuc ve Hosting January 13, 2012 at 9:33 am

Hello there, simply changed into aware of your blog through Google, and loca ted that it is really informative. I am going to watch out for brussels. I will appreciate should you proceed this in future. Lots of other people will likely b e benefited from your writing. Cheers! Reply colon cleanser January 13, 2012 at 12:30 pm It s really a great and helpful piece of info. I m glad that you shared this hel pful information with us. Please stay us informed like this. Thank you for shari ng. Reply Eternal-WoW free private server, World of Warcraft instant 80, battlegrounds and arena pvp, blizzlike 10x rate, instances and raids, wow fun server, best wo w private server, no lag or crashing! 3.3.x, 3.3.5a January 15, 2012 at 2:56 pm Someone necessarily help to make significantly posts I d state. This is the fi rst time I frequented your web page and up to now? I surprised with the analysis you made to make this particular put up incredible. Wonderful task! Reply body acne treatment January 16, 2012 at 12:42 pm Great blog here! Also your web site so much up fast! What host are you the u sage of? Can I am getting your associate hyperlink on your host? I desire my web site loaded up as quickly as yours lol. Apologize For poor English. Goodbye from Brazil! Reply akash January 17, 2012 at 4:07 pm Its on go daddy, I dont think its too fast. If you want site to be fast, and ready to spend money, go to Akamai and UltraDns, they make data transfer on internet efficient and also stops DDoS atta cks. Reply Heath January 17, 2012 at 5:03 pm Hello Sir, glad to see ua blog as I m going to do the project on Cloud ..I hope it will help in the same manner in future too. sir, I have only one i3 core proc essor with 4 GB RAM and rest other two systems have Intel Pentium 4 processors w ith 1 GB RAM ..Sir can it work? Reply akash January 17, 2012 at 5:11 pm yes, it can work but performance will be low One one i3 and 4GB ram should be installed for node controller, so it ca n support atleast 3 instance. Reply JOE MADHAN January 17, 2012 at 7:57 pm sir, with your guidance we set up the cloud in ubuntu 10.04 with a front end and two nodes in our college.. but recently our server went down so we configur ed our ipaddress as same as the system ip using manual instead of static. and we checked with ping command and the node was reachable and similarly from node al

so it worked.. however when checking resource status it simply does not responds which previously resulted as your reference i could not find out the problem. pl ease help me out Reply akash February 11, 2012 at 5:12 pm please check the ec2 logs Reply faiza January 18, 2012 at 9:12 pm i need information about how data flow through eucalyptus components ?and in what format data flow? Reply akash February 11, 2012 at 5:11 pm mostly AXIS-C webservice is used. Data flows mostly as XML format Reply JOE MADHAN January 20, 2012 at 8:39 am sir, in bundeling our own image to download the UEC image for the architecture from the command line: TIMESTAMP=$(date +%Y%m%d%H%M%S) RELEASE=lucid ARCH= i386 [ $ARCH = "i386" ] && IARCH=x86_64 || IARCH=i386 UEC_IMG=$RELEASE-server-uec-$ARCH URL=http://uec-images.ubuntu.com/$RELEASE/current/ [ ! -e $UEC_IMG.tar.gz ] && wget $URL/$UEC_IMG.tar.gz uec-publish-tarball $UEC_IMG.tar.gz $RELEASE-$TIMESTAMP and the last command results in error: image not in gzip format .. could you please provide me a solution.. Reply JOE MADHAN January 21, 2012 at 12:33 pm sir,i am stuck with the above problem provide me a solution please.. Reply siva January 23, 2012 at 2:05 pm Sir, My doubt is whether can we change the scheduling policies of the ubuntu clou d server. As we know, the server uses some scheduling policies ( say FIFO) to sc hedule incoming requests. But my question is that can we tune the server schedul er to our choice? Thank you in advance. Reply Amit Sharma February 3, 2012 at 12:58 pm Excellent post Akash. Great work. Reply

sanc February 7, 2012 at 11:32 am Sir, if the system dosen t support hardware virtualization. Then what are the options. Is it still possible to install eucalyptus cloud using xen virtualizati on on ubuntu machine? Reply akash February 11, 2012 at 4:59 pm yes, xen can work with processors that doesnt support virtualization, th ough efficiency will suffer Reply JOE MADHAN February 7, 2012 at 4:12 pm sir, i need guidance to deploy java web service in eucalyptus.. how it can b e converted into image.. Reply akash February 11, 2012 at 5:16 pm on cloud you dont deploy the services/apps, you deploy the desired OS as the AMIs and then run instances. If you have installed java webservice on any OS, bundle that machine to cloud and run the instances for your machine. Reply JOE MADHAN February 14, 2012 at 9:45 am thank you for your response for the question as well as on the moder ating process sir, i need some knowledge on how to bundle the OS with the webserv ice to the cloud Reply akash February 14, 2012 at 11:39 am Please check http://www.akashsharma.me/private-cloud-setup-using -eucalyptus-and-xen/#Creating_EMIs for creating EMIs Reply JOE MADHAN February 14, 2012 at 11:44 am Thank you sir, i will try it out Sayali Mahajan February 13, 2012 at 11:47 am apt-get install ubuntu-xen-server cannot execute this command error: unmet dependencies xen-tools Reply akash February 13, 2012 at 12:19 pm apt-get install xen-tools, try to install all unmet dependencies Reply Priya February 14, 2012 at 10:55 am

We are using ubuntu 10.10 for setting up private cloud. Is it possible to se tup CC n NC with single NIC on each PC?? Reply akash February 14, 2012 at 11:18 am Yes, you need two machines and install CC and NC on diff machines. Reply JOE MADHAN February 15, 2012 at 10:21 am sir, i am getting an error could not find package xen-utils ommand apt-get install xen-utils Reply JOE MADHAN February 17, 2012 at 11:20 am sir, which version of xen is preferable with ubuntu 10.04 Reply akash February 19, 2012 at 11:04 am when u start with apt-get it will pick compatible version. Reply jayasathya February 22, 2012 at 10:08 pm sir i am doing m.tech project in cloud computing based on a IEEE paper. i am sup posed create a cloud at my college lab. can u guide me ? please sir !! i have go ne through the posts . let me try following them. if i get struck i am requesting u to help out. thank u for a very useful post. thank u sir Reply akash February 29, 2012 at 12:20 pm sure, send me qustions on the post, i try to answer these questions Reply S.JOE MADHAN February 23, 2012 at 1:50 pm sir, my project is enabling security for data storage in cloud.. based on yo ur instructions i have st up the cloud environment with a cloud controller and 2 node controller.. with ubuntu 10.04 enterprise cloud.. we have created the webs ervice for data storage with security algorithm implemented in it.. for allowing clients to use this service i was instructed to create the image of that servic e in a virtual machine installed in one of the nodes.. but i could not proceed f urther and iam out of resources.. i need to know where xen or kvm should be inst alled? whether in node or cloud controller and whether the guest os created by xe n will be used to create the image of the service and provides it for client plea se help me out.. i also enden up with lot of errors in installing xen and kvm in node denoting candidate not found Reply akash February 29, 2012 at 12:19 pm xen has to be on node controllers, xen does kernel update so diff instan ces can send requests different resources or say xen differentitates the hardwar on executing the c

e resources for diff instances. Reply Leave a Reply Your email address will not be published. Required fields are marked * Name * Email * Website Comment You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em > <i> <q cite=""> <strike> <strong> Categories Cloud computing (1) Javascript (3) open source (6) apache (1) php (5) Akash Sharma Proudly powered by WordPress.

Das könnte Ihnen auch gefallen