[one-users] Deploying Sunstone in different machine

2014-07-01 Thread M Fazli A Jalaluddin
Dear All,

I tried to deploy sunstone server in another server by referring to this [1]

Front-end - CentOS 6.5 (IP Address: 192.168.113.214)
Sunstone-server - Ubuntu 12.04 (IP Address: 192.168.113.172)

This is the steps I had taken:

   1. add repo and apt-get update on (.172)
   2. apt-get install opennebula-sunstone on (.172)
   3. disable selinux and firewall on front-end (.214)
   4. copy sunstone.auth from front-end to 192.168.113.172:/var/lib/one/.one
   5. modify (.172) sunstone-server :one_xmlrpc:
   http://192.168.113.214:2633/RPC2
   6. start sunstone-server on .172
   7. try to login in sunstone - got error

The error in the log: [UserPoolInfo] User couldn't be authenticated,
aborting call.

Is there any steps I have missing?

Thank you
Regards,
Fazli

[1]
http://docs.opennebula.org/4.6/advanced_administration/scalability/suns_advance.html#deploying-sunstone-in-a-different-machine
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone server crash on ruby

2014-04-22 Thread M Fazli A Jalaluddin
Hi,

The problem is now solve after I upgrade my ruby from 1.9.3 to 2.1.1 using
RVM.

Thank you




On Wed, Apr 9, 2014 at 12:46 AM, Daniel Molina dmol...@opennebula.orgwrote:

 Hi,


 On 7 April 2014 06:39, M Fazli A Jalaluddin fazli.jalalud...@gmail.comwrote:

 My current version for OpenNebula is 4.4.1 and my ruby is currently
 1.9.3p0
 I have been experiencing some bug in ruby that would crash Sunstone
 Server several times.

 May I know if the problem is because of ruby version 1.9.3p0 or ruby
 1.9.1 because my ruby version is 1.9.3p0 (ruby --version) but in log file
 (sunstone.error), it shows 1.9.1 most of the time.

 Attached is the sunstone.error dump.


 It looks like a bug in ruby, could you try upgrading your ruby version

 Cheers

 --
 Daniel Molina
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Hybrid Cloud (OpenNebula + Amazon EC2)

2013-12-17 Thread M Fazli A Jalaluddin
Hi all,

I would like to ask some questions, it might sound silly but here goes;

1. I have very little knowledge about hybrid cloud, so I watched this
youtube video [1] and the question is, the VM that was instantiated is
resides on EC2 or OpenNebula?

2. If the VM is on EC2, is it free or I have to pay per use? Also can I
accessed it from anywhere (public cloud) provided I have Internet
connection?

3. As far as I know, EC2 use .ami image. Do I have to convert my image from
.qcow2 to .ami?

Thank you

Best regards,
Fazli

[1] http://www.youtube.com/watch?v=U01dw_crqRc
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] BSOD when deploy Windows XP VM in OpenNebula 4.2

2013-12-02 Thread M Fazli A Jalaluddin
Thank you for your suggestion regarding the controller.
I have change the IDE controller in VirtualBox to ICH6 [1]
and I was able to boot Windows XP properly on OpenNebula.

Best regards

[1] http://ubuntuforums.org/showthread.php?t=1437758


On Mon, Dec 2, 2013 at 5:19 PM, Lorenzo Faleschini 
lorenzo.falesch...@nordestsystems.com wrote:

  If you've created the XP machine in VBox it's easy that it has been
 configured with IDE channel. So it's a matter of controller if BSOD, not
 matter of QCOW2 or RAW image.

 to boot in ONE just set DEV_PREFIX=hda in the template or in the image
 of your xp machine.

 if still not booting check if you uninstalled the VBoxTools before
 converting it.

 if you want (and you better do so if you want a bit of performance) switch
 to virtio controller for storage you have to do the following steps (in
 order to let the poor xp load correctly the drivers)

 - boot xp using DEV_PREFIX=hd in order to test if it works correctly
 - shutdown and add any image (eg: a cdrom) with virtio DEV_PREFIX=vd
 - when it loads XP will find a new hardware and ask you for drivers:  load
 them from the virtio cdrom
 http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/ this will
 let XP know how to access a VirtIO SCSI drive in boot phase
 - shutdown after installing drivers, remove the fake image you used with
 vd prefix, and change DEV_PREFIX=vd for the WinXP System drive image
 - instantiate and enjoy xp with virtio


 bye

 (this works for win 7 too)


 Il 30/11/2013 02:15, M Fazli A Jalaluddin ha scritto:

  Hi,


 I also have deployed Windows 7 qcow2 format on OpenNebula without the any
 problem.
 which I used VirtualBox to create the image first and convert it from .vdi
 to .qcow2 using qemu-utils.

 May I know how to use IDE instead?

 PS: I have tried using both qcow2 and raw format but still blue screen.
 The Blue screen appears shortly after the Windows XP loading bar splash
 screen.

  Best regards


 On Fri, Nov 29, 2013 at 10:40 PM, Shankhadeep Shome 
 shank15...@gmail.comwrote:

 For windows VMs you need to make sure the correct virtio block drivers
 are installed, you might get lucky with using ide instead. Remove the
 virtualbox guest tools before moving the vm over.


 On Fri, Nov 29, 2013 at 6:25 AM, André Monteiro 
 andre.mont...@gmail.comwrote:

  Hi,

  I have some experience on Windows machines, and all are running on
 qcow2 without problems. When does exactly the VM blue screen appears? While
 not discarding a qemu problem, Windows OS is very sensible to hardware
 changes and the problem can be at the loading drivers step, which are not
 part of the new system.

  I have two suggestions:
 - Try to replicate Virtualbox hardware as close as possible on
 OpenNebula and boot in Safe Mode
 - Try to install a clean image on OpenNebula to check XP compatibility

  Regards,



 --
 André Monteiro



  On Fri, Nov 29, 2013 at 10:34 AM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com wrote:

 Dear All,

  I was trying to install Windows XP in VirtualBox and convert it to
 qcow2.

  After I upload the qcow2 image to OpenNebula and instantiate the
 template,
  the image goes BSOD while in Virtualbox, the VM works fine.

  I done some google and found out that there was some bug in qemu
 which cause this [1].
  Is there any possible solutions to this? Please help advise.

  Thank you
  Best regards

 [1] http://ubuntuforums.org/showthread.php?t=1437758

  ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 ___
 Users mailing 
 listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Lorenzo Faleschini
 Responsabile Sistemi Informativi

 skype: falegalizeit
 mobile: +39 335 6055225
 tel: +39 0427 807934
 fax: +39 0434 1820145

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] BSOD when deploy Windows XP VM in OpenNebula 4.2

2013-11-29 Thread M Fazli A Jalaluddin
Dear All,

I was trying to install Windows XP in VirtualBox and convert it to qcow2.

After I upload the qcow2 image to OpenNebula and instantiate the template,
the image goes BSOD while in Virtualbox, the VM works fine.

I done some google and found out that there was some bug in qemu which
cause this [1].
Is there any possible solutions to this? Please help advise.

Thank you
Best regards

[1] http://ubuntuforums.org/showthread.php?t=1437758
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] BSOD when deploy Windows XP VM in OpenNebula 4.2

2013-11-29 Thread M Fazli A Jalaluddin
Hi,

I also have deployed Windows 7 qcow2 format on OpenNebula without the any
problem.
which I used VirtualBox to create the image first and convert it from .vdi
to .qcow2 using qemu-utils.

May I know how to use IDE instead?

PS: I have tried using both qcow2 and raw format but still blue screen. The
Blue screen appears shortly after the Windows XP loading bar splash screen.

Best regards


On Fri, Nov 29, 2013 at 10:40 PM, Shankhadeep Shome shank15...@gmail.comwrote:

 For windows VMs you need to make sure the correct virtio block drivers are
 installed, you might get lucky with using ide instead. Remove the
 virtualbox guest tools before moving the vm over.


 On Fri, Nov 29, 2013 at 6:25 AM, André Monteiro 
 andre.mont...@gmail.comwrote:

 Hi,

 I have some experience on Windows machines, and all are running on qcow2
 without problems. When does exactly the VM blue screen appears? While not
 discarding a qemu problem, Windows OS is very sensible to hardware changes
 and the problem can be at the loading drivers step, which are not part of
 the new system.

 I have two suggestions:
 - Try to replicate Virtualbox hardware as close as possible on OpenNebula
 and boot in Safe Mode
 - Try to install a clean image on OpenNebula to check XP compatibility

 Regards,



 --
 André Monteiro



 On Fri, Nov 29, 2013 at 10:34 AM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com wrote:

 Dear All,

 I was trying to install Windows XP in VirtualBox and convert it to qcow2.

 After I upload the qcow2 image to OpenNebula and instantiate the
 template,
 the image goes BSOD while in Virtualbox, the VM works fine.

 I done some google and found out that there was some bug in qemu which
 cause this [1].
 Is there any possible solutions to this? Please help advise.

 Thank you
 Best regards

 [1] http://ubuntuforums.org/showthread.php?t=1437758

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] USB Redirection and Sound Driver in OpenNebula's VMs

2013-10-25 Thread M Fazli A Jalaluddin
I am using Ubuntu Desktop 12.04 64-bit.

I have installed this packages, qemu-kvm-spice in a node which then I was
able to connect to the VMs by using spicy in a host (installed with
spice-client-gtk)

Also, by follow your links, I have installed additional packages by using
sudo apt-get install;

seabios  libusb-1.0-0 libusb-1.0-0-dev  libusbredir libusbredir-dev
libspice-protocol-dev libspice-server-dev libspice-client-glib-2.0-4
libspice-client-glib-2.0-dev libspice-client-gtk-2.0-1
libspice-client-gtk-2.0-dev libspice-client-gtk-3.0-1
libspice-client-gtk-3.0-dev  python-spice-client-gtk spice-client-gtk

I am a newbies in Linux so my knowledge might not sufficient.

Thank you



On Wed, Oct 23, 2013 at 5:02 PM, Carlo Daffara 
carlo.daff...@cloudweavers.eu wrote:

 Which linux distribution are you using? Under Ubuntu you will have to
 install additional packages or compile your own:
 https://wiki.ubuntu.com/spice

 cheers,
 carlo

 - Messaggio originale -
 Da: M Fazli A Jalaluddin fazli.jalalud...@gmail.com
 A: Carlos Martín Sánchez cmar...@opennebula.org
 Cc: users@lists.opennebula.org
 Inviato: Mercoledì, 23 ottobre 2013 4:23:43
 Oggetto: Re: [one-users] USB Redirection and Sound Driver in OpenNebula's
 VMs








 Hi,

 Thanks for the reply.

 Yes, I have refer to the post, but my spicy client do not have this input
 options:

 Inline image 1

 This is my spicy client looks like:

 Inline image 2

 BTW, my spicy version is 0.9

 Thank you.

 Best Regards









 On Tue, Oct 22, 2013 at 8:42 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org  wrote:



 Hi,


 In this post Carlo Daffara explained in detail how to setup USB
 redirection:
 http://blog.opennebula.org/?p=5136



 Best regards



 --

 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple

 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula




 On Mon, Oct 21, 2013 at 5:41 AM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com  wrote:











 Hi all,

 My current configuration is using OpenNebula 4.2 and KVM as its hypervisor.

 May I know any options on enabling USB redirection and sound in Windows
 VMs?

 I have tried to use SPICE and spicy gtk-client.

 Is there any further configuration needed to enable the features?

 Thank you in advance.


 Best regards

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] USB Redirection and Sound Driver in OpenNebula's VMs

2013-10-20 Thread M Fazli A Jalaluddin
Hi all,

My current configuration is using OpenNebula 4.2 and KVM as its hypervisor.

May I know any options on enabling USB redirection and sound in Windows VMs?

I have tried to use SPICE and spicy gtk-client.

Is there any further configuration needed to enable the features?

Thank you in advance.

Best regards
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula and DHCP Server

2013-10-03 Thread M Fazli A Jalaluddin
Hi Valentin,

Your assumption is correct.

My method is to use OpenNebula Virtual Router by refer to this page [1] and
Openvswitch.

I have installed Openvswitch in the host and I was able to deploy VM in
isolated network.

I try to deploy the VirtualRouter in a virtual network.

My problem is, I cannot ping it and cannot SSH into it.

From the documentation, I understand that the VirtualRouter needs to be
deploy as a VM in a specific virtual network and it will act as the DHCP
for the VMs in the same virtual network.
I also have included the example context in the VirtualRouter template.

My VirtualRouter template:

NIC=[NETWORK_ID=0]
NIC=[NETWORK_ID=9,IP=10.0.10.1]
INPUT=[BUS=usb,TYPE=tablet]
MEMORY=512
OS=[ARCH=x86_64,BOOT=hd]
GRAPHICS=[LISTEN=0.0.0.0,TYPE=SPICE]
DISK=[IMAGE_ID=24]
CPU=0.5
CONTEXT=[TARGET=hdb,NETWORK=YES,FORWARDING=8080:10.0.10.2:80
10.0.10.2:22,DHCP=YES,PRIVNET=$NETWORK[TEMPLATE, NETWORK=\ovs
.10\],TEMPLATE=TEMPLATE,SSH_PUBLIC_KEY=ssh-rsa
B3NzaC1yc2EDAQABAAABAQCk+MN96iAn4uXRieJqyJG7WY32zW0LTXJBdISdjDLlp8QgFrxOdi9Aw2+eu+QSbVHwBsqOTimpOuzknisOhD4RPCTCT7G2/xaEUxWg0AB3ySrMZC3Dv5AgBy0CikFk50/CbwBtMjj2pRINm0axfP+cUT/VBhJRAiwVe2wsIOL/t2PGOy0O8Q2zjG1XfCVZPCYPOxj9Jk0y8DoMHp0ILA6gM7hGN4CKAQiXnbjv8WD9uFpRr7eruXQUdMuPn2wnyDMcCnzUEMtPUoPIy6gyAer3biRyEQkAXNJ+R1WXvX6Ah848MTyoICoA7KKIm9e3xe/SXMJxxOPHZLWSJSIRmhcd
hpc1@hpc-workstation1,PUBNET=$NETWORK[TEMPLATE, NETWORK=\Virtual Network
.113\],DNS=8.8.8.8 8.8.4.4]

May I know how to actually use the VirtualRouter?

[1] http://opennebula.org/documentation:rel4.2:router



On Thu, Oct 3, 2013 at 3:56 PM, Valentin Bud valentin@gmail.com wrote:

 Hello Fazli,

 I will make some assumptions about your infrastructure and provide
 possible approach(es).

 * Your KVM nodes have a single Ethernet interface, eth0, connected in a
   switch and a router used as the default gateway for the 192.168.1/24
   network,

 * Also the frontend is connected via the same switch with the rest of
   the nodes,

 * You have a br0 bridge with eth0 connected to it on each node and also
   the frontend,

 * Your frontend is also a node.

 If you have access to the router the simplest way would be to add an IP
 Address alias on the router interface as the default gateway for the new
 network.

 Configure a new network inside OpenNebula for that using the chosen
 subnet and the same bridge, br0.

 I don't know if you have any kind of security policies in place but be
 careful that in this way there is no Layer 2 separation and traffic
 between the two subnets is visible with tcpdump or other sniffers.

 The second approach I can think about is to have the frontend configured
 with the first IP Address from the new subnet on br0 and define a new
 network inside OpenNebula like the above.

 I don't know if this would work though.The NAT must be done for
 10.100.0/24 over
 192.168.1.X (the IP Address of frontend from 192.168.1/24 subnet). What
 I don't know is if iptables can MASQUERADE subnets on the same
 interface. Never tried it, it might work.

 Another approach that come to mind is to use the Virtual Router and
 define a new subnet on the same br0 bridge. The Virtual Router would
 have an interface connected to 192.168.1/24 network and one in the
 10.100.0/24 one. Setup it up to have the first IP Address from the
 10.100.0/24 network so it is the default gateway.

 The same applies, traffic over L2 is not separated in anyway.

 One more idea :-) would be to use Open vSwitch and GRE tunnels between
 the nodes. In this way you can use VLANs and transport over GRE between
 nodes. You can also setup IPSec encrypted GRE tunnels if you want
 security. It might be overkill but again it depends on your
 requirements.

 Another working setup I have done is to use tinc VPN [1] between nodes
 in switch mode and connect it to the Open vSwitch from each host as a
 port. This way traffic that travels between nodes is fully encrypted and
 you can use the same L2 network in a secure fashion.

 But maybe the best approach would be to have a second network card,
 eth1, in each node. Connect that second card in an Open vSwitch and use
 VLANs with the frontend being the router, or any other node for that
 matter.

 [1]: http://www.tinc-vpn.org/

 Good Will,
 Valentin

 On Thu, Oct 03, 2013 at 09:18:41AM +0800, M Fazli A Jalaluddin wrote:
  Hello Valentin,
 
  My setup for OpenNebula is 1 Front-end and several KVM nodes. The
 front-end
  and nodes are using IP address 192.168.1.xxx and are able to connect to
 the
  internet.
 
  The current networking setup for the VM is using dummy and bridge, br0.
 
  So, for the VM able to access to the internet, is by assigning them
  192.168.1.xxx IP addresses.
 
  If I have many VMs, IP address 192.168.1.xxx will be depleted.
 
  Hence, I need to make a new private network such as, 10.0.1.xxx which
 will
  map to only a single 192.168.1.xxx, e.g 192.168.1.5.
 
  Thank you.
 
  Regards,
  Fazli
 
 
  On Wed, Oct 2, 2013 at 7:21 PM, Valentin Bud

Re: [one-users] OpenNebula and DHCP Server

2013-10-02 Thread M Fazli A Jalaluddin
Hi,

Is there any tutorial on how to use the VirtualRouter?

I have download the image from Marketplace and Deploy a VM out of it.

Then what should I do?

My concern is that the Multiple VM will be able to be assigned a private IP
address (at the same time connect to the internet) while the KVM host is
using public IP address.

Thank you

On Wed, Oct 2, 2013 at 4:26 PM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 On Wed, Oct 2, 2013 at 6:56 AM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com wrote:

 Hi,

 May I know if the Virtual Router provide NAT?


 Yes, look for the Full Router section in the documentation:
 http://opennebula.org/documentation:rel4.2:router

 PS: Please reply also to the mailing list

 Regards.
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Wed, Oct 2, 2013 at 6:56 AM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com wrote:

 Hi,

 May I know if the Virtual Router provide NAT?

 Thank you


 On Thu, Sep 5, 2013 at 5:29 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org wrote:

 Hi,

 Actually, we do provide a Virtual Router appliance that contains a DHCP
 server. It knows the correct IP assigned by OpenNebula to each MAC.
 See http://opennebula.org/documentation:rel4.2:router

 Regards

 --
 Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin,
 24-26 September, 2013
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Thu, Sep 5, 2013 at 8:55 AM, Ionut Popovici io...@hackaserver.comwrote:

  No opennebula don't provide DHCP , you could use vlans to brake the
 network, and u can use contextualization to get the ip for virtual
 machines, if u use bridge mode is u should make rules in iptables(ebtables)
 for udp dst port 67  and allow only response from your DHCP server.
 Chears.
 On 9/5/2013 9:49 AM, Mohammad Fazli Ahmat Jalaluddin wrote:

 Hi guys,

 I just want to ask few questions.

 Does OpenNebula act as a DHCP Server and give IP address to the VM if
 it is not contextualized in the first place?

 When the VM is deploy (without context), e.g Ubuntu server default
 network configuration is using DHCP, and thus the IP for the VM is
 different with the one that OpenNebula uses from the vnet lease.

  Is the IP address in the VM is given by OpenNebula (act as the DHCP
 server) or given by our network existing DHCP server?

  The reason I'm asking is because our network is poisoned since there
 are 2 DHCP server. BTW, our OpenNebula configuration for the network is
 using dummy and using bridge in the frontend

  Thank you very much.

  Regards,
  Fazli


 ___
 Users mailing 
 listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula and DHCP Server

2013-10-02 Thread M Fazli A Jalaluddin
Hello Valentin,

My setup for OpenNebula is 1 Front-end and several KVM nodes. The front-end
and nodes are using IP address 192.168.1.xxx and are able to connect to the
internet.

The current networking setup for the VM is using dummy and bridge, br0.

So, for the VM able to access to the internet, is by assigning them
192.168.1.xxx IP addresses.

If I have many VMs, IP address 192.168.1.xxx will be depleted.

Hence, I need to make a new private network such as, 10.0.1.xxx which will
map to only a single 192.168.1.xxx, e.g 192.168.1.5.

Thank you.

Regards,
Fazli


On Wed, Oct 2, 2013 at 7:21 PM, Valentin Bud valentin@gmail.com wrote:

 Hello Fazli,

 The Virtual Router documentation [1] is definitely a good place to start.


 On Wed, Oct 2, 2013 at 1:57 PM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com wrote:

 Hi,

 Is there any tutorial on how to use the VirtualRouter?

 I have download the image from Marketplace and Deploy a VM out of it.

 Then what should I do?

 My concern is that the Multiple VM will be able to be assigned a private
 IP address (at the same time connect to the internet) while the KVM host is
 using public IP address.


 I don't really understand your concern. Could you be more specific?

 Yes, every VM will get a private IP address from the Router in case you
 connect it to the private
 network. If you connect the VM to the public network too you'd have to
 setup the IP address on the VM.
 If context package is installed in the VM it'll autoconfigure the public
 IP also.

 [1]: http://opennebula.org/documentation:rel4.2:router

 Good Will,



 Thank you

 On Wed, Oct 2, 2013 at 4:26 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org wrote:

 Hi,

 On Wed, Oct 2, 2013 at 6:56 AM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com wrote:

 Hi,

 May I know if the Virtual Router provide NAT?


 Yes, look for the Full Router section in the documentation:
 http://opennebula.org/documentation:rel4.2:router

 PS: Please reply also to the mailing list

 Regards.
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Wed, Oct 2, 2013 at 6:56 AM, M Fazli A Jalaluddin 
 fazli.jalalud...@gmail.com wrote:

 Hi,

 May I know if the Virtual Router provide NAT?

 Thank you


 On Thu, Sep 5, 2013 at 5:29 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org wrote:

 Hi,

 Actually, we do provide a Virtual Router appliance that contains a
 DHCP server. It knows the correct IP assigned by OpenNebula to each MAC.
 See http://opennebula.org/documentation:rel4.2:router

 Regards

 --
 Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin,
 24-26 September, 2013
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Thu, Sep 5, 2013 at 8:55 AM, Ionut Popovici 
 io...@hackaserver.comwrote:

  No opennebula don't provide DHCP , you could use vlans to brake the
 network, and u can use contextualization to get the ip for virtual
 machines, if u use bridge mode is u should make rules in 
 iptables(ebtables)
 for udp dst port 67  and allow only response from your DHCP server.
 Chears.
 On 9/5/2013 9:49 AM, Mohammad Fazli Ahmat Jalaluddin wrote:

 Hi guys,

 I just want to ask few questions.

 Does OpenNebula act as a DHCP Server and give IP address to the VM if
 it is not contextualized in the first place?

 When the VM is deploy (without context), e.g Ubuntu server default
 network configuration is using DHCP, and thus the IP for the VM is
 different with the one that OpenNebula uses from the vnet lease.

  Is the IP address in the VM is given by OpenNebula (act as the DHCP
 server) or given by our network existing DHCP server?

  The reason I'm asking is because our network is poisoned since there
 are 2 DHCP server. BTW, our OpenNebula configuration for the network is
 using dummy and using bridge in the frontend

  Thank you very much.

  Regards,
  Fazli


 ___
 Users mailing 
 listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Valentin Bud
 http://databus.pro | valen...@databus.pro

___
Users mailing list
Users@lists.opennebula.org
http