On Wed, Oct 7, 2009 at 11:01 AM, Alexander Bodnarashik
<[email protected]> wrote:
> Current cluster configuration (box1 started only):
>> Oct  7 11:43:01 box1 cib: [3458]: ERROR: cib_remote_listen: User is not a
>> member of the required group
>
> So seems something wrong with hacluster user group

You may need to explicitly add it to the group in /etc/groups
Thats what I needed to do here.

> Attempt to connect to plain port without CIB_encrypted=false causes cluster
> malfunction though
>>
>> Oct  7 11:50:18 box1 cib: [3458]: ERROR: crm_xml_err: XML Error: Entity:
>> line 1: parsererror : Start tag expected, '<' not found
>> Oct  7 11:50:18 box1 cib: [3458]: ERROR: crm_xml_err: XML Error:
>> Oct  7 11:50:18 box1 cib: [3458]: ERROR: crm_xml_err: XML Error: ^
>> Oct  7 11:50:18 box1 cib: [3458]: WARN: string2xml: Parsing failed
>> (domain=1, level=3, code=4): Start tag expected, '<' not found
>> Oct  7 11:50:18 box1 cib: [3458]: ERROR: string2xml: Couldn't parse 3
>> chars:
>> Oct  7 11:50:18 box1 cib: [3458]: ERROR: cib_recv_remote_msg: Couldn't
>> parse: ''

Finally tracked this one down:
   http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/f8a5c5056dfe


[r...@pcmk-1 ~]# CIB_user=hacluster CIB_server=pcmk-2.beekhof.net
CIB_port=9234 CIB_encrypted=0 cibadmin -Q
Password:
cibadmin: Opened connection to pcmk-2.beekhof.net:9234
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1"
have-quorum="0" admin_epoch="1" epoch="15" num_updates="0"
remote-clear-port="9234" remote-tls-port="9235" cib-last-written="Wed
Oct 21 09:28:57 2009">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version"
name="dc-version"
value="1.0.5-38cd629e5c3cc762918900ff50e576ac8f1a3988"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="openais"/>
        <nvpair id="cib-bootstrap-options-expected-quorum-votes"
name="expected-quorum-votes" value="2"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="pcmk-2.beekhof.net" uname="pcmk-2.beekhof.net" type="normal"/>
      <node id="pcmk-1.beekhof.net" uname="pcmk-1.beekhof.net" type="normal"/>
    </nodes>
    <resources/>
    <constraints/>
  </configuration>
  <status/>
</cib>
[r...@pcmk-1 ~]# CIB_user=hacluster CIB_server=pcmk-2.beekhof.net
CIB_port=9235 CIB_encrypted=1 cibadmin -Q
Password:
cibadmin: Opened connection to pcmk-2.beekhof.net:9235
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1"
have-quorum="0" admin_epoch="1" epoch="15" num_updates="0"
remote-clear-port="9234" remote-tls-port="9235" cib-last-written="Wed
Oct 21 09:28:57 2009">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version"
name="dc-version"
value="1.0.5-38cd629e5c3cc762918900ff50e576ac8f1a3988"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="openais"/>
        <nvpair id="cib-bootstrap-options-expected-quorum-votes"
name="expected-quorum-votes" value="2"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="pcmk-2.beekhof.net" uname="pcmk-2.beekhof.net" type="normal"/>
      <node id="pcmk-1.beekhof.net" uname="pcmk-1.beekhof.net" type="normal"/>
    </nodes>
    <resources/>
    <constraints/>
  </configuration>
  <status/>
</cib>
[r...@pcmk-1 ~]#
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to