I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to subscribe/request for this before they get a signal.
> the number of windows machines may vary.
you could install samba on the solaris machine, create a cifs share and mount it on all windows systems
when the event occurs, create a file in a directory and write a script on windows to look for that file frequently
other method is install ssh on windows, create a authorized key connection between solaris and windows, and run a command on each windows system
hostname.txt contains all hostnames
then write somthing like
for i in $(cat hostnames.txt)
do
ssh "$i":/command
done
Edit: I doubt it's the BEST possible solution, the best solution would be a client server program over port communication written in high level programming language
> my problem is, i cannot have Samba on the Solaris box for some security reasons.
> quite new to this SNMP, not sure whether it is involving an introduction to an agent on the server.
Can we have a socket communication between Solaris box and the windows clients.( i have never tried this, not sure whether it is dumb q ).