Hi, If STAFProc isn't running on a remote machine, then of course you can't communicate to the remote machine using STAF. So, your question really is how would you start any executable remotely (not just STAFProc), if STAFProc isn't running? You can google for different ways to do this. For example, on Unix machines, you could use rsh (remote shell) or rexec (remote exec) which are tools that allow you to execute a non-interactive program on another system. Most Unix and Linux systems include a remote shell daemon and a remote exec daemon, but Windows does not. If you start STAFProc as a service on Windows, there are tools like Netsvc.exe and Instsrv.exe to start a service on a remote machine from a Windows machine. Or, perhaps you could have a cron job that checks every few minutes if STAFProc is running and if it's not, start it.
Note that you can configure a machine to start STAFProc during bootup. See section "11. Starting STAF during system reboot" in the STAF Installation Guide at http://staf.sourceforge.net/current/STAFInstall.pdf for more information. If STAFProc is shutdown and not restarted, then you could issue a reboot command (e.g. on Linxu, "shutdown -r now") and wait for the reboot to complete and start STAFProc. -------------------------------------------------------------- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 From: Ahmed Mostafa <eng.ahmed2...@gmail.com> To: STAF <staf-users@lists.sourceforge.net> Date: 11/03/2010 03:29 AM Subject: [staf-users] Run STAF remotely Hello, Is there a way to start STAF remotely? i.e. from machineA, if I find that machineB does not reply to PING request, then I want to start STAF. I believe this is not related to STAF, but is there a way to do it? (machineA is an AIX system, machineB varies: AIX, Linux, Solaris and Windows) Thanks ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users