LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   FiFo sharing over NFS/SMB mounts..?? (https://www.linuxquestions.org/questions/linux-general-1/fifo-sharing-over-nfs-smb-mounts-265212/)

JZMatrix 12-11-2004 09:51 AM

FiFo sharing over NFS/SMB mounts..??
 
I am running multiple machines running Mandrake 9.x and Debian 3.x. The goal is to share 'real-time' data between the groups of machines. The initial thought was the utilize an existing NFS share that is common amongst the systems and create a FiFo handle they could all 'write' to and have a simple daemon monitor that 'file' for any new posts and respond accordingly.

One machine is able to post to the FiFo see it's own data, but machine #2 is not recieving anything. Does anyone know if this concept is possible, and if so how to go about properly deploying it?

Any advice would be appreciated.

Thank You

MasterC 12-12-2004 01:53 AM

Re: FiFo sharing over NFS/SMB mounts..??
 
Quote:

Originally posted by JZMatrix
I am running multiple machines running Mandrake 9.x and Debian 3.x. The goal is to share 'real-time' data between the groups of machines. The initial thought was the utilize an existing NFS share that is common amongst the systems and create a FiFo handle they could all 'write' to and have a simple daemon monitor that 'file' for any new posts and respond accordingly.

One machine is able to post to the FiFo see it's own data, but machine #2 is not recieving anything. Does anyone know if this concept is possible, and if so how to go about properly deploying it?

Any advice would be appreciated.

Thank You

Maybe I'm not understanding you correctly. On my small LAN, both my NFS mounts as well as my SMB shares are 'real-time'. When I create a file from one machine, it is immediately available on the other. I'm guessing that's not what you mean? Maybe something like CVS is what you are looking for?

Maybe try to expand your question, give a better example.

Cool

JZMatrix 12-12-2004 02:03 AM

File sharing IS working correctly.

In the past I to kick of remote commands quick and dirty I would use rexec on a private, isolated network between my machines. However, Debian 3.x no longer appears to have rexec available and I have yet to find rexec (client) source. They do provide rsh, but that has been very clumsy due to it's security structure.

My next idea was to use a FiFo handle located on a central NFS mount, one machine would have a daemon running that monitors the FiFo. Another machine would echo a command into the FiFo and the target server would/should be able to pick it up and then act accordingly. The problem that I'm getting is, I run tail -f fifo.tst on the target server. I then echo junk > fifo.tst from a different machine. Nothing ever comes through to the target server. However, if I have a tail -f fifo.tst running on the source machine, when I echo in the command, it will see the data.

I have never worked with creating/working with my own FiFo handles so I'm not sure of the constraints, but it appears as though the file handle is actually memory resident which limits it to the physical machine. I could resort to actually creating physical files on the share and monitoring that, I was just trying to stay away from actual disk writes as the traffic may get extreme at times.

If anyone knows where I can find the source of rexec (in case I overlooked it's location) or a solution that would allow FiFo to transfer data between multiple machines, please reply. Thank you in advance.

MasterC 12-12-2004 02:11 AM

http://www.theether.org/rexec/

Cool


All times are GMT -5. The time now is 10:18 AM.