Good idea. Whireshark has very good filtering & display features. But it will be quite hard to keep wireshark dissectors in sync with corosync project. And does corosync send all messages to wire? What about groups that are joined on only one node?
Regards, Wojtek Dnia 25-08-2009 o godz. 20:17 Angus & Anna Salkeld napisał(a): > Hi > > Can't you just use tcpdump/wireshark? Someone did post wireshark decoding > plugins, so you should be able to decode a reasonable amount of corosync's > packets. > > Regards > Angus > > On Wed, Aug 26, 2009 at 1:59 AM, Jan Friesse<[email protected]> wrote: > > Wojtek, > > I like that idea but it means enhance API, because currently we have no > > support for this feature. Maybe we can add callback (something like > > cpg_listen to register (instead of cpg_join) and then > > MESSAGE_RES_CPG_LISTEN_CALLBACK in dispatch) or make a "special group" > > (named like 0x0 with lenght 0, or "service", ...) where you will get all > > informations even if message is not directed for given group. > > > > Regards, > > Honza > > > > Wojtek Meler wrote: > >> Jan Friesse pisze: > >>> Included is source code of initial version of cpgtool. This tool > >>> should be able to interact with cpg. For now, only displaying of cpg > >>> members is supported. In case you have any idea what to add/how to > >>> make output better/..., please let me know. My idea is to add > >>> something like watch, what will be able to watch actions on cpg group > >>> (so very stripped down test/cpgtest), but I'm not sure if this is not > >>> just duplication of existing feature. > >>> > >>> Regards, > >>> Honza > >> It is not duplication because nothing from test/ is installed in target > >> system. Maybe cpgtest should be renamed and placed in tools ;) ? > >> I think that it would be great to have tool which would allow to capture > >> cpg messages (something like tcpdump). > >> cpgtest allow to join to one group only, so it can't receive all > >> messages in cluster. Maybe some filtering would be usable - like > >> 'show only messages from node X'. > >> > >> Regards, > >> Wojtek > > > > _______________________________________________ > > Openais mailing list > > [email protected] > > https://lists.linux-foundation.org/mailman/listinfo/openais > > ---------------------------------------------------- Jestem Przyjacielem - Artyści Dzieciom, koncerty, imprezy, konkursy. Zobacz: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2FGdynia_pozegnanie_lata.html&sid=845 _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
