Questions about SmartFrog
"Zhang Qian" <[email protected]> Wed, 5 Dec 2007 13:28:06 +0800
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I have two questions about SmartFrog: 1. Can SmartFrog be used to synchronize configuration on many hosts? I have a cluster which contains hundreds of hosts, so it's very important to make config changes synchronoursly on these hosts. Is it possible to write my own SmartFrog component whose responsibility is communicate with my own daemons on all the hosts, and deliver config changes to them synchronoursly? 2. I am trying to write a sample SmartFrog component for my own, but I find it can not take effect until sfDaemon restarts. I have written a java class which extends PrimImpl and implements Prim, also written related .sf file to describe the config. At first, it works fine, but when I change some codes in my java class, and build it by ant, run it by sfStart, the code I added will not take effect until I restart sfDaemon. Did I missed some thing or made some mistake? Any suggestions will be really appreciated! Regards, Qian ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4