> On November 30, 2007 7:36 AM, Eddie C edlinuxguru _at_
gmail.com
> I would also seriously advice staying away from the GUI.
You may hear
> that a lot. For a  while I did not believe it myself.
Learning how to
> use the cib tools is the way to go. The GUI can really
only carry you
> so far in configuration.
>

Yeah, maybe you're right. Maybe I'm holding on too tight to
the GUI.
I wouldn't mind jumping through some hoops to configure it
manually
or using the cib tools, but it would be really handy to be
able to
monitor and administer the cluster from the GUI from then
on. From
what I have observed so far, that does not seem to be
possible. It
seems as though there are a few things that the GUI does not
recognize even in a well configured cluster. Please somebody
correct
me if I'm wrong. I'd like to be wrong on this one. I don't
even
want to do anything fancy. I can't get pingd to work!

So here's a scenario. Let's say that I get the cluster
running
perfectly today and leave it alone for a year. And then I
need to
do some maintenance. I have an Active/Passive cluster. Maybe
I want
to update some software on both nodes, so I want to bring
down the
passive node, update it, and bring it back up. Then I want
to failover
the resources from active to passive and do maintenance on
the
formerly active node. My guess is that I would have to do at
least
a day's worth of work to remember all of the commands and
switches
and wade through web pages, etc. For production servers,
this is highly
undesirable. The advantage of the GUI, is that it is pretty
straightforward to bring resources up and down and cause
things to
failover without the reading, remembering, and (worst of
all)
experimentation.

> On Nov 29, 2007 5:14 PM, Bill Eaton <ee2 _at_
aeroantenna.com> wrote:
> >
> >
> > >> On another thread () I've been trying to figure out
how
> > to
> > >> get pingd to play nicely with hb_gui. One of the
> > >> difficulties of this task is understanding
> > >> what kind of information pingd provides. Judging from
the
> > >> examples on the pingd web page, the possible return
> > >> values are something like
> > >>    defined
> > >>    not_defined
> > >>    <value>
> >
> > > There are not exactly return values. The pingd
program,
> > > which is either managed by the pingd RA or using the
> > > ha.cf respawn directive, just creates an attribute in
> > > the status section of the CIB. The value of that
> > > attribute depends on the number of nodes it was able
to
> > > ping (n*multiplier).
> >
> > I cannot find anything that looks like a score in the
> > status section given by "cibadmin -Ql". What should that
> > look like? And again, what does defined or undefined
mean?
> >
> > Curiously, I do see two sets of fail counts that
> > should be getting updated, but they are not. Since my
> > network cable on one computer is unplugged, one of the
> > fail counts should be going up, but it is not changing.
> >
> > >> What do these mean? More importantly what does
<value>
> > >> mean? The first two cannot be used with the gui
because
> > >> it will not accept the "defined" or "not_defined"
> > >> operator without also entering a value. And
> > >> it seems that if you enter a value (e.g. " " or
"true")
> > >> in the gui, heartbeat does not like it.
> >
> > > Hmm, not an expert on GUI, but shouldn't you here
enter
> > the
> > > attribute name for the <value> (typically pingd).
> >
> > Gui expects "attribute", "operation", and "value". I
used
> > "pingd" for the attribute and have been changing the
> > operation, but with no luck.
> >
> > >> So then we're left with trying to use <value> for a
> > >> failover trigger. I'm trying to figure out how to
combine
> > >> a location constraint with a pingd clone monitor to
get
> > >> things to failover. Possible on_fail actions are
> > >>    ignore
> > >>    block
> > >>    stop
> > >>    restart
> > >>    fence
> > >> It's a little unclear what these mean in the context
of
> > >> a clone and I'm not sure which one to use along with
a
> > >> pingd location constraint based on
> > >> <value>
> >
> > > The pingd clone is not important, it just serves to
> > > manage the pingd program. The pingd program does all
> > > the work. Don't reference that cloned resource in
> > > constraints. Just reference the attribute which pingd
> > > inserted in the status section (using score_attribute
> > > instead of score).
> >
> > Gui doesn't support score_attribute, so I have been
trying
> > to get things to work with score.
> >
> > > I suppose that you checked http://linux-ha.org/pingd
> >
> > More times than I can count. Regrettably, I cannot use
> > the examples in that document because they have things
> > that simply are not supported by gui.
> >
> >
> >
> >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA _at_ lists.linux-ha.org
> > 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