<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: arial; font-size: 14px;"><div>hi,</div><div>   My cluster:</div><div>  corosync-1.4.1-4.el6_2.2.x86_64</div><div>   pacemaker-1.1.6-3.el6.x86_64</div><div> </div><div>   I want to use votequorum as a qourum provider for corosync. yes, I did it.</div><div>   but pacemaker did not uses the corosync iface,then I have two problem.   </div><div> </div><div>  Q1.</div><div>   Here,~~~      /lib/cluster/cluster.c  gboolean /crm_connect_corosync(void)</div><div>   I add a log </div><div>*******************************************</div><div>     if (is_openais_cluster()) {<br>+       crm_info("I use openais iface!");<br>         crm_set_status_callback(&ais_status_callback);<br>         rc = crm_cluster_connect(&fsa_our_uname, &fsa_our_uuid, crmd_ais_dispatch, crmd_ais_destroy,<br>                                  NULL);<br>     }</div><div>     if (rc && is_corosync_cluster()) {<br>+       crm_info("I use corosync iface!");<br>         init_quorum_connection(crmd_cman_dispatch, crmd_quorum_destroy);<br>     }</div><div>     if (rc && is_cman_cluster()) {<br>+       crm_info("I use cman iface!");<br>         init_cman_connection(crmd_cman_dispatch, crmd_cman_destroy);<br>         set_bit_inplace(fsa_input_register, R_CCM_DATA);<br>     }</div><div>diff -Nuar ClusterLabs-pacemaker-a02c0f1/lib/cluster/cluster.c ClusterLabs-pacemaker-a02c0f1-new/lib/cluster/cluster.c</div><div>******************************************</div><div>   It believe that I am a openais cluster .</div><div>*****************************</div><div>Jun  1 08:45:05 h10_147 crmd: [2014]: info: get_cluster_type: Cluster type is: 'openais'<br>Jun  1 08:45:05 h10_147 crmd: [2014]: info: crm_connect_corosync: I use openais iface!</div><div>*****************************</div><div> when I execute this cli, you can find the Stack</div><div>[root@h10_150 SOURCES]# crm status<br>============<br>Last updated: Fri Jun  1 19:00:02 2012<br>Last change: Thu May 31 14:05:04 2012 via crmd on 10_146<br>Stack: openais<br>Current DC: h10_150 - partition WITHOUT quorum<br>Version: 1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558<br>3 Nodes configured, 3 expected votes<br>12 Resources configured.<br>============</div><div>How to change Stack ???</div><div> </div><div> </div><div>Q2</div><div>I find something confusing  in  pacemaker.spec</div><div>*******************</div><div># Supported cluster stacks, must support at least one<br>%bcond_without cman<br>%bcond_without doc<br>%bcond_without corosync<br>%bcond_with heartbeat</div><div>*********************</div><div>Must I make a change here?</div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>