<html><body><div style="font-family: georgia,serif; font-size: 12pt; color: #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="x"></span><br>Thanks in advance.<br><div><br></div>Best regards,<br>Nikolai<br>____________________<br>Nikolai Sednev<br>Senior Quality Engineer at Compute team<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="x"></span><br></div><div><br></div><hr id="zwchr"><div style="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" <didi@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' Lorenzetto<br><lorenzetto.luca@gmail.com> wrote:<br>> Hello,<br>><br>> 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 maintenance, remove it, then add it with the new name<br>>> you want. You 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 response 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 procedure asked for it, so i<br>> think somewhere this value is used for configurations.<br><div><br></div>Indeed. I do not think we have a tested procedure 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 this some months ago. Did you eventually<br>test this?<br><div><br></div>You can 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 saved in a file called hosted-engine.conf,<br>as 'fqdn='. Until 3.5, this file 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 both /etc and the shared storage).<br><div><br></div>I now read parts of the relevant code, and AFAICT we do not use fqdn<br>from the shared storage, only 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>Please 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-hostname/<br>[2] https://bugzilla.redhat.com/show_bug.cgi?id=1366879#c23<br><div><br></div>><br>> Thank you anyway for the link,<br>><br>> Luca<br>><br>> --<br>> "E' assurdo impiegare gli uomini di intelligenza 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 è la più grande biblioteca del mondo.<br>> Ma il problema è 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><br><div><br></div>-- <br>Didi<br></div><div><br></div></div></body></html>