<div dir="ltr"><div>Hey Matthew, <br> I think it's VDSM that handles the pausing & resuming of the VMs.<br><br>An analogous small-scale scenario...the Gluster layer for one of our smaller oVirt clusters temporarily lost quorum the other week, locking all I/O for about 30 minutes. The VMs all went into pause & then resumed automatically when quorum was restored.<br><br></div><div>To my surprise/relief, not a single one of the 10 odd VMs reported any errors.<br></div><div><div class="gmail_extra"><br></div><div class="gmail_extra">YMMV<br><br></div><div class="gmail_extra">Doug<br><br></div><div class="gmail_extra"><div class="gmail_quote">On 6 June 2017 at 13:45, Matthew Trent <span dir="ltr"><<a href="mailto:Matthew.Trent@lewiscountywa.gov" target="_blank">Matthew.Trent@lewiscountywa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the replies, all!<br>
<br>
Yep, Chris is right. TrueNAS HA is active/passive and there isn't a way around that when failing between heads.<br>
<br>
Sven: In my experience with iX support, they have directed me to reboot the active node to initiate failover. There's "hactl takeover" and "hactl giveback" commends, but reboot seems to be their preferred method.<br>
<br>
VMs going into a paused state and resuming when storage is back online sounds great. As long as oVirt's pause/resume isn't significantly slower than the 30-or-so seconds the TrueNAS takes to complete its failover, that's a pretty tolerable interruption for my needs. So my next questions are:<br>
<br>
1) Assuming the SAN failover DOES work correctly, can anyone comment on their experience with oVirt pausing/thawing VMs in an NFS-based active/passive SAN failover scenario? Does it work reliably without intervention? Is it reasonably fast?<br>
<br>
2) Is there anything else in the oVirt stack that might cause it to "freak out" rather than gracefully pause/unpause VMs?<br>
<br>
2a) Particularly: I'm running hosted engine on the same TrueNAS storage. Does that change anything WRT to timeouts and oVirt's HA and fencing and sanlock and such?<br>
<br>
2b) Is there a limit to how long oVirt will wait for storage before doing something more drastic than just pausing VMs?<br>
<span class=""><br>
--<br>
Matthew Trent<br>
Network Engineer<br>
Lewis County IT Services<br>
</span><a href="tel:360.740.1247" value="+13607401247">360.740.1247</a> - Helpdesk<br>
<a href="tel:360.740.3343" value="+13607403343">360.740.3343</a> - Direct line<br>
<br>
______________________________<wbr>__________<br>
From: <a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> <<a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a>> on behalf of Chris Adams <<a href="mailto:cma@cmadams.net">cma@cmadams.net</a>><br>
Sent: Tuesday, June 6, 2017 7:21 AM<br>
To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
Subject: Re: [ovirt-users] Seamless SAN HA failovers with oVirt?<br>
<div class="HOEnZb"><div class="h5"><br>
Once upon a time, Juan Pablo <<a href="mailto:pablo.localhost@gmail.com">pablo.localhost@gmail.com</a>> said:<br>
> Chris, if you have active-active with multipath: you upgrade one system,<br>
> reboot it, check it came active again, then upgrade the other.<br>
<br>
Yes, but that's still not how a TrueNAS (and most other low- to<br>
mid-range SANs) works, so is not relevant. The TrueNAS only has a<br>
single active node talking to the hard drives at a time, because having<br>
two nodes talking to the same storage at the same time is a hard problem<br>
to solve (typically requires custom hardware with active cache coherency<br>
and such).<br>
<br>
You can (and should) use multipath between servers and a TrueNAS, and<br>
that protects against NIC, cable, and switch failures, but does not help<br>
with a controller failure/reboot/upgrade. Multipath is also used to<br>
provide better bandwidth sharing between links than ethernet LAGs.<br>
<br>
--<br>
Chris Adams <<a href="mailto:cma@cmadams.net">cma@cmadams.net</a>><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>
______________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Doug</div>
</div></div></div>