Hi, On Thu, Jun 24, 2010 at 02:18:21PM +0200, Trujillo Carmona, Antonio wrote: > > I'm try to setup a load balanced in high availability with HA and > haproxy, all look well but if I kill the process (in order to simulate a > fail in the service) I only obtain "haproxy unmanaged on > ['balanceador-1']" but they don't change de group to the oder server > can any one help mi?.
Looks like you're running the old Heartbeat 2.1.x. Please upgrade first to Pacemaker 1.0 and Heartbeat 3.0. Thanks, Dejan > thank in advance. > > this is my cib.xml > cat /var/lib/heartbeat/crm/cib.xml > <cib generated="true" admin_epoch="0" have_quorum="true" > ignore_dtd="false" num_peers="2" cib_feature_revision="2.0" epoch="198" > num_updates="1" cib-last-written="Thu Jun 24 13:46:02 2010" > ccm_transition="2" dc_uuid="cfba411a-fefc-40a7-a9d0-2ab2011a4aa0"> > <configuration> > <crm_config> > <cluster_property_set id="cib-bootstrap-options"> > <attributes> > <nvpair id="cib-bootstrap-options-dc-version" > name="dc-version" value="2.1.3-node: > 552305612591183b1628baa5bc6e903e0f1e26a3"/> > <nvpair id="cib-bootstrap-options-last-lrm-refresh" > name="last-lrm-refresh" value="1277377624"/> > <nvpair id="cib-bootstrap-options-start-failure-is-fatal" > name="start-failure-is-fatal" value="false"/> > <nvpair id="cib-bootstrap-options-symmetric-cluster" > name="symmetric-cluster" value="true"/> > </attributes> > </cluster_property_set> > </crm_config> > <nodes> > <node id="cfba411a-fefc-40a7-a9d0-2ab2011a4aa0" > uname="balanceador-1" type="normal"> > <instance_attributes > id="nodes-cfba411a-fefc-40a7-a9d0-2ab2011a4aa0"> > <attributes> > <nvpair id="standby-cfba411a-fefc-40a7-a9d0-2ab2011a4aa0" > name="standby" value="off"/> > </attributes> > </instance_attributes> > </node> > <node uname="balanceador-2" type="normal" > id="0fe20a98-fcee-46ee-b85e-1509ff0f1cd1"> > <instance_attributes > id="nodes-0fe20a98-fcee-46ee-b85e-1509ff0f1cd1"> > <attributes> > <nvpair name="standby" > id="standby-0fe20a98-fcee-46ee-b85e-1509ff0f1cd1" value="off"/> > </attributes> > </instance_attributes> > </node> > </nodes> > <resources> > <group id="Weblogic"> > <meta_attributes id="Weblogic_meta_attrs"> > <attributes> > <nvpair id="Weblogic_metaattr_target_role" > name="target_role" value="master"/> > </attributes> > </meta_attributes> > <primitive id="ip-weblogic" class="ocf" type="IPaddr2" > provider="heartbeat"> > <instance_attributes id="ip-weblogic_instance_attrs"> > <attributes> > <nvpair id="5a82fb91-85ef-4972-96f3-4945d3eb2148" > name="ip" value="10.104.16.234"/> > <nvpair id="79752158-10a3-4da3-8492-439e14f974ae" > name="nic" value="bond0"/> > <nvpair id="8ce4302f-ede3-4a15-936c-7976771860a3" > name="lvs_support" value="true"/> > <nvpair id="b5ce914c-d8c5-4c22-8ac1-bd4b56c544ad" > name="mac" value="00:18:fe:34:72:42"/> > </attributes> > </instance_attributes> > <meta_attributes id="ip-weblogic_meta_attrs"> > <attributes> > <nvpair id="ip-weblogic_metaattr_target_role" > name="target_role" value="started"/> > </attributes> > </meta_attributes> > <operations> > <op id="b302af02-a541-488e-b50c-24e834fd8d22" > name="monitor" description="monitoriza la ip" interval="10s" > timeout="5s"/> > </operations> > </primitive> > <primitive id="haproxy" class="lsb" type="haproxy" > provider="heartbeat"> > <meta_attributes id="haproxy_meta_attrs"> > <attributes> > <nvpair id="haproxy_metaattr_target_role" > name="target_role" value="started"/> > </attributes> > </meta_attributes> > <operations> > <op id="cf7f93e9-ba9a-452a-93a4-dd301c205596" > name="monitor" description="monitoriza haproxy" interval="10" > timeout="5" start_delay="0" disabled="false" role="Started" > on_fail="restart"/> > </operations> > </primitive> > </group> > </resources> > <constraints> > <rsc_location id="weblogic-en-1" rsc="Weblogic"> > <rule id="prefered_weblogic-en-1" score="100"> > <expression attribute="#uname" > id="d5a46f36-dc37-44ed-859b-ba48254cf74a" operation="eq" > value="balanceador-1"/> > </rule> > </rsc_location> > </constraints> > </configuration> > </cib> > > > -- > Por favor, NO utilice formatos de archivo propietarios para el > intercambio de documentos, como DOC y XLS, sino HTML, RTF, TXT, > CSV o cualquier otro que no obligue a utilizar un programa de un > fabricante concreto para tratar la información contenida en él. > SALUD. > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
