[one-users] how to reset VM ID???

염재근 jaekeun0208 at gmail.com
Tue Nov 12 17:22:40 PST 2013


should I open all port?? from 5900 to 65535??




2013/11/12 Javier Fontan <jfontan at opennebula.org>

> There's not an way to reset ID and we discourage it. The code to
> generate the VNC port is
>
> --8<------
> int limit = 65535;
> oss << ( base_port + ( oid % (limit - base_port) ));
> ------>8--
>
> base_port is 5900 by default. You should not have problems with the
> port as it goes back to 5900 after reaching 65535.
>
>
>
> On Tue, Nov 12, 2013 at 9:35 AM, 염재근 <jaekeun0208 at gmail.com> wrote:
> > Dear All
> >
> > how to reset VM ID??
> >
> > I already exceed over 10400.....
> >
> > actually, I want to control vnc port.
> > I saw the VM log file in qemu. It show me that the vnc port is same with
> VM
> > ID.
> >
> > If I specify the vnc port in opennebula template, I can`t make 2 more VMs
> > with same template because of vnc port duplication.
> >
> > thanks :D
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
>
>
> --
> Javier Fontán Muiños
> Developer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131113/77c99a89/attachment-0002.htm>


More information about the Users mailing list