TNPM/1.4

From neil.tappsville.com
Jump to navigationJump to search

Welcome to TNPM 1.4, take Proviso 4.4.3 and make the following changes then badge it at 1.4

  • Replace the webserver 'Silverstream' with Jazz for Service Management (aka Websphere)
  • Add some inefficent views and allow cognos to mine them, aka add cognos reporting
  • Offically support the MDE (CLI tool to extract data from the DB using sql).
  • Offically support CSE - complex subelements (aka infinatly complicated way to do relational objects and SLA testing)
  • Remove per datachannel component quotas and replace with per server quotas (IE you wont get a warning something has backlogged till its too late)
  • Make user management more complicated to manage
  • Make admistration more complicated


http://www-01.ibm.com/support/docview.wss?uid=swg24037430 Package list for TNPM 1.4 In true IBM fashion you only need 1/2 of what is listed but you need to figure this out <sigh>


http://www-01.ibm.com/support/knowledgecenter/api/content/SSBNJ7_1.4.0/com.ibm.tnpm_1.4_kc.doc/release_notes/ctnpm_rn_known_issues_wln.html IBM Known issues with TNPM 1.4


http://www-01.ibm.com/support/docview.wss?uid=swg21672840 IBM Known issues with TNPM 1.4 Site 2


http://www-947.ibm.com/support/entry/myportal/!ut/p/b1/04_Sjz Q0tjA3sDQwMzDVj9CPykssy0xPLMnMz0vMAfGjzOKN3Z2NvEOcQwJDTb2MDDxD3E3MAv3CjA3MDYEKIvEoMDAjTr8BDuBoQEh_uH4UXiUgF4AV4LHCzyM_N1U_NyrHzdJT1xEAbQEr2g!!/dl4/d5/L0lDU0lKSmdrS0NsRUpJQSEvb01vZ0FFSVFoakVLSVFBQkdjWndqSlFRQVFnIS80RzNhRDJnanZ5aENreUZNTlFqSVVRUSEvWjdfM0dDMktUQ1RRRVE4ODBBOEU4UDRERTIwUDUvVUkzRks2MDUwMDAzL2libS5pbnYvMjY2NTM1Nzc3Nzgw/?com.ibm.wplc.controller.action=com.ibm.spe.genericList.action.[[ManageFilters Patch Search for 1.4.0]&filteredGroupName=Tivoli+brand+support+%28general%29&filterTypes=4%7E4&filterIds=C_1.4.0%7EC_1.4&filterSettings=selected%7Eselected


TNPM 1.4 IBM Patches


Note I assume you using RHEL Linux for you install from this point on :)

Issues and work arounds =

Firefox 17.0.9 or older required for installer / launchpad

The 'launchpad' as used by several IBM products, and uses an explot in older version of 17.0.9 which allows it to run local files. To run it you will need an old copy of firefox on you Linux host (alert alert, gaping security hole). You can get a copy of 64 bit Firefox from the mozilla ftp server ftp.mozilla.org/pub/mozilla.org/mozilla.org/firefox/releases/17.0.9esr/linux-x86_64/en-GB/


before running it ensure you add x-fonts

yum install xorg-x11-font*

Topology Editor wont install

This is a good one, the Topology Editor Installer will launch and then complain about there being no GUI, try CLI install and then fail.

Ensure the following packages are installed

yum install gtk2.i686 libXtst.i686

Note: these are also required in order to RUN the Toplogy Editor and Deployer.

Note2: Still waiting for the Topology Editor to be officall available for Windows (IE FAST) if you need a copy get in contact with me.

N.B all development and support is now offically outsourced to Persistent Systems (India)

Toplogy Editor prompts for path to dc_config when opening from db

Simply create a folder named 'temp' under the toplogyEditor folder


Deployer Package Checker Faulty

The pre-req check will fail if you don't have the exact version of the package installed as per what the installer is expected. The logic in the script is to check for versions equal to or newer, however its implemented wrong.

To get around this you will need to modify the check_os script and change the following line to return true for now

$app''version -ge $req''version


Cant enable SFTP for Datachannel =

As Workaround you need to manually edit xsd file.

.
In the topology editor, if the added host contain 'Disk Usage Server'.
Then in the topology editor, select 'Disk Usage server' and under
Properties, set the Boolean value to 'true' for
'USE''SECURE''FILE_TRANSFER' if ssh should be used to access directory
remotely.
.
If DUS(Disk Usage server) or 'USE''SECURE''FILE_TRANSFER' option is
absent; then follow below steps -
.
i.    In case of oracle database,  go to
/opt/IBM/proviso/topologyEditor/ora/metadata/core/
directory and edit the host.xsd file.
OR
In case of db2 database, go to
/opt/IBM/proviso/topologyEditor/db2/metadata/core/
directory and edit the host.xsd file.
.
ii. Then look for below entry -
: <xsd:element name="USE''SECURE''FILE_TRANSFER"
type="xsd:boolean" default="false">
.
iii. Just below that, look for following two lines -
: <ext:hostDcProperty>true</ext:hostDcProperty>
: <ext:visible>false</ext:visible>
.
iv. Then, in the first line, change true to false. While, in the
second line, change false to true so that they now look like
this -
: <ext:hostDcProperty>false</ext:hostDcProperty>
: <ext:visible>true</ext:visible>

Proviso Info Deamon init.d script doesnt work

Appears it was never coded for Linux, make the following changes /etc/init.d/pis3113ProvisoInfoServer

shebang was: #!/sbin/sh
changed to:#!/bin/sh

Added case for 'Linux'

case `uname` in
: SunOS)
	       RCFILE=/etc/pisrc3113ProvisoInfoServer.sh
	       ECHO_CMD=/usr/5bin/echo
	       case `uname -r` in
: 5.*)
: PATH=/usr/5bin:/usr/ucb:/usr/etc:$PATH
: export PATH
: ;;
: esac
: ;;
: AIX)
	       RCFILE=/etc/pisrc3113ProvisoInfoServer.sh
	       ECHO_CMD=echo
	       case `uname -v` in
: 5)
: PATH=/bin:/usr/bin:/usr/sbin:/etc:$PATH
: export PATH
: ;;
: esac
: ;;
: HP-UX)
	       RCFILE=/etc/rc.config
	       ECHO_CMD=echo
	       case `uname -r` in
: '''.10.''')
: PATH=/bin:/usr/bin:/etc:$PATH
: export PATH
: ;;
: esac
: ;;
: Linux)
	       RCFILE=/etc/pisrc3113ProvisoInfoServer.sh
	       ECHO_CMD=echo
	       case `uname -r` in
: 2.6.*)
: PATH=/bin:/usr/bin:/etc:$PATH
: export PATH
: ;;
: esac
: ;;

esac


Remember to do localization and to import Sylesheets

if you dont have stylesheets, users can navigate but not open reports Fix with

1. Run ./export.sh -dashuser <dashuser> -dashpassword <dashpassword>
from /opt/IBM/JazzSM/products/tnpm/dataview/legacy/bin/ Will create
/opt/IBM/JazzSM/products/tnpm/dataview/legacy/content/[[Silver Stream]]/Pages
directory.

2. Copy APStylesheets from
rfc''mib2''2.2.0.0''build''009.jar\data\APSyleSheets.zip\APStyleSheets\<< 15
files .css and .html.meta>>  to
/opt/IBM/JazzSM/products/tnpm/dataview/legacy/content/[[Silver Stream]]/Pages


3. Run ./import.sh -dashuser <dashuser> -dashpassword <dashpassword>
from /opt/IBM/JazzSM/products/tnpm/dataview/legacy/bin/

After performing the above steps refresh the report and see if it works.
Otherwise you need to restart the Jaaz SM.

Localization, if you dont do it, all the reports will have funny names. its as painful (if not worse) than its always been



backup JazzSM content store -->


./[[customer]]/content''store''backups/MIB_II/[[Silver Stream]]/Classes/Jars/legacyDataview.jar


get the file above and put into


/opt/IBM/JazzSM/products/tnpm/dataview/DVCustomerBundles/


 cd /opt/IBM/JazzSM/products/tnpm/dataview/DVCustomerBundles/

[[root@unx8300 DVCustomer Bundles]]# cp /opt/IBM/[[customer]]/content''store''backups/MIB_II/[[Silver Stream]]/Classes/Jars/legacyDataview.jar .
[[root@unx8300 DVCustomer Bundles]]#




/opt/IBM/[[Web Sphere]]/[[App Server]]/java/bin/jar -xvf legacyDataview.jar



Copy merged DVAppPacksBundle.properties into General directory

Create a properties file by using the contents of both the properties files that
are copied to the General directory.
cat DVAppPacksBundle.properties PVRMessageBundle.properties > DVCustomerBundle_en.properties

cd back to DVCustomerBundles

/opt/IBM/[[Web Sphere]]/[[App Server]]/java/bin/jar -cvf DVCustomerBundles.jar ./General/DVCustomerBundle*.properties


Creates DVCustomerBundles.jar


copy this to the webserver working director

/opt/IBM/JazzSM/products/tnpm/dataview/legacy/content/[[Silver Stream]]/Classes/Jars   <<< this didnt work


cp /opt/IBM/JazzSM/products/tnpm/dataview/DVCustomerBundles/DVCustomerBundles.jar /opt/IBM/JazzSM/profile/installedApps/JazzSMNode01Cell/isc.ear/legacyDataview.war/WEB-INF/lib

RESTART JAZZ.





Stop / Start the webservers

Start

 /opt/IBM/JazzSM/profile/bin/startServer.sh server1

Stop

/opt/IBM/JazzSM/profile/bin/stopServer.sh server1 -username smadmin -password [[magic password]]

db2 wont start / registry install failes

At the end of the db2 install, it should be running. If its not, this will cause the registry install to fail.

Ensure that the file system that you installing into and also where smadmin home will be created do not have the following attribute in /etc/fstab (nosuid)

/dev/mapper/vg00-homevol /home                   ext4    defaults,nosuid,nodev 1 2
/dev/mapper/vg00-tmpvol /tmp                    ext4    defaults,nosuid,nodev 1 2


Logw will not start

Root cause is using oci instead of thin connection Java --> Oracle OJDBC .

Fix by adding the following to datachannel.env

PV''DB''JDBC''URL=jdbc:oracle:thin:@$DATABASE''SERVER''NAME:$DB''PORT''NUMBER:$PV''DB_TNSNAME
export PV''DB''JDBC_URL

Datachannel wrong JDBC files / versions

Issues trying to start the LOGW process.

Turns out that the ojdbc file provided in the /datachannel/lib folder provided is for Java JDK 1.5 and below and Supports only oracle 10, however since TNPM v1.4 uses JDK 1.7 and Oracle 11 the LOGW Java process will not start.

Copy /appl/oracle/product/11.2.0.4.0/client/jdbc/lib/ojdbc6. jar to /appl/IBM/TNPM/datachannel/lib and remove ojdbc14.jar which can not be used with JDK 1.7


Or apply the env fix to datachannel.env

Datachannel - Findvisual

Make the following modification to allow findvisual to find all datachannel processes (now logw is java instead of smalltalk)

ps -edf | egrep "visual|com.ibm.tivoli.analytics.Main -a LOG" | egrep -v "grep|findvisual"


Patches

1.4.0.0-TIV-TNPM-IF0015 2014-10-31 IV65553

Fix for generic metrics not saving when the following is used in a formula

DEF  [[Save Alias]] <generic metric id>

Unofficial Test Fix 2014-10-14 IV65005

The Watch Dog (watchd) of the TNPM 1.4

Dataload spam with strange messages

[[2014/09/09 12:52:43]] WARN: WATCHDOG    Decoded the Buffer, Here
is the Process Info 2832 'pvmd'
'/opt/IBM/proviso/dataload/bin//pvmdmgr start -c 1 -l 1 -s 3002
-ha 0' '/opt/IBM/proviso/dataload/bin//pvmdmgr stop -p 2832 -t
120' '45' '2014.09.09-11.52.43'
[[2014/09/09 12:53:14]] WARN: WATCHDOG    Decoded the Buffer, Here
is the Process Info 2832 'pvmd'
'/opt/IBM/proviso/dataload/bin//pvmdmgr start -c 1 -l 1 -s 3002
-ha 0' '/opt/IBM/proviso/dataload/bin//pvmdmgr stop -p 2832 -t
120' '45' '2014.09.09-11.53.14'

SNMP Availablity calculation incorrect -unoffical test fix - 2014-10-14 IV61094

After log analysis, it was found that certain set of events when occurred in a specific manner may cause the threads involved in computation of metrics to get out of sync. This is causing the availability data to be reported as zero.

Avoid signal to event (result promise) when SNMP Job fails before being processed.

Nomenclature warnings can be ignored 2014-10-27 1428293

Warning: new 1 oid to class : edit /opt/datamart/importexport/dslam/synchro/New NodeType.dat replace New Type (ex : Router) New SubType ( ex : Cisco ) for each line and run

resmgr -import ngp -colNames "npath ncl.name ncl.type" -file /opt/datamart/importexport/dslam/synchro/New NodeType.dat


When trying to synchronize discovery of new devices, system warns that new oids need to be classified.

Warning: new 1 oid to class : edit /opt/datamart/importexport/dslam/synchro/[[New NodeType]].dat
replace New Type (ex : Router) New SubType ( ex : Cisco ) for each line and run
 resmgr -import ngp -colNames "npath ncl.name ncl.type" -file /opt/datamart/importexport/dslam/synchro/New NodeType.dat



When trying to do that, found that export from ngp table give no results. Inputting anything there,
; gives error : pvuser@pius# resmgr -import ngp -colNames "npath ncl.name ncl.type" -
file /opt/datamart/importexport/dslam/synchro/[[New NodeType]].dat
Error : === insert : INSERT ON Nomenc Group (
~[[Nodes Type]]~Dslam~Ericsson_EDA ) (does not exist) (error I 100023461 311
{ORA-02291: integrity constraint (PV''ADMIN.FK''REGG''REGR''1) violated -
parent key not found })

Its found that export on ngp returns nothing.

REF''GRP''DESC and REF''GRP''DESC_HIST tables are either empty or does not exist.

These warnings are benign.

REFGRPDESC and REFGRPDESC_HIST tables are no longer in use in newer DM versions from 4.4.1.3. Any warnings that we may get are the residues from previous install. These warnings can be simply ignored.

1.4.0.0-TIV-TNPM-IF0012 2014-09-22 IV64888

According to the formula editor guide, * (asterisk) value of current version of the subelement always overwrites previous value, should basically replace the value of that variable and then get dropped off. But in 1.4, looks like it replaces the value and still retains "*" as a string. Which is causing issues with reports and the post-discovery enrichment and filtering processes.

The issue raised in this APAR regarding special characters in subelement labels (specifically *) has been addressed in the following Interim Fix: 1.4.0.0-TIV-TNPM-IF0012


1.4.0.0-TIV-TNPM-IF0008 2014-07-09 IV62187

The CME does not send a clear trap if a threshold is violated the whole evening till midnight and does not fall short until next day.