Hi,

On Thu, Feb 14, 2008 at 12:13:23PM -0700, Damon Estep wrote:
> Dejan,
> 
> Much thanks. I did get your version to work after adding the XML define
> for pduip and realizing that the parameter host that was previously the
> snmp host is now the node name.
> 
> Also, if this is to be universal for other snmp resettable devices the
> OID and outlet should be combined, because the OID is actually not
> complete until an outlet number is added. Why not just combine them for
> compatibility?

Yes, we could obviously do that. It could be a matter of
preference though. The outlet combined with the OID is not easily
visible, or at least not as easy as when it stands by itself.
I think that we could keep it as it is.

What worries me more are the reset/off/on values which are not
configurable. Are they standard (for whichever value of standard)?

> I think this is truly a generic snmp stonith plugin now :)
> 
> I will post my changes after some further tweaks.
> 
> QUESTION: how do you get the HB GUI to show the new parameters? The GUI
> still shows the old parameter list, although it is configurable from the
> GUI by just adding the missing parameters.

I think that GUI auto-discovers the possible parameters, perhaps
you'll have to restart it.

> Thanks a bunch, you made my week!

Glad to hear that.

Thanks,

Dejan

> Damon
> 
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:linux-ha-
> > [EMAIL PROTECTED] On Behalf Of Dejan Muhamedagic
> > Sent: Thursday, February 14, 2008 11:03 AM
> > To: General Linux-HA mailing list
> > Subject: Re: [Linux-HA] STONITH frustration... external/rackpdu
> > 
> > Hi,
> > 
> > On Thu, Feb 14, 2008 at 10:35:29AM -0700, Damon Estep wrote:
> > > > > and a review of the script confirms that it has no mechanism to
> > > > return a
> > > > > hostlist when queried.
> > > >
> > > > Right, and that's a prerequisite for all stonith plugins. They
> must
> > > > return (print) a list of nodes which they can manage.
> > > > I'm afraid that this stonith plugin is not good. If anybody's
> using
> > > > it, I'd really like to know how. The parameters are
> > > > host/community/outlet, but they should be
> > > >
> > > > host (as in 'which node is managed here") ipaddr (the ip address
> of
> > > > the stonith device unit) community outlet (the outlet to which
> this
> > > > host is connected)
> > > >
> > > > Thanks,
> > > >
> > > > Dejan
> > > >
> > > > P.S. CC-ing the author, perhaps he could help...
> > > [Damon Estep]
> > >
> > > Author is aware (but like the rest of us, has limited time), tested
> > in
> > > V1 2 node only, in which case it is said to work. I have been
> > > communicating with him on it.
> > >
> > > I think the best solution would be to make this accept two more
> > > parameters and return the nodelist when queried;
> > >
> > > 1. hostlist, so clones can be created
> > > 2. SNMP OID (have found that different APC modes have different
> OIDs)
> > >
> > > Right now the OID is hard coded in the script but it could be easily
> > > moved to a parameter.
> > 
> > That's a good idea. But what about the various switch (integer)
> values?
> > 
> > > Thanks for taking a look, I really appreciate it. I have been
> running
> > > in circles for 2 days on this.
> > 
> > Sorry for that. Can you tried the attached version?
> > 
> > Thanks,
> > 
> > Dejan
> > 
> > > Damon
> > >
> > > _______________________________________________
> > > Linux-HA mailing list
> > > [email protected]
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to