[one-users] problem with vifs

Tino Vazquez tinova at opennebula.org
Fri Mar 8 08:00:41 PST 2013


Hi Angel,

There are two network models for ESX [1]

  1) Pre-defined network model: The BRIDGE of the vnet has to point to a
pre-created port group. The VMs with NICs in that vnet, will get their NICs
binded to that port group. This solution doesn't isolate one vnet from
another

  2) Dynamic network model: The BRIDGE of the vnet has to point to a
vSwitch. A port group will be created by ONE to channel all the traffic of
the VM NICs attached to this vnet. This will effectively isolates one vnet
from another. You will need the esxcli installed in the ONE front-end.

The difference between this two is that, when you create the host in ONE
with "onehost":

onehost create esx1 -i im_vmware -v vmm_vmware -n dummy       # for 1)
onehost create esx1 -i im_vmware -v vmm_vmware -n vmware       # for 2)

Hope it helps,

-Tino

[1] http://opennebula.org/documentation:rel3.8:vmwarenet#usage

--
Constantino Vázquez Blanco, PhD, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Thu, Mar 7, 2013 at 8:25 PM, <ahernandez at tesla.cujae.edu.cu> wrote:

> Tino, I think that I detect a problem with documentation of OpenNebula,
> because in the http://opennebula.org/**documentation:rel3.8:vmwarenet<http://opennebula.org/documentation:rel3.8:vmwarenet>this writing
>
> he NICs of the VM in this Virtual Network will be attached to the
> specified port group in the vSphere host. For example:
>
> NAME    = "pre-defined_vmware_net"
> TYPE    = "fixed"
> BRIDGE  = "VM Network"  # This is the port group
>
> LEASES = ...
>
> BUT WHEN YOU SETTING A NETWORK, THE BRIGE IS USED HOW VSWITCH, NOT HOW
> PORT GROUP, FOR THIS I PRESENTED PROBLEMS WITH NETWORT DRIVERS, BUT I FIX
> THIS, USING BRIDGE HOW VSWITCH NOT PORT GROUP.... FOR THIS I THINK THAT
> OPENNEBULA NEED CHANGE THE DOCUMENTATION AND WRITE:
>
> he NICs of the VM in this Virtual Network will be attached to the
> specified port group in the vSphere host. For example:
>
> NAME    = "pre-defined_vmware_net"
> TYPE    = "fixed"
> BRIDGE  = "VM Network"  # This is the vswitch
>
> ..... IN ADITION, I FIX THE PROBLEM WITH NETWORK DRIVERS WITH THIS CHANGE,
> BUT I PRESENT OTHER PROBLEM:
>
> THIS IS THE LOG:
>
> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28 pre:
> Executed "/usr/bin/vicfg-vswitch --username=oneadmin --password=DataCimex
> --server=das-vsilo23.cimex.**com.cu <http://das-vsilo23.cimex.com.cu>--check-pg one-pg-4 vSwitch0".
>
> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28 ExitCode: 0
>
> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28 Successfully
> execute network driver operation: pre.
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 Command
> execution fail: /var/lib/one/remotes/vmm/**vmware/deploy
> /var/lib/one/28/deployment.2 das-vsilo23.cimex.com.cu 28
> das-vsilo23.cimex.com.cu
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG E 28 deploy:
> Error executing: virsh -c esx://das-vsilo23.cimex.com.**
> cu/?no_verify=1\&auto_answer=1<http://das-vsilo23.cimex.com.cu/?no_verify=1%5C&auto_answer=1>define /var/lib/one/28/deployment.2 err: ExitCode: 1
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 out:
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 error:
> Failed to define domain from /var/lib/one/28/deployment.2
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 error:
> internal error HTTP response code 500 for upload to '
> https://das-vsilo23.cimex.**com.cu:443/folder/28%2fdisk%**
> 2e0/one%2d28.vmx?dcPath=ha%**2ddatacenter&dsName=0<https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0>
> '
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 ExitCode: 255
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 Failed to
> execute virtualization driver operation: deploy.
>
> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: DEPLOY FAILURE 28 -
>
>
> THE MAJOR ERROR IS:
> error: internal error HTTP response code 500 for upload to '
> https://das-vsilo23.cimex.**com.cu:443/folder/28%2fdisk%**
> 2e0/one%2d28.vmx?dcPath=ha%**2ddatacenter&dsName=0<https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0>
> '
>
> ONE IDEA??????
>
> REGARDS
> aNGEL
>
>
>
>
> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
> diciembre de 1964 | http://cujae.edu.cu
>
> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130308/8ec3cc2c/attachment-0002.htm>


More information about the Users mailing list