Patch Name: PHSS_14128 Patch Description: s700_800 10.X OV ITA3.00 HP-UX 9.X Agent Patch Creation Date: 98/03/27 Post Date: 98/04/02 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-HP9 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_14128 Symptoms: PHSS_14128: 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. Problems parsing adcGetSwInfo.sh results or problems while assimilating deltas into the server (SwMgmt area). 13. The installation of the ITA subagent configures either NCS or DCE communication depending on the protocol used by the OpenAgent. However, if a previous installation of the OpenAgent used DCE, the ITA subagent will not use NCS, even if that protocol is currently configured for the OpenAgent. 14. The ITA subagent on HP-UX 9.x can't be started if the 'hostname' command on the managed node returns a long hostname. 15. During the ITA subagent installation the following error occurred: ... ---- ---- Transferring, installing, and configuring ITA SubAgent software on system . Please wait. /tmp/opc_tmp/itainst: [[: not found ... 16. The "more attribute" action in the user instance browser window reports the following error: 20-6 ERROR Parsing the result of the query:getHPUXUserSinglePwd on the target:"node_name" failed with the error output file:/var/opt/OV/tmp/AdC/perror_axxxxx 17. After the synchronization of a node, the /opt/OV/log/AdC/factBuilding/.ita_factBuilding.log file contains the following error message: ... Attribute-Names: , []swapsize[] Attribute-Values: , '' Argument-Converting-Error OrderedCollection ('' '0' 'String to Integer' AdCUDAttrAdCUDObjHPUX700DiskConfig[]swapsize[] 2 unknown-label) ... 18. The attributes []address[] and []selCode[] of the object BusInterface have not been discovered. 19. After the synchronization of an HP-UX 9.01 node there is an error message in the /var/op/tOV/log/AdC/factBuilding/ .ita_factBuilding.log saying that it was not possible to convert the value of the attribute []size[] which is empty to an integer value. 20. If you have mounted a file system and you changed the "SUID" attribute and set the "mount now" option to false, when the action finishes, the file system will still be mounted. Changing the "mount now" option to false is always ignored if you change another file-system attribute at the same time. Defect Description: PHSS_14128: 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. On HP-UX 9.x the OpenAgent can be installed for DCE or NCS communication. When a NCS OpenAgent is installed over an existing DCE OpenAgent, the DCE library remains on the system. The ITA subagent installation recognizes the used communication type by simply checking if there is a DCE library installed. If there is, DCE communication is used even if the OpenAgent actually uses NCS. 14. On HP-UX 9.x systems the string returned by the 'hostname' command is used in ITA subagent paths. Usually this command returns the short name but sometimes there is a long hostname configured. However, the ITA subagent expects directories to have the short name. 15. ITA subagent installation checks if there is already a subagent installed. On HP-UX 9.x this check installation script reports an '[[ expression ]]' error, however the installation is done correctly. 16. The /usr/OV/bin/AdC/adc_getusr binary doesn't support the user login as a parameter (adc_getusr "login"). 17. The []swapsize[] attribute is an integer. If some disks are connected to the system having "_noswap" flag in the /etc/disktab file, samc doesn't return possible swap values for that disk and the value of []swapsize[] will be empty. 18. This problem is caused by a different output of samc on HP-UX 9.01 systems. 19. If a disk connected to the system isn't used (no filesystem or swap on it), it doesn't have a device file. However, this device file is needed to get the value of the []size[] attribute. 20. The check for the "mount now" option in adcModHfs.sh script is wrong. SR: B700028365 B700028613 Patch Files: /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ SubAgentPlatform /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ A.03.05/install/agtprepare /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ A.03.05/install/itainst /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ A.03.05/ita_hpux-9.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ SubAgentPlatform /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/install/agtprepare /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/install/itainst /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/agt_pkg.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/ita_hpux-9.Z /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/sd_hpux-9.Z what(1) Output: /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ SubAgentPlatform: None /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ A.03.05/install/agtprepare: None /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ A.03.05/install/itainst: None /var/opt/OV/share/databases/subagent/ITA/hp/s700/hp-ux/ A.03.05/ita_hpux-9.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ SubAgentPlatform: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/install/agtprepare: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/install/itainst: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/agt_pkg.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/ita_hpux-9.Z: None /var/opt/OV/share/databases/subagent/ITA/hp/s800/hp-ux/ A.03.05/sd_hpux-9.Z: None cksum(1) Output: 602285372 482 /var/opt/OV/share/databases/subagent/ITA/hp/ s700/hp-ux/SubAgentPlatform 1329340812 18092 /var/opt/OV/share/databases/subagent/ITA/ hp/s700/hp-ux/A.03.05/install/agtprepare 205121924 14850 /var/opt/OV/share/databases/subagent/ITA/hp/ s700/hp-ux/A.03.05/install/itainst 3574340566 2974701 /var/opt/OV/share/databases/subagent/ITA/ hp/s700/hp-ux/A.03.05/ita_hpux-9.Z 3687774887 456 /var/opt/OV/share/databases/subagent/ITA/hp/ s800/hp-ux/SubAgentPlatform 1329340812 18092 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux/A.03.05/install/agtprepare 205121924 14850 /var/opt/OV/share/databases/subagent/ITA/hp/ s800/hp-ux/A.03.05/install/itainst 456968699 1476685 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux/A.03.05/agt_pkg.Z 1794744359 3016204 /var/opt/OV/share/databases/subagent/ITA/ hp/s800/hp-ux/A.03.05/ita_hpux-9.Z 2877753967 13673447 /var/opt/OV/share/databases/subagent/ ITA/hp/s800/hp-ux/A.03.05/sd_hpux-9.Z Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: ITA-AGENTS.ITA-N-HP9,r=A.03.??,v=HP Supersedes: None Equivalent Patches: None Patch Package Size: 20790 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_14128 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_14128.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_14128.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_14128. 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_14128.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_14128.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_12687 - 10.X OV ITO4.0X HP-UX 9.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 9.x managed node. 4. Install the ITA subagent software on the HP-UX 9.x managed node using IT/Operations.