Patch Name: PHSS_14129 Patch Description: s700_800 10.X OV ITA3.00 HP-UX 10.X Agent Patch Creation Date: 98/03/27 Post Date: 98/04/18 Hardware Platforms - OS Releases: s700: 10.01 10.10 10.20 s800: 10.01 10.10 10.20 10.30 Products: OpenView IT/Administration A.03.00 Filesets: ITA-AGENTS.ITA-N-HP10 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_14129 Symptoms: PHSS_14129: 1. When a discovery script fails, there is no detailed error message telling you which script failed. 2. While parsing the sync results received from an agent, the server reports an error about missing context: MODEL-ERROR: [ The recognized error is according to the following parse-results: ... Context Specification differs between model () and frf () ... 3. The ITA agent removes corrupt script output files so there's no way of finding out what happened. 4. Agent is waiting for facts from the server but this information is not written to the log file. 5. The synchronization of a 9.x Mgd Node reports the following error message in /opt/OV/log/AdC/ factBuilding/.ita_factBuilding.log: MODEL-ERROR: [ The recognized error is according to the following parse-results: ... There is no object type modeled with the requested name or requested object type: CnodePrinter ... 6. Sometimes the ITA agent reports integer values in floating point format. However, the ITA server accepts values in integer format only. In this case /var/opt/OV/log/AdC/factBuilding/ .ita_factBuilding.log contains an error message that it was not possible to convert the string to integer. 7. The discovery of LP Spooler fails if a Cnode printer exists on that managed node. 8. The discovery of LP Spooler fails with an error message: ... The attribute specification (n-tupel) was not valid: (n differs between model and FRF)! attribute name: AdCUDAttrAdCUDObjLogicalPrinter[] defaultPriority[] expected tupel size: 1 current tupel size: 2 ... 9. Synchronization of a PC Controller fails if the depot SD/DATA/depot on that system does not contain any products. 10. If there is an OpenAgent communication problem or the synchronization on the server times out, the information about changes on the managed node may not reach the server. 11. Some SD options entered through ITA are ignored. 12. The output of the adcGetHfs.sh script is sometimes corrupt and causes the synchronization to fail. 13. In some special cases the 'vendor tag' attributes of installed SD products is not discovered. 14. For swap sizes bigger than 976 MB the discovery fails with the following error message: ... Argument-Converting-Error OrderedCollection ('1.024e+06' '1' 'String to Integer' AdCUDAttrAdCUDObjSwap[]size[] 2 unknown-label) ... 15. If you add an user to a new group, the "/etc/group" file is updated correctly only for the last action executed. From all other groups where the user was a member it will be removed. 16. The action change "login" attribute of an user fails with an error. However, /etc/passwd is updated correctly. 17. Performing actions on VXFS filesystems version 2 or 3 may generate synchronization events. 18. Synchronization of HP-UX 10.X managed nodes, having a tape autochanger attached, fails with an error message: ... convert a non-existing ('') size attribute Value to an integer number. ... 19. Performing actions on file systems with the "large files" attribute set may cause synchronization events. 20. This problem occurs when changing the attribute "large files" of a JFS file system version 3 located on a logical volume to TRUE and selecting the option "mount now". 21. The Drag&Drop action "File-system and Swap" icon on Disk fails with the following error message: ... Detailed Error-Description: Code: 4 Request: #performAction Message: diskinfo: can't open /dev/rdsk/: No such device or address ... 22. After creating a swap on a disk using the swap instance browser window the field "Size (kbytes)" is empty. 23. Problems parsing adcGetSwInfo.sh results or problems while assimilating deltas into the server (SwMgmt area). Defect Description: PHSS_14129: 1. The information about which script actually failed isn't passed on to the management server. 2. While formatting FRF files the agent scans through all the changes for an object. In some conditions it continues to use the context of the previous object. 3. If the ITA agent can't parse a script output file, only an error message is added to the log file. However, the corrupted FRF file which caused the error is deleted. 4. The agent is blocked while executing an action or a query until it gets the requested facts from the server. However, this is not written to the log file. 5. The ITA subagent reports information about an object type CnodePrinter. However, this object type is not recognized by the management server. 6. Awk represents big integer values in floating point format. This isn't handled correctly. 7. Error in source code of adcLpSpoolDest.sh script. 8. The attribute "default priority" of the printer was bound with two integer values ("0 0"), however, it has to be a single integer value. 9. If a PC controller has an empty depot /SD/DATA/depot, SDs swlist command returns value 4 which is forwarded to the ITA server. However, this return value is not handled correctly by the ITA server. 10. The ITA subagent doesn't handle this error condition correctly. Therefore, the changes that should have been reported by the failed synchronization are lost. 11. The values entered for the following copy options write_remote_files, compress_files, uncompress_files, enforce_dsa, reinstall, reinstall_files, reinstall_files_use_cksum, rpc_timeout, retry_rpc through ITA are ignored, because they are not passed on to the SD command. 12. When adding an object of type InstalledProduct, if it has a key attribute which contains white spaces, the string isn't quoted correctly. 13. This problem is caused by one grep statement in the adcGetHfs.sh which is not selective enough. There is an extra line at the end of the /usr/sam/lbin/fsmgr -x mnttab -x master=/opt/OV/bin/AdC/$ADC_DUMMY_MASTER_FILE which must not to be sent to further processing. 14. The vendor information is only discovered if it is the first element of the product definition (in SD INDEX files). 15. Awk converts integer values larger than 999424 into floating point format. 16. This problem is caused by a missing space in a "egrep" command called by the adcModGroup.sh script. 17. Action is executed correctly on the node but reports a failure due to an invalid check in an IF statement. 18. Error in adcGetDisks.sh script. Attribute disk "use" was not bounded correctly. 19. Error in adcGetDisks.sh script. 20. Syntax error in adcGetHfs.sh script 21. The "fsadm" command requires a character device file of a file system on logical volume for changing the "large file" option. This was not the case on HP-UX 10.20 systems. 22. "swapon" command is called twice in script adcAddDisk.sh 23. The size of the swap is checked before it is actually created on the disk. SR: B700028365 B700028613 Patch Files: /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux10/ SubAgentPlatform /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ SubAgentPlatform /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/install/agtprepare /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/install/itainst /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/agt_pkg.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.01.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.10.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.20.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.30.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/sd_hpux-10.01.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/sd_hpux-10.20.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/sd_hpux-10.30.Z what(1) Output: /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux10/ SubAgentPlatform: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ SubAgentPlatform: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/install/agtprepare: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/install/itainst: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/agt_pkg.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.01.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.10.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.20.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/ita_hpux-10.30.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/sd_hpux-10.01.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/sd_hpux-10.20.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux10/ A.03.05/sd_hpux-10.30.Z: None cksum(1) Output: 1449455509 485 /var/opt/OV/share/databases/subagent/ITA/hp/ s700/hp-ux10/SubAgentPlatform 1463194326 485 /var/opt/OV/share/databases/subagent/ITA/hp/ s800/hp-ux10/SubAgentPlatform 1329340812 18092 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/install/agtprepare 675242847 14668 /var/opt/OV/share/databases/subagent/ITA/hp/ s800/hp-ux10/A.03.05/install/itainst 3775824626 1579184 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/agt_pkg.Z 1435080893 2181359 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/ita_hpux-10.01.Z 2382743553 2188485 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/ita_hpux-10.10.Z 1021198083 2224934 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/ita_hpux-10.20.Z 3842411823 2256782 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/ita_hpux-10.30.Z 255525224 6017336 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/sd_hpux-10.01.Z 3077437201 6119099 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/sd_hpux-10.20.Z 1110505138 6602599 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux10/A.03.05/sd_hpux-10.30.Z Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: ITA-AGENTS.ITA-N-HP10,r=A.03.??,v=HP Supersedes: None Equivalent Patches: None Patch Package Size: 28600 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_14129 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_14129.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_14129.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_14129. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_14129.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_14129.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Special Installation Instructions: ================================== 1. Ensure that the following ITO OpenAgent patches are installed on the management server system: PHSS_13939 - 10.X OV ITO4.0X Oracle Server patch PHSS_12682 - 10.X OV ITO4.0X HP-UX 10.X Agent Patch 2. Install this patch as described in the "Installation Instructions". 3. Ensure that the ITO agent including the agent patch mentioned above is installed on the HP-UX 10.x managed node. 4. Install the ITA subagent software on the HP-UX 10.x managed node using IT/Operations.