<div dir="ltr"><div>It depends on how &#39;toasted&#39; the engine is.<br><br></div>It is possible to mount the disk, if for example it&#39;s a kernel upgrade that&#39;s gone wrong and stopping the machine form booting<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 July 2017 at 15:23, Yedidyah Bar David <span dir="ltr">&lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Jul 3, 2017 at 4:40 PM, Andrew Dent &lt;<a href="mailto:adent@ctcroydon.com.au">adent@ctcroydon.com.au</a>&gt; wrote:<br>
&gt; Hi Didi<br>
&gt;<br>
&gt; Fair enough.<br>
&gt; If I&#39;m in this situation.....<br>
&gt; I have 3 hosts with 6 production VMs.<br>
&gt; The hosted-engine VM is completely toast and not recoverable.<br>
<br>
Meaning? It does not even boot? If so, then I am afraid that you<br>
need to follow the linked procedure, including deploying hosted-engine<br>
again on new (or fully cleaned) storage.<br>
<br>
Are all 3 hosts also hosted-engine hosts? And you want to keep them<br>
this way? If so, you&#39;ll have to reinstall them.<br>
<br>
I think, didn&#39;t try, that after you deploy a new hosted-engine host,<br>
and restore the engine, the new engine will see your existing hosts,<br>
but hosted-engine-ha will not work.<br>
<br>
If you want to try and keep your VMs running, I guess your best bet<br>
is to try to add a new non-hosted-engine host (one or more, as needed),<br>
migrate your VMs to it (them), then remove the hosted-engine hosts and<br>
deploy them again as described there.<br>
<br>
&gt; However I have a backup of the hosted-engine database (do I need anything<br>
&gt; else).<br>
<br>
Only database? Or a backup taken by engine-backup? You also need various<br>
configuration files. To see the full list, in case you didn&#39;t use<br>
engine-backup but can restore individual files, check BACKUP_PATHS inside<br>
the script. But this is definitely not supported - you should first try<br>
verifying by restoring on a test VM and see what happens.<br>
<br>
&gt;<br>
&gt; Is it possible to build a new VM, import the backup of the previous<br>
&gt; hosted-engine database and reconnect the storage domains and VMs in their<br>
&gt; running state without any VMs experiencing an outage?<br>
<br>
As I wrote above, I think it is, but hosted-engine-ha will not work.<br>
<br>
If at all possible, I strongly suggest to try to simulate this in a<br>
test env. Can be done using nested-kvm VMs for hosts, if you do not have<br>
enough real hardware.<br>
<br>
&gt;<br>
&gt; The URL<br>
&gt; <a href="http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/" rel="noreferrer" target="_blank">http://www.ovirt.org/<wbr>documentation/self-hosted/<wbr>chap-Backing_up_and_Restoring_<wbr>an_EL-Based_Self-Hosted_<wbr>Environment/</a><br>
&gt; looks to be longer now.<br>
&gt; I&#39;ll review, test and see if this will give me what I&#39;m looking for.<br>
&gt;<br>
&gt; The broken link still seems to be broken.<br>
&gt; When I click the link, the browser ends up at this<br>
&gt; <a href="http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment#documentation%20self%20hosted%20chap%20Backing%20up%20and%20Restoring%20an%20EL%20Based%20Self%20Hosted%20Environment%20chap%20Installing%20Additional%20Hosts%20to%20a%20Self%20Hosted%20Environment" rel="noreferrer" target="_blank">http://www.ovirt.org/<wbr>documentation/self-hosted/<wbr>chap-Backing_up_and_Restoring_<wbr>an_EL-Based_Self-Hosted_<wbr>Environment/chap-Installing_<wbr>Additional_Hosts_to_a_Self-<wbr>Hosted_Environment#<wbr>documentation%20self%20hosted%<wbr>20chap%20Backing%20up%20and%<wbr>20Restoring%20an%20EL%20Based%<wbr>20Self%20Hosted%20Environment%<wbr>20chap%20Installing%<wbr>20Additional%20Hosts%20to%20a%<wbr>20Self%20Hosted%20Environment</a><br>
&gt;<br>
&gt; But I suspect it should be<br>
&gt; <a href="http://www.ovirt.org/documentation/self-hosted/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment/" rel="noreferrer" target="_blank">http://www.ovirt.org/<wbr>documentation/self-hosted/<wbr>chap-Installing_Additional_<wbr>Hosts_to_a_Self-Hosted_<wbr>Environment/</a><br>
<br>
In my previous mail I just wrote I sent a pull request, not that<br>
the site is updated already. I updated it since and it now seems<br>
ok to me.<br>
<br>
Best,<br>
<br>
&gt;<br>
&gt; Kind regards<br>
&gt;<br>
&gt; Andrew<br>
&gt;<br>
&gt; ------ Original Message ------<br>
&gt; From: &quot;Yedidyah Bar David&quot; &lt;<a href="mailto:didi@redhat.com">didi@redhat.com</a>&gt;<br>
&gt; To: &quot;Andrew Dent&quot; &lt;<a href="mailto:adent@ctcroydon.com.au">adent@ctcroydon.com.au</a>&gt;<br>
&gt; Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
&gt; Sent: 3/07/2017 11:12:05 PM<br>
&gt; Subject: Re: [ovirt-users] Recovering hosted-engine<br>
&gt;<br>
&gt;&gt; On Mon, Jul 3, 2017 at 3:46 PM, Andrew Dent &lt;<a href="mailto:adent@ctcroydon.com.au">adent@ctcroydon.com.au</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  Has anyone successfully completed a hosted-engine recovery on a multiple<br>
&gt;&gt;&gt;  host setup with production VMs?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;d like to clarify that &quot;recovery&quot; can span a large spectrum of<br>
&gt;&gt; flows, from a trivial &quot;I did some change to the engine database<br>
&gt;&gt; that broke stuff and I want to restore a backup I took prior to<br>
&gt;&gt; this change&quot; to a full system restoration including purchasing<br>
&gt;&gt; and deploying new (perhaps different) hosts/network/storage<br>
&gt;&gt; hardware, including many other flows in between.<br>
&gt;&gt;<br>
&gt;&gt; So when you plan for recovery, you should define very well what<br>
&gt;&gt; flows you plan to handle, and how you handle each.<br>
&gt;&gt;<br>
&gt;&gt; The linked procedure correctly says it&#39;s &quot;providing an example&quot;.<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  Kind regards<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  Andrew<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  ------ Original Message ------<br>
&gt;&gt;&gt;  From: &quot;Andrew Dent&quot; &lt;<a href="mailto:adent@ctcroydon.com.au">adent@ctcroydon.com.au</a>&gt;<br>
&gt;&gt;&gt;  To: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
&gt;&gt;&gt;  Sent: 2/07/2017 2:22:16 PM<br>
&gt;&gt;&gt;  Subject: [ovirt-users] Recovering hosted-engine<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  Hi<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  A couple of questions about hosted-engine recovery.<br>
&gt;&gt;&gt;  Part way through this URL, in the section &quot;Workflow for Restoring the<br>
&gt;&gt;&gt;  Self-Hosted Engine Environment&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/" rel="noreferrer" target="_blank">http://www.ovirt.org/<wbr>documentation/self-hosted/<wbr>chap-Backing_up_and_Restoring_<wbr>an_EL-Based_Self-Hosted_<wbr>Environment/</a><br>
&gt;&gt;&gt;  it looks like once the hosted-engine is recovered on Host 1, the VMs on<br>
&gt;&gt;&gt; Host<br>
&gt;&gt;&gt;  2 and 3 will be running, but not accessible to the recovered Hosted<br>
&gt;&gt;&gt; Engine.<br>
&gt;&gt;&gt;  Is that correct?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I am pretty certain that the procedure assumed that all hosts need<br>
&gt;&gt; restoration,<br>
&gt;&gt; not that some are still up-and-running.<br>
&gt;&gt;<br>
&gt;&gt;&gt;  If so, how to you remove host 2 and host 3 from the environment, then<br>
&gt;&gt;&gt; add<br>
&gt;&gt;&gt;  back in again while keeping the VMs running?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; That&#39;s a good question.<br>
&gt;&gt;<br>
&gt;&gt; Please try to describe the exact flow you have in mind. What&#39;s broken and<br>
&gt;&gt; needs restoration, and how do you plan to do that?<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  Host 2 and Host 3 are not recoverable in their current state. These<br>
&gt;&gt;&gt; hosts<br>
&gt;&gt;&gt;  need to be removed from the environment, and then added again to the<br>
&gt;&gt;&gt;  environment using the hosted-engine deployment script. For more<br>
&gt;&gt;&gt; information<br>
&gt;&gt;&gt;  on these actions, see the Removing Non-Operational Hosts from a Restored<br>
&gt;&gt;&gt;  Self-Hosted Engine Environment section below and Chapter 7: Installing<br>
&gt;&gt;&gt;  Additional Hosts to a Self-Hosted Environment.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  BTW: The link referring to chapter 7 is broken.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; You are right. The link in the bottom of the page seems working.<br>
&gt;&gt; Now pushed [1] to fix. Thanks for the report!<br>
&gt;&gt;<br>
&gt;&gt; [1]<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
<span class="HOEnZb"><font color="#888888">&gt;&gt; --<br>
&gt;&gt; Didi<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Didi<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div>