Nikunj is correct. There is nothing built in to STAF that provides this.
Having said that, it would be possible for you to create a service that
simulated this. STAF provides the ability to perform actions when it
starts up (this used to be solely through startup notifications in the
STAF.cfg file, but we've recently broadened this capability with the
LIFECYCLE service). So, you'd basically designate one system in your
network to be the master/server. You'd write a service that accepted
"notifications" when STAF systems were started. On the nodes, you'd use
the LIFECYCLE service to send a request to this system "notifying" it that
the system is active. The service on the master/server system would
probably want to do some kind of polling (not too frequently -- maybe
every hour?) to validate that the systems were still available. You could
also have the LIFECYCLE service send a notification when STAF is shutdown,
but a lot of times STAF doesn't get cleanly shutdown (for a variety of
reasons), so you'd likely still need/want some kind of polling to verify
systems were still up and active. Once you have this service (which
should be pretty straightforward), you can simply query it for the list of
active systems.
That's not a perfect solution, but its entirely serviceable and readily
implementable. If you decide to do something like this and are feeling
generous, you might consider donating the source back to the STAF project
so that others can leverage it (as I think a number of people/teams would
use it).
Charles Rankin
"Nikunj Verma" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/14/2008 04:27 AM
To
"Mohammad Jamal" <[EMAIL PROTECTED]>
cc
staf-users@lists.sourceforge.net
Subject
Re: [staf-users] [STAF-USER] : Query regarding finding list of system in
the network running STAF
I will be surprised if it does. It is a p2p type of framework and a
peer can't really tell how many other peers are alive..It would have
to scan in order to find that out which may not be desirable.
Thanks,
-Nikunj
On Wed, May 14, 2008 at 2:49 PM, Mohammad Jamal
<[EMAIL PROTECTED]> wrote:
> Greetings,
>
> Is STAF provide any command which list all the system name or IP
> address in the network running STAF?
>
>
> With best regards,
> Mohammad Shahid Jamal
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
--
Regards,
Nikunj Verma
"If we could sell our experiences for what they cost us, we'd all be
millionaires! "
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users