[one-users] Mark an IP as reserved

Carlos Martín Sánchez cmartin at opennebula.org
Mon Oct 17 03:25:03 PDT 2011


Hi,

The add/remove leases functionality is only available for FIXED networks. If
you need a quick but not really nice solution, you can create a new dummy
host (using the im_, tm_ and vmm_dummy drivers) and deploy there a VM with
one NIC for each IP you need to "reserve":

NIC = [NETWORK_ID = <ID>, IP = <IP> ].

You don't need to use any DISK.

Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org


On Wed, Oct 5, 2011 at 12:13 AM, Héctor Sanjuán <hsanjuan at opennebula.org>wrote:

> Hi, if on OpenNebula 3 you can try the onevm rmlease command:
>
> http://opennebula.org/documentation:rel3.0:vgg#adding_and_removing_leases
>
> Hector
>
> El 28/09/11 09:49, Ruben Diez escribió:
> > Hi:
> >
> > We had defined a OpenNebula network of ranged type
> >
> > [.....]
> > NETWORK_ADDRESS=xx.xx.xx.128
> > NETWORK_SIZE=125
> > TYPE=RANGED
> > [.....]
> >
> > The net have a lot of vms running with it.....
> >
> > Now, some machine outside our OpenNebula scope has been installed, with
> > a few ips assigned in the range of the vnet....
> >
> > Are there any way of mark some of the ips in the vnet as reserved or
> > used, so no new VM could use it??
> >
> > As i said, there are a lot of VM running associated to this vnet, so it
> > is difficult to stop all them and redefine the vnet....
> >
> >
> > Regards.
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
>
> --
> Héctor Sanjuán
> OpenNebula Sunstone Developer
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111017/2cea83ff/attachment-0003.htm>


More information about the Users mailing list