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!
== Troubleshooting Tips == ==== ocf:heartbeat:LVM patch ==== https://github.com/ljunkie/resource-agents/commit/4ed858bf4184c1b186cdae6efa428814ce4a02f0 * When deactivating multiple clustered (maybe non-cluster too) at once, sometimes vgchange -a ln fails. : '''Instead''' We should continue trying until pacemaker calls it quits (logic used from linbits drbd RA) ===== failure ===== * vgchange -a ln fails, then the operation completes with a failure <source lang=text> lrmd: notice: operation_finished: p_lvm-vhosts_stop_0:845 [ 2013/04/17_23:48:03 INFO: Deactivating volume group drbd_vhosts ] lrmd: notice: operation_finished: p_lvm-vhosts_stop_0:845 [ 2013/04/17_23:48:03 ERROR: Can't deactivate volume group "drbd_vhosts" with 1 open logical volume(s) ] crmd: notice: process_lrm_event: LRM operation p_lvm-vhosts_stop_0 (call=518, rc=1, cib-update=113, confirmed=true) unknown error </source> ===== success: with patch ===== * with the patch - it will try again and succeed <source lang=text> lrmd: notice: operation_finished: p_lvm-vhosts_stop_0:24355 [ 2013/04/18_11:05:31 INFO: Deactivating volume group drbd_vhosts ] lrmd: notice: operation_finished: p_lvm-vhosts_stop_0:24355 [ 2013/04/18_11:05:31 ERROR: Can't deactivate volume group "drbd_vhosts" with 1 open logical volume(s) ] lrmd: notice: operation_finished: p_lvm-vhosts_stop_0:24355 [ 2013/04/18_11:05:31 WARNING: drbd_vhosts still Active, Deactivating volume group drbd_vhosts. ] lrmd: notice: operation_finished: p_lvm-vhosts_stop_0:24355 [ 2013/04/18_11:05:31 INFO: Deactivating volume group drbd_vhosts ] lrmd: notice: operation_finished: p_lvm-vhosts_stop_0:24355 [ 2013/04/18_11:05:31 INFO: 0 logical volume(s) in volume group "drbd_vhosts" now active ] crmd: notice: process_lrm_event: LRM operation p_lvm-vhosts_stop_0 (call=963, rc=0, cib-update=200, confirmed=true) ok </source> ===== patch ===== <source> --- /usr/lib/ocf/resource.d/heartbeat/LVM.orig 2013-04-18 10:08:57.333596804 -0700 +++ /usr/lib/ocf/resource.d/heartbeat/LVM 2013-04-18 10:36:39.741388039 -0700 @@ -229,24 +229,34 @@ # Disable the LVM volume # LVM_stop() { + local first_try=true + rc=$OCF_ERR_GENERIC vgdisplay "$1" 2>&1 | grep 'Volume group .* not found' >/dev/null && { ocf_log info "Volume group $1 not found" return 0 } - ocf_log info "Deactivating volume group $1" - ocf_run vgchange -a ln $1 || return 1 - if - LVM_status $1 - then - ocf_log err "LVM: $1 did not stop correctly" - return $OCF_ERR_GENERIC - fi + # try to deactivate first time + ocf_log info "Deactivating volume group $1" + ocf_run vgchange -a ln $1 - # TODO: This MUST run vgexport as well + # Keep trying to bring down the resource; + # wait for the CRM to time us out if this fails + while :; do + if LVM_status $1; then + ocf_log warn "$1 still Active, Deactivating volume group $1." + ocf_log info "Deactivating volume group $1" + ocf_run vgchange -a ln $1 + else + rc=$OCF_SUCCESS + break; + fi + $first_try || sleep 1 + first_try=false + done - return $OCF_SUCCESS + return $rc } </source> ==== CMAN+CLVMD+Pacemaker 1.1.8+ ==== * Pacemaker now starts and stop CMAN. Issue is that it doesn't account for '''CLVMD''' * Fix INIT script to also start/stop '''CLVMD''' ; /etc/init.d/pacemaker <source> --- pacemaker.orig 2013-04-15 12:40:53.085307309 -0700 +++ pacemaker 2013-04-16 10:17:10.359833467 -0700 @@ -119,6 +119,9 @@ success echo + ## stop clvmd before leaving fence domain + [ -f /etc/rc.d/init.d/clvmd ] && service clvmd stop + echo -n "Leaving fence domain" fence_tool leave -w 10 checkrc @@ -163,6 +166,7 @@ start) # For consistency with stop [ -f /etc/rc.d/init.d/cman ] && service cman start + [ -f /etc/rc.d/init.d/clvmd ] && service clvmd start start ;; restart|reload|force-reload) </source> === Live Migrations Fail === error: Unsafe migration: Migration may lead to data corruption if disks use cache != none * Make sure you set your KVM disk cache to none ==== Verify you can with virsh first ==== <source> virsh migrate --live <hostname> qemu+ssh://<other_server_name>/system </source> <source> virsh migrate --live vhosts-ha qemu+ssh://blindpig/system </source> ==== Pacemaker 1.1.8 / libvirt-0.10.2-18 ==== * '''Live migration fails going standby / online''' :* seems with pacemaker 1.1.8, all live migrations are concurrent (update - use migration-limit) http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Pacemaker_Explained/_available_cluster_options.html :* libvirt used to set live migrations ~30MB/s, but now it's infinite (8796093022207 MB/s) http://www.mail-archive.com/libvir-list@redhat.com/msg60259.html ===== Libvirt Fix (migrate-setspeed) ===== * libvirt - migrate-setspeed (this is not persistent though across service restarts) * persistent fix: edit '''/etc/init.d/libvirtd''' <source> --- libvirtd 2013-04-16 09:28:53.257824206 -0700 +++ libvirtd.orig 2013-04-16 10:25:31.358915941 -0700 @@ -85,22 +85,6 @@ RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SERVICE - - ## hook to set bandwidth for live migration - BW=50 - VIRSH=`which virsh` - LIST_VM=`virsh list --all | grep -v Name | awk '{print $2}' | egrep "\w"` - DATE=`date -R` - LOGFILE="/var/log/kvm_setspeed.log" - for vm in $LIST_VM - do - BWprev=`/usr/bin/virsh migrate-getspeed $vm` - /usr/bin/virsh migrate-setspeed --bandwidth $BW $vm > /dev/null - BWcur=`/usr/bin/virsh migrate-getspeed $vm` - echo "$DATE : $VIRSH migrate-setspeed --bandwidth $BW $vm [cur: $BWcur -- prev: $BWprev]" >> $LOGFILE - - done - # end BW hook } stop() { </source> ===== Pacemaker Fix (migration-limit) ===== * Pacemaker - set the migration-limit (default -1 unlimited) <source> crm_attribute --attr-name migration-limit --attr-value 2 crm_attribute --attr-name migration-limit --get-value scope=crm_config name=migration-limit value=2 </source> ===== virsh commands used ===== * setting this to 30mb/s per Virt <source> virsh migrate-setspeed --bandwidth 30 <VIRTNAME> virsh migrate-getspeed <VIRTNAME> </source> <source> # Default is infinite virsh migrate-getspeed vhosts-ha 8796093022207 # set the speed to 30MB/s virsh migrate-setspeed --bandwidth 30 vhosts-ha # now it's limited virsh migrate-getspeed vhosts-ha 30 </source> === pacemaker config - dump === * This has other examples - not just drbd/kvm <pre> node bigeye \ attributes standby="off" node blindpig \ attributes standby="off" primitive p_cluster_mon ocf:pacemaker:ClusterMon \ params pidfile="/var/run/crm_mon.pid" htmlfile="/var/www/html/index.html" \ op start interval="0" timeout="20s" \ op stop interval="0" timeout="20s" \ op monitor interval="10s" timeout="20s" primitive p_drbd-backuppc ocf:linbit:drbd \ params drbd_resource="backuppc" \ operations $id="p_drbd_backuppc-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_drbd-dogfish-ha ocf:linbit:drbd \ params drbd_resource="dogfish-ha" \ operations $id="p_drbd_dogfish-ha-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_drbd-hopmon ocf:linbit:drbd \ params drbd_resource="hopmon" \ operations $id="p_drbd_hopmon-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_drbd-hoptical ocf:linbit:drbd \ params drbd_resource="hoptical" \ operations $id="p_drbd_hoptical-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_drbd-hopvpn ocf:linbit:drbd \ params drbd_resource="hopvpn" \ operations $id="p_drbd_hopvpn-operations" \ op monitor interval="20" role="Slave" timeout="30" \ op monitor interval="10" role="Master" timeout="30" \ op start interval="0" timeout="240" \ op stop interval="0" timeout="100" start-delay="0" primitive p_drbd-musicbrainz ocf:linbit:drbd \ params drbd_resource="musicbrainz" \ operations $id="p_drbd_musicbrainz-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_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="240" start-delay="0" primitive p_drbd-vhosts ocf:linbit:drbd \ params drbd_resource="vhosts" \ operations $id="p_drbd_vhosts-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_drbd-vz ocf:linbit:drbd \ params drbd_resource="vz" \ operations $id="p_drbd_vz-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_drbd-win7 ocf:linbit:drbd \ params drbd_resource="win7" \ operations $id="p_drbd_win7-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_gfs2-vz-config ocf:heartbeat:Filesystem \ params device="/dev/mapper/vg_drbd_vz-gfs_vz_config" directory="/etc/vz" fstype="gfs2" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ op monitor interval="120s" primitive p_gfs2-vz-storage ocf:heartbeat:Filesystem \ params device="/dev/mapper/vg_drbd_vz-gfs_vz_storage" directory="/vz" fstype="gfs2" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ op monitor interval="120s" primitive p_ip-10.69.1.1 ocf:heartbeat:IPaddr2 \ params ip="10.69.1.1" cidr_netmask="32" nic="lo" \ meta target-role="Started" primitive p_ip-10.69.1.2 ocf:heartbeat:IPaddr2 \ params ip="10.69.1.2" cidr_netmask="32" nic="lo" \ meta target-role="Started" primitive p_lvm-backuppc ocf:heartbeat:LVM \ operations $id="backuppc-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_backuppc" primitive p_lvm-dogfish-ha ocf:heartbeat:LVM \ operations $id="dogfish-ha-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_dogfish-ha" primitive p_lvm-hopmon ocf:heartbeat:LVM \ operations $id="hopmon-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_hopmon" primitive p_lvm-hoptical ocf:heartbeat:LVM \ operations $id="hoptical-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_hoptical" primitive p_lvm-hopvpn ocf:heartbeat:LVM \ operations $id="hopvpn-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_hopvpn" primitive p_lvm-musicbrainz ocf:heartbeat:LVM \ operations $id="musicbrainz-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_musicbrainz" 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" primitive p_lvm-vhosts ocf:heartbeat:LVM \ operations $id="vhosts-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_vhosts" primitive p_lvm-vz ocf:heartbeat:LVM \ operations $id="vz-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="vg_drbd_vz" primitive p_lvm-win7 ocf:heartbeat:LVM \ operations $id="win7-LVM-operations" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ params volgrpname="drbd_win7" primitive p_vd-backuppc-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/backuppc-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-backuppc-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="3min" target-role="Started" is-managed="true" resource-stickiness="100" primitive p_vd-dogfish-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/dogfish-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-dogfish-ha-operations" \ op start interval="0" timeout="90" \ op stop interval="0" timeout="90" \ op migrate_from interval="0" timeout="600" \ op migrate_to interval="0" timeout="600" \ op monitor interval="10" timeout="30" start-delay="10" \ meta allow-migrate="true" failure-timeout="3min" target-role="Started" resource-stickiness="100" is-managed="true" primitive p_vd-hopmon-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/hopmon-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-hopmon-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="10" \ meta allow-migrate="true" failure-timeout="3min" target-role="Started" primitive p_vd-hoptical-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/hoptical-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-hoptical-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="10" \ meta allow-migrate="true" failure-timeout="3min" target-role="Started" resource-stickiness="100" primitive p_vd-hopvpn-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/hopvpn-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-hopvpn-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="10" \ meta allow-migrate="true" failure-timeout="3min" target-role="Started" resource-stickiness="100" is-managed="true" primitive p_vd-musicbrainz-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/musicbrainz-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-musicbrainz-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="10" \ meta allow-migrate="true" failure-timeout="3min" target-role="Started" resource-stickiness="100" 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" is-managed="true" primitive p_vd-vhosts-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/vhosts-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-vhosts-ha-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="10" \ meta allow-migrate="true" failure-timeout="3min" target-role="Started" resource-stickiness="100" primitive p_vd-win7-ha ocf:heartbeat:VirtualDomain \ params config="/etc/libvirt/qemu/win7-ha.xml" migration_transport="ssh" force_stop="0" hypervisor="qemu:///system" \ operations $id="p_vd-win7-operations" \ op start interval="0" timeout="90" \ op stop interval="0" timeout="90" \ op migrate_from interval="0" timeout="600" \ op migrate_to interval="0" timeout="600" \ op monitor interval="10" timeout="30" start-delay="0" \ meta allow-migrate="true" failure-timeout="3min" target-role="Started" primitive st_bigeye stonith:fence_drac5 \ params ipaddr="<hidden>" login="cman" passwd="<hidden>" action="reboot" secure="true" pcmk_host_list="bigeye" pcmk_host_check="static-list" primitive st_blindpig stonith:fence_apc_snmp \ params inet4_only="1" community="<hidden>" port="blindpig" action="reboot" ipaddr="<hidden>" snmp_version="1" pcmk_host_check="static-list" pcmk_host_list="blindpig" pcmk_host_map="blindpig:6" ms ms_drbd-backuppc p_drbd-backuppc \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" ms ms_drbd-dogfish-ha p_drbd-dogfish-ha \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" ms ms_drbd-hopmon p_drbd-hopmon \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" ms ms_drbd-hoptical p_drbd-hoptical \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" ms ms_drbd-hopvpn p_drbd-hopvpn \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" ms ms_drbd-musicbrainz p_drbd-musicbrainz \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" 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" ms ms_drbd-vhosts p_drbd-vhosts \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" ms ms_drbd-vz p_drbd-vz \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" ms ms_drbd-win7 p_drbd-win7 \ meta master-max="2" clone-max="2" notify="true" migration-threshold="1" allow-migrate="true" target-role="Started" interleave="true" is-managed="true" clone c_cluster_mon p_cluster_mon \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone c_st_bigeye st_bigeye \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone c_st_blindpig st_blindpig \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_gfs2-vz-config p_gfs2-vz-config \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_gfs2-vz-storage p_gfs2-vz-storage \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-backuppc p_lvm-backuppc \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-dogfish-ha p_lvm-dogfish-ha \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-hopmon p_lvm-hopmon \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-hoptical p_lvm-hoptical \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-hopvpn p_lvm-hopvpn \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-musicbrainz p_lvm-musicbrainz \ meta clone-max="2" notify="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" clone clone_lvm-vhosts p_lvm-vhosts \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-vz p_lvm-vz \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" clone clone_lvm-win7 p_lvm-win7 \ meta clone-max="2" notify="true" target-role="Started" interleave="true" is-managed="true" location cli-prefer-p_cluster_mon c_cluster_mon \ rule $id="cli-prefer-rule-p_cluster_mon" inf: #uname eq bigeye location cli-prefer-p_ip-10.69.1.1 p_ip-10.69.1.1 \ rule $id="cli-prefer-rule-p_ip-10.69.1.1" inf: #uname eq blindpig location cli-prefer-p_ip-10.69.1.2 p_ip-10.69.1.2 \ rule $id="cli-prefer-rule-p_ip-10.69.1.2" inf: #uname eq bigeye location cli-prefer-p_vd-backuppc-ha p_vd-backuppc-ha \ rule $id="cli-prefer-rule-p_vd-backuppc-ha" inf: #uname eq blindpig location cli-prefer-p_vd-dogfish-ha p_vd-dogfish-ha \ rule $id="cli-prefer-rule-p_vd-dogfish-ha" inf: #uname eq blindpig location cli-prefer-p_vd-hopmon-ha p_vd-hopmon-ha \ rule $id="cli-prefer-rule-p_vd-hopmon-ha" inf: #uname eq bigeye location cli-prefer-p_vd-hoptical-ha p_vd-hoptical-ha \ rule $id="cli-prefer-rule-p_vd-hoptical-ha" inf: #uname eq bigeye location cli-prefer-p_vd-hopvpn-ha p_vd-hopvpn-ha \ rule $id="cli-prefer-rule-p_vd-hopvpn-ha" inf: #uname eq bigeye location cli-prefer-p_vd-musicbrainz-ha p_vd-musicbrainz-ha \ rule $id="cli-prefer-rule-p_vd-musicbrainz-ha" inf: #uname eq blindpig location cli-prefer-p_vd-spacewalk-ha p_vd-spacewalk-ha \ rule $id="cli-prefer-rule-p_vd-spacewalk-ha" inf: #uname eq blindpig location cli-prefer-p_vd-vhosts-ha p_vd-vhosts-ha \ rule $id="cli-prefer-rule-p_vd-vhosts-ha" inf: #uname eq bigeye location cli-prefer-p_vd-win7-ha p_vd-win7-ha \ rule $id="cli-prefer-rule-p_vd-win7-ha" inf: #uname eq blindpig location drbd_backuppc_excl ms_drbd-backuppc \ rule $id="drbd_backuppc_excl-rule" -inf: #uname eq blindpig2 location drbd_dogfish-ha_excl ms_drbd-dogfish-ha \ rule $id="drbd_dogfish-ha_excl-rule" -inf: #uname eq blindpig2 location drbd_hopmon_excl ms_drbd-hopmon \ rule $id="drbd_hopmon_excl-rule" -inf: #uname eq blindpig2 location drbd_hoptical_excl ms_drbd-hoptical \ rule $id="drbd_hoptical_excl-rule" -inf: #uname eq blindpig2 location drbd_hopvpn_excl ms_drbd-hopvpn \ rule $id="drbd_hopvpn_excl-rule" -inf: #uname eq blindpig2 location drbd_musicbrainz_excl ms_drbd-musicbrainz \ rule $id="drbd_musicbrainz_excl-rule" -inf: #uname eq blindpig2 location drbd_vhost_excl ms_drbd-vhosts \ rule $id="drbd_vhosts_excl-rule" -inf: #uname eq blindpig2 colocation c_gfs-vz-config_on_master inf: clone_gfs2-vz-config ms_drbd-vz:Master colocation c_gfs-vz-storage_on_master inf: clone_gfs2-vz-storage ms_drbd-vz:Master colocation c_lvm-backuppc_on_drbd-backuppc inf: clone_lvm-backuppc ms_drbd-backuppc:Master colocation c_lvm-dogfish-ha_on_drbd-dogfish-ha inf: clone_lvm-dogfish-ha ms_drbd-dogfish-ha:Master colocation c_lvm-hopmon_on_drbd-hopmon inf: clone_lvm-hopmon ms_drbd-hopmon:Master colocation c_lvm-hoptical_on_drbd-hoptical inf: clone_lvm-hoptical ms_drbd-hoptical:Master colocation c_lvm-hopvpn_on_drbd-hopvpn inf: clone_lvm-hopvpn ms_drbd-hopvpn:Master colocation c_lvm-musicbrainz_on_drbd-musicbrainz inf: clone_lvm-musicbrainz ms_drbd-musicbrainz:Master colocation c_lvm-spacewalk_on_drbd-spacewalk inf: clone_lvm-spacewalk ms_drbd-spacewalk:Master colocation c_lvm-vhosts_on_drbd-vhosts inf: clone_lvm-vhosts ms_drbd-vhosts:Master colocation c_lvm-vz_on_drbd-vz inf: clone_lvm-vz ms_drbd-vz:Master colocation c_lvm-win7_on_drbd-win7 inf: clone_lvm-win7 ms_drbd-win7:Master colocation c_vd-backuppc-on-master inf: p_vd-backuppc-ha ms_drbd-backuppc:Master colocation c_vd-dogfish-ha-on-master inf: p_vd-dogfish-ha ms_drbd-dogfish-ha:Master colocation c_vd-hopmon-on-master inf: p_vd-hopmon-ha ms_drbd-hopmon:Master colocation c_vd-hoptical-on-master inf: p_vd-hoptical-ha ms_drbd-hoptical:Master colocation c_vd-hopvpn-on-master inf: p_vd-hopvpn-ha ms_drbd-hopvpn:Master colocation c_vd-musicbrainz-on-master inf: p_vd-musicbrainz-ha ms_drbd-musicbrainz:Master colocation c_vd-spacewalk-on-master inf: p_vd-spacewalk-ha ms_drbd-spacewalk:Master colocation c_vd-vhosts-on-master inf: p_vd-vhosts-ha ms_drbd-vhosts:Master colocation c_vd-win7-on-master inf: p_vd-win7-ha ms_drbd-win7:Master order o_drbm-lvm-gfs2-vz-config-storage inf: ms_drbd-vz:promote clone_lvm-vz:start clone_gfs2-vz-config:start clone_gfs2-vz-storage:start order o_drbm-lvm-vd-start-backuppc inf: ms_drbd-backuppc:promote clone_lvm-backuppc:start p_vd-backuppc-ha:start order o_drbm-lvm-vd-start-dogfish-ha inf: ms_drbd-dogfish-ha:promote clone_lvm-dogfish-ha:start p_vd-dogfish-ha:start order o_drbm-lvm-vd-start-hopmon inf: ms_drbd-hopmon:promote clone_lvm-hopmon:start p_vd-hopmon-ha:start order o_drbm-lvm-vd-start-hoptical inf: ms_drbd-hoptical:promote clone_lvm-hoptical:start p_vd-hoptical-ha:start order o_drbm-lvm-vd-start-hopvpn inf: ms_drbd-hopvpn:promote clone_lvm-hopvpn:start p_vd-hopvpn-ha:start order o_drbm-lvm-vd-start-musicbrainz inf: ms_drbd-musicbrainz:promote clone_lvm-musicbrainz:start p_vd-musicbrainz-ha:start order o_drbm-lvm-vd-start-spacewalk inf: ms_drbd-spacewalk:promote clone_lvm-spacewalk:start p_vd-spacewalk-ha:start order o_drbm-lvm-vd-start-vhosts inf: ms_drbd-vhosts:promote clone_lvm-vhosts:start p_vd-vhosts-ha:start order o_drbm-lvm-vd-start-win7 inf: ms_drbd-win7:promote clone_lvm-win7:start p_vd-win7-ha:start order o_gfs_before_openvz inf: _rsc_set_ clone_gfs2-vz-config clone_gfs2-vz-storage property $id="cib-bootstrap-options" \ dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \ cluster-infrastructure="cman" \ expected-quorum-votes="2" \ stonith-enabled="true" \ no-quorum-policy="ignore" \ default-resource-stickiness="1" \ last-lrm-refresh="1362432862" \ maintenance-mode="off" rsc_defaults $id="rsc-options" \ resource-stickiness="1" \ failure-timeout="60s" </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