[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/rgmanager event-script.txt



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]