[one-users] XEN Assigned IP is not available in VM
Documented Facts
documentedfacts at gmail.com
Mon Oct 28 23:31:40 PDT 2013
Os is Ubuntu 12.04. During installation I choose cloud images and it's a PV
guest
Contextualization packages was downloaded with this URL
http://dev.opennebula.org/attachments/download/721/one-context_4.2.1.deb.
So it must be 4.2.
If I use bellow part with same image without OpenNebula and on a XEN
through a .xen file VM got the assigned IP address by me. in this case
10.*.*.163.
Even though VM show different IP address to above IP sunstone show that VM
ip is 10.*.*.163. I think contextualization package reset the IP.
vif = [
' mac=02:00:0a:16:81:a3,ip=10.*.*.163,bridge=xenbr0',
]
On Mon, Oct 28, 2013 at 11:08 PM, Carlos Martín Sánchez <
cmartin at opennebula.org> wrote:
> Hi,
>
> On Mon, Oct 28, 2013 at 6:27 PM, Documented Facts <
> documentedfacts at gmail.com> wrote:
>
> But I have already installed Context DEB packages and contextualization
>> ISO through the template by using sun stone. disk.2 is the Contexulization
>> ISO
>>
>
> That's something worth mentioning in the first email ;)
>
> What OS is your guest? And the version of the contextualization packages?
>
> Regards
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
> On Mon, Oct 28, 2013 at 6:27 PM, Documented Facts <
> documentedfacts at gmail.com> wrote:
>
>> But I have already installed Context DEB packages and contextualization
>> ISO through the template by using sun stone. disk.2 is the Contexulization
>> ISO
>>
>> disk = [
>> 'file:/var/lib/one//datastores/0/36/disk.0,xvda,w',
>> 'file:/var/lib/one//datastores/0/36/disk.1,xvdc,w',
>> 'file:/var/lib/one//datastores/0/36/disk.2,xvdb,r',
>> ]
>>
>>
>>
>> On Mon, Oct 28, 2013 at 10:32 PM, Carlos Martín Sánchez <
>> cmartin at opennebula.org> wrote:
>>
>>> Hi,
>>>
>>> In OpenNebula the guests can configure their IP via contextualization,
>>> or deploying the virtual router dhcp appliance. The previous links should
>>> get you started.
>>>
>>> Cheers
>>> --
>>> Carlos Martín, MSc
>>> Project Engineer
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>>>
>>>
>>> On Mon, Oct 28, 2013 at 5:13 PM, Documented Facts <
>>> documentedfacts at gmail.com> wrote:
>>>
>>>> Can I get a solution to my problem or any path to find solution for
>>>> that ?
>>>>
>>>>
>>>> On Mon, Oct 28, 2013 at 4:50 PM, Carlos Martín Sánchez <
>>>> cmartin at opennebula.org> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici <
>>>>> ionut at hackaserver.com> wrote:
>>>>>
>>>>>> Use contextualization .. if not make and dhcp server that will use
>>>>>> the mac address as opennebula use ..
>>>>>> the end of max is the ip adress in hexa
>>>>>> 10.0.0.1
>>>>>> is like 02:00:0a:00:00:01 so u can make your own lesses :D
>>>>>>
>>>>>
>>>>> I want to add to Ionut's answer that contextualization is explained
>>>>> here:
>>>>> http://opennebula.org/documentation:rel4.2:context_overview
>>>>>
>>>>> And that we already provide a dhcp server appliance, you don't need to
>>>>> make your own:
>>>>> http://opennebula.org/documentation:rel4.2:router
>>>>>
>>>>> Best regards
>>>>> --
>>>>> Carlos Martín, MSc
>>>>> Project Engineer
>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>>>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>>>>>
>>>>>
>>>>> On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici <
>>>>> ionut at hackaserver.com> wrote:
>>>>>
>>>>>> Use contextualization .. if not make and dhcp server that will use
>>>>>> the mac address as opennebula use ..
>>>>>> the end of max is the ip adress in hexa
>>>>>> 10.0.0.1
>>>>>> is like 02:00:0a:00:00:01 so u can make your own lesses :D
>>>>>>
>>>>>> On 10/27/2013 11:58 AM, Documented Facts wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I have assigned vm a IP address with this form 10.*.*.163. But when
>>>>>> I see ip by using ifconfig totally different IP is displayed.
>>>>>>
>>>>>> The deployment.0 file show the correct ip which I want in vif
>>>>>> session. if I run same image through xen by using .xen file with the bellow
>>>>>> vif. It show the ip for that VM and it let ping from outside. Can you give
>>>>>> me advice to overcome this problem. I don't have install VNC since I can
>>>>>> access the XEN hosts.
>>>>>>
>>>>>> name = 'one-36'
>>>>>> #O CPU_CREDITS = 180
>>>>>> memory = '256'
>>>>>> bootloader = "/usr/bin/pygrub"
>>>>>> disk = [
>>>>>> 'file:/var/lib/one//datastores/0/36/disk.0,xvda,w',
>>>>>> 'file:/var/lib/one//datastores/0/36/disk.1,xvdc,w',
>>>>>> 'file:/var/lib/one//datastores/0/36/disk.2,xvdb,r',
>>>>>> ]
>>>>>> vif = [
>>>>>> ' mac=02:00:0a:16:81:a3,ip=10.*.*.163,bridge=xenbr0',
>>>>>> ]
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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/20131029/56d0251a/attachment-0002.htm>
More information about the Users
mailing list