Juha Heinanen wrote:
while testing heartbeat/pacemaker, it would be nice if i could reset
pacemaker crm and start from scratch.
i know that it can be done by emptying /var/lib/heartbeat/crm and on
both nodes and then by restarting heartbeat, but is there a command to
do it?

i have tried by creating a config_file:

configure
erase
node lenny1
node lenny2
primitive drbd0 ocf:heartbeat:drbd \ params drbd_resource=drbd0 \
 op monitor role=Master interval=59s timeout=30s \
 op monitor role=Slave interval=60s timeout=30s
... rest of the config ...

where lenny1 and lenny2 are my nodes, and then by giving command

crm < config_file

but it does not work.

-- juha
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
cibadmin -E will earse the entire cib in a V2 configuration.


_______________________________________________
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