<HTML>
<HEAD>
<TITLE>Unable to configure Pacemaker with cibadmin</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
<BR>
I am trying to update the configuration of my cluster through the cibadmin command, but the command always fails:<BR>
<BR>
cibadmin --replace --scope resources --xml-file r.xml<BR>
Call cib_replace failed (-41): Remote node did not respond<BR>
<null><BR>
<BR>
I was able to replace the initial blank configuration, but updating it doesn’t seem to work. The cluster is functioning and running some of the resources. Some of the are down, but I don’t think that should make a difference:<BR>
<BR>
============<BR>
Last updated: Fri Jul 22 18:33:03 2011<BR>
Stack: openais<BR>
Current DC: poc-tst-rh4 - partition with quorum<BR>
Version: 1.0.9-89bd754939df5150de7cd76835f98fe90851b677<BR>
2 Nodes configured, 2 expected votes<BR>
3 Resources configured.<BR>
============<BR>
<BR>
Online: [ poc-tst-rh4 poc-tst-rh4-2 ]<BR>
<BR>
Resource Group: mysql<BR>
fs_mysql (ocf::heartbeat:Filesystem): Started poc-tst-rh4<BR>
mysqld (ocf::heartbeat:mysql): Stopped <BR>
Master/Slave Set: ms_drbd_mysql<BR>
Masters: [ poc-tst-rh4 ]<BR>
Slaves: [ poc-tst-rh4-2 ]<BR>
Clone Set: pingclone<BR>
Started: [ poc-tst-rh4-2 poc-tst-rh4 ]<BR>
<BR>
Failed actions:<BR>
mysqld_start_0 (node=poc-tst-rh4, call=26, rc=5, status=complete): not installed<BR>
fs_mysql_start_0 (node=poc-tst-rh4-2, call=31, rc=5, status=complete): not installed<BR>
<BR>
If I try to use the crm command line, it rejects any configuration changes I make:<BR>
crm configure edit<BR>
ERROR: could not replace mysql<BR>
INFO: offending xml: <group id="mysql"><BR>
<meta_attributes id="mysql-meta_attributes"><BR>
<nvpair id="mysql-meta_attributes-target-role" name="target-role" value="Started"/><BR>
</meta_attributes><BR>
<primitive class="ocf" id="fs_mysql" provider="heartbeat" type="Filesystem"><BR>
<instance_attributes id="fs_mysql-instance_attributes"><BR>
<nvpair id="fs_mysql-instance_attributes-device" name="device" value="/dev/drbd0"/><BR>
<nvpair id="fs_mysql-instance_attributes-directory" name="directory" value="/var/lib/mysql/"/><BR>
<nvpair id="fs_mysql-instance_attributes-fstype" name="fstype" value="ext3"/><BR>
</instance_attributes><BR>
<operations><BR>
<op id="fs_mysql-start-0" interval="0" name="start" timeout="60"/><BR>
<op id="fs_mysql-stop-0" interval="0" name="stop" timeout="60"/><BR>
</operations><BR>
</primitive><BR>
<primitive class="ocf" id="mysqld" provider="heartbeat" type="mysql"><BR>
<instance_attributes id="mysqld-instance_attributes"><BR>
<nvpair id="mysqld-instance_attributes-binary" name="binary" value="/usr/bin/mysqld_safe"/><BR>
<nvpair id="mysqld-instance_attributes-pid" name="pid" value="/var/lib/mysql/mysql.pid"/><BR>
</instance_attributes><BR>
<operations><BR>
<op id="mysqld-monitor-15s" interval="15s" name="monitor" timeout="60"/><BR>
<op id="mysqld-start-0" interval="0" name="start" timeout="240"/><BR>
<op id="mysqld-stop-0" interval="0" name="stop" timeout="240"/><BR>
</operations><BR>
</primitive><BR>
</group><BR>
<BR>
<BR>
What could be causing the configuration to fail?<BR>
<BR>
Thank you for any assistance,<BR>
Kelly Wong</SPAN></FONT>
</BODY>
</HTML>