[Openais] CPG - x86 - sparc heterogenous cluster
Wojtek Meler
wmeler at wp.pl
Thu Jul 30 03:55:08 PDT 2009
Fabio M. Di Nitto pisze:
> testcpg is not endian clean. That's why you see them backwards.
>
I thought that corosync handles endianess in corosync daemon, and
clients - like testcpg -
don't need to worry about it. Is it true?
I think that problem is in nodeid interpretation. It is initialized with
node IP (always network order?),
but then handled like all ints (swab32).So when it is transmitted in
cluster you can't guess
if you should swab it again even on architectures that don't need it
(sparc)...
quite common mistake.
Regards,
Wojtek
More information about the Openais
mailing list