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