Best possible communication mechanism between a Solaris machine and a windows machine


 
Thread Tools Search this Thread
Operating Systems Solaris Best possible communication mechanism between a Solaris machine and a windows machine
# 1  
Old 02-05-2009
Best possible communication mechanism between a Solaris machine and a windows machine

hi,

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.

these signals are produced very frequently.

Thanks in advance.
Krsh Smilie
# 2  
Old 02-05-2009
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

Code:
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

Last edited by funksen; 02-05-2009 at 07:08 AM..
# 3  
Old 02-05-2009
you have a lot of possibitlities...

- send a mail to a user
- use a centralized syslog server
- use smtp
- ...

choose the solution you are familiar with. this would be the "best" solution for you!
# 4  
Old 02-05-2009
To add to the confusion: SNMP with traps
# 5  
Old 02-05-2009
Quote:
Originally Posted by pludi
To add to the confusion: SNMP with traps
smtp in my last post should be snmp... damn shortcuts Smilie
# 6  
Old 02-05-2009
Thanks a ton guys,

> 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 Smilie).
# 7  
Old 02-05-2009
then take any windows share and mount it on both windows and solaris, the shared directory may come from any other samba/windows server

it's also possible to share nfs from windows with additional software like hummingbird
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Having solaris installed over VM ware machine in windows

I have installed solaris 10 over VM ware in windows machine. now i want to share the files from windows to solaris. how can i do so.. and pls tell if through putty i can access the solaris from windows machine without logging onto VMware. (4 Replies)
Discussion started by: jain_sharad143
4 Replies

2. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

3. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

4. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

5. Solaris

installation problem solaris,windows,suse on same machine

Hi all, Previously I had both opensuse 11.3 and Windows XP SP2 on my PC, there was no problem at all.I was able to access all documents in Windows from opensuse. Now when I wanted to install solaris 10 on the same machine there were 2 problems ... 1. Windows is not accessible from solaris... (3 Replies)
Discussion started by: M.Choudhury
3 Replies

6. IP Networking

RSH to Ubuntu machine from Solaris machine?

This is probably really basic compared to what you guys are usually talking about here, but I have a problem and I have no idea what to do about it. I try to RSH to my Ubuntu computer from my Solaris one and run into a dead end: >> rsh 192.168.1.103 ::ffff:192.168.1.103: Connection timed out... (4 Replies)
Discussion started by: Bradj47
4 Replies

7. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

8. Shell Programming and Scripting

SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies

9. Solaris

Windows emulator on Solaris machine

Hello together, in our German company we have buyed one English Windows XP version. Every one of us should have access to this windows installation. So we have reconsidered that we want to install this Windows on our SUN SPARC Solaris machine. It is only used for checking out licenses of our own... (2 Replies)
Discussion started by: SPORTS
2 Replies

10. Programming

the performance impaction of TCP communication in same machine?

Two processes at the same machine communicaton with each other use TCP. The communicaton flow between them is very heavy. My question is How the impaction of "processes at the same machine communicaton " .If I mv one process to another machine and send the same data, the impact is less than... (1 Reply)
Discussion started by: chenhao_no1
1 Replies
Login or Register to Ask a Question