Editing
2 Node Cluster: Dual Primary DRBD + CLVM + KVM + Live Migrations
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Pacemaker / crmsh ==== ===== DRBD/LVM ===== <pre> * Note - we do not monitor LVM. Sometimes LVM command hang and are not really an issue.. * these are all auto created from the script below <pre> primitive p_drbd-spacewalk ocf:linbit:drbd \ params drbd_resource="spacewalk" \ operations $id="p_drbd_spacewalk-operations" \ op monitor interval="20" role="Slave" timeout="20" \ op monitor interval="10" role="Master" timeout="20" \ op start interval="0" timeout="240" \ op stop interval="0" timeout="100" start-delay="0" primitive p_lvm-spacewalk ocf:heartbeat:LVM \ operations $id="spacewalk-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_spacewalk" ms ms_drbd-spacewalk p_drbd-spacewalk \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-spacewalk p_lvm-spacewalk \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" colocation c_lvm-spacewalk_on_drbd-spacewalk inf: clone_lvm-spacewalk ms_drbd-spacewalk:Master </pre> ===== KVM Virt - VirtualDomain===== * these are all auto created from the script below <pre> primitive p_vd-spacewalk-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/spacewalk-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-spacewalk-operations" \ op start interval="0" timeout="90" \ op stop interval="0" timeout="90" \ op migrate_from interval="0" timeout="240" \ op migrate_to interval="0" timeout="240" \ op monitor interval="10" timeout="30" start-delay="0" \ meta allow-migrate="true" failure-timeout="10min" target-role="Started" colocation c_vd-spacewalk-on-master inf: p_vd-spacewalk-ha ms_drbd-spacewalk:Master order o_drbm-lvm-vd-start-spacewalk inf: ms_drbd-spacewalk:promote clone_lvm-spacewalk:start p_vd-spacewalk-ha:start </pre>
Summary:
Please note that all contributions to RARForge may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RARForge:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Home
All Pages
All Files
View Categories
Recent changes
Random page
Edit this menu
Tools
What links here
Related changes
Special pages
Page information