Monday, August 1, 2016

KM: SPI for SQL Server generates "ERROR: Cannot set paths."



SPI for SQL Server monitoring SQL 2012 on Windows x64 managed node
Even though the SPI hotfix for SQL 2012 support has been installed already (https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/LID/QCCR1A135838), the SPI collector generates the following error:
# dbspicam.bat -v -dERROR:   Cannot set paths.
The following workaround fixed the issue

Change the %ovagentdir%\bin\instrumentation\dbspicam.bat script from:

…
244    if %DBSPI_SQL_VERSION% == "2000"  (
245       (set DBMSSEXE="dbspimss.exe") )
246    if %DBSPI_SQL_VERSION% == "2005"  (
247       (set DBMSSEXE="dbspims9.exe") )
248    if %DBSPI_SQL_VERSION% == "2008"  (
249       (set DBMSSEXE="dbspims9.exe") )
250
251    %DBMSSEXE% %PARM% %INCLUDE_OPTION% %MSSQL_SRV%
…
To:
…
244    if %DBSPI_SQL_VERSION% == "2000"  (
245       (set DBMSSEXE="dbspimss.exe") )
246    if %DBSPI_SQL_VERSION% == "2005"  (
247       (set DBMSSEXE="dbspims9.exe") )
248    if %DBSPI_SQL_VERSION% == "2008"  (
249       (set DBMSSEXE="dbspims9.exe") )  
250    if %DBSPI_SQL_VERSION% == "2012"  (
251       (set DBMSSEXE="dbspims9.exe") )
252 
253 %DBMSSEXE% %PARM% %INCLUDE_OPTION% %MSSQL_SRV% 

Sunday, July 31, 2016

HP OML Installation, installing OM infrastructure SPI

This document helps you to prepare your Linux VM with required Linix OS with patches, Oracle DB  to install OML Software 

S/W and H/W Requirements:
·         2GB RAM
·         4GB Swap Space
·         30 GB File System.
·         RHEL 5.2 VM ware workstation is available with me. If anyone interested to build OML they can use already built VM machine.

Steps to increase the Swap Space:
http://www.thegeekstuff.com/2010/08/how-to-add-swap-space/
1. dd if=/dev/zero of=/root/myswapfile bs=1M count=4096
2. chmod 600 /root/myswapfile
3. mkswap  /root/myswapfile
4. swapon  /root/myswapfile
5. To make this swap file available as a swap area even after the reboot, add the following line to the     /etc/fstab file.
# cat /etc/fstab
/root/myswapfile               swap                    swap    defaults        0 0
6 swapon -s
7. Check the RAM and Swap Space on your RHEL System by the below command.
free  -k

Steps to change the Kernal Parameters:
List the kernal paramenters ipcs -l
edit /etc/sysctl.conf
Run sysctl with -p parameter to load in sysctl settings from the default file /etc/sysctl.conf.
sysctl -p


kernel.shmmni=4096
kernel.sem=250 32000 100 128
fs.file-max=65536
net.ipv4.ip_local_port_range=1024 65000
net.core.rmem_default=4194304
net.core.wmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_max=262144
file-max=6815744
ip_local_port_range=65500
wmem_max=1048576
fs.aio-max-nr = 1048576

Steps to Install OS RPM Packages
You can install Missing RPM packanges in TWO ways.
1. Extract Operating System ISO files and then search for the below packages. you should be able to FIND all the requeired packages.
2. Install missing rpm packages from Oracle's Yum server for Oracle Enterprise Linux 5.

COMMAND TO INSTALL RPM PACKAGE:
rpm -ivh <package Name>
Verify the installed RPM Packages:
RPM -q <package Name>
List of packages need to be installed on RHEL 5.2:
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-2.5-24 (32 bit)
glibc-common-2.5
glibc-devel-2.5
glibc-devel-2.5 (32 bit)
glibc-headers-2.5
ksh-20060214
libaio-0.3.106
libaio-0.3.106 (32 bit)
libaio-devel-0.3.106
libaio-devel-0.3.106 (32 bit)
libgcc-4.1.2
libgcc-4.1.2 (32 bit)
libstdc++-4.1.2
libstdc++-4.1.2 (32 bit)
libstdc++-devel 4.1.2
make-3.81
sysstat-7.0.2



[root@localhost packages]# rpm -ivh elfutils-libelf-devel-0.125-3.el5.x86_64.rpm
warning: elfutils-libelf-devel-0.125-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        elfutils-libelf-devel-static = 0.125-3.el5 is needed by elfutils-libelf-devel-0.125-3.el5.x86_64

[root@localhost packages]# rpm -ivh elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
Warning: elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        elfutils-libelf-devel = 0.125-3.el5 is needed by elfutils-libelf-devel-static-0.125-3.el5.x86_64

Install Missing Packages from Oracle's yum server.
What are the steps for connecting my Linux machine to Oracle's yum server.
You need to download the yum .repo file from the server, as per the steps below. After this, you need to enable a flag in the .repo file as per your operating system version. Having done these two steps, when you run yum install <pkgname> command on your linux box, the Oracle's yum server will be scanned, the dependent & the relevant rpm's will be download and installed for you.
Steps are highlighted in blue
cd /etc/yum.repos.d
To download files here
wget http://public-yum.oracle.com/public-yum-el5.repo
A file named public-yum-el5.repo will be created in your directory
Edit this file and enter enabled=1 against the operating systems which is relevant to you
vi public-yum-el5.repo
Next run the yum command
yum install package-name

Oracle 11g DB installation:

Note: Install only ORACLE DATABASE Software, no need to create the Oracle instance while installing the DB on server.
HP OM creates the instance for you while running the ovinstall script.
รจ Run Xhost + command as a root user :

[root@smuddham database]# xhost +
access control disabled, clients can connect from any host

Link for Oracle DB installation:
Before Oracle Installation:
Oracle user, oinstall and dba groups   Group ID's should be more than 100.

groupadd -g 102 dba
groupadd -g 102 oinstall
useradd -g 102 oracle
usermod -g oinstall oracle --Adding oinstall as the primary group to Oracle user
usermod -G dba oracle----Adding dba as the secondary group to oracle user
Verify oracle user:
id oracle
Change the password for oracle user :
passwd oracle
Create Below Directories, and give necessary privileges to Oracle user:
-> mkdir -p /opt/oracle/
-> mkdir -p /opt/oracle/product/11.2.0
-> mkdir -p /opt/oracle/oraInventory
-> chown -R oracle:oinstall  /opt/oracle/oraInventory
-> chmod -R 770 /opt/oracle/oraInventory
-> chown -R oracle:oinstall /opt/oracle  /opt/oracle/product  /opt/oracle/product/11.2.0
Set the following Oracle environment variables   :
/home/oracle/.profile or /home/oracle/.bash_profile of the oracle user:
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0
export ORACLE_SID=openview
export ORACLE_TERM=hp
export PATH=$PATH:$ORACLE_HOME/bin
export PATH=$PATH:/opt/oracle
export NLS_LANG=american_america.AL32UTF8
ORA-12162: TNS:net service name is incorrectly specified : for this error the above path should be set at oracle user.
Check the environment using command
env | grep –I oracle




Make below path entries in Cat  /etc/profile which will be export path for all the users connected to the server.
export PATH=$PATH:/opt/OV/bin/OpC:/opt/OV/bin/:/opt/OV/man
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0
export ORACLE_SID=openview
export ORACLE_TERM=hp
export PATH=$PATH:$ORACLE_HOME/bin
export PATH=$PATH:/opt/oracle
LD_LIBRARY_PATH=$ORACLE_HOME
export PATH=$PATH:/opt/oracle/product/11.2.0/bin/
umask 002
export ORACLE_BASE
export ORACLE_HOME
export LD_LIBRARY_PATH
export PATH


IMPORTANT: Remove or comment out port 1521 entries from /etc/services

IMPORTANT: Remove or comment out port 1521 entries from /etc/services. Otherwise you will get the error message TCP port "1521" is already in use during the installation.


ERRORS POST INSTALLING THE ORACLE DB SOFTWARE:
  

CHECK LIST TO SOLVE THE ABOVE ERROR:
1.       Host file Entry
2.       Comment  post 1521 in /etc/services
3.       Start the listener
4.       Verify SQL is connected to IDEA instance.

LISTENER and DB START:
su - oracle
cd /opt/oracle/product/11.2.0/bin/
./lsnrctl start
sqlplus '/ as sysdba'
startup
SQL> Select name from v$database;
SQL> select * from v$instance;

LISTENER ERRORS:
[oracle@smuddham bin]$ ./lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 03-SEP-2012 11:19:17
Copyright (c) 1991, 2010, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=smuddham.hp.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
Solution:
[oracle@localhost ~]$ su - root
Password:
[root@localhost ~]# vi /etc/hosts        (copy & paste the below line)
127.0.0.1       localhost.localdomain   localhost

[root@localhost ~]# su - oracle
[oracle@localhost ~]$ lsnrctl start
[oracle@localhost ~]$ lsnrctl status



Note :
1.       dbca  (Database Configuration Assistance) utility is used to Manage the Database instances.
2.       netca utility is used to manage the LISTERNERS .

Install and verify HP OM Software:
Install and verify ADMIN GUI:
# /opt/OV/OMU/adminUI/adminui clean
# /opt/OV/OMU/adminUI/adminui start

 The option for the automatic startup and shutdown of the database is set in the following file:
/etc/sysconfig/ovoracle
Change both the OVORACLE and OVORALISTENER variable to 1, as shown
in the following extract from the file:
# configure if oracle database should be started
# 0 - do not start
# 1 - start
# default is 0. This may be changed here manually
OVORACLE=1
OVORALISTENER=1

KM : opcmona (30077/140479042410272): [genmona.c:3356]: Unknown monitor

The following messages appeared under /var/opt/OV/log/System.txt .

DBSPI metrics 17,18 and 56 are defined in schedule task policy but the actual metric policy is not deployed on to the node. I just removed the Metric from schedule task policy and re-deployed policies on to the Oracle nodes, the messages are no longer appearing.


0: WRN: Mon Aug  1 10:30:03 2016: opcmona (30077/140479042410272): [genmona.c:3356]: Unknown monitor 'DBSPI-0017'. Ignoring received value. (OpC30-613)
Can't find object 'DBSPI-0017' to set async. flag. (OpC20-37)

0: WRN: Mon Aug  1 10:30:03 2016: opcmona (30077/140479042410272): [genmona.c:3356]: Unknown monitor 'DBSPI-0018'. Ignoring received value. (OpC30-613)
Can't find object 'DBSPI-0018' to set async. flag. (OpC20-37)

0: WRN: Mon Aug  1 10:30:03 2016: opcmona (30077/140479042410272): [genmona.c:3356]: Unknown monitor 'DBSPI-0017'. Ignoring received value. (OpC30-613)
Can't find object 'DBSPI-0017' to set async. flag. (OpC20-37)

0: WRN: Mon Aug  1 10:30:05 2016: opcmona (30077/140479042410272): [genmona.c:3356]: Unknown monitor 'DBSPI-0018'. Ignoring received value. (OpC30-613)
Can't find object 'DBSPI-0018' to set async. flag. (OpC20-37)

0: WRN: Mon Aug  1 10:31:11 2016: opcmona (30077/140479042410272): [genmona.c:3356]: Unknown monitor 'DBSPI-0056'. Ignoring received value. (OpC30-613)
Can't find object 'DBSPI-0056' to set async. flag. (OpC20-37)

DBSPI commands HP Oracle DBSPI and HP MSSQL DBSPI

 # ovdeploy -cmd "dbspiadm -status" -node nodename
*** Usage: <conncheck | dbspierror | trace | verify | verifyv> [-nw]

Check Metric :

dbspicam -m 278 -v -p

dbspiadm conncheck -nw

The dbspiadm command and its options

• dbspiadm conncheck -nw - Checks database connections for configured databases.

• dbspiadm verify -nw - Checks the number of DB SPI scripts installed and DBSPI
templates assigned to the Windows nodes.

• dbspiverify - Checks the number of DB SPI scripts installed and DBSPI templates
assigned to the UNIX nodes.

• dbspiadm dbspierror -nw - Displays the DB SPI error log file.

• dbspiadm trace -nw - Displays the DB SPI trace file.


############################# To check Graphs and Reports Status ######################

opcdeploy -cmd "ovcodautil -dumpds DBSPI_ORA_REPORT" -node <Node-Name>


opcdeploy -cmd "ovcodautil -dumpds DBSPI_ORA_GRAPH" -node <Node-Name> and


# ovdeploy -cmd "ovcodautil -dumpds DBSPI_MSS_REPORT" <node Name> ############## MSSQL



################################# DBSPI Verification ########################
opcdeploy -cmd "dbspiverify" -node ggnems01
opcdeploy -cmd "dbspicfg -e" -node <Node-Name>

SYNTAX_VERSION 4

ORACLE

  HOME "/oracle/DB"
    DATABASE "OPENVIEW" CONNECT "dbspi/dbspi@OPENVIEW"
           LOGFILE "/oracle/admin/openview/bdump/alert_OPENVIEW.log"
    LISTENER "LISTENER" CONNECT ""

>>>>>>>>>>>>>>>>>>>>>>>>>>>DBSPI COLL ON/OFF >>>>>>>>>>>>>>>>>>>>>>>>

opcdeploy -cmd "dbspicol ON" -node ggnems01
opcdeploy -cmd "dbspicol OFF" -node ggnems01

<<<<<<<<<<<<<<<<<<<<<<<<<<<< Checking the DB integration with CODA >>>>>>>>>>>>>>>>>>

root@ggnems21 # opcdeploy -cmd "dbspicao -d -v" -node ggnems01
Checking instance: 'OPENVIEW' @ '/oracle/DB':
        Connect:         OKAY



   A) For the first issue you need to run the below steps to make sure that integration is with coda.

To find out if integration is with coda the file ddflbd.rc should have been created in
UNIX: /var/opt/OV/conf/dsi2ddf/ddflbd.rc
Win: %ovagentdir%\conf\dsi2ddf\ddflbd.mwc

Now steps to recreate in CODA:

MSSQL:
*****************************
1)    Remove the datasources:
# set PATH=%ovagentdir%\bin\instrumentation;%PATH%
# cd %ovagentdir%\bin\instrumentation
# dbspimwi.bat –cleanup
# dbspicol OFF
# cd \usr\OV\dbspi\dsi
# del mssql\*
# del \usr\OV\dbspi\log\mw*  ( ---someties PA locks the logfiles. It does not always happen, it did not happen on the first node). SO if it does run "ovpacmd stop"

2) Create dsi2ddf folder in %ovagentdir%\conf
3) Then create an empty “nocoda.opt” file in the dsi2ddf folder
4) Recreate the integration:
# dbspimwi.bat
# dbspimwi.bat –osm

5) start collection:
#  dbspicol ON

If you stopped OVPA start it here by ovpacmd start

ORACLE ON WINDOWS:
****************************
1) Remove the datasources:
# set PATH=%ovagentdir%\bin\instrumentation;%PATH%
# cd %ovagentdir%\bin\instrumentation
# dbspimwi.bat –cleanup
# dbspicol OFF
# cd \usr\OV\dbspi\dsi
# del oracle\*
# del \usr\OV\dbspi\log\mw*  ( -?someties PA locks the logfiles. It does not always happen, it did not happen on the first node). SO if it does run "ovpacmd stop"

2) Create dsi2ddf folder in %ovagentdir%\conf
3) Then create an empty “nocoda.opt” file in the dsi2ddf folder

4) Recreate the integration:
# dbspimwi.bat
# dbspimwi.bat –osm

5) start collection:
# dbspicol ON

If you stopped OVPA start it here by ovpacmd start

ORACLE ON UNIX:
****************************
1) Remove the datasources:
# export PATH=$PATH:/var/opt/OV/bin/OpC/monitor:/var/opt/OV/bin/OpC/cmds:/var/opt/OV/bin/instrumentation
# dbspicol OFF
# /var/opt/OV/bin/instrumentation/dbspi_mwclup
# cd /var/opt/OV/dbspi/dsi/
# rm -R oracle/*
# rm -R /var/opt/OV/dbspi/log/mw_*

2) Create dsi2ddf folder in /var/opt/OV/conf/dsi2ddf
3) Then create an empty “nocoda.opt” file in the dsi2ddf folder

4) Recreate the integration:
# /var/opt/OV/bin/instrumentation/dbspi_mw_int
# /var/opt/OV/bin/instrumentation/dbspi_mw_int –osm

5) start collection:
# dbspicol ON


B) For the second problem, if you need to verify if you have permissions issue, please check the dbspierror logfile for these errors:

2010-02-17T16:35:05 ERROR dbspicao(10) ACLPCS6 [cola:vparameter.pc:72]: DBSPI40-1: Unable to fetch data from table 'V$PARAMETER' [ORA-01002: fetch out of sequence].
2010-02-17T16:35:05 ERROR dbspicao(10) ACLPCS6 [cola:ora_util.pc:1367]: DBSPI40-1: Unable to fetch data from table 'V$INSTANCE' [ORA-00942: table or view does not exist].
For these errors you need to make sure that the correct permssions are applied:
I have attached the sql script and the method to execute is:
Please save the script in '/tmp' directory.
su - oracle ( PLEASE NOTE: This user may be different at your location )
sqlplus /nolog
SQL>connect /as sysdba
SQL>@/tmp/hp_dbspi_grants.sql
C) For the third issue, please make sure that you send me the data and I will verify what are the next steps


###################################### Remove HPOA,HPPA and DBSPI datasources #########################


opt/OV/bin/ovc –kill
/opt/perf/bin/ovpa stop

Move all the data files under : /var/opt/perf/datafiles/log*
And  all coda* files under /var/opt/OV/datafiles

Remove the data sources:
# export PATH=$PATH:/var/opt/OV/bin/OpC/monitor:/var/opt/OV/bin/OpC/cmds:/var/opt/OV/bin/instrumentation
# dbspicol OFF
# /var/opt/OV/bin/instrumentation/dbspi_mwclup
# cd /var/opt/OV/dbspi/dsi/
# rm -R oracle/*
# rm -R /var/opt/OV/dbspi/log/mw_*

2) Recreate the integration:

# /var/opt/OV/bin/instrumentation/dbspi_mw_int
# /var/opt/OV/bin/instrumentation/dbspi_mw_int –osm

3) start collection:
# dbspicol ON

/opt/OV/bin/ovc –start
/opt/perf/bin/ovpa –start

If these steps will not solve the CODA issues on this server, we should reinstall the HPOA and HPPA agents.


###############################################################


1)    Remove the datasources:
# set PATH=%ovagentdir%\bin\instrumentation;%PATH%
# cd %ovagentdir%\bin\instrumentation
# dbspimwi.bat –cleanup
# dbspicol OFF
# cd \
# del mssql\*
# del \usr\OV\dbspi\log\mw*

4) Recreate the integration:
# dbspimwi.bat
# dbspimwi.bat –osm

5) start collection:
#  dbspicol ON


ovdeploy -cmd "dbspimwi.bat –cleanup" -node
ovdeploy -cmd "dbspicol OFF" -node
ovdeploy -cmd "Del C:\usr\OV\dbspi\dsi\mssql\" -node
ovdeploy -cmd "dbspimwi" -node
ovdeploy -cmd "dbspimwi -osm" -node
ovdeploy -cmd "dbspicol ON" -node


#################################

ovdeploy -cmd "dir 'C:\Documents and Settings\All Users\Application Data\HP\HP BTO Software\bin\instrumentation'" -node <FQDN>
ovdeploy -cmd "dir 'C:\Documents and Settings\All Users\Application Data\HP\HP BTO Software\bin\instrumentation'" -node <FQDN>



############################## Overlap Metrics #################################

Here is my investigation from DBSPI document “hp_man_SPI_SQLServer12.04_Reference_pdf” for this issue(“the server is just busy  and the connection has timeout”):
1. You could find the defaults file in the directory of managed node:
        HP–UX, Linux, or Solaris: /var/opt/OV/dbspi/defaults
AIX (HTTPS): /var/opt/OV/dbspi/defaults
Windows: \usr\OV\dbspis\defaults.
2. Please add  “MSSQL_LOGINTIMEON ON” to the defaults file and save.
After you finished the 2 steps, the command “EXEC SQL SET OPTION LOGINTIME 30” would  be run by DBSPI, you don’t need do any setting or execution.

However, this is the DBSPI suggestion. If these steps cannot solve the issue, we will contact with DBSPI team for further suggestion and need more information for investigation. Thanks very much.

#########################################################################################################

CLEAN START Oracle DBSPI

/var/pot/OV/bin/instrumentation/dbspicol OFF
dbspicol OFF
/opt/OV/bin/ovc –kill
/opt/perf/bin/ovpa stop
Move all dbmon.lock* files under /var/opt/OV/dbspi/ to other location
/opt/OV/bin/ovc –start
/opt/perf/bin/ovpa start
/var/pot/OV/bin/instrumentation/dbspicol ON

HP DBSPI Configuration - Oracle



Monday, June 06, 2016
12:17 PM

This document illustrates how to set up Oracle DB monitoring using HP Oracle DBSPI.

HP Oracle DBSPI 12.x supports Oracle 12.x with latest hotfixes, some of the hotfixes are not available in Support WebSite , but we can get them from HP Support .
  • Create DBSPI user account with all the privileges mentioned in dbspiocr.sql script (script available under instrumentation Dir)
  • Deploy DBSPI Discovery Policy on Oracle nodes
  • Run Database Configuration tool on node , input all required information
  • Deploy Oracle DBSPI Policies 
DBSPI Set up is :

·         Two node RAC cluster
·         Two ASM instances running
·         ASM user is grid user
·         Oracle user is oracle


Run dbspicfg.sh and  input required details on node A in below format. 
AA and BB are the oracle SAID and AA1, BB1 are the two active instances.

Oracle ASM connect should be configured with "/"

LISTENERS should be configured with LISTENERS path.


SYNTAX_VERSION 4

ORACLE

  HOME "/u01/app/oracle/product/12.1.0/db"
    DATABASE "AA1" CONNECT "hp_dbspi/hp_dbspi@AA"
           LOGFILE "mention log file path"
    DATABASE "BB1" CONNECT "hp_dbspi/hp_dbspi@BB"
           LOGFILE "mention log file path"

ORA_ASM

  HOME "/u01/app/12.1.0/grid"
    DATABASE "+ASM1" CONNECT "/"

ORACLE

  HOME "/u01/app/12.1.0/grid/network/admin"

    LISTENER "LISTENER_SCAN2" CONNECT ""


Follow the same procedure on Node B. 

Known Errors :

DBSPI40-28: ASM Diskgroup not found for +DATA01 file in v$asm_diskgroup

update defults file on NodeA and NodeB with 

[Node A ]# cat /var/opt/OV/dbspi/defaults
UNIX_ORACLE_USER grid
dbspicol ORA_RAC_MASTER +ASM1 ON

[Node B]# cat /var/opt/OV/dbspi/defaults
UNIX_ORACLE_USER grid
dbspicol ORA_RAC_MASTER +ASM2 ON

Fix
The solution to the contention issue is to do one of the following:
1)  Ensure Oracle metrics 3,6,16,56,58,203, 206,216 are collected in the same schedule.
OR
2)  Space out the scheduled collectors to ensure there is no overlap. For example, the 5 minute collector can run every 5 minutes but the 10 minute collector should start at  02,12,22,32,42,52, minutes past each hour.

04/29/03 09:08:11 ERROR dbspicao(9422) s555 [metric0023:sysstat.pc:333]: DBSPI9-5: Persistent store function 'get' on file '/var/opt/OV/dbspi/history/oracle/companyname-_s555_m0023' failed.

This is a known intermittent problem and the only known workaround is to remove the metric history files.
In this case the metric reporting the problem is 23  (the error message tells: companyname-_s555_m0023). Running the following will fix the problem:
rm /var/opt/OV/dbspi/history/oracle/*0023*


Assiciated KM Documents :