<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm;">Thank you for answering </p>
<p style="margin-bottom: 0cm;">I tried a lot but i din't suceed </p>
<p style="margin-bottom: 0cm;">In this mail are less write errors (i
hope so) </p>
<p style="margin-bottom: 0cm;">Here are different config files </p>
<p style="margin-bottom: 0cm;">vmstore1:/etc # crm_mon -1f </p>
<p style="margin-bottom: 0cm;">============ </p>
<p style="margin-bottom: 0cm;">Last updated: Mon Mar 15 21:22:57 2010 </p>
<p style="margin-bottom: 0cm;">Stack: openais </p>
<p style="margin-bottom: 0cm;">Current DC: vmstore2 - partition with
quorum </p>
<p style="margin-bottom: 0cm;">Version:
1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782 </p>
<p style="margin-bottom: 0cm;">2 Nodes configured, 2 expected votes </p>
<p style="margin-bottom: 0cm;">0 Resources configured. </p>
<p style="margin-bottom: 0cm;">============ </p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Online: [ vmstore1 vmstore2 ] </p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Migration summary: </p>
<p style="margin-bottom: 0cm;">* Node vmstore1: </p>
<p style="margin-bottom: 0cm;">* Node vmstore2: </p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">----------------------------------------------------------------
</p>
<p style="margin-bottom: 0cm;">crm(live)# configure show </p>
<p style="margin-bottom: 0cm;">ERROR: /root/.crm_help_index open:
[Errno 2] No such file or directory: '/root/.crm_help_index' </p>
<p style="margin-bottom: 0cm;">ERROR: extensive help system is not
available </p>
<p style="margin-bottom: 0cm;">node vmstore1 \ </p>
<p style="margin-bottom: 0cm;"> attributes standby="false" </p>
<p style="margin-bottom: 0cm;">node vmstore2 \ </p>
<p style="margin-bottom: 0cm;"> attributes standby="false" </p>
<p style="margin-bottom: 0cm;">property $id="cib-bootstrap-options"
\ </p>
<p style="margin-bottom: 0cm;">
dc-version="1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782"
\ </p>
<p style="margin-bottom: 0cm;"> stonith-action="poweroff" \ </p>
<p style="margin-bottom: 0cm;"> expected-quorum-votes="2" \ </p>
<p style="margin-bottom: 0cm;"> cluster-infrastructure="openais"
\ </p>
<p style="margin-bottom: 0cm;"> node-health-red="0" \ </p>
<p style="margin-bottom: 0cm;"> stonith-enabled="false" </p>
<p style="margin-bottom: 0cm;">rsc_defaults $id="rsc_defaults-options"
\ </p>
<p style="margin-bottom: 0cm;"> is-managed="true" </p>
<p style="margin-bottom: 0cm;">------------------------------------------------------
</p>
<p style="margin-bottom: 0cm;">In the first section you can see the
resource in the cbl and when i make as next a cibadmin -Q the
resource is gone again </p>
<p style="margin-bottom: 0cm;">-------------------------------------------------
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">vmstore1:/etc # cibadmin -C -o
resources -x resourceIP.xml </p>
<p style="margin-bottom: 0cm;">Call cib_create failed (-47): Update
does not conform to the configured schema/DTD </p>
<p style="margin-bottom: 0cm;"><cib validate-with="pacemaker-1.0"
crm_feature_set="3.0.1" have-quorum="1"
dc-uuid="vmstore2" admin_epoch="0" epoch="101"
num_updates="1"> </p>
<p style="margin-bottom: 0cm;"> <configuration> </p>
<p style="margin-bottom: 0cm;"> <crm_config> </p>
<p style="margin-bottom: 0cm;"> <cluster_property_set
id="cib-bootstrap-options"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782"/>
</p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-638aff86-19c8-4d62-8f30-ef419416fa5a"
name="stonith-action" value="poweroff"/> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="cib-bootstrap-options-expected-quorum-votes"
name="expected-quorum-votes" value="2"/> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="openais"/>
</p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-16ff93f5-e0e7-48a5-a7d8-a0778d791af2"
name="node-health-red" value="0"/> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-c729123b-3fa4-4f78-88e1-2e2644e47310"
name="stonith-enabled" value="false"/> </p>
<p style="margin-bottom: 0cm;"> </cluster_property_set> </p>
<p style="margin-bottom: 0cm;"> </crm_config> </p>
<p style="margin-bottom: 0cm;"> <nodes> </p>
<p style="margin-bottom: 0cm;"> <node id="vmstore1"
type="normal" uname="vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="nodes-vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="standby-vmstore1" name="standby"
value="false"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </node> </p>
<p style="margin-bottom: 0cm;"> <node id="vmstore2"
type="normal" uname="vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="nodes-vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="standby-vmstore2" name="standby"
value="false"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </node> </p>
<p style="margin-bottom: 0cm;"> </nodes> </p>
<p style="margin-bottom: 0cm;"> <resources> </p>
<p style="margin-bottom: 0cm;"> <primitive id="resIP"
class="ocf" type="IPaddr2" provider="heartbeat">
</p>
<p style="margin-bottom: 0cm;"> <instances_attributes
id="resIP_instance_attrs"> </p>
<p style="margin-bottom: 0cm;"> <nvpair id="resIP_IP"
name="ip" value="192.168.1.23"/> </p>
<p style="margin-bottom: 0cm;"> <nvpair id="resIP_NIC"
name="nic" value="eth1"/> </p>
<p style="margin-bottom: 0cm;"> </instances_attributes> </p>
<p style="margin-bottom: 0cm;"> </primitive> </p>
<p style="margin-bottom: 0cm;"> </resources> </p>
<p style="margin-bottom: 0cm;"> <constraints/> </p>
<p style="margin-bottom: 0cm;"> <op_defaults> </p>
<p style="margin-bottom: 0cm;"> <meta_attributes
id="op_defaults-options"/> </p>
<p style="margin-bottom: 0cm;"> </op_defaults> </p>
<p style="margin-bottom: 0cm;"> <rsc_defaults> </p>
<p style="margin-bottom: 0cm;"> <meta_attributes
id="rsc_defaults-options"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-68b16f0e-1e5c-4dd5-85a4-28a14ea385fc"
name="is-managed" value="true"/> </p>
<p style="margin-bottom: 0cm;"> </meta_attributes> </p>
<p style="margin-bottom: 0cm;"> </rsc_defaults> </p>
<p style="margin-bottom: 0cm;"> </configuration> </p>
<p style="margin-bottom: 0cm;"> <status> </p>
<p style="margin-bottom: 0cm;"> <node_state uname="vmstore1"
ha="active" in_ccm="true" crmd="online"
join="member" expected="member" shutdown="0"
id="vmstore1" crm-debug-origin="do_state_transition">
</p>
<p style="margin-bottom: 0cm;"> <lrm id="vmstore1">
</p>
<p style="margin-bottom: 0cm;"> <lrm_resources/> </p>
<p style="margin-bottom: 0cm;"> </lrm> </p>
<p style="margin-bottom: 0cm;"> <transient_attributes
id="vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="status-vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="status-vmstore1-probe_complete" name="probe_complete"
value="true"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </transient_attributes> </p>
<p style="margin-bottom: 0cm;"> </node_state> </p>
<p style="margin-bottom: 0cm;"> <node_state uname="vmstore2"
ha="active" in_ccm="true" crmd="online"
join="member" expected="member" shutdown="0"
id="vmstore2" crm-debug-origin="do_state_transition">
</p>
<p style="margin-bottom: 0cm;"> <transient_attributes
id="vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="status-vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="status-vmstore2-probe_complete" name="probe_complete"
value="true"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </transient_attributes> </p>
<p style="margin-bottom: 0cm;"> <lrm id="vmstore2">
</p>
<p style="margin-bottom: 0cm;"> <lrm_resources/> </p>
<p style="margin-bottom: 0cm;"> </lrm> </p>
<p style="margin-bottom: 0cm;"> </node_state> </p>
<p style="margin-bottom: 0cm;"> </status> </p>
<p style="margin-bottom: 0cm;"></cib> </p>
<p style="margin-bottom: 0cm;">vmstore1:/etc # cibadmin -Q </p>
<p style="margin-bottom: 0cm;"><cib validate-with="pacemaker-1.0"
crm_feature_set="3.0.1" have-quorum="1"
dc-uuid="vmstore2" admin_epoch="0" epoch="100"
num_updates="5"> </p>
<p style="margin-bottom: 0cm;"> <configuration> </p>
<p style="margin-bottom: 0cm;"> <crm_config> </p>
<p style="margin-bottom: 0cm;"> <cluster_property_set
id="cib-bootstrap-options"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782"/>
</p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-638aff86-19c8-4d62-8f30-ef419416fa5a"
name="stonith-action" value="poweroff"/> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="cib-bootstrap-options-expected-quorum-votes"
name="expected-quorum-votes" value="2"/> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="openais"/>
</p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-16ff93f5-e0e7-48a5-a7d8-a0778d791af2"
name="node-health-red" value="0"/> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-c729123b-3fa4-4f78-88e1-2e2644e47310"
name="stonith-enabled" value="false"/> </p>
<p style="margin-bottom: 0cm;"> </cluster_property_set> </p>
<p style="margin-bottom: 0cm;"> </crm_config> </p>
<p style="margin-bottom: 0cm;"> <nodes> </p>
<p style="margin-bottom: 0cm;"> <node id="vmstore1"
type="normal" uname="vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="nodes-vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="standby-vmstore1" name="standby"
value="false"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </node> </p>
<p style="margin-bottom: 0cm;"> <node id="vmstore2"
type="normal" uname="vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="nodes-vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="standby-vmstore2" name="standby"
value="false"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </node> </p>
<p style="margin-bottom: 0cm;"> </nodes> </p>
<p style="margin-bottom: 0cm;"> <resources/> </p>
<p style="margin-bottom: 0cm;"> <constraints/> </p>
<p style="margin-bottom: 0cm;"> <op_defaults> </p>
<p style="margin-bottom: 0cm;"> <meta_attributes
id="op_defaults-options"/> </p>
<p style="margin-bottom: 0cm;"> </op_defaults> </p>
<p style="margin-bottom: 0cm;"> <rsc_defaults> </p>
<p style="margin-bottom: 0cm;"> <meta_attributes
id="rsc_defaults-options"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="nvpair-68b16f0e-1e5c-4dd5-85a4-28a14ea385fc"
name="is-managed" value="true"/> </p>
<p style="margin-bottom: 0cm;"> </meta_attributes> </p>
<p style="margin-bottom: 0cm;"> </rsc_defaults> </p>
<p style="margin-bottom: 0cm;"> </configuration> </p>
<p style="margin-bottom: 0cm;"> <status> </p>
<p style="margin-bottom: 0cm;"> <node_state uname="vmstore1"
ha="active" in_ccm="true" crmd="online"
join="member" expected="member" shutdown="0"
id="vmstore1" crm-debug-origin="do_state_transition">
</p>
<p style="margin-bottom: 0cm;"> <lrm id="vmstore1">
</p>
<p style="margin-bottom: 0cm;"> <lrm_resources/> </p>
<p style="margin-bottom: 0cm;"> </lrm> </p>
<p style="margin-bottom: 0cm;"> <transient_attributes
id="vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="status-vmstore1"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="status-vmstore1-probe_complete" name="probe_complete"
value="true"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </transient_attributes> </p>
<p style="margin-bottom: 0cm;"> </node_state> </p>
<p style="margin-bottom: 0cm;"> <node_state uname="vmstore2"
ha="active" in_ccm="true" crmd="online"
join="member" expected="member" shutdown="0"
id="vmstore2" crm-debug-origin="do_state_transition">
</p>
<p style="margin-bottom: 0cm;"> <transient_attributes
id="vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <instance_attributes
id="status-vmstore2"> </p>
<p style="margin-bottom: 0cm;"> <nvpair
id="status-vmstore2-probe_complete" name="probe_complete"
value="true"/> </p>
<p style="margin-bottom: 0cm;"> </instance_attributes> </p>
<p style="margin-bottom: 0cm;"> </transient_attributes> </p>
<p style="margin-bottom: 0cm;"> <lrm id="vmstore2">
</p>
<p style="margin-bottom: 0cm;"> <lrm_resources/> </p>
<p style="margin-bottom: 0cm;"> </lrm> </p>
<p style="margin-bottom: 0cm;"> </node_state> </p>
<p style="margin-bottom: 0cm;"> </status> </p>
<p style="margin-bottom: 0cm;"></cib> </p>
<p style="margin-bottom: 0cm;">------------------------------------------------------------------
</p>
<p style="margin-bottom: 0cm;">I dont know what do make maybe using
opensuse 11.1 because it is in the book ?? Maybe a lot of work but
we are a monestary </p>
<p style="margin-bottom: 0cm;">(karmeliten Linz Austria)and we dont
have enough money for datacore so we hoped we can manage this with
pacemaker and drbd and openiscsi </p>
<p style="margin-bottom: 0cm;">but i am a one man team and some times
this is really hard </p>
<p style="margin-bottom: 0cm;">So if possible please have a look again
on my config files </p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Thank you in advance</p>
<br>
<br>
Schwartzkopff schrieb:
<blockquote cite="mid:%3C201003151423.13412.misch@multinet.de%3E"
 type="cite">
  <pre wrap="">Am Montag, 15. März 2010 14:11:58 schrieb Norbert Winkler:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello my name is Norbert
and i want to make a pacemaker cluster to use openiscsitarget with drbd
for a vmware storage ( I have  3 luns a 2TB)
i have synced the drbd luns and they seems to work well.
My problem is with the pacemaker crm

*I am using opensuse 11.2 with default kernel*
  on both nodes and i am logged in as root
I have also the user hacluster and the group haclient which i use to
login into gui
After  i fail to make a pacemaker cluster with opensuse 11.2
repositories i try the repository from clusterlab:
I am using:
cluster-glue 1.0.3-1 (x86_64) from clusterlab-rep
corosync 1.2.0-1 (x86_64) from clusterlab-rep
heartbeat 3.0.2-2 (x86_64) from clusterlab-rep
libcorosync 1.2.1-1 (x86-64) from clustrerlab-rep
libglue2 1.0.3-1 (x86_64) from clusterlab-rep
libopenais2 1.1.0-1 (x86_64) from clusterlab-rep
libpacemaker3 1.0.7-4 (x86_64) from clusterlab-rep
openais 1.1.0-1 (x86_64) from clusterlab-rep
pacemaker 1.0.7-4 (x86_64) from clusterlab-rep
resource-agents 1.0.1-1 (x86_64) from clusterlab-rep
pacemaker-pygui 1.4.15-1 (x86_64) opensuse 11.2 repo (no gui available
from clusterlab rep)

At the first moment everything seems to work well
login into console:
Cluster have qourum green point
vmstore1 (dc) online(dc)standby (with green point)
vmstore2 online-standby with green point
Resources with green point

I also can chance status to  active for  both nodes.

My problems occurs when i try to install a resource.
At first with the gui:
*The gui fails when i try to use  Resources to add primitive class ocf -
only a kill -9 corosync and the a  new login into hb_gui  is possible
after i try this .
*
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Please first try the crm subshell if the GUI does not work.

  </pre>
  <blockquote type="cite">
    <pre wrap="">THe configuration is standard. Resource defaults are empty and i tried
stonith enabled and disabled.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Please set stonith-enabled=alse"

  </pre>
  <blockquote type="cite">
    <pre wrap="">*When i let stonith enabled and i try to install a resource the
commandline cibadmin (Ipaddr2) i tells me that it can not run this
resource because  no stonith resource is configured. when i disable
stonith it seems to insert the ressource into the crm because it shows
me the complete config file with the resource added. BUt when i try
crm_resource -L then the system tells me that  no resource added.
I am using the script from the book Clusterbau: Hochverfügbarkeit mit
pacemaker.. think the origninal english title should be: buliding
cluster: with pacemaker.. I am using the newest edition of this book
from Dr.Michael Schwartzkopff.*
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thanks ;-)

Any more descritpive error reports? output of crm_mon -1f?

  </pre>
  <blockquote type="cite">
    <pre wrap="">I dont know how to go on and i am a little bit frustradet because i
thougt i was near the target and at the moment i feel miles away
What i think possible problems are:
1. Maybe i have problems with the user rights because the
/usr/lib/ocf/resource.d/heartbeat belongs to the user and group root
wtih drwxr-xr-x
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Unlikely.

  </pre>
  <blockquote type="cite">
    <pre wrap="">2. Maybe the path to the heartbeat resources is wrong maybe corosync
wants another path to the resources
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Very Unlikely.

  </pre>
  <blockquote type="cite">
    <pre wrap="">3. Maybe i had to configure resource defaults first but i dont know how.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Should work out of the box.

  </pre>
  <blockquote type="cite">
    <pre wrap="">4. Maybe I must configure stonith resource firse but i dont know how.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
set stonith-enabled=alse"

  </pre>
  <blockquote type="cite">
    <pre wrap="">5. MaybeThe crmadmin couldnt wright the rosource in database because i
have a right problem
    </pre>
  </blockquote>
  <pre wrap=""><!---->
no.


  </pre>
</blockquote>
<br>
</body>
</html>