Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.