Siteminder Policy Server Metrics are not appearing in the Investigator and XPSConfig gives a library initialization error

book

Article ID: 145494

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We are using APM for SSO 13.2 with SSO 12.8 policy server. We are not seeing any Siteminder metrics in the investigator. 
We have configured the XPS option 5 in XPSConfig for the correct library location for libEventIntroscopeprovider.so however when starting XPSConfig we get an error. We also see a similar message in the policy server log file.

"failed to initialize event handler library /opt/software/ca/siteminder128/lib/libEventIntroscopeprovider.so "

Cause

The problem was caused by missing libraries in the SSO Policy Server lib folder. The library initialization error message mentioned libEventIntroscopeprovider.so however the problem was not specifically related to this library but to libIntroscopeNativeDataAPI.so.

This was verified by sourcing the ca_ps_env.ksh to set up the Policy Server home directory and thn running the ldd command against each library

ldd /opt/software/ca/siteminder128/lib/libEventIntroscopeprovider.so 

reported no problems - all libraries were resolved

ldd /opt/software/ca/siteminder128/lib/libIntroscopeNativeDataAPI.so 

however reported several libraries to be not found

          linux-vdso.so.1 =>  (0x00007ffe0edf2000)
        libapr-1.so.0 => not found
        libcurl.so.4 => /opt/software/ca/siteminder128/lib/libcurl.so.4 (0x00007f0831501000)
        libxerces-c-3.1.so => not found
        libboost_regex-mt.so.5 => not found
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f08311fa000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0830f76000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0830d60000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f08309cb000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f08307c7000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f08305bf000)
        /lib64/ld-linux-x86-64.so.2 (0x000055ac92b0a000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f08303a1000)

Environment

Release : 13.2

Component : APM for SSO

Resolution

The problem was resolved by copying the missing libraries from a working Policy Server environment to the problem lib folder.

The solution was verified by running the XPSConfig command 

# XPSConfig

[XPSConfig - XPS Version 12.8.0200.1992]
Log output: /opt/software/ca/siteminder128/log/XPSConfig.2020-02-20_092005.log
libIntroscopeNativeDataAPI was loaded from /opt/software/ca/siteminder128/lib

Also Siteminder Policy Server metrics started to be reported in the investigator