[Linux-ha-dev] Re: [Fwd: Re: [Fwd: Re: draft of updated GRITS note]]
Stephen C. Tweedie
sct@redhat.com
Wed, 8 Mar 2000 23:23:00 +0000 (GMT)
Hi,
On Wed, 08 Mar 2000 12:51:11 -0800, David Brower <dbrower@us.oracle.com>
said:
>> What about the RPC protocol from OSF. This can be used from just about
>> all of the major platforms.
> That's DCE, right? While it's available for most platforms, I don't
> know that it is trivial and plausible to implement cheaply on an
> embedded platform that isn't already running free software. I think
> I'd rather have raw tcp than DCE.
Yep.
Just use SunRPC. XDR gives you completely standard, portable
marshalling for your data structures, and has the advantage that you can
run XDR independently of the RPC code if you want to, so that you can
use the same marshalling code for sending fencing commands over SCSI if
you really want to.
That solves the portability bits that matter without constraining the
rest of your implementation much.
--Stephen