you must enable nfs/tcp on hp-ux 11.0 for both client and server. tcp is the default transport mode on hp-ux 11.11 and
therefore you do not have to enable nfs/tcp on hp-ux 11.11.
use the following steps to enable nfs/tcp on hp-ux 11.0:
1. run the configuration command /usr/sbin/setoncenv nfs_tcp 1
2. stop the nfs client with /sbin/init.d/nfs.client stop
3. stop the nfs server with /sbin/init.d/nfs.server stop
4. start the nfs server with /sbin/init.d/nfs.server start
5. start the nfs client with /sbin/init.d/nfs.client start
from the nfs client, use the mount -o proto=tcp command to establish a tcp only connection. the mount fails if tcp is not
available on the nfs server.
from the nfs client, use the mount -o proto=udp to command to establish a udp only connection. the mount fails if udp is not available on the nfs server.
to verify you are monitoring nfs/tcp services, run nfsstat -m. a return of proto=tcp means you are monitoring nfs/tcp
services. a return of proto=udp means you are monitoring nfs/udp services.
use the following steps to disable nfs/tcp functionality on hp-ux 11.0:
1. enter /usr/sbin/setoncenv nfs_tcp 0 at the command line to sets the nfs_tcp variable in the /etc/rc.config.d/nfsconf to 0.
2. stop the nfs client with /sbin/init.d/nfs.client stop
3. stop the nfs server with /sbin/init.d/nfs.server stop
4. start the nfs server with /sbin/init.d/nfs.server start
5. start the nfs client with /sbin/init.d/nfs.client start
after completing the preceding procedure, nfs will establish only udp connections on hp-ux 11.0.
来源:
阅读(3334) | 评论(0) | 转发(0) |