Installation guide
76 DC 900-1325I
Freeway Server-Resident Application (SRA) Programmer Guide
The NFS configuration consists of
1. a server containing directories and files to be accessed, and
2. one or more clients that remotely access the data that is stored on the server
machine.
A Freeway can be configured as an NFS client, an NFS server, or even as both client and
server at the same time. When the Freeway acts as an NFS client, the client/server termi-
nology may become a bit confusing, since it will be a client for NFS, but a server for the
communications links.
In order for the Freeway to function properly as an NFS client, the NFS server has to be
running the necessary software that services requests from the NFS clients. Refer to your
NFS server's network guide to determine how to set this up.
You can set up the Freeway server as an NFS client by putting the following command
in the rc.startsra file:
mount -t nfs remotehost:/filesystem /localmountpoint
It is also possible to automatically mount file systems at boot from the /etc/fstab file by
using a line like:
remotehost:/filesystem /localmountpoint nfs rw 0 0
Once you have the NFS configuration in place, your SRA can access directories and files
on the NFS server. One method of using NFS is to create two subdirectories on the NFS
server: one for transmit and one for receive. The SRA can periodically check the trans-
mit directory for files. When a file appears, the SRA can transmit it on the serial line and
delete the file when transmit is complete. Likewise, the SRA can take messages coming
in on the serial line and put them into files in the receive directory, where the NFS server
(or any other NFS client with access to that directory) can access them.