cluster/rgmanager event-script.txt
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
rgmanager/event-script.txt +5 -0
@@ -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