fam
[Top] [All Lists]

Re: connect to FAM from remote machine?

To: fam@xxxxxxxxxxx
Subject: Re: connect to FAM from remote machine?
From: Ken Tanzer <ktanzer@xxxxxxxx>
Date: Tue, 04 Nov 2003 14:25:09 -0800
Cc: dviner@xxxxxxxxxxxxx
In-reply-to: <20031104135340.E34180@xxxxxxxxxxxxxxxxxxxxxxxx>
Organization: Downtown Emergency Service Center
References: <263A1F717ECDED40AA969F98D1CF122E01A4EF6C@xxxxxxxxxxxxxxxxxxxxx> <20031104135340.E34180@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: fam-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030507
You're supposed to be able to monitor NFS mounted files, either by your FAM server contacting a remote FAM server, or by polling the files.  Unfortunately, we weren't able to get either of those options to work properly.   ("FAM not notifying of non-local changes on NFS file", http://oss.sgi.com/projects/fam/mail_archive/200304/msg00007.html).

If you do get anything like this running, I'd love to know about it, because it would be helpful for us!  Thanks.

Michael Raymond wrote:
    I'm not that familiar with the code, but I know that the documentation
does talk about the fam daemon contacting fam daemons on other machines to
monitor NFS mounted files.  Therefor fam daemons can talk to each other but
I doubt that clients can do it.  I think one way that the daemon does
security is that it only talks to connections coming from secure port(s).
	    	    	    	     	     		 Michael

On Tue, Nov 04, 2003 at 10:48:30AM -0800, Viner, David wrote:
  
Hi,

I know that the fam library uses rpc messages to connect to the fam daemon.
Is it possible to connect to a fam daemon on a remote machine (i.e., a
machine that is not localhost)?  

>From looking at the code, it appears to me that this is not possible, since
FAMOpen2 constructs the client like this:
	fc->client = new Client(LOCALHOSTNUMBER, famnumber, famversion);
where LOCALHOSTNUMER is
	#define LOCALHOSTNUMBER 0x7f000001 // Internet number for loopback.

thanks
dave

    

  

-- 
Kenneth Tanzer
Information Services Manager
Downtown Emergency Service Center
(206) 464-1570, ext. 3061
ktanzer@xxxxxxxx
www.desc.org

<Prev in Thread] Current Thread [Next in Thread>