SuSE starts the NFS service and AIX link NFS service

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.