Thanks Andreas, It works very well! Do you have some link to help to configure pacemaker? I have DRBD+Xen+heartbeat configured, but when I pull out the cable from the primary machine, the secondary machine doesn't recognize. I believe I need to use Stonith...
Best Regards Felipe On Wed, Dec 5, 2012 at 8:10 PM, Andreas Kurz <andr...@hastexo.com> wrote: > On 12/05/2012 10:49 PM, Felipe Gutierrez wrote: > > Hi, > > > > I configured wrong my pacemaker. I have resources that are wrong. So I > need > > to delete them and configure again. > > Does any one know how to remove resources and how to configure them > > correctly? > > to clean your complete configuration and start-over with an empty one, > you can use: cibadmin --force --erase > > Regards, > Andreas > > -- > Need help with Pacemaker? > http://www.hastexo.com/now > > > > > I tryed to remove but the system acuse they are running, even if I stop > them > > # crm resource stop vm8-DRBD > > # crm configure > > crm(live)configure# delete vm8-DRBD > > ERROR: resource vm8-DRBD is running, can't delete it > > > > # crm_mon --one-shot -V > > crm_mon[28783]: 2012/12/05_19:42:56 ERROR: unpack_resources: Resource > > start-up disabled since no STONITH resources have been defined > > crm_mon[28783]: 2012/12/05_19:42:56 ERROR: unpack_resources: Either > > configure some or disable STONITH with the stonith-enabled option > > crm_mon[28783]: 2012/12/05_19:42:56 ERROR: unpack_resources: NOTE: > Clusters > > with shared data need STONITH to ensure data integrity > > crm_mon[28783]: 2012/12/05_19:42:56 ERROR: unpack_rsc_op: Hard error - > > Cluster-FS-Mount_last_failure_0 failed with rc=6: Preventing > > Cluster-FS-Mount from re-starting anywhere in the cluster > > ============ > > Last updated: Wed Dec 5 19:42:56 2012 > > Last change: Wed Dec 5 18:44:16 2012 via crmd on cloud8 > > Stack: Heartbeat > > Current DC: cloud8 (949237ab-9f7d-47d1-b4ad-39e4583d8f0d) - partition > with > > quorum > > Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c > > 2 Nodes configured, unknown expected votes > > 3 Resources configured. > > ============ > > > > Node cloud8 (949237ab-9f7d-47d1-b4ad-39e4583d8f0d): UNCLEAN (online) > > Node cloud10 (6f2a6b44-00c1-4ef2-b936-534a21f3dc45): UNCLEAN (online) > > > > > > Failed actions: > > vm8_start_0 (node=cloud8, call=14, rc=5, status=complete): not > installed > > vm8-DRBD:1_stop_0 (node=cloud8, call=21, rc=5, status=complete): not > > installed > > Cluster-FS-Mount_stop_0 (node=cloud8, call=11, rc=6, > status=complete): > > not configured > > vm8_start_0 (node=cloud10, call=8, rc=1, status=complete): unknown > error > > vm8-DRBD:0_stop_0 (node=cloud10, call=18, rc=5, status=complete): not > > installed > > > > Thanks in advance, > > Felipe > > > > > > > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- *-- -- Felipe Oliveira Gutierrez -- felipe.o.gutier...@gmail.com -- https://sites.google.com/site/lipe82/Home/diaadia* _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems