Hi,

perhaps it is only a problem of understanding. I want to delete a failcounter. 
First I look if it zero already:
# crm_failcount -G -r resDRBD:0
 name=fail-count-resDRBD:0 value=1

Ah, no. So I want to reset it:
# crm_failcount -D -r resDRBD:0
1 Trying fail-count-resDRBD:0=(null) delete via attrd

hm. Let's see:
# crm_failcount -G -r resDRBD:0
 name=fail-count-resDRBD:0 value=1

Deleting was not successful. Is this a bug?
so I reset the counter to zero:
# crm_failcount -v 0 -r resDRBD:0 
0 Trying fail-count-resDRBD:0=0 update via attrd
# crm_failcount -G -r resDRBD:0 
name=fail-count-resDRBD:0 value=0

At last. This was successful. Let's see if the counter is still in the CIB:
# cibadmin -Q | grep "fail-count.*DRBD:0"; echo $?
1

No. It seems that I can only delete empty failcounters. Is this intended?

Greetings,


-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [email protected]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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