NFS services are applied in many systems. We have made a lot of contacts. Here we will focus on SuSE's content for starting the NFS service and connecting the NFS service to AIX. This problem is often encountered during the distributed deployment of ArcIMS, because the website and output directory of the web server and ims server (app server + spatial server) must be shared, easy to generate images and smoothly transfer between different layers deployed in arcims. the problem was solved by searching for information on the Internet last time. I encountered another problem at the user's site and sorted it out by the way!
Here, the Linux operating system of SuSE9 Enterprise Edition is used as an example. The sharing mode is NFS. Now the problem is divided into two steps. One is that SuSE starts the NFS sharing service, and the other is that AIX connects to the NFS service.
1. SuSE starts the NFS service
Edit/etc/exports and add/home/arcims/arcgis/website aix1 (rw) And/home/arcims/arcgis/output aix1 (rw ), aix1 is the server that allows access to the shared folder. If you write *, all servers can see the shared folder. Other parameters can be selected in brackets. For details about the parameters, refer to this article: NFS configuration and installation. you can also use yast to enable the NFS service on the graphic interface and specify the shared folder.
2. Connect to the NFS service using AIX
Run showmount-e suse1 to display all the currently shared files. However, when mount is executed, AIX cannot mount Linux NFS, prompting that the operation with insufficient permissions is denied, the reason is that the default NFS ports of AIX and Linux are inconsistent. Then run:
# Nfso-o nfs_use_reserved_ports = 1, and then run the following command:
Mount ip:/home/arcims/arcigs/website/usr/bea/user_projects/applications ....../mainWebApp/website
Note: mount-t nfs is not required on AIX, and the web server uses bea weblogic.
Now OK!
Supplement:
Check whether nfsserver is started on SuSE
Chkconfig-a nfsserver
Rpcinfo-p localhost | grep nfs
Restart the NFS service
/Etc/init. d/nfsserver restart