IBM. Avoiding Inventory Synchronization Issues With UBA Technical Note

Similar documents
IBM Endpoint Manager Version 9.1. Patch Management for Ubuntu User's Guide

IBM. Networking Open Shortest Path First (OSPF) support. IBM i. Version 7.2

IBM. Networking INETD. IBM i. Version 7.2

Platform LSF Version 9 Release 1.1. Migrating on Windows SC

IBM. myfilegateway. Sterling File Gateway. Version 2.2

IBM Security QRadar Version 7 Release 3. Community Edition IBM

IBM. Business Process Troubleshooting. IBM Sterling B2B Integrator. Release 5.2

Platform LSF Version 9 Release 1.3. Migrating on Windows SC

Using application properties in IBM Cúram Social Program Management JUnit tests

IBM Kenexa LCMS Premier on Cloud. Release Notes. Version 9.3

Getting Started with InfoSphere Streams Quick Start Edition (VMware)

Build integration overview: Rational Team Concert and IBM UrbanCode Deploy

IBM Copy Services Manager Version 6 Release 1. Release Notes August 2016 IBM

IBM BigFix Compliance PCI Add-on Version 9.2. Payment Card Industry Data Security Standard (PCI DSS) User's Guide IBM

IBM emessage Version 8.x and higher. Account Startup Overview

IBM Geographically Dispersed Resiliency for Power Systems. Version Release Notes IBM

Networking Bootstrap Protocol

IBM Security Access Manager for Versions 9.0.2, IBM Security App Exchange Installer for ISAM

IBM Cloud Object Storage System Version Time Synchronization Configuration Guide IBM DSNCFG_ K

IBM License Metric Tool Enablement Guide

Installing Watson Content Analytics 3.5 Fix Pack 1 on WebSphere Application Server Network Deployment 8.5.5

IBM Maximo Calibration Version 7 Release 6. Installation Guide

Release Notes. IBM Tivoli Identity Manager Rational ClearQuest Adapter for TDI 7.0. Version First Edition (January 15, 2011)

IBM Maximo for Service Providers Version 7 Release 6. Installation Guide IBM

IBM Operational Decision Manager Version 8 Release 5. Configuring Operational Decision Manager on Java SE

IBM Netcool/OMNIbus 8.1 Web GUI Event List: sending NodeClickedOn data using Netcool/Impact. Licensed Materials Property of IBM

IBM OpenPages GRC Platform Version 7.0 FP2. Enhancements

Release Notes. IBM Security Identity Manager GroupWise Adapter. Version First Edition (September 13, 2013)

Release Notes. IBM Tivoli Identity Manager Universal Provisioning Adapter. Version First Edition (June 14, 2010)

IBM i Version 7.2. Systems management Logical partitions IBM

ios 9 support in IBM MobileFirst Platform Foundation IBM

IBM FlashSystem V MTM 9846-AC3, 9848-AC3, 9846-AE2, 9848-AE2, F, F. Quick Start Guide IBM GI

IBM Spectrum LSF Process Manager Version 10 Release 1. Release Notes IBM GI

IBM Security QRadar Version Customizing the Right-Click Menu Technical Note

MAPI Gateway Configuration Guide

IBM. Release Notes November IBM Copy Services Manager. Version 6 Release 1

Migrating on UNIX and Linux

IBM Security QRadar Version Forwarding Logs Using Tail2Syslog Technical Note

Requirements Supplement

IBM FlashSystem V Quick Start Guide IBM GI

IBM TRIRIGA Application Platform Version 3 Release 5.3. User Experience User Guide IBM

IBM StoredIQ Platform Version Overview Guide IBM GC

IBM StoredIQ Platform Version Overview Guide IBM GC

IBM. Compliance Analytics Setup Guide. IBM BigFix. Version 1.9

IBM LoadLeveler Version 5 Release 1. Documentation Update: IBM LoadLeveler Version 5 Release 1 IBM

Development tools System i5 Debugger

IBM BigFix Version 9.2. Security Configuration Management - Payment Card Industry Data Security Standard (PCI DSS) content 1.

IBM Maximo for Service Providers Version 7 Release 6. Installation Guide

IBM Operational Decision Manager. Version Sample deployment for Operational Decision Manager for z/os artifact migration

Version 9 Release 0. IBM i2 Analyst's Notebook Premium Configuration IBM

IBM Cloud Orchestrator. Content Pack for IBM Endpoint Manager for Software Distribution IBM

Version 9 Release 0. IBM i2 Analyst's Notebook Configuration IBM

Netcool/Impact Version Release Notes GI

IBM TRIRIGA Application Platform Version 3 Release 5.3. Graphics User Guide IBM

Release Notes. IBM Tivoli Identity Manager GroupWise Adapter. Version First Edition (September 13, 2013)

IBM Cognos Dynamic Query Analyzer Version Installation and Configuration Guide IBM

IBM Storage Driver for OpenStack Version Release Notes

Migrating Classifications with Migration Manager

IBM Maximo for Aviation MRO Version 7 Release 6. Installation Guide IBM

IBM. IBM i2 Enterprise Insight Analysis Understanding the Deployment Patterns. Version 2 Release 1 BA

IBM InfoSphere Master Data Management Reference Data Management Hub Version 11 Release 0. Upgrade Guide GI

System i. Networking RouteD. Version 5 Release 4

IBM Blockchain IBM Blockchain Developing Applications Workshop - Node-Red Integration

IBM OpenPages GRC Platform - Version Interim Fix 1. Interim Fix ReadMe

Installing on Windows

Application and Database Protection in a VMware vsphere Environment

Readme File for Fix Pack 1

IBM Tivoli Netcool Performance Manager Big Data Extension1.4.3 Document Revision R2E1. Configuring Big Data Extension IBM

IBM Security QRadar Version Community Edition IBM

IBM Operations Analytics - Log Analysis: Network Manager Insight Pack Version 1 Release 4.1 GI IBM

IBM StoredIQ Platform Version Overview Guide GC

Proposal for a Tivoli Storage Manager Client system migration from Solaris with VxFS to Linux with GPFS or AIX with GPFS or JFS2

Version 2 Release 1. IBM i2 Enterprise Insight Analysis Understanding the Deployment Patterns IBM BA

IBM UrbanCode Cloud Services Security Version 3.0 Revised 12/16/2016. IBM UrbanCode Cloud Services Security

Using Netcool/Impact and IBM Tivoli Monitoring to build a custom selfservice

Best practices. Starting and stopping IBM Platform Symphony Developer Edition on a two-host Microsoft Windows cluster. IBM Platform Symphony

IBM Spectrum LSF Version 10 Release 1. Readme IBM

Version 1 Release 1 November IBM Social Marketing Solution Pack User's Guide IBM

IBM Endpoint Manager Version 9.1. Getting Started IBM

ReadMeFirst for IBM StoredIQ

iscsi Configuration Manager Version 2.0

IBM Maximo Calibration Version 7 Release 5. Installation Guide

IBM Content Analytics with Enterprise Search Version 3.0. Expanding queries and influencing how documents are ranked in the results

Tivoli Access Manager for Enterprise Single Sign-On

Contents. Index iii

CONFIGURING SSO FOR FILENET P8 DOCUMENTS

IBM Tivoli Identity Manager Authentication Manager (ACE) Adapter for Solaris

IBM i Version 7.2. Connecting to your system Connecting to IBM Navigator for i IBM

Release Notes. IBM Tivoli Identity Manager I5/OS Adapter. Version First Edition (January 9, 2012)

Integrated use of IBM WebSphere Adapter for Siebel and SAP with WPS Relationship Service. Quick Start Scenarios

IBM Datacap Mobile SDK Developer s Guide

IBM License Metric Tool Version Readme File for: IBM License Metric Tool, Fix Pack TIV-LMT-FP0001

IBM Extended Command-Line Interface (XCLI) Utility Version 5.2. Release Notes IBM

IBM Hyper-Scale Manager Version Release Notes IBM

Best practices. Reducing concurrent SIM connection requests to SSM for Windows IBM Platform Symphony

IBM Network Performance Insight Document Revision R2E1. Upgrading Network Performance Insight IBM

IBM Storage Driver for OpenStack Version Installation Guide SC

IBM Financial Transactions Repository Version IBM Financial Transactions Repository Guide IBM

IBM Spectrum LSF Version 10 Release 1.0. Release Notes for IBM Spectrum LSF License Scheduler IBM

IBM. Networking Simple Network Time Protocol. IBM i. Version 7.2

Transcription:

IBM Tivoli Netcool Performance Manager 1.4.3 Wireline Component Document Revision R2E1 Avoiding Inventory Synchronization Issues With UBA Technical Note IBM

Note Before using this information and the product it supports, read the information in Notices on page 11. Copyright IBM Corporation 2006, 2017. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents Chapter 1. Avoiding Inventory synchronization issues with UBA.... 1 Chapter 2. Ensuring a correct TIMEZONE setting.......... 3 Chapter 3. Avoiding changing inventory by a UBA or outside UBA....... 5 Chapter 4. Correcting an inventory synchronization problem....... 7 Chapter 5. Monitoring inventory logs.. 9 Notices.............. 11 Trademarks.............. 13 Terms and conditions for product documentation.. 14 Copyright IBM Corp. 2006, 2017 iii

iv IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

Chapter 1. Avoiding Inventory synchronization issues with UBA These instructions apply to UBAs designed and configured to produce inventory. A UBA that produces inventory will have either a configuration setting called INITIALIZE_FOR_METRICS set to false or the ECMAscript that the UBA loads will put the UBA into an inventory mode with a statement like: modelinterface.initializeforinventory(). For UBA instances that only produce metrics, these issues are not a concern. A UBA that produces inventory writes newly discovered inventory directly the Proviso database. If the UBAs in memory replica of the current state of inventory in the database is out of sync with the database, the UBA might mistakenly try to insert what it thinks is new inventory into the database, when in fact that inventory exists. For subelements, this will cause two problems. First, you will see an insert failure message in the logs. Second, and more significantly, the UBA will have an incorrect subelement ID in memory. Metrics produced for that subelement will be produced with an incorrect ID causing the down stream CME to reject those records. Copyright IBM Corp. 2006, 2017 1

2 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

Chapter 2. Ensuring a correct TIMEZONE setting The TIMEZONE setting of the UBA must match the time zone of timestamps embedded in the files being fed to the UBA. If these are not in agreement, the UBA will fail to properly resync inventory that it has generated when restarted. The setting of the TIMEZONE variable must match a valid time zone name in the hosts TZ database. The following are some examples: UBA.x.y.TIMEZONE=EDT #Eastern Daylight UBA.x.y.TIMEZONE=EST #Eastern Standard UBA.x.y.TIMEZONE=GMT-4 #Eastern Standard UBA.x.y.TIMEZONE=Etc/GMT-4 #Eastern Standard UBA.x.y.TIMEZONE=US/Eastern #Eastern Daylight Copyright IBM Corp. 2006, 2017 3

4 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

Chapter 3. Avoiding changing inventory by a UBA or outside UBA A UBA that produces inventory operates under the assumption that inventory it generates will not be changed underneath it (otherwise, the UBA would have to constantly check for other updates, load changes, and merge together potentially conflicting updates). About this task Deleting inventory that the UBA has created is particularly problematic because the UBA will believe that some bit of inventory exists in the database and attempt to insert or update other bits of inventory that have relationships to the deleted item leading to foreign key constraint violations. Other subtle issues can arise relating to the timing of re synchronization when inventory is deleted. Note: It is safe in general to manipulate the inventory associated with a different collector. Or to state it another way, changing inventory associated with one collector should not cause problems for the UBA of another collector. However, there are certain types of changes where even that might cause issues (for example, if you added a subelement to the system by hand for collector 1 and the UBA for collector 2 tries to create a subelement of the same name, you would get a database constraint error). When changing inventory by hand, outside of the UBA, it is best to complete the following steps for any UBA that might be related to the inventory being changed: Procedure 1. Stop the UBA. 2. Delete the UBA's cached inventory. The UBA maintains a repository on disk of inventory that it has loaded from the database. This repository exists in the event that inventory is too large to fit in memory (in which case the UBA swaps inventory in and out of memory from disk as needed). When inventory synchronization issues arise, this repository on disk can have incorrect information and needs to be removed. Remove all files matching.../uba.x.y/schema_name/state/journal/pvmodel. Note: Perform this step if the UBA's inventory is changed by another UBA. 3. Perform your inventory changes. 4. Start the UBA. Copyright IBM Corp. 2006, 2017 5

6 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

Chapter 4. Correcting an inventory synchronization problem An issue with inventory synchronization should manifest itself as a warning message from the UBA in the Proviso log file that notes an SQL insert or update failure. About this task The following is an example of such a log message: 2008.06.03-04.15.07 UTC UBA.1.1-585826_ W [DC10110] SQLERR_ A SQL error has occurred for the SQL statement: (insert into elmt_des c (str_type,str_state,int_collector,str_profile,str_name,str_origin, int_date,ncl_idx_ind,str_comment,str_user,idx_ind) values(:type,:state,:c ollectornumber,:profile,:name,:origin,:datex,:nclid,:commentx,:user name,:id)) - ORA-00001: unique constraint (PV_ADMIN.UN_ELDE_2) violated If you are experiencing such messages, you have an inventory synchronization problem and should follow these steps to correct the issue: Procedure 1. Stop the UBA. 2. Delete the UBA's cached inventory. The UBA maintains a repository on disk of inventory that it has loaded from the database. This repository exists when inventory is too large to fit in memory (in which case the UBA swaps inventory in and out of memory from disk as needed). When inventory synchronization issues arise, this repository on disk can have incorrect information and needs to be removed. Remove all files matching.../uba.x.y/schema_name/state/ journal/pvmodel. 3. Start the UBA. Upon restart, the UBA will reload inventory from the database, forcing the UBA's model of inventory to be in sync with the database. Copyright IBM Corp. 2006, 2017 7

8 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

Chapter 5. Monitoring inventory logs Inventory conflicts can occur, you should monitor the logs on a continuing base for SQL errors and, if they occur, delete that UBA's pvmodel cache and then restart the UBA. Follow the procedure given in Avoiding Changing Inventory Managed By an UBA or Outside UBA and Correcting an Inventory Synchronization Problem above. Copyright IBM Corp. 2006, 2017 9

10 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

Notices This information was developed for products and services offered in the US. This material might be available from IBM in other languages. However, you may be required to own a copy of the product or product version in that language in order to access it. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-ibm product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not grant you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing IBM Corporation North Castle Drive, MD-NC119 Armonk, NY 10504-1785 US For license inquiries regarding double-byte character set (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to: Intellectual Property Licensing Legal and Intellectual Property Law IBM Japan Ltd. 19-21, Nihonbashi-Hakozakicho, Chuo-ku Tokyo 103-8510, Japan INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-ibm websites are provided for convenience only and do not in any manner serve as an endorsement of those Copyright IBM Corp. 2006, 2017 11

websites. The materials at those websites are not part of the materials for this IBM product and use of those websites is at your own risk. IBM may use or distribute any of the information you provide in any way it believes appropriate without incurring any obligation to you. Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact: IBM Director of Licensing IBM Corporation North Castle Drive, MD-NC119 Armonk, NY 10504-1785 US Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee. The licensed program described in this document and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement or any equivalent agreement between us. The performance data discussed herein is presented as derived under specific operating conditions. Actual results may vary. The client examples cited are presented for illustrative purposes only. Actual performance results may vary depending on specific configurations and operating conditions. Information concerning non-ibm products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-ibm products. Questions on the capabilities of non-ibm products should be addressed to the suppliers of those products. Statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only. All IBM prices shown are IBM's suggested retail prices, are current and are subject to change without notice. Dealer prices may vary. This information is for planning purposes only. The information herein is subject to change before the products described become available. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to actual people or business enterprises is entirely coincidental. COPYRIGHT LICENSE: 12 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. The sample programs are provided "AS IS", without warranty of any kind. IBM shall not be liable for any damages arising out of your use of the sample programs. Each copy or any portion of these sample programs or any derivative work must include a copyright notice as follows: (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs. Copyright IBM Corp. _enter the year or years_. Trademarks IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. Adobe, Acrobat, PostScript and all Adobe-based trademarks are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, other countries, or both. IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government Commerce. Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. ITIL is a registered trademark, and a registered community trademark of The Minister for the Cabinet Office, and is registered in the U.S. Patent and Trademark Office. UNIX is a registered trademark of The Open Group in the United States and other countries. Notices 13

Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates. Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom. Linear Tape-Open, LTO, the LTO Logo, Ultrium, and the Ultrium logo are trademarks of HP, IBM Corp. and Quantum in the U.S. and other countries. Terms and conditions for product documentation Permissions for the use of these publications are granted subject to the following terms and conditions. Applicability These terms and conditions are in addition to any terms of use for the IBM website. Personal use You may reproduce these publications for your personal, noncommercial use provided that all proprietary notices are preserved. You may not distribute, display or make derivative work of these publications, or any portion thereof, without the express consent of IBM. Commercial use You may reproduce, distribute and display these publications solely within your enterprise provided that all proprietary notices are preserved. You may not make derivative works of these publications, or reproduce, distribute or display these publications or any portion thereof outside your enterprise, without the express consent of IBM. Rights Except as expressly granted in this permission, no other permissions, licenses or rights are granted, either express or implied, to the publications or any information, data, software or other intellectual property contained therein. IBM reserves the right to withdraw the permissions granted herein whenever, in its discretion, the use of the publications is detrimental to its interest or, as determined by IBM, the above instructions are not being properly followed. You may not download, export or re-export this information except in full compliance with all applicable laws and regulations, including all United States export laws and regulations. 14 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

IBM MAKES NO GUARANTEE ABOUT THE CONTENT OF THESE PUBLICATIONS. THE PUBLICATIONS ARE PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. Notices 15

16 IBM Tivoli Netcool Performance Manager: Avoiding Inventory Synchronization Issues With UBA Technical Note

IBM Printed in USA