------=_Part_5007005_725289455.1481114687402
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
No, I did not tested that.=20
I did not renamed my HE.=20
Thanks in advance.=20
Best regards,=20
Nikolai=20
____________________=20
Nikolai Sednev=20
Senior Quality Engineer at Compute team=20
Red Hat Israel=20
34 Jerusalem Road,=20
Ra'anana, Israel 43501=20
Tel: +972 9 7692043=20
Mobile: +972 52 7342734=20
Email: nsednev(a)redhat.com=20
IRC: nsednev=20
----- Original Message -----
From: "Yedidyah Bar David" <didi(a)redhat.com>=20
To: "Luca 'remix_tj' Lorenzetto" <lorenzetto.luca(a)gmail.com>,
"Nikolai Sedn=
ev" <nsednev(a)redhat.com>=20
Cc: "users" <users(a)ovirt.org>=20
Sent: Wednesday, December 7, 2016 1:06:00 PM=20
Subject: Re: [ovirt-users] Renaming hosted engine=20
On Wed, Dec 7, 2016 at 12:20 PM, Luca 'remix_tj' Lorenzetto=20
<lorenzetto.luca(a)gmail.com> wrote:=20
Hello,=20
=20
On Wed, Dec 7, 2016 at 10:53 AM, Yedidyah Bar David <didi(a)redhat.com> wro=
te:=20
[cut]=20
>=20
> If you have another host, you can migrate all VMs to the other host,=20
> move current to maintenance, remove it, then add it with the new name=20
> you want. You might have to also clean up the shared meta-data, see:=20
>=20
>
https://www.ovirt.org/documentation/how-to/hosted-engine/#remove-old-hos=
t-from-the-metadata-whiteboard=20
>=20
=20
from your response i understood that i was using the wrong terms for=20
explaining my need.=20
=20
What i'm willing to change the fqdn of the engine vm running on hosted=20
engine. I've seen that the deployment procedure asked for it, so i=20
think somewhere this value is used for configurations.=20
Indeed. I do not think we have a tested procedure for renaming=20
a hosted-engine.=20
The rename tool [1] will not handle this.=20
Nikolai - IIRC we discussed this some months ago. Did you eventually=20
test this?=20
You can run the tool, but then ha-agent will fail to connect to the engine=
=20
to see that it's alive.=20
To answer your question: This is saved in a file called hosted-engine.conf,=
=20
as 'fqdn=3D'. Until 3.5, this file was only saved locally on each host in=
=20
/etc/hosted-engine. Since 3.6, it's also saved in the shared storage.=20
You can try extracting it from the shared storage, edit, then update.=20
See e.g. [2] for how to do this, but that one is for a different file=20
(the answer file, also saved in both /etc and the shared storage).=20
I now read parts of the relevant code, and AFAICT we do not use fqdn=20
from the shared storage, only from the one in /etc. So it might be=20
enough to change there (although you risk that this will change in=20
a future version).=20
Please open a bug about this. If you try the above, please tell us if=20
it worked or not and what problems/errors you got. Thanks!=20
[1]
https://www.ovirt.org/documentation/how-to/networking/changing-engine-h=
ostname/=20
[2]
https://bugzilla.redhat.com/show_bug.cgi?id=3D1366879#c23=20
=20
Thank you anyway for the link,=20
=20
Luca=20
=20
--=20
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare=20
calcoli che potrebbero essere affidati a chiunque se si usassero delle=20
macchine"=20
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)=20
=20
"Internet =C3=A8 la pi=C3=B9 grande biblioteca del mondo.=20
Ma il problema =C3=A8 che i libri sono tutti sparsi sul pavimento"=20
John Allen Paulos, Matematico (1945-vivente)=20
=20
Luca 'remix_tj' Lorenzetto,
http://www.remixtj.net , <lorenzetto.luca@gma=
il.com>=20
--=20
Didi=20
------=_Part_5007005_725289455.1481114687402
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: georgia,serif; font-size: 12pt;
colo=
r: #000000"><div>No, I did not tested
that.<br></div><div>I did not renamed=
my
HE.<br></div><div><br></div><div><br></div><div><span
name=3D"x"></span=
<br>Thanks in
advance.<br><div><br></div>Best
regards,<br>Nikolai<br>_____=
_______________<br>Nikolai
Sednev<br>Senior Quality Engineer at Compute tea=
m<br>Red Hat Israel<br>34 Jerusalem Road,<br>Ra'anana, Israel
43501<br><div=
<br></div>Tel: +972
9 7692043<br>Mobile: +972 =
52 7342734<br>Email:
nsednev(a)redhat.com<br>IRC: nsednev<span name=3D"x"></s=
pan><br></div><div><br></div><hr
id=3D"zwchr"><div style=3D"color:#000;font=
-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica=
,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Yedidyah Bar
David" <di=
di(a)redhat.com&gt;<br><b>To: </b>"Luca 'remix_tj'
Lorenzetto" <lorenzetto=
.luca(a)gmail.com&gt;, "Nikolai Sednev"
&lt;nsednev(a)redhat.com&gt;<br><b>Cc: =
</b>"users" &lt;users(a)ovirt.org&gt;<br><b>Sent:
</b>Wednesday, December 7, =
2016 1:06:00 PM<br><b>Subject: </b>Re: [ovirt-users] Renaming hosted
engine=
<br><div><br></div>On Wed, Dec 7, 2016 at 12:20 PM, Luca
'remix_tj' Lorenze=
tto<br>&lt;lorenzetto.luca(a)gmail.com&gt; wrote:<br>>
Hello,<br>><br>&=
gt; On Wed, Dec 7, 2016 at 10:53 AM, Yedidyah Bar David &lt;didi(a)redhat.com=
> wrote:<br>>
[cut]<br>>><br>>> If you have another host,=
you can migrate all VMs to the other host,<br>>> move current to
mai=
ntenance, remove it, then add it with the new name<br>>> you want.
Yo=
u might have to also clean up the shared meta-data,
see:<br>>><br>>=
;>
https://www.ovirt.org/documentation/how-to/hosted-engine/#remove-old-=
host-from-the-metadata-whiteboard<br>>><br>><br>>
from your res=
ponse i understood that i was using the wrong terms for<br>> explaining =
my need.<br>><br>> What i'm willing to change the fqdn of
the engine =
vm running on hosted<br>> engine. I've seen that the deployment
procedur=
e asked for it, so i<br>> think somewhere this value is used for
c=
onfigurations.<br><div><br></div>Indeed. I do not think we have a
tested pr=
ocedure for renaming<br>a
hosted-engine.<br><div><br></div>The rename tool =
[1] will not handle this.<br><div><br></div>Nikolai - IIRC we
discussed thi=
s some months ago. Did you eventually<br>test
this?<br><div><br></div>You c=
an run the tool, but then ha-agent will fail to connect to the engine<br>to=
see that it's alive.<br><div><br></div>To answer your
question: This is sa=
ved in a file called hosted-engine.conf,<br>as 'fqdn=3D'. Until 3.5, this
f=
ile was only saved locally on each host in<br>/etc/hosted-engine. Since 3.6=
, it's also saved in the shared storage.<br>You can try extracting it from =
the shared storage, edit, then update.<br>See e.g. [2] for how to do this, =
but that one is for a different file<br>(the answer file, also saved in bot=
h /etc and the shared storage).<br><div><br></div>I now read parts
of the r=
elevant code, and AFAICT we do not use fqdn<br>from the shared storage, onl=
y from the one in /etc. So it might be<br>enough to change there (although =
you risk that this will change in<br>a future
version).<br><div><br></div>P=
lease open a bug about this. If you try the above, please tell us if<br>it =
worked or not and what problems/errors you got.
Thanks!<br><div><br></div>[=
1]
https://www.ovirt.org/documentation/how-to/networking/changing-engine-ho=
stname/<br>[2]
https://bugzilla.redhat.com/show_bug.cgi?id=3D1366879#c23<br=
<div><br></div>><br>> Thank you
anyway for the link,<br>><br>>=
Luca<br>><br>> --<br>> "E' assurdo
impiegare gli uomini di intell=
igenza eccellente per fare<br>> calcoli che potrebbero essere affidati a=
chiunque se si usassero delle<br>> macchine"<br>>
Gottfried Wilhelm =
von Leibnitz, Filosofo e Matematico (1646-1716)<br>><br>>
"Internet =
=C3=A8 la pi=C3=B9 grande biblioteca del mondo.<br>> Ma il problema =C3=
=A8 che i libri sono tutti sparsi sul pavimento"<br>> John Allen
Paulos,=
Matematico (1945-vivente)<br>><br>> Luca 'remix_tj'
Lorenzetto, http=
://www.remixtj.net ,
&lt;lorenzetto.luca(a)gmail.com&gt;<br><div><br></div><b=
r><div><br></div>--
<br>Didi<br></div><div><br></div></div></body></html>
------=_Part_5007005_725289455.1481114687402--