Recent Updates Page 2 Toggle Comment Threads | Keyboard Shortcuts

  • cloudblab 1:52 am on June 22, 2012 Permalink | Reply  

    OpenNebula – Creating a Debian Squeeze VM 

    OpenNebula – Creating a  Debian Squeeze VM

    OpenNebula- Create Debian Squeeze VM With contextualization

     
    • ashwini kumar yadav 10:41 pm on August 12, 2013 Permalink | Reply

      sir
      I am install opennebula on ubuntu server but occure some error such as
      oneadmin@ashwini-HP-630-Notebook-PC:~/opennebula-3.4.1$ ./install.sh -u oneadmin -g oneadmin -d /var/lib/one
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/src/nebula/oned’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/src/scheduler/src/sched/mm_sched’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/src/mad/utils/tty_expect’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/oneauth.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/oneacl.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onehost.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/oneimage.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/oneuser.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onevm.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onevnet.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onetemplate.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onegroup.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onedb.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onedatastore.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onecluster.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/econe-describe-images.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/econe-describe-instances.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/econe-register.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/econe-run-instances.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/econe-terminate-instances.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/econe-upload.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/occi-compute.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/occi-network.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/occi-storage.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onezone.1.gz’: No such file or directory
      cp: cannot stat `/var/lib/one/opennebula-3.4.1/share/man/onevdc.1.gz’: No such file or directory
      chown: changing ownership of `/var/lib/one/.gvfs’: Function not implemented
      chown: changing ownership of `/var/lib/one/remotes/vnm/dummy/post’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/dummy/pre’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/dummy/clean’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/Firewall.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ovswitch/post’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ovswitch/pre’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ovswitch/clean’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ovswitch/OpenvSwitch.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/802.1Q/post’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/802.1Q/HostManaged.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/802.1Q/pre’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/802.1Q/clean’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ebtables/post’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ebtables/pre’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ebtables/clean’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/ebtables/Ebtables.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/fw/post’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/fw/pre’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/fw/clean’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/OpenNebulaNic.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/vmware/post’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/vmware/pre’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/vmware/clean’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/vmware/VMware.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vnm/OpenNebulaNetwork.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/scripts_common.sh’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/vmware.d/vmware.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/kvm.d/kvm.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/kvm.d/name.sh’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/kvm.d/cpu.sh’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/kvm.d/architecture.sh’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/ganglia.d/ganglia_probe’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/run_probes’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/xen.d/name.sh’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/xen.d/cpu.sh’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/xen.d/architecture.sh’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/im/xen.d/xen.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/dummy/authenticate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/ldap/authenticate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/quota/authorize’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/server_x509/authenticate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/ssh/authenticate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/server_cipher/authenticate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/x509/authenticate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/auth/plain/authenticate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/scripts_common.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/image/fs/fsrc’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/image/fs/mv’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/image/fs/rm’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/image/fs/mkfs’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/image/fs/cp’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/image/fs’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/image’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/hooks/ft/host_error.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/deploy’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/cancel’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/poll’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/shutdown’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/xenrc’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/restore’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/poll_ganglia’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/reboot’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/save’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/xen/migrate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/deploy’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/cancel’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/poll’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/shutdown’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/vmware_driver.rb’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/checkpoint’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/restore’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/reboot’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/save’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/vmware/migrate’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/deploy’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/cancel’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/poll’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/shutdown’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/restore’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/poll_ganglia’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/kvmrc’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/reboot’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/save’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/migrate_local’: Operation not permitted
      chown: changing ownership of `/var/lib/one/remotes/vmm/kvm/migrate’: Operation not permitted
      oneadmin@ashwini-HP-630-Notebook-PC:~/opennebula-3.4.1$ cp: cannot stat `/var/lib/one/opennebula-3.4.1/src/nebula/oned’: No such file or directory
      sir please solve the my problem
      regards
      ashwini kumar yadav

      • cloudblab 10:50 pm on August 12, 2013 Permalink | Reply

        Ashwini,

        You did not properly install opennebula. Hope you followed my document.
        Are you sure that you installed OpenNebula in /var/lib/one?
        Are you sure that /var/lib/one is owned by oneadmin:oneadmin?

        Check the line ./install.sh -u oneadmin -g oneadmin -d /var/lib/one in the document for more help.

      • cloudblab 10:52 pm on August 12, 2013 Permalink | Reply

        If you want you can learn opennebula installation from me remotely.
        You have my mail ID in all my documents.[cloud.b.lab@zoho.com]

  • cloudblab 7:10 pm on June 21, 2012 Permalink | Reply  

    OpenNebula – Beginners guide to HOOKs 

    OpenNebula 3.4 Beginners guide to HOOKs.

    OpenNebula is simple, user friendly but powerful. In my experience what looked so complicated in other cloud deployment applications have started looking and behaving much easier and simpler in OpenNebula.

    Kudos to everyone involved in designing and programming this wonderful application.

    This tutorial aims to demonstrate using hooks with OpenNebula.

    • A “hook” is defined by:
    • EVENT: The event that will trigger the execution of the hook. Predefined events are, VM states (BOOT,RUNNING etc)
    • ACTION: The command that will be executed. The action can be:
      • Pre-defined: For example, restart, destroy…
      • Custom: a command
      • Local: the action is executed in the ONE frontend
      • Remote: the action is executed in the remote host
    • Several hooks may be defined for the same action. The hooks should be defined at the daemon level, but also VM’s can defined custom hooks.
     
  • cloudblab 2:03 am on June 21, 2012 Permalink | Reply  

    OpenNebula 3.4 Beginners guide to HOOKs 

    OpenNebula 3.4 Beginners guide to HOOKs

    Index

    1 Using a simple Hook for a “FAILED” state

    2.Using a Hook for “PROLOG” state:

    3.Using Fault Tolerance Hooks

    OPENNEBULA R 3.4 – Beginners guide to hooks

     
  • cloudblab 11:43 pm on June 4, 2012 Permalink | Reply  

    OPENNEBULA 3.4.1 :Setup a HIGH AVAILABILITY environment using Ubuntu 12.04, MySQL, DRBD and Heartbeat 

    OPENNEBULA 3.4.1 :Setup a HIGH-AVAILABILITY environment using Ubuntu 12.04, MySQL, DRBD and Heartbeat.

     
  • cloudblab 4:22 pm on June 4, 2012 Permalink | Reply  

    OPENNEBULA 3.4.1 :Setup a HIGH-AVAILABILITY environment using Ubuntu 12.04, MySQL, DRBD and Heartbeat 

    OPENNEBULA 3.4.1

    Setup a HIGH-AVAILABILITY environment using Ubuntu 12.04, MySQL, DRBD and Heartbeat

    OpenNebula VM : Windows XP

    OPENNEBULA 3.4.1 – LEARN TO SETUP HIGH-AVAILABILITY WITH UBUNTU 12.04 , MYSQL, DRBD and HEARTBEAT

    Friends, this tutorial teaches you to setup a OpenNebula 3.4.1 HIGH-AVAILABILITY environment but with minimum hardware resources and some easy steps.

    “High availability” refers to the practice of keeping online resources available through node failure or system maintenance.
    I am using just 2 VT enabled Intel Xeon Servers and a normal Intel dual core Windows XP laptop with 2GB Ram for having remote sessions and VSphere client.
    MySQL,DRBD and Heartbeat packages already available with Ubuntu 12.04 will be used, so that installation and setup will be a bit easy.

    Hope you may like it

    regards

    Anil

    cloud-b-lab

    cloud.b.lab@zoho.com

     
    • bala 12:44 pm on September 19, 2012 Permalink | Reply

      Hello Sir,
      When i put this following command it show like this..

      command: drbdadm create-md r0

      result: ‘r0’ ignored, since this host (server-one) is not mentioned with an ‘on’ keyword.

      And Just i show the following command output:

      root@server-one:/# drbdadm up all
      WARN: no normal resources defined for this host (server-one)!?

      root@server-one:/# cat /proc/drbd
      version: 8.3.11 (api:88/proto:86-96)
      srcversion: 71955441799F513ACA6DA60

      root@server-one:/# drbdadm — –overwrite-data-of-peer primary all
      WARN: no normal resources defined for this host (server-one)!?

      root@server-one:/# drbdadm disconnect r0
      ‘r0’ ignored, since this host (server-one) is not mentioned with an ‘on’ keyword.

      root@server-two:/# drbdadm up all
      WARN: no normal resources defined for this host (server-two)!?

      root@server-two:/# cat /proc/drbd
      version: 8.3.11 (api:88/proto:86-96)
      srcversion: 71955441799F513ACA6DA60

      I cannot make that the step of ur document :

      Prepare serverone and servertwo part
      j) In Server 1 alone : Make server 1 Primary

      Give me Some suggestion sir….

      Regards,
      R.Balasubramaniyan

      • bala 6:26 pm on September 21, 2012 Permalink | Reply

        Hello Sir,

        To configure onevmhost part i cannot mount /var/lib/one

        command: sudo mount /var/lib/one

        but is show like:

        mount.nfs: access denied by server while mounting 192.168.2.174:/var/lib/one

        Give me some suggestion…

        Regards,
        R.Balasubramaniyan

  • cloudblab 11:50 pm on May 28, 2012 Permalink | Reply  

    OPENNEBULA 3.4.1 Windows XP VM creation was never these much easy before Also try migration and live migration of a Windows XP VM 

    Friends, I have experimented with few of the well known software tools prevailing in the industry to create an IAAS (Infrastructure As A Service) platform. I am amazed with the speed!! and simplicity!! of OpenNebula 3.4 , especially with VMWARE VM creation and KVM based WINDOWS VM creation. Migration and Live Migration with a Windows XP VM was never easy and faster before.

    This tutorial is an outcome of the enjoyment I have experienced.

    In this tutorial, I am providing a easy and faster way of creating a Windows VM and Contextualization. This time “no Dot-net frameworks, no Powershells”, Just a VB script and a Windows batch file would be enough to send your IP address and new hostname from OpenNebula to Windows VM.

    OPENNEBULA 3.4.1 and Windows XP VM – try Migration and Live Migration

    Hope you may enjoy this……

    Regards,

    ANILKUMAR

    cloud-b-lab

     
    • Roberto 12:19 pm on May 29, 2012 Permalink | Reply

      Hello, good article!
      Could you please publish some example with XEN template and how to use already installed XEN Guest into OpenNebula?
      Regards,
      Roberto.

      • cloudblab 12:44 pm on May 29, 2012 Permalink | Reply

        Roberto,
        Thanks.
        A Tutorial on OpenNebula and Xen is on the anvil. I will post once it is ready.
        Regards,
        Anil.

    • bala 7:14 pm on June 19, 2012 Permalink | Reply

      Hello Sir,

      I tried your windows instance launching and migration and live migration… Its too super….
      Instance launching speed awesome…. I didn’t experience it at eucalyptus and openstact windows instance launching part….

      And migration also done with in few second…..It’s too good….

      Opennabula configuration steps are very easy to follow…. And easy to understand it…

      Thanks for your documentation….. and am very happy to launch vm and migration of vm…..

      With Regards,
      R.Balasubramaniyan.

    • Bala 9:24 pm on June 19, 2012 Permalink | Reply

      Bala,
      I am glad that you liked it and could successfully execute.
      This will encourage me to write more…..

  • cloudblab 12:30 am on May 21, 2012 Permalink | Reply  

    OPENNEBULA 3.4.1 in Ubuntu 12.04 Precises – Single machine installation for learning and testing purpose 

    TUTORIAL on Single machine  installation of OpenNebula 3.4 for learning and testing purpose

    OPENNEBULA 3.4.1 in Ubuntu 12.04 Precises – Single machine installation for learning and testing purpose

     
    • bala 6:37 pm on June 12, 2012 Permalink | Reply

      Hello Sir,
      I tried your OPENNEBULA 3.4.1 in Ubuntu 12.04 Precises – Single machine documentation…. Its very neat…and very clear to understand….

      I could able to launch instance….. very thanks for posting this document…..It’s very
      help full for opennabula experiments…..

      Thanks With Regards,
      R.Balasubramaniyan

    • navaraja 5:23 pm on June 21, 2012 Permalink | Reply

      Hello Sir,
      I tried and I could able to launch instance….. very thanks for posting this document…..great

      thanks

      navaraja

    • Paterne 8:52 pm on July 16, 2012 Permalink | Reply

      Merci beaucoup pour ton tuto. Mais j’aurais besoin d’aide pour etendre cela sur tois machines : une machine pour le front-end et deux autres pour les noeuds du cluster!

    • Paterne 11:01 pm on July 16, 2012 Permalink | Reply

      thank you. I coul write in english but was not sure it would be clear enough for you. My problem is to set up a private cloud with openNebula. I would like to use the virtual machines openNebula provide to create a VDI architecture. Advise me if my idea is wrong or if it’s possible to do such a thing.

      • cloudblab 4:27 pm on July 17, 2012 Permalink | Reply

        VDI comes in two types. 1. Static – where a user gets a dedicated VM designated for him. So VM needs to be there physically in a ready state. (high resource requirement)
        2. Dynamic – based on user requirement, a VM will be created on the fly using warehoused image and a predefined template.
        You can create a VDI solution using OpenNebula as the VM provider tool.
        There are no readymade VDI tools like the ones offered by Citrix, Oracle , VMWare, Microsoft etc.
        You can use OpenNebula oZones to create and manage a Virtual Datacenter. Refer: http://opennebula.org/documentation:rel3.6:ozones

    • Ami 8:51 pm on August 10, 2012 Permalink | Reply

      Hello,
      Thank you for the GREAT document,
      I have just two issues,
      1 – Why internet connection is lost when creating the bridge, is there a way to keep it running.
      2 – oned fails to start, I’ve the error :
      Could not create database.
      oned failed to start

      Thanks in advance.

      • Ami 9:12 pm on August 10, 2012 Permalink | Reply

        Sorry, the second was just because I forgot to execute : GRANT ALL PRIVILEGES ON opennebula.* TO ‘oneadmin’ IDENTIFIED BY ‘oneadmin’;

      • cloudblab 6:46 pm on August 13, 2012 Permalink | Reply

        Ami,
        If you are using Ubuntu:

        1. Check if you have specified gateway in the network script written for the bridge.
        gateway

        in /etc/network/interfaces file

        e.g.

        1. The loopback network interface

        auto lo
        iface lo inet loopback

        1. Bridge between eth0 and eth1

        auto br0

        iface br0 inet static

        1. For static configuration delete or comment out the above line and uncomment the following:

        iface br0 inet static
        address 192.168.1.10
        netmask 255.255.255.0
        network 192.168.1.0
        gateway 192.168.1.1
        dns-nameservers 192.168.1.5
        dns-search example.com

        2:Else, if you are using Ubuntu:

        Enabling Internet Use on the Bridging Computer
        ip route add default via
        dhclient
        If you get a message back from the first command, such as

        SIOCADDRT: File exists
        or

        SIOCADDRT: Network is unreachable
        Then skip to the second command.

        To ensure that you are connected to the internet, ping the IP address with the command below.

        ping http://www.google.com

        It should sucessfully ping

      • cloudblab 6:48 pm on August 13, 2012 Permalink | Reply

        Ami,
        If you are using Ubuntu:

        1. Check if you have specified gateway in the network script written for the bridge.
        gateway

        in /etc/network/interfaces file

        e.g.

        The loopback network interface
        auto lo
        iface lo inet loopback

        Bridge between eth0 and eth1
        auto br0

        iface br0 inet static

        For static configuration delete or comment out the above line and uncomment the following:
        iface br0 inet static
        address 192.168.1.10
        netmask 255.255.255.0
        network 192.168.1.0
        gateway 192.168.1.1
        dns-nameservers 192.168.1.5
        dns-search example.com

        2:Else, if you are using Ubuntu:

        Enabling Internet Use on the Bridging Computer
        ip route add default via
        dhclient
        If you get a message back from the first command, such as

        SIOCADDRT: File exists
        or

        SIOCADDRT: Network is unreachable
        Then skip to the second command.

        To ensure that you are connected to the internet, ping the IP address with the command below.

        ping http://www.google.com

        It should sucessfully ping

    • Bhupendra 10:00 pm on September 19, 2012 Permalink | Reply

      is it possible to install opennebula on unbuntu 10.04 or other version..except ubuntu server 12.04
      how ?????

      • cloudblab 2:09 pm on September 20, 2012 Permalink | Reply

        Yes. I have tried it in Ubuntu 10.10,11.04,11.10 and 12.04
        Centos 6,6.2,6.3
        Ubuntu Desktop 12.10 etc

        • Anuradha 10:49 am on September 23, 2012 Permalink

          Hi,
          Can we use the same document that you have provided for installing opennebula on ubuntu desktop version 11.10 or do we have to follow something different?

        • cloudblab 11:27 am on September 24, 2012 Permalink

          Anuradha,
          Thanks for referring to my documentation.Are you in India/Chennai?
          Now, regarding your question:
          Yes you can. Only thing is there may be some difference in the name of certain packages between Ubuntu desktop 11.10 and Server 12.04.
          To identify the correct package-name in any ubuntu version,use the following command:
          apt-cache search [PACKAGE-NAME]
          I think you have to look out for change in names of following packages in Ubuntu 11.10 desktop , when compared with 12.04
          sudo apt-get install libc6 libgcc1 libmysqlclient16 libpassword-ruby libsequel-ruby libsqlite3-0 libssl0.9.8
          libstdc++6 libxml2 libxmlrpc-c3-0 libxmlrpc-core-c3-0

          Thanks are regards,
          Anil Kumar

    • Anuradha 6:05 pm on October 7, 2012 Permalink | Reply

      Hi Anil,

      Yes, I am from TN… Thank u so much for ur document since it helped me install opennebula.. .But I am facing issue with internet connection. I did try out the suggestion you had made for some other member, but it doesn’t work. My internet connection works at times but doesn’t some times. I am unable to figure out the issue, Please help….

      • Anuradha 10:45 am on October 9, 2012 Permalink | Reply

        Anuradha, let me know your network setup

    • htxuankhoa 7:23 pm on October 27, 2012 Permalink | Reply

      Thank you so much Sir Anil Kumar,

      When i register the image with oneimage command, i got the error:
      Message received: CP FAILURE 13 Not allowed to copy image
      file /var/lib/one/images/ttylinux.img
      Thu Oct 25 08:25:03 2012 [ImM][E]: Error copying image in the datastore: Not allowed to copy

      So, i followed your advice try to copy the image to /var/lib/images, not /var/lib/one/images and it worked for me. I was successfull register with ttylinux.img via oneimage command & bootable & logged on to ttylinux virtual machine. Cause i didn’t pay attention about path of image file in your document (/var/lib/images).

      Thank you for great document & for your help. It helps me a lot.

      Thanks you.

      Best regards.

    • addy 5:46 pm on February 1, 2013 Permalink | Reply

      Hello sir,
      First of all thank you for putting up such a well-structured tutorial…All the steps worked perfectly for me except this one – “scons sqlite=no mysql=yes” . I get the following error :
      Error searching for xmlrpc-c libraries. Please check this things:

      You have installed development libraries for xmlrpc-c. One way to check

      this is calling xmlrpc-c-config that is provided with the development
      package.

      Check that the version of xmlrpc-c is at least 1.06. You can do this also

      calling:
      $ xmlrpc-c-config –version

      If all this requirements are already met please send log files located in

      .xmlrpc_test to the mailing list.

      I dont know how to resolve this . Could you pleese help with this.

      Thanks in advance

      • cloudblab 12:29 am on February 3, 2013 Permalink | Reply

        May I know the following information: 1. Are you using Ubuntu 12.04. 2. Which version of OpenNebula you are trying? 3. Did you setup MYSQL properly? 4. Did you do sudo apt-get update after installing Ubuntu?

    • harishma 5:32 pm on February 19, 2013 Permalink | Reply

      Dear Sir,
      Thank you so much for a brilliant tutorial!
      All the steps have worked perfectly for me except when it comes to the oneimage command
      Like you have described in the tutorial i moved the ttylinux.img file to /var/lib/images and changed the path in image.one but when i try to do
      oneimage create image.one -d default
      it gives the following error
      [ImageAllocate] Cannot determine Image SIZE
      Could you please suggest some way to resolve this?

      Thanks in advance!

      • cloudblab 10:25 pm on February 21, 2013 Permalink | Reply

        Hi Dayanidhi,

        Thanks for using my document.
        regarding the error: Please check
        1. You made “oneadmin” as the owner of /var/lib/images folder
        2. You made “oneadmin” as the owner of ttylinux.img file with in the /var/lib/images foldre
        3. You have specified the correct path for the image file in the image template.

    • iyadh 3:06 am on April 20, 2013 Permalink | Reply

      Dear sir ,
      I am thankful for your document wich help me to finaly find a full and complete opennebula installation guide however Sir When i configure the file /etc/network/interfaces with those parametres i lose internet connection.
      auto lo
      iface lo inet loopback

      auto eth0
      iface eth0 inet dhcp

      auto br0
      iface br0 inet static
      address 192.168.1.102

      netmask 255.255.255.0
      network 192.168.1.0
      broadcast 192.168.1.255
      gateway 192.168.1.1
      dns-search example.com
      bridge_ports eth0
      bridge_fd 9
      bridge_hello 2
      bridge_maxage 12
      bridge_stp off

      I have tried the command mentionned for other member but it didn’t work. Sorry , another question if i couldn’t use dhcp can i use static connection.
      Please help me.

  • cloudblab 6:15 pm on May 2, 2012 Permalink | Reply  

    OPENNEBULA R 3.4 and VMWARE ESX4.1- Using Transfer drivers-SHARED, VMWARE and SSH 

    OPENNEBULA R 3.4 and VMWARE ESX4.1- Using Transfer drivers-SHARED, VMWARE and SSH

    PDF: OPENNEBULA R 3.4 and VMWARE ESX4.1-Transfer drivers-SHARED, VMWARE and SSH

     
      • cloudblab 10:45 pm on May 11, 2012 Permalink | Reply

        Thanks

        • bala 1:31 pm on May 13, 2012 Permalink

          sir,
          I launched ubuntu instance at Esx 4.1… Very super doucmentation… it’s very clear… and thanks lot sir…

          With Regards,
          R.Balasubramaniyan.

    • Bala 10:35 pm on May 13, 2012 Permalink | Reply

      Thanks Bala. Good that you tried. Please try the guide on ESXi5.0 also, so that you will get to know a different method than the one used for esx 4.1.

  • cloudblab 6:13 pm on May 2, 2012 Permalink | Reply  

    Open NebulaR 3.4 and VMWare  ESXi 5.0 Using… 

    Open NebulaR 3.4 and VMWare  ESXi 5.0 – Using SHARED,VMWARE and SSH Transfer Drivers  

    OPENNEBULA R 3.4 and VMWARE ESXi5.0 using SHARED,VMWARE and SSH Transfer Drivers

     
  • cloudblab 7:18 pm on April 16, 2012 Permalink | Reply  

    BUILDING A HYBRID CLOUD WITH OpenNebula 

    BUILDING A HYBRID CLOUD WITH OpenNebula.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel