Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

What best name for the Heartbeat v2 log daemon ?

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


pica1dilly at yahoo

Jun 18, 2008, 10:05 AM

Post #1 of 7 (500 views)
Permalink
What best name for the Heartbeat v2 log daemon ?

Sorry for the previous post. Some javascript popped a window and made me hit return which the draft-mail window took for a "send-mail".

In many pages of the Linux-HA documentation, we can find repeatingly either expressions "HA logging daemon" or "Heartbeat logging deamon", for what
http://www.linux-ha.org/GettingStartedV2 describes as a "logging broker" that "makes the synchronous calls on behalf of its clients."

For the sake of unambiguous construeing I would like to suggest the replacement in all documentation of the expression "logging daemon" by a more accurate term when describing the "new in version 2 HeartbeatLogDaemon" http://www.linux-ha.org/HeartbeatLogDaemon.

This, to clearly distinguish this daemon and it's specific features from what are called "system log" services such as syslog, syslog-ng or rsyslog.
These packages generally contain:
- a log daemon that receives log messages and writes them to disk
- a logger client/API to send a message to the log daemon.

Does it make sense to call the HeartbeatLogDaemon, a "log daemon", when it does NOT itself write messages to disk ?

Isn't the HeartbeatLogDaemon closer to being itself a "logger" that sends itself messages to the real "log daemon" ?

Then, is the HeartbeatLogDaemon really a "broker" ?

Isn't it rather a "proxy", or a "relay" ?

Finally, shouldn't it's temporary FIFO buffer storage feature be evident in the name ?

A more distinctive name should clarify the function of the HeartbeatLogDaemon among the other services that help constitute a cluster.




_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


pica1dilly at yahoo

Jun 18, 2008, 9:44 AM

Post #2 of 7 (480 views)
Permalink
What best name for the Heartbeat v2 log daemon ? [In reply to]

In many pages of the Linux-HA documentation, we can find repeatingly either expressions "HA logging daemon" or "Heartbeat logging deamon", for what
http://www.linux-ha.org/GettingStartedV2 describes as a "logging broker" that "makes the synchronous calls on behalf of its clients."

For the sake of unambiguous construeing I would like to suggest the replacement in all documentation of the expression "logging daemon" by a more accurate term when describing the "new in version 2 HeartbeatLogDaemon" http://www.linux-ha.org/HeartbeatLogDaemon.

This, to clearly distinguish this daemon and it's specific features from what are called "system log" services such as syslog, syslog-ng or rsyslog.
These packages generally contain:




First, is the daemon really a "broker" ?

Isn't it rather a "proxy", or a "relay", or a "buffered relay" ?

Second



_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


beekhof at gmail

Jun 18, 2008, 11:57 AM

Post #3 of 7 (483 views)
Permalink
Re: What best name for the Heartbeat v2 log daemon ? [In reply to]

On Wed, Jun 18, 2008 at 18:44, Joe Bill <pica1dilly[at]yahoo.com> wrote:
> In many pages of the Linux-HA documentation, we can find repeatingly either expressions "HA logging daemon" or "Heartbeat logging deamon", for what
> http://www.linux-ha.org/GettingStartedV2 describes as a "logging broker" that "makes the synchronous calls on behalf of its clients."
>
> For the sake of unambiguous construeing I would like to suggest the replacement in all documentation of the expression "logging daemon" by a more accurate term when describing the "new in version 2 HeartbeatLogDaemon" http://www.linux-ha.org/HeartbeatLogDaemon.
>
> This, to clearly distinguish this daemon and it's specific features from what are called "system log" services such as syslog, syslog-ng or rsyslog.
> These packages generally contain:
>
>
>
>
> First, is the daemon really a "broker" ?
>
> Isn't it rather a "proxy", or a "relay", or a "buffered relay" ?

the last one.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


dejanmm at fastmail

Jun 19, 2008, 5:04 AM

Post #4 of 7 (471 views)
Permalink
Re: What best name for the Heartbeat v2 log daemon ? [In reply to]

On Wed, Jun 18, 2008 at 10:05:31AM -0700, Joe Bill wrote:
> Sorry for the previous post. Some javascript popped a window
> and made me hit return which the draft-mail window took for a
> "send-mail".
>
> In many pages of the Linux-HA documentation, we can find
> repeatingly either expressions "HA logging daemon" or
> "Heartbeat logging deamon", for what
> http://www.linux-ha.org/GettingStartedV2 describes as a
> "logging broker" that "makes the synchronous calls on behalf of
> its clients."
>
> For the sake of unambiguous construeing I would like to suggest
> the replacement in all documentation of the expression "logging
> daemon" by a more accurate term when describing the "new in
> version 2 HeartbeatLogDaemon"
> http://www.linux-ha.org/HeartbeatLogDaemon.
>
> This, to clearly distinguish this daemon and it's specific
> features from what are called "system log" services such as
> syslog, syslog-ng or rsyslog.

Aren't both
> "HA logging daemon"
and
> "Heartbeat logging deamon"
different enough from "system logging daemon" or syslog? BTW,
Linux-HA and Heartbeat have been used for the same thing, i.e. a
linux HA software.

Of course, I don't mind unifying the name, but don't see this as
urgently needed. There are quite a few more interesting tasks
regarding the documentation ;-)

> These packages generally
> contain: - a log daemon that receives log messages and writes
> them to disk - a logger client/API to send a message to the log
> daemon.
>
> Does it make sense to call the HeartbeatLogDaemon, a "log
> daemon", when it does NOT itself write messages to disk ?

Why not? A syslogd doesn't have to write messages to disk either.

> Isn't the HeartbeatLogDaemon closer to being itself a "logger"
> that sends itself messages to the real "log daemon" ?
>
> Then, is the HeartbeatLogDaemon really a "broker" ?
>
> Isn't it rather a "proxy", or a "relay" ?
>
> Finally, shouldn't it's temporary FIFO buffer storage feature
> be evident in the name ?
>
> A more distinctive name should clarify the function of the
> HeartbeatLogDaemon among the other services that help
> constitute a cluster.

I see no problem with that, but still no urgent need either.

>
>
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


pica1dilly at yahoo

Jun 19, 2008, 8:50 AM

Post #5 of 7 (465 views)
Permalink
Re: What best name for the Heartbeat v2 log daemon ? [In reply to]

--- On Thu, 6/19/08, Dejan Muhamedagic <dejanmm[at]fastmail.fm> wrote:

> From: Dejan Muhamedagic <dejanmm[at]fastmail.fm>

>
> Aren't both "HA logging daemon" and "Heartbeat logging deamon"
> different enough from "system logging daemon" or syslog?

As a "logging daemon", I would expect that component to replace syslogd.
This is not the case, and that's why it's confusing.

> Linux-HA and Heartbeat have been used for the same thing,
> i.e. a linux HA software.
In my mind, anybody who brings up "Linux-HA" or "HA" to talk about
a cluster manager means "Heartbeat".
There is no confusion with Xen, or OSCAR, or Rocks.

> Of course, I don't mind unifying the name, but
> don't see this as urgently needed.
> There are quite a few more interesting tasks
> regarding the documentation ;-)

I'll explain the urgency by saying that the mismatch between the
documentation and the code, to which you can add alternative options
(i.e. use_logd=yes/no) to achieve the same thing, and recommendations like
"use use_logd=yes" with no further explanations, just prevents from
understanding the true **design** and *intent** of the developers.

Having read the documentation and the source code, I, as developer of
resource agents, have no trust in how ha_log() works today and will keep on
working tomorrow.

Eventually I end up providing one option with ha_log() "to conform to the
standard", regardless of the result returned, and one option without ha_log(),
that guarantees the result I want to achieve while improving the reliability
and the predictability over time

>> Does it make sense to call the HeartbeatLogDaemon, a
>> "log daemon", when it does NOT itself write messages
>> to disk ?
>
> Why not? A syslogd doesn't have to write messages to
> disk either.
>

Ok, I'll take the "syslog" characteristic, describing the
"syslog message protocol", as distinguishing factor

>> Isn't the HeartbeatLogDaemon closer to being
>> itself a "logger" that sends itself messages
>> to the real "log daemon" ?

The fact is though, the component has two parts: ha_logger and ha_logd.
If the daemon lacks the disk-writing, it's missing then one of the main
functions that characterizes as a "logging" daemon.

Which suggests the "ha_logd" component is closer to being an extension of
the "logger" than of a "logging daemon".

> > Then, is the HeartbeatLogDaemon really a "broker" ?
Not a broker, it doesn't negotiate.

> > Isn't it rather a "proxy", or a

Not a proxy, nodes are pushing data to the server,
not that the server is pulling data.

>> "relay" ?

"logger relay" "logger-relay-daemon" sound ok

>> Finally, shouldn't it's temporary FIFO buffer
>> storage feature be evident in the name ?

A relay would appear to know how to store and forward,
rather than drop messages like a saturated gateway or bridge.

Taking your remark above about syslog in account, we get:

"syslog-relay" and "syslog-relay daemon" which sound also fine to me.

What shall it be?

- The Linux-HA "syslog-relay daemon" with the ha_logger ?

- the Heartbeat "syslog-relay daemon" " " " ?

- the Linux-HA "logger-relay daemon" with the ha_logger ?

- the Heartbeat "logger-relay daemon" " " " ?





_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


lmb at suse

Jun 20, 2008, 1:11 PM

Post #6 of 7 (452 views)
Permalink
Re: What best name for the Heartbeat v2 log daemon ? [In reply to]

On 2008-06-19T08:50:24, Joe Bill <pica1dilly[at]yahoo.com> wrote:

> In my mind, anybody who brings up "Linux-HA" or "HA" to talk about
> a cluster manager means "Heartbeat".
> There is no confusion with Xen, or OSCAR, or Rocks.

I disagree, actually. Linux-HA and heartbeat are two different things,
and this causes some confusion from time to time too.

I like the idea of cleaning up the docs to be consistent.

> Having read the documentation and the source code, I, as developer of
> resource agents, have no trust in how ha_log() works today and will keep on
> working tomorrow.
>
> Eventually I end up providing one option with ha_log() "to conform to the
> standard", regardless of the result returned, and one option without ha_log(),
> that guarantees the result I want to achieve while improving the reliability
> and the predictability over time

On the subject of clarity, I have no idea what you're refering to here.

For resource agent, I'd recommend ocf_log and not ha_log, anyway.

> The fact is though, the component has two parts: ha_logger and ha_logd.
> If the daemon lacks the disk-writing, it's missing then one of the main
> functions that characterizes as a "logging" daemon.

The daemon can write to disk too, or relay to syslog. It's main function
is buffering to decouple the HA stack from the disk or syslog system.

> Taking your remark above about syslog in account, we get:
>
> "syslog-relay" and "syslog-relay daemon" which sound also fine to me.

But it doesn't just relay to syslog.

> What shall it be?
>
> - The Linux-HA "syslog-relay daemon" with the ha_logger ?
>
> - the Heartbeat "syslog-relay daemon" " " " ?
>
> - the Linux-HA "logger-relay daemon" with the ha_logger ?
>
> - the Heartbeat "logger-relay daemon" " " " ?

Linux-HA logging relay (daemon), if you insist on using the full name.
In the docs, probably the qualification "Linux-HA" can be dropped in
most places, as it's the Linux-HA documentation already and thus
implicit.

ha_logger is not a "the". It's just ha_logger, a command line tool to
call, but no RA should be calling it directly.


Regards,
Lars

--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


pica1dilly at yahoo

Jul 20, 2008, 8:46 AM

Post #7 of 7 (275 views)
Permalink
Re: What best name for the Heartbeat v2 log daemon ? [In reply to]

--- On Thu, 6/19/08, Dejan Muhamedagic <dejanmm[at]fastmail.fm> wrote:

> > Isn't the HeartbeatLogDaemon closer to being
> > itself a "logger" that sends itself messages
> > to the real "log daemon" ?
> >
> > Then, is the HeartbeatLogDaemon really a "broker" ?
> >
> > Isn't it rather a "proxy", or a "relay" ?
> >
> > Finally, shouldn't it's temporary FIFO buffer
> > storage feature be evident in the name ?

Went fishing yesterday for the first time in about 3 years.
It hit me at a moment when I was reeling in my line.

Of course, the HA log daemon is a "spooler".






_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.