From: "Ragnar Kjørstad" <nfs@ragnark.vestdata.no>
To: Steve Dickson <SteveD@redhat.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: [PATCH] STATD - SM_NOTIFY have wrong ID_NAME on multihost servers.
Date: Wed, 24 Nov 2004 18:35:25 +0100 [thread overview]
Message-ID: <20041124173525.GI19342@vestdata.no> (raw)
In-Reply-To: <41A477C8.4060405@RedHat.com>
On Wed, Nov 24, 2004 at 07:00:08AM -0500, Steve Dickson wrote:
> >If that's the case, are we allowed to just send the IP instead of the
> >name?
> >=20
> >
> No, since the spec says a the id_mon needs to be character string....
"10.0.0.1" is a character string as much as any - unless the
specification says something more about this?
> >- If you have aliases (eth0, eth0:0) with different IPs but on the
> > same network. The current patch (if I read it correctly) will then
> > use the name from the last alias, which is kind of random.
>
> Well it would not be random, it would be the first interface....
>=20
> >The second case may be very relevant to the HA-problem which "-n" was
> >originally added for.
> >=20
> >
> Yes... the -n flag wold be the answer here...
Unless, of course, a more general fix would handle this automatically.
And I think that could be something along the lines:
- loop over all available interfaces
- for each interface, send a message to all clients that belong on
this subnet
- the message could be based on the IP or gethostbyaddr(IP).
In short, this is exactly like what your patch does except that:
- if there are multiple matching interfaces (e.g. aliases) we
send messages for all
- I still don't understand why we don't send the IP instead of
the name.
Unlike sending messages for all names to all clients it's not too
verbose.
--=20
Ragnar Kj=F8rstad
Software Engineer
Scali - http://www.scali.com
High Performance Clustering
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2004-11-24 17:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 20:28 [PATCH] STATD - SM_NOTIFY have wrong ID_NAME on multihost servers Steve Dickson
2004-11-23 23:26 ` Ragnar Kjørstad
2004-11-24 0:46 ` Steve Dickson
2004-11-24 2:00 ` Ragnar Kjørstad
2004-11-24 12:00 ` Steve Dickson
2004-11-24 17:35 ` Ragnar Kjørstad [this message]
2004-11-24 18:43 ` Marc Eshel
2004-11-24 20:35 ` Ragnar Kjørstad
2004-11-24 22:08 ` Steve Dickson
2004-11-24 23:25 ` Ragnar Kjørstad
2004-11-26 13:01 ` Steve Dickson
2004-11-24 4:42 ` Marc Eshel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041124173525.GI19342@vestdata.no \
--to=nfs@ragnark.vestdata.no \
--cc=SteveD@redhat.com \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.