Re: Questions about SmartFrog

"Zhang Qian" <[email protected]> Tue, 11 Dec 2007 11:35:39 +0800
Newsgroups gmane.comp.java.smartfrog.devel,gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Hi Julio,

> My suggestion or improvement would be to use multicast to propagate the
> changes directly to all the management nodes and instead of writing it to a file
> sending the file why not to send the .sf file directly to all the management nodes.
According to our fail-over solution, after fail-over, daemons in the
new master will parse the configuration file to get the latest
configuration. Our daemons can not understand .sf file:-) So I neet to
propagate configuration files to all the management nodes.
Btw, could you tell me more details about the multicast service
provided by SmartFrog? Is it reliable? Or just a wrapper of normal UDP
multicast?

> Another thing that you could do is to use the console to send the new .sf file to
> all the nodes (you could do this in text form of in ComponentDescription form if
> the recipients are sf Components). The master node would act on the new
> configuration and the other nodes would just store the configuration locally. In
> this way each management node would have a cached copy of the cluster
> configuration.
I should propagate configuration files only after our daemon has
verified and activated the changes. Wrong changes should not be
written into configuration file and progagated to other nodes.

> This is quite easy to do with Anubis because its protocol guaranties that what
> you received is the same that the other nodes in your "partition" see and it
> simplifies what you have to do to avoid errors when synchronizing your
> configuration data in the cluster but as I said, it could work equally well with your
> own protocol or with some other form of multicast and extra programming.
Did you mean using ssh/ftp or multicast plus our own monitoring
mechanism can also reach the same level as Anubis. I just think Anubis
is a little big and complex for my requirements.


Regards,
Qian

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php