<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebApp v7.1.10-44973">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>AW: [ovirt-users] Fake power management?</title>
</head>
<body>
-----Ursprüngliche Nachricht-----<br><pre style="white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;" wrap="">&gt; Von:Barak Azulay &lt;<a href="mailto:bazulay@redhat.com">bazulay@redhat.com</a>&gt;<br>&gt; Gesendet: Mon 17 November 2014 23:30<br>&gt; An: Patrick Lottenbach &lt;<a href="mailto:pl@a-bot.ch">pl@a-bot.ch</a>&gt;<br>&gt; CC: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>&gt; Betreff: Re: AW: [ovirt-users] Fake power management?<br>&gt; <br>&gt; Well you can hack the solution in the form of replacing the fencing master script to always return success (Eli can help you with that),<br>&gt; and define an imaginary fencing device on each host ... meaning that the fencing command will always succeeds.<br>&gt; <br><br>This sounds interesting. It's exactly what I need.<br><br>&gt; But this may be risky ... as you might end up with the same VM running on 2 hosts. <br><br>As I see it, this would only happen if someone unplugs the network interface. I know this is a way to break the cluster. If someone unplugs the interface, then everything gets started twice anyways thanks to pacemaker being configured to ignore the lack of quorum and it would look silly in front of the customer.<br><br>&gt; And one last note ... when you disconnect one of the hosts in the demo you mentioned, I think you'll be better to disconnect the host that does not run the engine ...<br> <br>It just gets restarted on the remaining node and resumes operation. It even remembers which guests ran on which host.<br>That part is really safe. The storage is configured to only report data as written when the write operation has finished on all (currently online) nodes, disk write caches are turned off in lvm.conf. PostreSQL is resilient enough to survive a crash like this.<br><br>Or am I missing something that might break?<br><br>&gt; Barak <br><br>mots<br><br>&gt; <br>&gt; ----- Original Message -----<br>&gt; &gt; From: "mots" &lt;<a href="mailto:mots@nepu.moe">mots@nepu.moe</a>&gt;<br>&gt; &gt; To: "Barak Azulay" &lt;<a href="mailto:bazulay@redhat.com">bazulay@redhat.com</a>&gt;<br>&gt; &gt; Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>&gt; &gt; Sent: Monday, November 17, 2014 12:58:20 PM<br>&gt; &gt; Subject: AW: [ovirt-users] Fake power management?<br>&gt; &gt; <br>&gt; &gt; Yes, pacemaker manages the engine. That part is working fine, the engine<br>&gt; &gt; restarts on the remaining node without problems.<br>&gt; &gt; It's just that the guests don't come back up until the powered down node has<br>&gt; &gt; been fenced manually.<br>&gt; &gt; <br>&gt; &gt; -----Ursprüngliche Nachricht-----<br>&gt; &gt; &gt; Von:Barak Azulay &lt;<a href="mailto:bazulay@redhat.com">bazulay@redhat.com</a> &lt;mailto:<a href="mailto:bazulay@redhat.com">bazulay@redhat.com</a>&gt; &gt;<br>&gt; &gt; &gt; Gesendet: Mon 17 November 2014 11:35<br>&gt; &gt; &gt; An: Patrick Lottenbach &lt;<a href="mailto:pl@a-bot.ch">pl@a-bot.ch</a> &lt;mailto:<a href="mailto:pl@a-bot.ch">pl@a-bot.ch</a>&gt; &gt;<br>&gt; &gt; &gt; CC: <a href="mailto:users@ovirt.org">users@ovirt.org</a> &lt;mailto:<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>&gt; &gt; &gt; Betreff: Re: [ovirt-users] Fake power management?<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; ----- Original Message -----<br>&gt; &gt; &gt; &gt; From: "mots" &lt;<a href="mailto:mots@nepu.moe">mots@nepu.moe</a> &lt;mailto:<a href="mailto:mots@nepu.moe">mots@nepu.moe</a>&gt; &gt;<br>&gt; &gt; &gt; &gt; To: <a href="mailto:users@ovirt.org">users@ovirt.org</a> &lt;mailto:<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>&gt; &gt; &gt; &gt; Sent: Friday, November 14, 2014 4:54:08 PM<br>&gt; &gt; &gt; &gt; Subject: [ovirt-users] Fake power management?<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Fake power management? Hello,<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; I'm building a small demonstration system for our sales team to take to a<br>&gt; &gt; &gt; &gt; customer so that they can show them our solutions.<br>&gt; &gt; &gt; &gt; Hardware: Two Intel NUC's, a 4 port switch and a laptop.<br>&gt; &gt; &gt; &gt; Engine: Runs as a VM on one of the NUCs, which one it runs on is<br>&gt; &gt; &gt; &gt; determined<br>&gt; &gt; &gt; &gt; by pacemaker.<br>&gt; &gt; &gt; &gt; Storage: Also managed by pacemaker, it's drbd backed and accessed with<br>&gt; &gt; &gt; &gt; iscsi.<br>&gt; &gt; &gt; &gt; oVirt version: 3.5<br>&gt; &gt; &gt; &gt; OS: CentOS 6.6<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; The idea is to have our sales representative (or the potential customer<br>&gt; &gt; &gt; &gt; himself) randomly pull the plug on one of the NUCs to show that the<br>&gt; &gt; &gt; &gt; system<br>&gt; &gt; &gt; &gt; stays operational when part of the hardware fails.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; I assume you are aware that the engine might fence the node it is running<br>&gt; &gt; &gt; on ...<br>&gt; &gt; &gt; Or do you use pacemaker to run the engine as well ?<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; My problem is that I don't have any way to implement power management, so<br>&gt; &gt; &gt; &gt; the<br>&gt; &gt; &gt; &gt; Engine can't fence nodes and won't restart guests that were running on<br>&gt; &gt; &gt; &gt; the<br>&gt; &gt; &gt; &gt; node which lost power. In pacemaker I can just configure fencing over SSH<br>&gt; &gt; &gt; &gt; or<br>&gt; &gt; &gt; &gt; even disable the requirement to do so completely. Is there something<br>&gt; &gt; &gt; &gt; similar<br>&gt; &gt; &gt; &gt; for oVirt, so that the Engine will consider a node which it can't connect<br>&gt; &gt; &gt; &gt; to<br>&gt; &gt; &gt; &gt; to be powered down?<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Regards,<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; mots<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; Users mailing list<br>&gt; &gt; &gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;<br>&gt; &gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>&gt; &gt; &gt; &gt; &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users>" target="_blank">http://lists.ovirt.org/mailman/listinfo/users&gt;</a>;<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt;<br>&gt; </pre>
</body>
</html>