Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4042480
  • 博文数量: 536
  • 博客积分: 10470
  • 博客等级: 上将
  • 技术积分: 4825
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-26 14:08
文章分类

全部博文(536)

文章存档

2024年(3)

2021年(1)

2019年(1)

2017年(1)

2016年(2)

2013年(2)

2012年(10)

2011年(43)

2010年(10)

2009年(17)

2008年(121)

2007年(252)

2006年(73)

分类:

2007-09-05 16:26:26

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.

来源:
阅读(3375) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~