Operating System - HP-UX
1820216 Members
3634 Online
109620 Solutions
New Discussion юеВ

How to know the NIS / NFS Version

 
SOLVED
Go to solution
prasathc_1
Frequent Advisor

How to know the NIS / NFS Version

Hi All
Can any one tell me how to know the NIS / NFS version of a Machine.

I have one R class machine as NIS / NFS Server with 10.20, now i want to know the version of the above.

Can pleas help me.

Thanks in Advance
Prasath C
If u fail to plan, U plan to fail
7 REPLIES 7
Tim D Fulford
Honored Contributor

Re: How to know the NIS / NFS Version

swlist -l product | egrep -i "nfs|nis"

or simply look at swlist -l bundle

I'm sure there is a better way.

Tim
-
U.SivaKumar_2
Honored Contributor
Solution

Re: How to know the NIS / NFS Version

Hi,

In HP-UX 10.20 , you have NFS version 2 by default.

Read this document.

http://www.interex.org/pubcontent/enterprise/sep99/09mcneal.html

regards,
U.SivaKumar
Innovations are made when conventions are broken
prasathc_1
Frequent Advisor

Re: How to know the NIS / NFS Version

#swlist -l product | egrep -i "nfs|nis"
NFS B.10.20 ONC/NFS; Network-File System,Information Services,Utilities
PHCO_15339 B.10.00.00.AA fsclean(1M) support for NFSv3
PHCO_15340 B.10.00.00.AA /sbin/is_local_root support for NFSv3
PHCO_15341 B.10.00.00.AA mountall(1M) support for NFSv3 and CacheFS
PHCO_15343 B.10.00.00.AA umountall(1M) support for NFSv3
PHCO_18035 B.10.00.00.AA Spanish es_ES.utf8 locale src and binary
PHKL_15247 B.10.00.00.AA Header file conformance for types.h and unistd.h
PHKL_17574 B.10.00.00.AA ki/nfs, vasusage, ACE 2 bundle cumulative patch
PHKL_20126 B.10.00.00.AA NFS diskless client kernel patch (ACE 199912
PHNE_24143 B.10.00.00.AA NFS/NIS General Release/Performance Patch
SystemAdmin B.10.20 HP-UX System Administration Tools

which means NFS version is 3 but what about NIS

Thanks
If u fail to plan, U plan to fail
Christian Gebhardt
Honored Contributor

Re: How to know the NIS / NFS Version

Look at this for NFS

http://www.faqs.org/faqs/hp/hpux-faq/section-116.html

I didn't found an equvalent page for NIS.

Chris
U.SivaKumar_2
Honored Contributor

Re: How to know the NIS / NFS Version

And if you want NFS V3 support in HP-UX 10.20
you have to download ONC+ Networking Enhancements (NFS PV3, AutoFS, CacheFS) patch bundle from this site.

http://www.software.hp.com/products/HWE/archive/hwe20.html

regards,
U.SivaKumar

Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: How to know the NIS / NFS Version

Hi,

There is no version for HP-UX NIS . But Advanced NIS+ service is available.

Ref:

NIS+, the next generation of the Network Information Service (NIS), is supported on HP-UX 11.00. NIS+ is not an enhancement to NIS; it is a completely new service. Like NIS, it is a distributed database system that allows you to maintain commonly-used configuration information on a master server and propagate the information to all the hosts in your network. NIS will continue to be supported. NIS+ has the following advantages over NIS: more scalable, not limited by subnet boundaries, secure, decentralized NIS+ table modification, automatic incremental server table updates, table search by any column key.


NIS+ is more scalable than NIS. It supports a hierarchical domain structure called a namespace, like the domain structure of DNS, which can grow with your organization.

NIS+ is not limited by subnet boundaries. Clients do not broadcast requests, so you do not need a server on every subnet.

NIS+ is secure. It uses a private key/public key authentication scheme with DES encryption. Every user and host in the namespace has its own unique credentials.

You can modify the information in an NIS+ table from any host in the namespace. Modifications are made directly to the NIS+ table, so you do not have to rebuild the table from a file.

Replica servers in NIS+ domains receive each table update as it is made. You do not have to push whole tables to the replica servers.

An NIS+ table may contain many columns, and you can search for entries based on the information in any column.

All commands and functions that use NIS version 2 are prefixed by the letters yp, such as ypmatch, ypcat, yp_match, and yp_first. Commands and functions that use the new replacement software NIS+ are prefixed by the letters nis, such as nismatch, nischown, nis_list, and nis_add_entry.

NIS+ also has increased memory, disk space and swap space requirements.

32-64 Mbytes of memory.
17 Mbytes of disk space for /var/nis
Swap space equal to triple the memory (in
addition to normal swap space).

The above calculations are based on 1K of disk space per client + 60-70 percent increase for NIS+ transaction log files.


regards,
U.SivaKumar


Innovations are made when conventions are broken
Scott Van Kalken
Esteemed Contributor

Re: How to know the NIS / NFS Version

rpcinfo | grep nfs will show you if you're running version 2 or version 3.