[Linux-cluster] Announcing Perl bindings for libcman

S. Zachariah Sprackett zac at sprackett.com
Mon Jun 2 04:48:12 UTC 2008


I'd like to announce the availability of my Perl bindings for libcman.

You can grab them from here:


A simple example script would be as follows:

use Cluster::CMAN;

my $cman = new Cluster::CMAN();

foreach ($cman->get_nodes) {
    print "Found a node: " . $_->{name} ."\n";

print "Cluster is"
   . ($cman->is_quorate() ? "" : " NOT") . " quorate!\n";


These bindings also fully support both the notification and recv_data
callbacks allowing you to take advantage of them from within perl.

Please let me know if you have any trouble with them.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080602/c9881603/attachment.htm>

More information about the Linux-cluster mailing list