* [Cluster-devel] cluster/rgmanager event-script.txt
@ 2007-12-18 18:24 lhh
0 siblings, 0 replies; only message in thread
From: lhh @ 2007-12-18 18:24 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-12-18 18:24:44
Modified files:
rgmanager : event-script.txt
Log message:
Add undocumented shuffle function to event-script.txt
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/event-script.txt.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.1&r2=1.1.2.2
--- cluster/rgmanager/event-script.txt 2007/12/18 17:52:55 1.1.2.1
+++ cluster/rgmanager/event-script.txt 2007/12/18 18:24:44 1.1.2.2
@@ -163,6 +163,11 @@
all_nodes = nodes_online();
allowed_nodes = subtract(nodes_online, node_to_avoid);
+ node_list = shuffle(node_list_old);
+
+ Rearranges the contents of node_list_old randomly and returns a
+ new node list.
+
Utility functions - Logging:
debug(item1, item2, ...); LOG_DEBUG level
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-18 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18 18:24 [Cluster-devel] cluster/rgmanager event-script.txt lhh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.