1841197 Members
2446 Online
110179 Solutions
New Discussion

NFS over TCP

 
SOLVED
Go to solution
Jose Garcia Gavilan
Occasional Contributor

NFS over TCP

Is it possible to set up on HPUX 11.0 nfs over tcp?

How can i do it?

Thank you very much
Hello Everybody!
7 REPLIES 7
Berlene Herren
Honored Contributor
Solution

Re: NFS over TCP

NOTE: HP-UX 11.0 9905 is REQUIRED to support NFS over TCP/IP. Make sure it is installed BEFORE you install PHNE_20344 and PHNE_20371.

*********************

ENABLING NFS TO RUN OVER TCP/IP

Install patch PHNE_20344 and PHNE_20371 (and all their dependencies). (these patches may have been superceded, check for the latest)

NOTE: Make sure you have HP-UX 11.0 9905 installed BEFORE installing these patches.

Reboot the machine after installing the patch, as instructed by installation instructions and system prompts.
Type the following command to enable TCP: /usr/sbin/setoncenv NFS_TCP 1
Stop, then restart the NFS service on the client and server by typing the following:
/sbin/init.d/nfs.client stop

/sbin/init.d/nfs.server stop

/sbin/init.d/nfs.server start

/sbin/init.d/nfs.client start

The /usr/sbin/setoncenv command sets the variable NFS_TCP, located in the file /etc/rc.config.d/nfsconf, to 1. After you enable TCP, it becomes the default transport protocol. Each time you issue the mount command, it attempts a TCP connection with the server. If TCP is not available on the server, then it attempts a UDP connection.



Changes You Will See
After you have installed the latest GR patches and enabled NFS to run over TCP, you may notice changes to your configuration. Here's a list of what you will find:

A new command: "setoncenv"
An enhanced nfsstat command
An enhanced nfsd and mount command
A TCP entry for port 2049 in /etc/services
A new version of automountd
A revised /sbin/init.d/nfs.core file
New versions of the following man pages: nfsd, mount_nfs, nfsstat
A new man page for setoncenv



Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Jim Krol
Advisor

Re: NFS over TCP

How do you determine if you have 11.0 - 9905?

I do not see this in swlist.
Sachin Patel
Honored Contributor

Re: NFS over TCP

Hi
How to find out that I have HPUX 11.00 9905 ??

Sachin
Is photography a hobby or another way to spend $
Marcel Boogert_1
Trusted Contributor

Re: NFS over TCP

Hi there,

It is the original CD that shipped with the system when purchased, dated May 1999 (inc. Ext. pack 9905).

Also take a look at: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=91006

Regards, MB.
Sachin Patel
Honored Contributor

Re: NFS over TCP

So if I have
XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE)

Should I be OK?
Is photography a hobby or another way to spend $
Alan Meyer_4
Respected Contributor

Re: NFS over TCP

Getting back to the original question...

doesn't NFS run over TCP by default?
" I may not be certified, but I am certifiable... "
Florian Heigl (new acc)
Honored Contributor

Re: NFS over TCP

Alan: No :)
yesterday I stood at the edge. Today I'm one step ahead.