[ovirt-users] Renaming hosted engine
Nikolai Sednev
nsednev at redhat.com
Wed Dec 7 12:44:47 UTC 2016
No, I did not tested that.
I did not renamed my HE.
Thanks in advance.
Best regards,
Nikolai
____________________
Nikolai Sednev
Senior Quality Engineer at Compute team
Red Hat Israel
34 Jerusalem Road,
Ra'anana, Israel 43501
Tel: +972 9 7692043
Mobile: +972 52 7342734
Email: nsednev at redhat.com
IRC: nsednev
----- Original Message -----
From: "Yedidyah Bar David" <didi at redhat.com>
To: "Luca 'remix_tj' Lorenzetto" <lorenzetto.luca at gmail.com>, "Nikolai Sednev" <nsednev at redhat.com>
Cc: "users" <users at ovirt.org>
Sent: Wednesday, December 7, 2016 1:06:00 PM
Subject: Re: [ovirt-users] Renaming hosted engine
On Wed, Dec 7, 2016 at 12:20 PM, Luca 'remix_tj' Lorenzetto
<lorenzetto.luca at gmail.com> wrote:
> Hello,
>
> On Wed, Dec 7, 2016 at 10:53 AM, Yedidyah Bar David <didi at 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-from-the-metadata-whiteboard
>>
>
> 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-hostname/
[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 at gmail.com>
--
Didi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161207/99f3f977/attachment-0001.html>
More information about the Users
mailing list