Hi,

I am setting location to the resource by using pingRA.

    location location-grpPostgreSQLDB grpPostgreSQLDB \
            rule -inf: default_ping_set lt 100 \

I watch the log of the DC node for the system observation.
However, the updated attribute values are only one output at each node.
So, not output to the DC node.
To confirm the cause of move resource, 
I want to output the updated attribute values in the DC node.

I made the patch which is added one line in the log.
Please comments.

Regards,
Yoshihiko SATO
diff -r c86cb93c5a57 crmd/te_callbacks.c
--- a/crmd/te_callbacks.c	Tue May 31 16:37:56 2011 +0800
+++ b/crmd/te_callbacks.c	Tue Jun 28 15:18:31 2011 +0900
@@ -146,8 +146,8 @@
 		}
 
 		if(crm_is_true(value) == FALSE) {
+		    crm_log_xml_info(attr, ":");
 		    abort_transition(INFINITY, tg_restart, "Transient attribute: update", attr);
-		    crm_log_xml_trace(attr, "Abort");
 		    goto bail;
 		}
 	    }
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to