ONCplus B.11.31.
© Copyright 2009, 2011 Hewlett-Packard Development Company, L.P Legal Notices Confidential computer software. Valid license required from Hewlett-Packard for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice.
Contents 1 ONCplus Overview....................................................................................4 Overview................................................................................................................................4 Availability of ONCplus as an ISU..............................................................................................4 NIS+ Obsolescence Notice........................................................................................................
1 ONCplus Overview This chapter addresses the following topics: • “Overview” (page 4) • “Availability of ONCplus as an ISU” (page 4) • “NIS+ Obsolescence Notice” (page 5) • “NIS Protocol Version 1 Obsolescence Notice” (page 5) • “Related Information” (page 5) Overview Open Network Computing (ONC) comprises core services that enable administrators to implement distributed applications in a heterogeneous distributed computing environment. It also includes tools to administer clients and servers.
NOTE: All ONCplus ISU versions are available at: http://software.hp.com. NIS+ Obsolescence Notice Network Information Service Plus (NIS+) is a distributed database system that enables the maintenance of commonly used configuration information on a master server and propagates the information to all the hosts in the network. Starting with HP-UX 11i v3, NIS+ is no longer supported. Hewlett-Packard recommends that users migrate to LDAP.
2 ONCplus B.11.31.12 This chapter contains the most recent product information pertaining to the Open Networking Computing (ONC) product, version B.11.31.12, which is supported on the HP-UX 11i v3 operating system. This chapter addresses the following topics: • “Announcement” (page 6) • “What's New in ONCplus B.11.31.12” (page 6) • “Enhancements and Fixes in ONCplus to date” (page 7) • “Installation Information ” (page 12) Announcement This version of ONCplus (B.11.31.
Enhancements and Fixes in ONCplus to date This section lists the enhancements and fixes for ONCplus. It also specifies the version number of ONCplus in which the new feature was introduced and the defect was fixed. Table 1 describes the new features and problems that are fixed to date and incorporated into ONCplus. Table 1 ONCplus Enhancements and Software Defect Fixes CR ID Description ONCplus Version QXCR1001010420 Executing the open() system call thread over NFSv3 mount may result in system hang. B.
Table 1 ONCplus Enhancements and Software Defect Fixes (continued) CR ID Description ONCplus Version QXCR1001004707 HP-UX 11i v3 NFS pv4 readdir request size is larger than nfs4_bsize setting. B.11.31.10 The rpc.mountd daemon denies mount requests due to incorrect netmask QXCR1000985674 matching. B.11.31.09.02 Race between autofs lookup and readdir results in busy loop, due to which QXCR1000986043 several threads are kept waiting. B.11.31.09.
Table 1 ONCplus Enhancements and Software Defect Fixes (continued) CR ID Description ONCplus Version The rpc.pcnfsd daemon manipulates effective uid in thread in an unsafe QXCR1000982421 manner. B.11.31.09 QXCR1000982592 The rpc.pcnfsd daemon exits when it is heavily loaded. B.11.31.09 QXCR1000987966 Possible memory corruption due to buffer overflow. B.11.31.09 Incorrect usage of the 'pthread_getspecific' API leads to the rpc.pcnfsd daemon QXCR1000987972 exiting without core dump. B.11.31.
Table 1 ONCplus Enhancements and Software Defect Fixes (continued) CR ID Description QXCR1000797858 NFSv3 and NFSv4 set the transfer size incorrectly. ONCplus Version B.11.31.06 Compatibility issue with HP-UX 11i v2 xdr_callmsg(), xdr_callhdr(), QXCR1000828306 and xdr_replymsg(). B.11.31.06 QXCR1000864699 NFS client data corruption due to out-of-order write replies. B.11.31.06 QXCR1000852442 Under certain circumstances, there is a possibility of a memory leak in NFS. B.11.31.
Table 1 ONCplus Enhancements and Software Defect Fixes (continued) CR ID Description ONCplus Version QXCR1000771618 There is a potential race condition on an NFSv4 client using direct I/O that can result in a hang. B.11.31.03 QXCR1000770472 NFS READDIRPLUS returns no entries when rsize is set too low. B.11.31.03 QXCR1000584936 Performance improvement in NFS client WRITE path. B.11.31.02 QXCR1000585229 Added support for ACL's and logging in CacheFS. B.11.31.
Table 1 ONCplus Enhancements and Software Defect Fixes (continued) CR ID Description ONCplus Version QXCR1000585903 Using kctune to change NFSv4 parameters causes a panic. B.11.31.01 QXCR1000585959 Users cannot access an NFS mounted file system in PAM enabled Kerberos systems. B.11.31.01 QXCR1000586940 The xdr_setpos function in libnsl.1 does not work properly. B.11.31.
ONCplus ONCplus 3. B.11.31.01 B.11.31 ONC+ 2.3 ONC+ 2.3 After you download the ONCplus_B.11.31.12.depot file, move it to the /tmp directory: /tmp/ONCplus_B.11.31.12.depot 4. Verify that the file has downloaded correctly using the swlist command as follows: swlist -d @ /tmp/ONCplus_B.11.31.12.depot If ONCplus is downloaded correctly, the output will include: # # Bundle(s): # ONCplus B.11.31.12 ONC+ 2.3 # # Product(s) not contained in a Bundle: # PHCO_38048 1.
Reverting to a Earlier Version of ONCplus You cannot remove the current version of ONCplus with the swremove command. However, you can revert to a earlier version of ONCplus. The following section describes how to revert to a earlier version of ONCplus. 14 ONCplus B.11.31.
WARNING! 1. Problem There is a possibility for an NFS client to experience a system hang if you revert to one of the below ONCplus versions: • ONCplus B.11.31.09 • ONCplus B.11.31.09.01 • ONCplus B.11.31.09.02 Cause The NFS client could hang under below conditions/configurations: • Severe file cache memory pressure due to low file cache configuration. For example, filecache_min = filecache_max =1% • When the nfs3_max_threads tunable is set to “0”.
4. 5. Directory related operations on an NFS client with ONCplus B.11.31.06 or B.11.31.07 versions installed along with mounted file systems with read/write permissions that are greater than 8192 bytes in size may result in system panic or data corruption. If your system has ONCplus B.11.31.06 or B.11.31.07 version installed, HP recommends that you install ONCplus B.11.31.07.01 version.
4. To revert to the previous version of ONCplus enter the following command: swinstall -x allow_downdate=true -x autoreboot=true \ -s /tmp/ONCplus_B.11.31.depot ONCplus NOTE: ONCplus contains kernel filesets. Thus swinstalling the product results in a system reboot after the installation is complete.
3 Known Problems and Workarounds This section lists known problems, probable causes, and appropriate workarounds. Problem There is a possibility for an HP-UX 11i v3 system to experience a system hang under the following conditions: • An application writes a huge NFS file to a filesystem using NFS loopback mount. • Two systems NFS-mount file systems from each other and simultaneously write huge amounts of data to each other.
where: /var/hpsrp/srp01/opt/nfstest is an NFS mount point under the SRP environment srp01 This command displays the process ids (PIDs) of the active processes on the NFS mount point. /var/hpsrp/srp01/opt/nfstest: 11352c where: 11352 is the PID of the active process on the NFS mount point If there are no active processes on the NFS mount point, then execute the command. Otherwise, wait until there are no active processes.
4 Features Introduced in previous versions of ONCplus This chapter describes the features introduced and/or defect fixes in all the previous versions of ONCplus B.11.31. • “Features Introduced in ONCplus B.11.31.11” (page 20) • “Features Introduced in ONCplus B.11.31.10” (page 20) • “Features Introduced in ONCplus B.11.31.09.02” (page 21) • “Features Introduced in ONCplus B.11.31.09.01” (page 21) • “Features Introduced in ONCplus B.11.31.09” (page 21) • “Features Introduced in ONCplus B.11.31.
Features Introduced in ONCplus B.11.31.09.02 ONCplus B.11.31.09.02 is a defect fix release and does not include any new features. All features introduced in previous ONCplus versions are supported in ONCplus B.11.31.09.02. For information on the defects fixed, see “Enhancements and Fixes in ONCplus to date” (page 7). Features Introduced in ONCplus B.11.31.09.01 ONCplus B.11.31.09.01 is a defect fix release and does not include any new features.
this structure to mount NFS shares using mount()system call. For more information on the usage of the structure, see the mount_nfs(1m) manpage. • Asynchronous NFS Direct I/O performance improvement. NFS Direct I/O: NFS Direct I/O is I/O to the NFS mounted files which avoids the file system buffer cache of the operating system. It saves memory and improves performance of the database applications that cache their own data independently.
New NIS Features in ONCplus B.11.31.06 NIS introduces the following feature: • IPv6 support for RPC commands and daemons Phase II ONCplus B.11.31.06 delivers IPv6 support for rpc.rquotad, rpc.rstatd, rpc.sprayd, rup, and spray commands and daemons. New NFS Features in ONCplus B.11.31.06 NFS introduces the following feature: • ONC 2.5 functionality for the NFSv2 and NFSv3 client Porting of ONC2.5 Solaris code base to the current HP-UX NFS v2 and NFS v3 client. Features Introduced in ONCplus B.11.31.
Features Introduced in ONCplus B.11.31.03 ONCplus B.11.31.03 includes both defect fixes and new features. All fixes and features introduced in previous ONCplus versions are supported in ONCplus B.11.31.03. The following features were introduced in ONCplus B.11.31.03: New NFS Features in ONCplus B.11.31.03 NFS introduces the following features for NFSv4: • File Delegation with Local Access NFSv4 clients support delegation on HP-UX 11i v3. However, until ONCplus B.11.31.
compliant. This version of CacheFS supports caching for only SYSV_ACLS. Thus, this version of CacheFS on HP-UX supports ACLs with VxFS and NFS and not with HFS. • Support for Logging A new command, cachefslog enables or disables logging for a CacheFS mount-point. If logging functionality is enabled, details about the operations performed on the CacheFS mount-point are stored in a logfile. This logfile contains information on all the CacheFS mount points using the same cache directory.
New NFS Features in ONCplus B.11.31_LR • NFS Version 4 Protocol (NFSv4) NFSv4 is an IETF standard protocol that provides the following features: ◦ COMPOUND Procedure In NFSv4, related RPC requests are grouped into a single RPC procedure known as the COMPOUND procedure. The COMPOUND procedure decreases transport and security overhead because of fewer over-the-wire trips between the client and the server. This feature is transparent to the user.
• Secure NFS With Secure NFS security can be implemented at the Remote Procedure Call (RPC) level. This standard authentication system is known as Secure RPC. When NFS uses the facilities provided by Secure RPC, it is known as Secure NFS. RPC authentication enables you to use a variety of authentication systems, such as DH, UNIX, and KERB, and is not dependent on the version of NFS used.
• Backend Support AutoFS supports the storage and distribution of AutoFS maps in the following: • ◦ Files ◦ Network Information Service (NIS) ◦ Lightweight Data Access Protocol (LDAP) Filesystem Support AutoFS supports the automatic mounting and unmounting of the following filesystems: • ◦ NFS (All versions including NFSv4) ◦ CacheFS ◦ HFS ◦ VxFS ◦ CIFS ◦ AutoFS Secure NFS Support If the NFS client supports mounting of secure directories, AutoFS supports Secure NFS filesystems.
can impact CacheFS performance. Following are mount options that can be used to change the type of consistency checking performed by CacheFS: ◦ noconst Disable consistency checking. ◦ demandconst Consistency checking is performed on demand. ◦ weakconst Consistency check used to verify cache consistency with the NFS client's copy of the attributes. weakconst is the consistency checking level similar to the default behavior in HP-UX 11i v2. NOTE: • Consistency is not checked at file open time.
• Ipnodes Support Ipnodes is the new map that stores IPv6 information. Ipnodes acts as the new hosts database for IPv6 information. NIS provides support for ipnodes using the /etc/nsswitch.conf file. • Alternate Directory for passwd File Users can now specify a directory other than the default /etc directory where NIS must look for the passwd file. This feature enhances the security of the system, as information regarding this alternate directory is known only to the administrator.