<div dir="ltr"><div><div>Apologies in advance if this is too off-topic for this forum, feel free to reply directly & point to other resources.<br><br></div>I'm having good success with DRBD in the following configuration:<br><br></div><div>Two identical hosts, dual-bonded ethernet for DRBD with a dedicated VLAN on my smart swtich.<br><br></div><div>I'm running DRBD on top of LVM, each device is the backing storage for a KVM virtual guest. The top-down diagram is:<br><br></div><div>[/dev/sda1] Guest root system<br></div><div>[ /dev/sda ]<br></div><div>[ /dev/drbdN ] <--- primary/secondary mode<br></div><div>[ /dev/mapper/vg-lvN ]<br></div><div>[ lvm physical volume ]<br><br></div><div>This works perfectly, but guest migration requires a shutdown:<br></div><div>1. Shut down guest on host 0<br></div><div>2. Demote DRBD primary to secondary on host 0<br></div><div>3. Promote DRBD secondary to primary on host 1<br></div><div>4. Start guest on host 1<br></div><div><div><div><br></div><div>Apparently running GFS with DRBD's dual-primary mode would allow KVM migration from one host to another without a shutdown, but all the tutorials jump straight into cluster configuration.<br><br></div><div>Is converting my hosts into a cluster really the next step? Of course the point of KVM migration is to get to automatic failover.<br><br></div><div>TIA, PM<br></div><div>-- <br><div class="gmail_signature"><div dir="ltr">Paul Mackinney<br>Systems & Quality Manager<br>O.N. Diagnostics, LLC
<br>2150 Shattuck Ave. Suite 610, Berkeley, CA 94704
<br>510-204-0688 (phone) | 510-356-4349 (fax)
<br>_____________________________________________
<br>If you receive this message in error, please delete it immediately.
This message may contain information that is privileged, confidential
and exempt from disclosure and dissemination under applicable law.
<br>
<br></div></div>
</div></div></div></div>