noorisyam has asked for the wisdom of the Perl Monks concerning the following question:

Im now involve in cluster maintenance and i decided to develop an application/administrator's tools using Perl to make easier for admin to maintain cluster. Is there are anyone who has already come up with solution for this problem??
  • Comment on develop pc cluster administrator's tools using perl...

Replies are listed 'Best First'.
Re: develop pc cluster administrator's tools using perl...
by Abigail-II (Bishop) on Apr 23, 2003 at 09:07 UTC
    Eh, what kind of cluster? High available cluster? Load balancing cluster? Distributed computing cluster? Which vendor? What OS? How many nodes? How many packages?

    I've experience with SUN Cluster, HP Serviceguard, and Veritas cluster. They all have the ability to insert hooks if a package fails, or switches to a different node. At least part of Veritas cluster is written in Perl. 2 years ago, I was following a training at Veritas about their cluster. At one moment, we had a conversation like this:

    Coworker: Hey, there are pre- and post-hooks if a package comes up, and there's a post-hook for if a package goes down, but no pre-hook for a package going down.
    Me: Hmmmm, this is a Perl program. vi whatever.pl.
    Trainer: Yeah, that is indeed annoying. I've encountered that limitation in the field myself as well.
    Me: clickety-click
    Trainer: I put in a feature request quite some time ago.
    Me: :wq. There, now we have all four hooks.
    Trainer (gets floppy from his bag): Can I have that?

    The power of Perl....

    Abigail

Re: develop pc cluster administrator's tools using perl...
by AcidHawk (Vicar) on Apr 23, 2003 at 08:20 UTC

    What OS?

    I have done some work with Clusters on a MS platform in getting services to fail over between physical nodes etc. Not for the fainthearted..;(

    Unfortunately I have done nothing on any Unix platforms.

    -----
    Of all the things I've lost in my life, its my mind I miss the most.