[one-users] OpenNebula Windows Server 2008 R2.

kiran ranjane kiran.ranjane at gmail.com
Thu Aug 21 09:53:31 PDT 2014


Okay, so you mean to say that once the script is copied and executed, I
need to remove context.ps1 from context cd?



On Thu, Aug 21, 2014 at 10:06 PM, Javier Fontan <jfontan at opennebula.org>
wrote:

> You have to take into account that the context CD is not regenerated
> after the VM is created so attached nics can not be automatically
> configured.
>
> On Thu, Aug 21, 2014 at 6:17 PM, kiran ranjane <kiran.ranjane at gmail.com>
> wrote:
> > Hello Andre,
> >
> > Windows machine boot fine and I am able to login.
> > Issue is with ip contextualization where the IP is different inside the
> VM
> > and different in Sunstone.
> >
> > I followed Windows Contextualization 4.8 documentation
> > -- Copied .vbs script to C: and enable it as a startup script.
> > -- Include context.ps1 into the CONTEXT files through Sunstone
> > -- rebooted the VM
> > -- After reboot it did not assign the ip that was displayed in sunstone.
> > -- Then I deleted .opennebula-context and rebooted again and it took
> correct
> > Ip that was assigned in Sunstone.
> >
> > -- However when I hot added another nic to the VM it did not assign the
> ip
> > as it was in sunstone instead it took different ip from DHCP.
> > -- I delete the .opennebula-context file and rebooted it again but first
> nic
> > got correct IP but the second nic did not.
> >
> > Regards
> > Kiran Ranjane
> >
> >
> >
> >
> > On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro <andremonteiro at ua.pt>
> wrote:
> >>
> >> Hi Kiran,
> >>
> >>
> >>
> >> Can you provide more details on the your problem? I need to know if the
> >> problem is the machine not booting, not starting windows or not
> executing
> >> the script.
> >>
> >>
> >>
> >> --
> >>
> >> André Monteiro
> >>
> >> ________________________________
> >> De: kiran ranjane <kiran.ranjane at gmail.com>
> >> Enviado: 21 de agosto de 2014 15:55
> >> Para: Javier Fontan
> >> Cc: André Monteiro; Users OpenNebula
> >>
> >> Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
> >>
> >> Hi Javier,
> >>
> >> I downloaded context from the latest 4.8 version documentation. I tried
> >> Linux version both .deb and .rmp on ubuntu and centos and they are
> working
> >> fine but having trouble with windows context.
> >>
> >> Regards
> >> Kiran Ranjane
> >>
> >>
> >> On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan <jfontan at opennebula.org>
> >> wrote:
> >>>
> >>> Which version of the context scripts are you using? I've been using
> >>> the latest version from the documentation and work OK for me.
> >>>
> >>>
> >>>
> http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html
> >>>
> >>> On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane <
> kiran.ranjane at gmail.com>
> >>> wrote:
> >>> > Hello Andre,
> >>> >
> >>> > I am also facing the same issue while contextualization Windows 2008
> R2
> >>> > virtual machine. As said above, first time it does not work and I
> need
> >>> > to
> >>> > delete .opennebula from c drive and then restart the VM and it works,
> >>> > However if I add second nic interface it does not contextualize even
> >>> > after
> >>> > deleting .opennebula and re-running the the vbs scripts.
> >>> >
> >>> > Windows Version - Windows Server 2008 R2 Enterprise
> >>> > WMI - 6.1.7600.16385
> >>> > Powershell - 2.0
> >>> >
> >>> > Regards
> >>> > Kiran Ranjane
> >>> >
> >>> >
> >>> > On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro <andremonteiro at ua.pt
> >
> >>> > wrote:
> >>> >>
> >>> >> Hi Leszek,
> >>> >>
> >>> >>
> >>> >>
> >>> >> Please send me details about your Windows version, Powershell and
> WMI,
> >>> >> it
> >>> >> may be a problem of  versions. Executing the file on Powershell ISE
> >>> >> returns
> >>> >> any error?
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >>
> >>> >> André Monteiro
> >>> >>
> >>> >> ________________________________
> >>> >> De: Jaime Melis <jmelis at opennebula.org>
> >>> >> Enviado: terça-feira, 29 de Abril de 2014 10:45
> >>> >> Para: Leszek Master
> >>> >> Cc: Users OpenNebula; André Monteiro
> >>> >> Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
> >>> >>
> >>> >> Hi Leszek,
> >>> >>
> >>> >> apologies with the delay. We've been busy with the release. Does the
> >>> >> hostname change with a reboot?
> >>> >>
> >>> >> Does anyone have expertise changing the windows hostname without a
> >>> >> reboot
> >>> >> from the powershell CLI? these ares the lines that change the
> >>> >> hostname:
> >>> >>
> >>> >>
> https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134
> >>> >>
> >>> >> Adding Andé Monteiro, the original author of that line, to the
> >>> >> conversation.
> >>> >>
> >>> >> cheers,
> >>> >> Jaime
> >>> >>
> >>> >>
> >>> >> On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master <keksior at gmail.com>
> >>> >> wrote:
> >>> >>>
> >>> >>> Also now i see that it do everything beside changing hostname. The
> >>> >>> Hostname stays unchanged :(
> >>> >>>
> >>> >>>
> >>> >>> 2014-04-23 16:07 GMT+02:00 Leszek Master <keksior at gmail.com>:
> >>> >>>
> >>> >>>> I've got "VM already contextualized" but if i delete .opennebula
> >>> >>>> file
> >>> >>>> from C: and rerun this, it works 100% good. So why it doesn't work
> >>> >>>> in the
> >>> >>>> first time? Any idea how to track this down?
> >>> >>>>
> >>> >>>> Also how to delete the cd-rom permamently after contextualizing my
> >>> >>>> VM?
> >>> >>>>
> >>> >>>>
> >>> >>>> 2014-04-23 16:03 GMT+02:00 Jaime Melis <jmelis at opennebula.org>:
> >>> >>>>
> >>> >>>>> Hi Leszek,
> >>> >>>>>
> >>> >>>>> have you tried running the context.ps1 manually?
> >>> >>>>>
> >>> >>>>> (inside the PowerShell terminal)
> >>> >>>>> d:
> >>> >>>>> Set-ExecutionPolicy unrestricted
> >>> >>>>> Invoke-Expression context.ps1
> >>> >>>>>
> >>> >>>>> what happens then?
> >>> >>>>>
> >>> >>>>> cheers,
> >>> >>>>> Jaime
> >>> >>>>>
> >>> >>>>>
> >>> >>>>> On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master <
> keksior at gmail.com>
> >>> >>>>> wrote:
> >>> >>>>>>
> >>> >>>>>> It doesn't contextualize it for me - only the RDP enable
> working.
> >>> >>>>>>
> >>> >>>>>> Also i would like to know how to deattach permamently context
> >>> >>>>>> cd-rom
> >>> >>>>>> from a VM, there is my CONTEXT variables i don't want to be seen
> >>> >>>>>> by
> >>> >>>>>> end-user. Is there any way to do that?
> >>> >>>>>>
> >>> >>>>>>
> >>> >>>>>> 2014-04-22 10:34 GMT+02:00 Jaime Melis <jmelis at opennebula.org>:
> >>> >>>>>>>
> >>> >>>>>>> Hi Leszek,
> >>> >>>>>>>
> >>> >>>>>>> in case you haven't seen this:
> >>> >>>>>>> http://opennebula.org/windows-contextualization/
> >>> >>>>>>>
> >>> >>>>>>> cheers,
> >>> >>>>>>> Jaime
> >>> >>>>>>>
> >>> >>>>>>>
> >>> >>>>>>> On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis
> >>> >>>>>>> <jmelis at opennebula.org>
> >>> >>>>>>> wrote:
> >>> >>>>>>>>
> >>> >>>>>>>> Hi Leszek,
> >>> >>>>>>>>
> >>> >>>>>>>> we are  currently working on a contextualization guide for
> >>> >>>>>>>> Windows.
> >>> >>>>>>>> We will probably release it next week.
> >>> >>>>>>>>
> >>> >>>>>>>> Regards,
> >>> >>>>>>>> Jaime
> >>> >>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>> On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master
> >>> >>>>>>>> <keksior at gmail.com>
> >>> >>>>>>>> wrote:
> >>> >>>>>>>>>
> >>> >>>>>>>>> I've got problem with running Windows Server 2008 R2 VM's in
> >>> >>>>>>>>> OpenNebula. It doesn't get contexted. I tryied to use manual:
> >>> >>>>>>>>>
> >>> >>>>>>>>>
> http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
> >>> >>>>>>>>> but it doesn't work in my environment. The scripts is on
> >>> >>>>>>>>> context cd but the
> >>> >>>>>>>>> VM doesn;t get the ip, hostname and user account. Can anyone
> >>> >>>>>>>>> help me get
> >>> >>>>>>>>> this working?
> >>> >>>>>>>>>
> >>> >>>>>>>>> _______________________________________________
> >>> >>>>>>>>> Users mailing list
> >>> >>>>>>>>> Users at lists.opennebula.org
> >>> >>>>>>>>>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>> >>>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>> --
> >>> >>>>>>>> Jaime Melis
> >>> >>>>>>>> Project Engineer
> >>> >>>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple
> >>> >>>>>>>> www.OpenNebula.org | jmelis at opennebula.org
> >>> >>>>>>>
> >>> >>>>>>>
> >>> >>>>>>>
> >>> >>>>>>>
> >>> >>>>>>> --
> >>> >>>>>>> Jaime Melis
> >>> >>>>>>> Project Engineer
> >>> >>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple
> >>> >>>>>>> www.OpenNebula.org | jmelis at opennebula.org
> >>> >>>>>>
> >>> >>>>>>
> >>> >>>>>>
> >>> >>>>>> _______________________________________________
> >>> >>>>>> Users mailing list
> >>> >>>>>> Users at lists.opennebula.org
> >>> >>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>> >>>>>>
> >>> >>>>>
> >>> >>>>>
> >>> >>>>>
> >>> >>>>> --
> >>> >>>>> Jaime Melis
> >>> >>>>> Project Engineer
> >>> >>>>> OpenNebula - Flexible Enterprise Cloud Made Simple
> >>> >>>>> www.OpenNebula.org | jmelis at opennebula.org
> >>> >>>>
> >>> >>>>
> >>> >>>
> >>> >>>
> >>> >>> _______________________________________________
> >>> >>> Users mailing list
> >>> >>> Users at lists.opennebula.org
> >>> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>> >>>
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Jaime Melis
> >>> >> Project Engineer
> >>> >> OpenNebula - Flexible Enterprise Cloud Made Simple
> >>> >> www.OpenNebula.org | jmelis at opennebula.org
> >>> >>
> >>> >> _______________________________________________
> >>> >> Users mailing list
> >>> >> Users at lists.opennebula.org
> >>> >> http://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
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Javier Fontán Muiños
> >>> Developer
> >>> OpenNebula - Flexible Enterprise Cloud Made Simple
> >>> www.OpenNebula.org | @OpenNebula | github.com/jfontan
> >>
> >>
> >
>
>
>
> --
> Javier Fontán Muiños
> Developer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140821/e5deaa92/attachment-0001.htm>


More information about the Users mailing list