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

Jaime Melis jmelis at c12g.com
Tue Dec 3 03:09:37 PST 2013


Hi,

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

Yes, this shouldn't be a problem. With iptables you can open a range and
allow only connections from the frontend.

cheers,
Jaime


On Wed, Nov 13, 2013 at 2:22 AM, 염재근 <jaekeun0208 at gmail.com> wrote:

> 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
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
C12G Labs - Flexible Enterprise Cloud Made Simple
http://www.c12g.com | jmelis at c12g.com

--

Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G's thanks you for your
cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131203/1fdf95ac/attachment-0001.htm>


More information about the Users mailing list