<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name="Generator" content="Kopano WebApp v8.1.0-169">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Hi,</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">I'm trying to understand some cluster internals and would be happy to get some best practice recommendations:</span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"></span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">monitor </span><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">interval and timeout: shouldn't timeout value always be smaller than interval to avoid another check even though the first is not over yet?</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Additionally i would like to use the group function to put all my VMS (ocf:heartbeat:VirtualDomain) in one group and colocate the group with the VIP and my LVM-volume. Unfortunately group function starts the resources in the listed order. So if i stop one VM, the following VMs are also stopped.</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Right now I'm having the following configuration and want to make it less redundant:</span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"></span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"># never let the stonith_service run on the host to stonith<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location </span><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">l_st_srv20 st_ipmi_srv20 -inf: srv20</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location l_st_srv21 st_ipmi_srv21 -inf: srv21</span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span># do not run resources on quorum only node<br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_lvm_vg-storage_quorum_only_node r_lvm_vg-storage -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_ado01_quorum_only_node r_vm_ado01 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_bar01_quorum_only_node r_vm_bar01 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_cmt01_quorum_only_node r_vm_cmt01 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_con01_quorum_only_node r_vm_con01 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_con02_quorum_only_node r_vm_con02 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_dsm01_quorum_only_node r_vm_dsm01 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_jir01_quorum_only_node r_vm_jir01 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_jir02_quorum_only_node r_vm_jir02 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_prx02_quorum_only_node r_vm_prx02 -inf: quorum_only_node</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">location loc_r_vm_src01_quorum_only_node r_vm_src01 -inf: quorum_only_node</span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"></span><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span># colocate ip with lvm storage<br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_Failover_IP_r_lvm_vg-storage inf: r_Failover_IP r_lvm_vg-storage</span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span># colocate each VM with lvm storage<br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_ado01_r_lvm_vg-storage inf: r_vm_ado01 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_bar01_r_lvm_vg-storage inf: r_vm_bar01 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_cmt01_r_lvm_vg-storage inf: r_vm_cmt01 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_con01_r_lvm_vg-storage inf: r_vm_jir01 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_con02_r_lvm_vg-storage inf: r_vm_con02 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_dsm01_r_lvm_vg-storage inf: r_vm_dsm01 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_jir01_r_lvm_vg-storage inf: r_vm_con01 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_jir02_r_lvm_vg-storage inf: r_vm_jir02 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_prx02_r_lvm_vg-storage inf: r_vm_prx02 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">colocation col_r_vm_src01_r_lvm_vg-storage inf: r_vm_src01 r_lvm_vg-storage</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"></span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"></span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"># start lvm storage before VIP<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_Failover_IP inf: r_lvm_vg-storage r_Failover_IP</span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span># start lvm storage before each VM<br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_ado01 inf: r_lvm_vg-storage r_vm_ado01</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_bar01 inf: r_lvm_vg-storage r_vm_bar01</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_cmt01 inf: r_lvm_vg-storage r_vm_cmt01</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_con01 inf: r_lvm_vg-storage r_vm_con01</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_con02 inf: r_lvm_vg-storage r_vm_con02</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_dsm01 inf: r_lvm_vg-storage r_vm_dsm01</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_jir01 inf: r_lvm_vg-storage r_vm_jir01</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_jir02 inf: r_lvm_vg-storage r_vm_jir02</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_prx02 inf: r_lvm_vg-storage r_vm_prx02</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">order ord_r_lvm_vg-storage_r_vm_src01 inf: r_lvm_vg-storage r_vm_src01</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">any help is greatly appreciated.</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">thank you.</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Stefan</span></p>
</body>
</html>