
Hello, i did a deploy of hosted engine with an hostname that i'm willing to change now. Is there any procedure to do this? Luca -- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) "Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente) Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com>

2016-12-07 10:27 GMT+02:00 Luca 'remix_tj' Lorenzetto <lorenzetto.luca@gmail.com>:
Hello,
i did a deploy of hosted engine with an hostname that i'm willing to change now. Is there any procedure to do this?
I don't think so. If you have another host, you can migrate all VMs to the other host, move current to maintenance, remove it, then add it with the new name you want. You might have to also clean up the shared meta-data, see: https://www.ovirt.org/documentation/how-to/hosted-engine/#remove-old-host-fr...
Luca
-- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
"Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente)
Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com> _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Didi

Hello, On Wed, Dec 7, 2016 at 10:53 AM, Yedidyah Bar David <didi@redhat.com> wrote: [cut]
If you have another host, you can migrate all VMs to the other host, move current to maintenance, remove it, then add it with the new name you want. You might have to also clean up the shared meta-data, see:
https://www.ovirt.org/documentation/how-to/hosted-engine/#remove-old-host-fr...
from your response i understood that i was using the wrong terms for explaining my need. What i'm willing to change the fqdn of the engine vm running on hosted engine. I've seen that the deployment procedure asked for it, so i think somewhere this value is used for configurations. Thank you anyway for the link, Luca -- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) "Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente) Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com>

On Wed, Dec 7, 2016 at 12:20 PM, Luca 'remix_tj' Lorenzetto <lorenzetto.luca@gmail.com> wrote:
Hello,
On Wed, Dec 7, 2016 at 10:53 AM, Yedidyah Bar David <didi@redhat.com> wrote: [cut]
If you have another host, you can migrate all VMs to the other host, move current to maintenance, remove it, then add it with the new name you want. You might have to also clean up the shared meta-data, see:
https://www.ovirt.org/documentation/how-to/hosted-engine/#remove-old-host-fr...
from your response i understood that i was using the wrong terms for explaining my need.
What i'm willing to change the fqdn of the engine vm running on hosted engine. I've seen that the deployment procedure asked for it, so i think somewhere this value is used for configurations.
Indeed. I do not think we have a tested procedure for renaming a hosted-engine. The rename tool [1] will not handle this. Nikolai - IIRC we discussed this some months ago. Did you eventually test this? You can run the tool, but then ha-agent will fail to connect to the engine to see that it's alive. To answer your question: This is saved in a file called hosted-engine.conf, as 'fqdn='. Until 3.5, this file was only saved locally on each host in /etc/hosted-engine. Since 3.6, it's also saved in the shared storage. You can try extracting it from the shared storage, edit, then update. See e.g. [2] for how to do this, but that one is for a different file (the answer file, also saved in both /etc and the shared storage). I now read parts of the relevant code, and AFAICT we do not use fqdn from the shared storage, only from the one in /etc. So it might be enough to change there (although you risk that this will change in a future version). Please open a bug about this. If you try the above, please tell us if it worked or not and what problems/errors you got. Thanks! [1] https://www.ovirt.org/documentation/how-to/networking/changing-engine-hostna... [2] https://bugzilla.redhat.com/show_bug.cgi?id=1366879#c23
Thank you anyway for the link,
Luca
-- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
"Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente)
Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com>
-- Didi

------=_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@redhat.com=20 IRC: nsednev=20 ----- Original Message ----- From: "Yedidyah Bar David" <didi@redhat.com>=20 To: "Luca 'remix_tj' Lorenzetto" <lorenzetto.luca@gmail.com>, "Nikolai Sedn= ev" <nsednev@redhat.com>=20 Cc: "users" <users@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@gmail.com> wrote:=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
Hello,=20 =20 On Wed, Dec 7, 2016 at 10:53 AM, Yedidyah Bar David <didi@redhat.com> wro= te:=20 [cut]=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
<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@redhat.com<br>IRC: nsednev<span name=3D"x"></s=
--=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= 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@redhat.com><br><b>To: </b>"Luca 'remix_tj' Lorenzetto" <lorenzetto= .luca@gmail.com>, "Nikolai Sednev" <nsednev@redhat.com><br><b>Cc: = </b>"users" <users@ovirt.org><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><lorenzetto.luca@gmail.com> wrote:<br>> Hello,<br>><br>&= gt; On Wed, Dec 7, 2016 at 10:53 AM, Yedidyah Bar David <didi@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 , <lorenzetto.luca@gmail.com><br><div><br></div><b= r><div><br></div>-- <br>Didi<br></div><div><br></div></div></body></html> ------=_Part_5007005_725289455.1481114687402--
participants (3)
-
Luca 'remix_tj' Lorenzetto
-
Nikolai Sednev
-
Yedidyah Bar David