systemadmin.es > Clustering > crm: Limpiar las failed actions

crm: Limpiar las failed actions

Al hacer un crm status nos aparecerán un listado de las acciones falladas:

# crm status
Last updated: Mon Nov  3 14:47:22 2014
Last change: Mon Nov  3 14:37:10 2014 via cibadmin on inf04
Stack: classic openais (with plugin)
Current DC: inf05 - partition with quorum
Version: 1.1.10-14.el6-368c726
2 Nodes configured, 2 expected votes
3 Resources configured


Online: [ inf04 inf05 ]

 ipmemcached	(ocf::heartbeat:IPaddr2):	Started inf04 
 memcached	(ocf::generic:generic):	Started inf04 

Failed actions:
    memcached_monitor_10000 on inf04 'not running' (7): call=370, status=complete, last-rc-change='Mon Nov  3 14:17:30 2014', queued=0ms, exec=0ms
    redis_start_0 on inf05 'unknown error' (1): call=236, status=complete, last-rc-change='Mon Nov  3 14:08:05 2014', queued=26ms, exec=0ms

Si ya hemos corregido los errores, nos interesa limpiarlas para evitar ignorar este tipo de alertas. Mediante las opciones resource cleanup podemos limpiarlas por servicio, en el caso anterior:

# crm resource cleanup memcached
Cleaning up redis on inf04
Cleaning up redis on inf05
Waiting for 1 replies from the CRMd. OK

Deja un comentario:

XHTML - Tags permitidos:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>