LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-11-2004, 09:51 AM   #1
JZMatrix
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
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
 
Old 12-12-2004, 01:53 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 12-12-2004, 02:03 AM   #3
JZMatrix
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 12-12-2004, 02:11 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
http://www.theether.org/rexec/

Cool
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS SMB common mounts greno Linux - Networking 1 06-02-2004 05:51 PM
smb mounts in fstab failing gw1500se Mandriva 4 05-31-2004 08:51 AM
Unmounting "broken" NFS/SMB mounts safely darkfame Linux - Networking 1 12-11-2003 06:13 PM
File Sharing: NFS or SMB? scorpatron Linux - Networking 6 11-10-2003 12:44 AM
nfs FIFO??? granny Linux - Newbie 1 12-16-2002 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration