------=_Part_13272093_503425201.1375960091801
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
----- Original Message -----
From: "bigclouds" <bigclouds(a)163.com>
To: "Omer Frenkel" <ofrenkel(a)redhat.com>
Cc: "engine-devel" <engine-devel(a)ovirt.org>
Sent: Thursday, August 8, 2013 1:12:29 PM
Subject: Re:Re: [Engine-devel] does now engine support join vm to AD
thanks, is it the best way? if is it possiable to add windows vm to
domain
automaticly without a reboot?
look at my thought. if can make it true.
1.before start vm, inject domain infomations into guest-image(libguestfs),
the another side ,it is DC(domain controller), we create matching info(i do
not know exactly what is that info, ad exchange with a host),
when start vm, it joins domain automaticly, user can login using domain
account.
why it is realizable, because even you use sysprep, a reboot is
needed, so
they can connect seamless if they are prepared corrently?
i have try, but failed, i did not know how to prepare DC info.
thanks
i don't know much about using libguestfs to manipulate a running vm, and if it works.
afair, when adding windows machine to a domain (from within windows), windows requires
reboot so...
i might be wrong here.
so for your question, not sure its the best way, but this is what i know.
At 2013-08-08 13:57:57,"Omer Frenkel"
<ofrenkel(a)redhat.com> wrote:
> ----- Original Message -----
> > From: "bigclouds" < bigclouds(a)163.com >
>
> > To: "engine-devel" < engine-devel(a)ovirt.org >
>
> > Sent: Thursday, August 8, 2013 3:36:35 AM
>
> > Subject: [Engine-devel] does now engine support join vm to AD
>
> > hi,all
>
> > does now engine support join vm to AD?
>
> > on UI there is a configuration option for windows domain, how to use it?
>
> when creating template with windows os, y! ou need to
'seal' it somehow for
> sysprep,
> then you need to set the domain when creating vm from the template
> (also you can set the windows domain on the template to be set by default
> to
> vms created for it)
> and when you run the vm for the first time, the windows sysprep takes place
> and the domain should be set there.
> make sure to select the right os on the template/vm since the sysprep is
> different between windows versions.
> for linux im not sure, it might be possible with cloud init,
with
> user-scripts, once we have this option (currently not implemented)
> > thanks.
>
> > ___________! ____________________________________
>
> > Engine-devel mailing list
>
> > Engine-devel(a)ovirt.org
>
> >
http://lists.ovirt.org/mailman/listinfo/engine-devel
>
------=_Part_13272093_503425201.1375960091801
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: times new roman, new york,
times, se=
rif; font-size: 12pt; color:
#000000"><div><br></div><div><br></div><hr
id=
=3D"zwchr"><blockquote style=3D"border-left:2px solid
#1010FF;margin-left:5=
px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-de=
coration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Fr=
om: </b>"bigclouds"
&lt;bigclouds(a)163.com&gt;<br><b>To: </b>"Omer Frenkel"
=
&lt;ofrenkel(a)redhat.com&gt;<br><b>Cc:
</b>"engine-devel" <engine-devel@o=
virt.org><br><b>Sent: </b>Thursday, August 8, 2013 1:12:29
PM<br><b>Subj=
ect: </b>Re:Re: [Engine-devel] does now engine support join vm to
AD<br><di=
v><br></div><div
style=3D"line-height:1.7;color:#000000;font-size:14px;font=
-family:arial">thanks, is it the best way? if is it possiable to add window=
s vm to domain automaticly without a reboot?<br>look at my thought. if =
; can make it true.<br>1.before start vm, inject domain infomations into gu=
est-image(libguestfs), the another side ,it is DC(domain controller), we cr=
eate <span size=3D"-1">matching info(i do not know exactly what
is th=
at info, ad exchange with a host),<br>when start vm, it joins domain automa=
ticly, user can login using domain account.<br><div><br></div>why
it is </s=
pan><span size=3D"-1">realizable, because even you use sysprep, a
reboot is=
needed, so they can connect </span>seamless if they are prepared corrently=
?<br><div><br></div>i have try, but failed, i did not know how to
prepare D=
C
info.<br>thanks<br><div><br></div></div></blockquote><div>i
don't know mu=
ch about using libguestfs to manipulate a running vm, and if it works.<br><=
/div><div>afair, when adding windows machine to a domain (from within windo=
ws), windows requires reboot so...<br></div><div>i might be wrong
here.<br>=
</div><div><br></div><div>so for your question, not sure its
the best way, =
but this is what i know.<br></div><blockquote style=3D"border-left:2px
soli=
d #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;fo=
nt-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif=
;font-size:12pt;"><div
style=3D"line-height:1.7;color:#000000;font-size:14p=
x;font-family:arial"><div><br></div><br><div><br></div><br>At
2013-08-08 13=
:57:57,"Omer Frenkel" <ofrenkel@redhat.com>
wrote:<br><bloc=
kquote id=3D"isReplyCon!
tent" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: =
#ccc 1px solid"><div style=3D"font-family: times new roman, new york,
times=
, serif; font-size: 12pt; color:
#000000"><div><br></div><div><br></div><hr=
id=3D"zwchr"><blockquote style=3D"border-left:2px solid
#1010FF;margin-lef=
t:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text=
-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b=
From: </b>"bigclouds" <<a
href=3D"mailto:bigclouds@163.com" target=3D"_=
blank">bigclouds(a)163.com</a>&gt;<br><b>To:
</b>"engine-devel" <<a href=
=3D"mailto:engine-devel@ovirt.org"
target=3D"_blank">engine-devel(a)ovirt.org=
</a>><br><b>Sent: </b>Thursday, August 8, 2013 3:36:35
AM<br><b>Subject:=
</b>[Engine-devel] does now engine support join vm to
AD<br><div><br></div=
<div
style=3D"line-height:1.7;color:#000000;font-size:14px;font-family:ari=
al"> hi,all<br>does now engine support join vm to
AD?<br>on UI there i=
s a configuration option for windows domain, how to use
it?<br></div></bloc=
kquote><div>when creating template with windows os, y!
ou need to 'seal' it somehow for sysprep,<br></div><div>then
you need to s=
et the domain when creating vm from the template<br></div><div>(also you
ca=
n set the windows domain on the template to be set by default to vms create=
d for it)<br></div><div>and when you run the vm for the first time, the
win=
dows sysprep takes place and the domain should be set
there.<br></div><div>=
make sure to select the right os on the template/vm since the sysprep is di=
fferent between windows
versions.<br></div><div><br></div><div>for linux im=
not sure, it might be possible with cloud init, with user-scripts, once we=
have this option (currently not implemented)<br></div><blockquote
style=3D=
"border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;=
font-weight:normal;font-style:normal;text-decoration:none;font-family:Helve=
tica,Arial,sans-serif;font-size:12pt;"><div
style=3D"line-height:1.7;color:=
#000000;font-size:14px;font-family:arial">thanks.<br></div><br><div><br></d=
iv><br>___________!
____________________________________<br>Engine-devel mailing list<br><a
hr=
ef=3D"mailto:Engine-devel@ovirt.org"
target=3D"_blank">Engine-devel(a)ovirt.o=
rg</a><br>http://lists.ovirt.org/mailman/listinfo/engine-deve...
ote><div><br></div></div></blockquote></div><br><div><br></div></blockquote=
<div><br></div></div></body></html>
------=_Part_13272093_503425201.1375960091801--