Hi all,

I'm useing HAv2 (2.1.2-3). I just want to get sure if the following
procedure is correct for deleting a stonith device from a running
HA configuration without disturbing normal operation:

Let's assume stonith device resource is called r_stonith.

1) Stop the stonith resource with
crm_resource -r r_stonith -p target_role -v stopped --meta

2) Delete contraints which have to do with this resource.
cibadmin -D -X '<rsc_location id="r_stonith-db01_prefer_db02" rsc="r_stonith">'

3) Delete the resource:
cibadmin -D -X '<primitive id="r_stonith" [...]>' 
[...] is deleted here.

4) Cleanup the LRM on every node:
crm_resource -r r_stonith -C -H node01


It would be nice of all the gurus out there to comment this procedure
and to correct it if I missed something?

Best regards
Andreas Mock


_______________________________________________
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