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
TUTORIAL on Single machine installation of OpenNebula 3.4 for learning and testing purpose
bala 6:37 pm on June 12, 2012 Permalink |
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 |
Hello Sir,
I tried and I could able to launch instance….. very thanks for posting this document…..great
thanks
navaraja
cloudblab 7:11 pm on June 21, 2012 Permalink |
Good Navaraja. Thanks for using my Document
Paterne 8:52 pm on July 16, 2012 Permalink |
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!
cloudblab 10:21 pm on July 16, 2012 Permalink |
I donot understand French. With a translator I could understand that “Thank you very much for your tutorial. But I would need help to extend it on tois machines: one for the front-end and other two nodes in the cluster!”
Reply:
Refer to document : https://cloudblab.files.wordpress.com/2012/07/opennebula-3-4-1-in-ubuntu-12-04-create-windows-server-2008-vm.pdf
Paterne 11:01 pm on July 16, 2012 Permalink |
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 |
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 |
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 |
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 |
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.
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
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 |
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 |
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 |
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 |
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 |
Anuradha, let me know your network setup
htxuankhoa 7:23 pm on October 27, 2012 Permalink |
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 |
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 |
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 |
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 |
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 |
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.