From: lhh@sourceware.org <lhh@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/rgmanager event-script.txt
Date: 18 Dec 2007 18:24:44 -0000 [thread overview]
Message-ID: <20071218182444.26649.qmail@sourceware.org> (raw)
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
reply other threads:[~2007-12-18 18:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071218182444.26649.qmail@sourceware.org \
--to=lhh@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox