Spectrum Report Manager
Spectrum Report Manager
Contact CA Technologies
Contact CA Support
For your convenience, CA Technologies provides one site where you can access the
information that you need for your Home Office, Small Business, and Enterprise CA
Technologies products. At http://ca.com/support, you can access the following
resources:
■ Online and telephone contact information for technical assistance and customer
services
■ Information about user communities and forums
■ Product and documentation downloads
■ CA Support policies and guidelines
■ Other helpful resources appropriate for your product
Chapter 3: Installation 17
Installation Components ............................................................................................................................................ 17
New and Upgrade Installations ........................................................................................................................... 18
Operating System and Client Requirements ....................................................................................................... 18
Install OneClick with Report Manager ....................................................................................................................... 22
Migrate Report Data from a Previous Report Manager Installation ................................................................... 22
Initialization Considerations for InnoDB Storage ................................................................................................ 24
Calculating Disk Requirements for Event Storage ............................................................................................... 24
Report Manager Installation ............................................................................................................................... 26
Verify Installation by Testing Access Methods .................................................................................................... 28
Upgrade the Report Parameter Pages ................................................................................................................ 29
How to Install CA Business Intelligence (CABI) ........................................................................................................... 30
Review the Prerequisites and Installation Considerations .................................................................................. 31
Run the cabiinstall.exe file .................................................................................................................................. 37
Specify the Server Information to Install CABI .................................................................................................... 38
Install CABI .......................................................................................................................................................... 42
Verify the CABI Installation ................................................................................................................................. 42
Uninstall CABI ............................................................................................................................................................. 43
Testing LDAP with BOXI and Report Manager ........................................................................................................... 45
Specify CA Spectrum LDAP Settings .................................................................................................................... 46
Specify BOXI LDAP Settings ................................................................................................................................. 46
Configure Report Manager Integration for LDAP Single Sign-On........................................................................ 47
Contents 5
Enable Trusted Authentication between Report Manager and BOXI InfoView ......................................................... 48
Contents 7
v_dim_alarm_title ............................................................................................................................................. 120
v_dim_alarm_user ............................................................................................................................................ 120
v_dim_device_model ........................................................................................................................................ 121
v_dim_device_module ...................................................................................................................................... 123
v_dim_event ..................................................................................................................................................... 124
v_dim_event_creator ........................................................................................................................................ 124
v_dim_global_collection_member ................................................................................................................... 124
v_dim_interface_model .................................................................................................................................... 125
v_dim_landscape .............................................................................................................................................. 127
v_dim_model .................................................................................................................................................... 127
v_dim_ncm_event ............................................................................................................................................ 128
v_dim_spm_test................................................................................................................................................ 128
v_dim_time ....................................................................................................................................................... 129
v_fact_alarm_activity ........................................................................................................................................ 130
v_fact_alarm_info ............................................................................................................................................. 131
v_fact_event ..................................................................................................................................................... 133
v_fact_model_outage ....................................................................................................................................... 134
v_fact_spm_basic_test_results ......................................................................................................................... 135
v_fact_spm_http_full_test_results ................................................................................................................... 136
v_fact_spm_jitter_test_results ......................................................................................................................... 136
How to Create Additional SRMDBAPI Users ............................................................................................................. 137
How to Access Views ................................................................................................................................................ 138
Sample SRMDBAPI Queries ...................................................................................................................................... 139
Sample SRMDBAPI Data Extraction to Flatfile .......................................................................................................... 142
Create an ODBC Datasource for the SRMDBAPI ...................................................................................................... 142
Create a Sample Query that Uses the ODBC Data Source........................................................................................ 144
SRMDBAPI Potential Issues and Best Practices ........................................................................................................ 147
Index 153
You access the InfoView application server from any compatible Web browser. InfoView
is a web-based interface that lets you manage reports. You can generate custom reports
and also one-time or periodic scheduled reports.
Chapter 1: Introduction 9
Report Manager Architecture
Event/Alarm Data
At startup, Report Manager retrieves event and alarm data from Archive Manager for
each SpectroSERVER through OneClick. After the recorded events and alarms have been
processed and stored in the reporting database, Report Manager establishes an event
poller. The poller processes new alarm event information from each SpectroSERVER
every hour.
Note: If Report Manager is stopped, it gathers and processes all event and alarm data.
The OneClick/Tomcat web server receives the last alarm before Report Manager shuts
down.
Report Manager uses the collected availability event data to compile a list of outages,
and stores this information in the reporting database. CA Spectrum Reporting presents
this data in the availability reports.
To keep the device information current, the Report Manager continuously collects data
by polling for events every hour. Because certain asset information, such as firmware
revision or system contact changes less frequently, Report Manager polls devices for
this data every 24 hours and updates the reporting database accordingly. Device polling
is distributed randomly across all devices in the reporting environment to minimize
spikes in network traffic.
The 24-hour device polling interval means that a change in asset status (for example, a
system contact change) is not recorded in the reporting database for up to 24 hours.
Thus, reports do not provide detailed device information changes immediately, but are
recorded in the reporting database within the next 24 hours.
Chapter 1: Introduction 11
Chapter 2: About CA Business Intelligence
This section contains the following topics:
Introducing CA Business Intelligence (CABI) (see page 13)
Introducing the Central Management Console (CMC) (see page 15)
CABI is a reporting and analytic software package that CA Spectrum and other CA
products use to present information and support business decisions. CA Spectrum uses
CABI to integrate, analyze, and present information that is required for effective
enterprise IT management, through reports.
CABI is composed of SAP BusinessObjects Enterprise XI, with a set of tools for
information management, reporting, querying, and analysis.
For more information, see the CA Business Intelligence Implementation Guide and the
CA Business Intelligence Release Notes.
Rights are the base units for controlling user access to the objects, users, applications,
servers, and other features in BusinessObjects Enterprise. They play an important role in
securing the system by specifying the individual actions that users can perform on
objects.
Note: Rights are set on objects such as reports and folders rather than on the principals
(the users and groups) who access them.
For example, to give a manager access to a particular folder, in the Folders area, add the
manager to the access control list for the folder. This list includes all users who have
access to an object. You cannot give the manager access by configuring rights settings in
the Users and Groups area. The rights settings for the manager in the Users and Groups
area are used to grant other principals (such as delegated administrators) access to the
manager as an object in the system. Principals are themselves objects for others with
greater rights to manage.
Important! Child object rights override the rights inherited from a parent object. This
exception also applies to users who are members of groups. If a user is explicitly granted
a right that the user group denies, the user receives the right.
Introducing InfoView
BusinessObjects Enterprise InfoView (InfoView) is a web-based interface that lets you
manage reports with the following features:
■ Browsing and searching capabilities.
■ Content access (creating, editing, and viewing).
■ Content scheduling and publishing.
InfoView functions like a Windows application rather than a simple web application. The
InfoView toolbar dynamically changes to provide actions through context menus that
are consistent with the function you want to perform. Report structures are consistent
and provide security and authorizations.
InfoView also provides access to the Web Intelligence (WEBI) designer. The WEBI
designer lets you create customized reports with a simple drag-and-drop interface.
Custom data object selection with effective filtering options enables reporting
capabilities for your environment. You can use Preferences to personalize your InfoView
start page, specify viewing options, and perform other tasks.
You can use Preferences to personalize your InfoView start page, specify viewing
options, and perform other tasks. For more information, see the CA Business Intelligence
Implementation Guide.
Any user with valid credentials to BusinessObjects Enterprise can log in to CMC and can
set personal preferences. However, if you are not a member of the Administrators
group, then you cannot perform any of the available management tasks without the
granted rights.
Note: If a user is part of more than one group, then the group having the lower
permission level gets preference.
CA Reports Admin
(Highest level of access) Users in this group are the administrators for the CA
Reports and CA Universes folders, explicitly granted all the rights on these folders.
CA Reports Author
(Medium level of access) Users in this group are granted rights to access, create,
edit, copy, move, or schedule any of the objects in the CA Reports folder. This group
does not have rights to delete any of the existing objects and instances except
those objects that the user created and owns in the CA Reports folder.
Note: To create customized CA Spectrum on-demand reports, users can be
classified at the CA Reports Author level.
CA Reports Viewer
(Lowest level of access) Users in this group are granted rights to view and schedule
any of the objects in the CA Reports folder. This group does not have access to
create, edit, or delete any of the existing objects or instances in the CA Reports
folder.
This 'CA Reports Viewer' level is the default assignment for a user created in
OneClick. If you have to add the user to another role, it can be done manually using
the Central Management Console (CMC).
Note: To access CA Spectrum reports, users must be classified at the CA Reports
Viewer level.
CA Universe Developer
(Specialized access) This group is specifically for Universe development. Users in
this group have full control to the CA Universes folder.
Users who develop both reports and Universes can be part of both CA Universe
Developer and CA Reports Author groups.
Installation Components
The OneClick with Report Manager installation package includes the following
components:
■ The most recent supported version of CA Business Intelligence
Note: CABI installation includes the most recent version of BOXI that is supported.
■ CA Spectrum OneClick with Report Manager
The Report Manager component that installs with OneClick provides collection and
non-Business Objects administrative capabilities, such as Outage Editor and Archive
Expert.
Chapter 3: Installation 17
Installation Components
If you are upgrading from a previous version of Report Manager, your scheduled reports
are automatically placed in the Legacy Reports folder.
Note: These reports still run as scheduled with the parameter values that existed before
the upgrade. These reports lack the official CA branding. If you have any problems
during an upgrade maintaining your previous CA Spectrum reports, contact CA Support.
A full list of system prerequisites is available. For more information, see the CA
Spectrum Installation Guide.
BusinessObjects Enterprise XI (BOXI) 3.1 SP5 supports the following Windows Products
and Server Products:
■ Windows XP SP2 Professional
■ Windows XP SP3 Professional
■ Windows Vista SP1 (1)
■ Windows Vista SP2 (1)
■ Windows 7 (1)
■ Windows Server 2003 SP2 (1) (2)
■ Windows Server 2003 R2 SP2 (1) (2)
■ Windows Server 2008 (1) (2)
■ Windows Server 2008 SP2 (1) (2)
■ Windows Server 2008 R2 (2) (3)
(1) 32-bit and 64-bit O/S editions supported
(2) Data Center Edition, Enterprise Edition, Standard Edition, Web Edition
(3) 64-bit O/S editions supported
BusinessObjects Enterprise XI (BOXI) 3.1 SP5 supports the following Solaris Operating
Systems:
■ Solaris 9 for SPARC
■ Solaris 10 for SPARC (1)
(1) BusinessObjects Enterprise has been tested and certified to function properly within
Sun Solaris 10 Containers for this release.
Note: The following Solaris packages are prerequisites for BOXI on Solaris:
■ SUNWgzip
■ SUNWscpu
■ SUNWbash
■ SUNWbcp
■ SUNWxcu4
■ SUNWxwfnt
Chapter 3: Installation 19
Installation Components
■ SUNWxwplt
■ SUNWlibC
■ SUNWeu8os
■ SUNWeuluf
■ SUNWuiu8
■ SUNWulcf
■ SUNWmfrun
■ SUNWxwice
BusinessObjects Enterprise XI (BOXI) 3.1 SP5 supports the following Linux operating
systems:
■ Red Hat Enterprise Linux 4 (Enterprise Server)
■ Red Hat Enterprise Linux 5 (Advanced Server)
■ Red Hat Enterprise Linux Server 5
■ Red Hat Enterprise Linux Advanced Platform 5
Note: For Red Hat Linux version 4 or 5, the
compat-libstdc++-33-3.2.3-47.3.i386.RPM or higher packages are required before
installing BOXI. Otherwise, BOXI does not install successfully.
■ Red Hat Enterprise Linux Server 6
■ Red Hat Enterprise Linux Advanced Platform 6
Note: For Red Hat Linux 6, the following packages are required before installing
BOXI:
– compat-libstdc++-33-3.2.3-69.el6.i686 (compatibility standard C++ library from
GCC 3.3.4)
– glibc-2.12-1 (Red Hat advisory RHBA-2007:0619-3)
– libXext.i386
– libncurses.so.5
■ SuSE Linux Enterprise Server 9 SP3
■ SuSE Linux Enterprise Server 10
■ SuSE Linux Enterprise Server 10 SP2
You can access CA Spectrum Reporting with any compatible Web browser. You must
enable cookies on browsers that are used to access CA Spectrum Reporting. The
following table lists the browser requirements:
CA Business Intelligence (CABI) has different disk space requirements for each
supported platform. Platform-specific system requirements information is on the CABI
Installation media, in the 'Docs' subdirectory and the 'Minimum Hardware
Requirements' section. Specifically, this information can be found in a document titled
<platform>-Supported Platforms-SP5.pdf where <platform> is Windows, Linux, or
Solaris.
Chapter 3: Installation 21
Install OneClick with Report Manager
Report Manager does not include antivirus software. We recommend installing your
preferred antivirus software to protect the networking environment.
Important! To avoid potential database corruption, exclude the MySQL data directory
and its subdirectories from scans by the local instance of your antivirus client. Also
exclude these directories from and any remote scans that a remote antivirus instance
performs.
Important! We recommend that you back up the reporting data on the installation
server before you upgrade from an earlier version of OneClick with Report Manager.
If you prefer to migrate data, enable access to the source report database from the
remote server as described in this section.
2. Let data be extracted from the source database by a remote account. You can
provide temporary access to a remote root account.
For example, if the CA Spectrum r9.2 target OneClick Linux server is named
target-linux.ca.com, issue the following command at the MySQL command line:
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'target-linux.ca.com' IDENTIFIED BY
'<remoterootpassword>';
3. Verify that this new permission is available to all existing sessions by issuing the
following command:
mysql> FLUSH PRIVILEGES;
4. (Windows Only) Verify that Windows Firewall settings on the source server allow
remote connections to MySQL.
a. Click Start, Control Panel, and then Windows Firewall.
b. Under the Exceptions tab, click Add Port and configure values as follows:
■ Enter MySQL for the name.
■ Enter 3306 for the Port Number.
■ Select TCP.
c. (Optional) Click Change to restrict the scope of access to MySQL.
d. Specify the location of your CA Spectrum server.
e. Configure the option to allow remote connections to MySQL only from the
migration destination server. For more information, see Windows Help and
Support.
Access to the report database on the Windows server is enabled.
Before you start migrating the data, verify the connection between the source and
destination server databases. Verify that the data you plan to migrate is updated.
The following message indicates that the permissions have been set properly:
Escape character is '^]'. 7
4.1.11-nt î☺ t#J0Mu'] ,☻ #2p^giYa]0t{
▬ ☺♦#08S01Bad handshakeConnection closed by foreign host.
The following message indicates that the permissions have not been set correctly:
Q ♦#HY000Host 'user.com' is not allowed to connect to this MySQL server
Connection closed by foreign host.
If you are unable to connect to the MySQL server, verify that your MySQL
permissions are configured correctly on your previous SRM MySQL database. Verify
that the privileges are flushed before you reattempt to connect.
2. Stop all reporting processes on the remote, source server by removing all entries
from the Report Manager Admin Tools, CA Spectrum Status option.
Chapter 3: Installation 23
Install OneClick with Report Manager
3. Wait for 5 minutes to verify that any outstanding data changes are committed to
the report database.
The root database account on the remote destination server can extract report data
on the source server.
The connection is verified.
Post Migration
For new installations, Report Manager automatically ensures that InnoDB is used for all
of the reporting tables.
For upgrade installations, Report Manager migrates all the reporting tables from
MyISAM to InnoDB.
Important! Before you upgrade, verify that the amount of free disk space on the system
is at least twice the size of the largest MYD file under
$SPECROOT/mysql/data/reporting.
In addition to the number of devices and the number of days of storage, two variables
are required to estimate the database size:
Average Number of Events per Device per Day
Query the DDMDB to see the average number of events that are generated on a
given day.
If you are a new CA Spectrum user and do not know the average number of events,
use a default value. Three hundred events per day, per device for 500 devices
would equate to 150,000 events a day. Therefore, 300 would be a reasonable
default value.
Average Size of Each Event in Reporting DB
An appropriate amount of space to store your average event and corresponding
records is 1 KB. This number can increase if most of the events that are being
handled are large events that contain much data. Also the types of events affect
data size. Alarm events turn into multiple reporting table records. Network
Configuration Manager (NCM) events only affect a single table (event).
Example A – User has 600 devices and wants to keep data for 4 years (1460 days).
The user does not know how many events per device, therefore consider 300 as the
default value.
Total GBs required = (600 * 300 * 1460 * 1) / 1048576
Total GBs required = 262,800,000 / 1,048,576
Total GBs required = 250 GBs
Chapter 3: Installation 25
Install OneClick with Report Manager
Example B – User has 1900 devices across three servers and wants to keep data for 2
years (730 days).
The user seems to be averaging 400 events per device, per day. In this example, the
three servers are not considered.
Total GBs required = (1900 * 400 * 730 * 1) / 1048576
Total GBs required = 554,800,000 / 1,048,576
Total GBs required = 530 GBs
The following query returns the days and event volume for the busiest ten days:
SELECT date(from_unixtime(utime)) as x, count(*) as cnt
FROM event GROUP BY x
ORDER BY cnt DESC LIMIT 10;
Use the result of these queries to come up with a reasonable event count. Once you
know the event count, divide the number of events by the total number of modeled
devices on the server to derive the average event count per device, per day.
Important! The disk space that is required for a Report Manager upgrade installation is
two times the table size for each table that is converted to InnoDB. If enough space is
not available, the installer displays a warning.
Note: Multiple Report Manager installations using a common set of SpectroSERVERs can
result in inconsistencies between the primary and secondary Report Manager
installations. For more information, see Report Manager and Fault Tolerance (see
page 28).
2. When prompted during the installation, specify the names of the CA Spectrum
servers from which you want Report Manager to collect data.
The Report Manager Servers dialog lets you specify the names of more CA
Spectrum servers, in addition to the primary server specified for OneClick. You can
also modify the servers list after you have completed the installation using Report
Manager Admin Tools.
Note: Use CA Spectrum landscape names to specify servers.
Chapter 3: Installation 27
Install OneClick with Report Manager
Support for fault tolerance exists for the CA Spectrum application, but does not extend
to the Report Manager component. Architectural limitations within the Report Manager
do not enable a Fault Tolerant configuration beyond standard database/file replications.
Multiple Report Manager installations using a common set of SpectroSERVERs can result
in inconsistencies between the primary and secondary Report Manager installations.
The inconsistencies occur due to the lack of an integrated fault tolerance architecture
within the Report Manager components.
The -host flag can also specify an https URL, if SSL is configured on CA Spectrum.
3. Follow the onscreen instructions to upgrade the Report Parameter pages.
Report Parameter pages are upgraded.
The -host flag can also specify an https URL, if SSL is configured on CA Spectrum.
3. Restart the Tomcat server.
The process to upgrade the Report Parameter pages is completed.
Chapter 3: Installation 29
How to Install CA Business Intelligence (CABI)
Important! We recommend that you disable the antivirus software in your system while
installing CABI.
For more information, see the CA Business Intelligence Implementation Guide and CA
Spectrum Installation Guide.
<biconfig version="1.0">
</biconfig>
For more information, see LDAP User Scheduled Reports Failed to Work (see
page 88).
3. If you are using your own database server:
■ Create a database for the CMS.
■ Create an auditing database, if required.
■ Create a user ID and password with access to your existing database (if you are
integrating your existing database server software), so that the installation can
access your database to configure the CMS database.
Chapter 3: Installation 31
How to Install CA Business Intelligence (CABI)
For Unix:
■ If you plan to connect remotely to install, verify that the terminal setting is set
to VT100 before starting the installation.
■ If you are not using Tomcat, verify that your existing web application server has
the JDK installed.
■ UNIX user account under which the install is run must have read, write, and
execute permissions to the directory where BOXI is installed.
For Windows:
■ If you are installing on Windows Server 2003 Service Pack 1 or Windows Server
2003 Service Pack 2, ensure that the Update for Windows Server 2003
(KB925336) is installed on your computer.
■ If you are installing on Windows XP, prepare the computer with the
Workaround provided by Microsoft (under the Workaround section).
Note: CABI installation takes about an hour. A Windows installation takes more time
than a Linux/Solaris installation. Do not invoke CABI installation using 'sudo' on Linux or
Solaris. A root user account is required. For more information, see the CA Business
Intelligence Implementation Guide.
For Windows:
Desktop
■ Windows XP SP3 Professional, Windows Vista SP2 , Windows 7, and Windows 7
with SP1 32-bit and 64-bit O/S editions are supported.
■ Windows Server 2003 SP2, Windows Server 2003 R2 SP2, and Windows Server 2008
with SP2 32-bit and 64-bit O/S editions, Data Center, Enterprise, Standard, web
editions are supported.
■ Windows Server 2008 R2, and Windows Server 2008 R2 SP1 with Data Center,
Enterprise, Standard, Web, and 64-bit O/S editions are supported.
Note: The 32-bit compiled binaries of SAP BusinessObjects Enterprise software are
supported on 32-bit and 64-bit versions of the Windows operating system (running on
either x86 or x64 CPUs made by AMD and Intel).
For Linux:
■ Red Hat Enterprise Linux 4 (Enterprise Server)
■ Red Hat Enterprise Linux 4 (Advanced Server)
■ Red Hat Enterprise Linux Server 5
■ Red Hat Enterprise Linux Advanced Platform 5
■ Red Hat Enterprise Linux Server 6
■ Red Hat Enterprise Linux Advanced Platform 6
■ SUSE Linux Enterprise Server 9 SP3
■ SUSE Linux Enterprise Server 10
■ SUSE Linux Enterprise Server 10 SP2
■ SUSE Linux Enterprise Server 11
Note: Red Hat Enterprise Linux 6 is a new platform support addition in Service Pack 5
which is only available for support on the SP5 full release install of SAP Business Objects
Enterprise. The SP5 patch only release of SAP Business Objects Enterprise does not
provide support for this new platform.
For Solaris:
■ Solaris 9 for SPARC
■ Solaris 10 for SPARC (SAP BusinessObjects Enterprise has been tested and is
certified to function properly within Sun Solaris 10 Containers for this release).
Chapter 3: Installation 33
How to Install CA Business Intelligence (CABI)
For Windows:
■ 2.0 GHz Pentium 4-class processor
■ 2 GB RAM
■ Hard disk space availability (with English language only) for full release install:
■ 6.0 GB for SAP BusinessObjects Enterprise install
■ 1.0 GB for SAP BusinessObjects Enterprise client install
■ 0.2 GB for SAP BusinessObjects Live Office install
■ Additional hard disk space availability (each individual language pack) for full
release install:
■ 0.6 GB for SAP BusinessObjects Enterprise install
■ 0.1 GB for SAP BusinessObjects Enterprise client install
■ 0.2 GB for SAP BusinessObjects Live Office install
■ Hard disk space availability (with English language only) for patch release install:
■ 4.0 GB for SAP BusinessObjects Enterprise install
■ 1.3 GB for SAP BusinessObjects Enterprise client install
■ 0.2 GB for SAP BusinessObjects Live Office install
■ Additional hard disk space availability (each individual language pack) for patch
release install:
■ 0.5 GB for SAP BusinessObjects Enterprise install
■ 0.2 GB for SAP BusinessObjects Enterprise client install
■ 0.1 GB for SAP BusinessObjects Live Office install
For Linux:
■ 2.0 GHz Pentium 4-class processor
■ 2 GB RAM
■ Hard disk space availability (with English language only) for full release install:
■ 5.5 GB for SAP BusinessObjects Enterprise install
■ Additional hard disk space availability (each individual language pack) for full
release install:
■ 0.4 GB for SAP BusinessObjects Enterprise install
■ Hard disk space availability (with English language only) for patch release install:
■ 2.1 GB for SAP BusinessObjects Enterprise install
■ Additional hard disk space availability (each individual language pack) for patch
release install:
■ 0.2 GB for SAP BusinessObjects Enterprise install
Later patches beyond the specified minimum patch requirement can be used, but they
may not be officially tested against SAP BusinessObjects products.
For Solaris:
■ SPARC v8plus
■ 2 GB RAM
■ Hard disk space availability (with English language only) for full release install:
■ 5.3 GB for SAP BusinessObjects Enterprise install
■ Additional hard disk space availability (each individual language pack) for full
release install:
■ 0.3 GB for SAP BusinessObjects Enterprise install
Chapter 3: Installation 35
How to Install CA Business Intelligence (CABI)
Hard disk space availability (with English language only) for patch release install:
■ 2.1 GB for SAP BusinessObjects Enterprise install
■ Additional hard disk space availability (each individual language pack) for patch
release install:
■ 0.2 GB for SAP BusinessObjects Enterprise install
Note: The 32-bit compiled binaries of SAP BusinessObjects Enterprise software are
supported on 32-bit and 64-bit versions of the Solaris operating system.
Note: Later patches beyond the specified minimum patch requirement can be used, but
they may not be officially tested against SAP BusinessObjects products. For more
information, see the CA Business Intelligence Implementation Guide.
Note: Later patches beyond the specified minimum patch requirement can be used, but
they may not be officially tested against SAP BusinessObjects products.
After running the CABI Installer, select the language for the installation setup, language
packs, installation type, and installation directory.
Chapter 3: Installation 37
How to Install CA Business Intelligence (CABI)
8. Click Install.
The CABI installation wizard appears.
9. Click Next.
The BusinessObjects Enterprise License Agreement dialog opens.
10. Accept the BusinessObjects Enterprise License Agreement, then click OK.
The Choose Language Packs dialog opens.
11. Select the language packs that you want to install.
12. Click Next.
The Install Type window appears. For more information, see the CA Business
Intelligence Implementation Guide.
13. Select New.
14. Select one of the following options:
■ Install SQL Anywhere Database Server if you do not have a system database
server and you want to install MySQL Anywhere on the current computer.
■ Use an existing database server if you want to use an existing database server.
15. Select the Enable servers upon installation check box if you want to launch
BusinessObjects Enterprise when the installation process is completed. If you do
not select this option, manually enable and run the BusinessObjects Enterprise
application server from the CMS after installation.
16. Specify the destination to install the BusinessObjects Enterprise components (verify
that enough disk space is available).
The following default locations are available:
■ C:\Program Files\CA\SC\CommonReporting3 (for 32-bit computers)
■ C:\Program Files X(86)\CA\SC\CommonReporting3 (for x64 computers)
17. Click Next.
The Server Components Configuration window appears.
Use the Server Components Configuration screen to enter the port number and an
administrator password for the new Central Management System (CMS). CMS is the
only server that accesses the CMS system database. The CMS system database stores
configuration, authentication, user, auditing, and other BOXI-related information. The
CMS system database allows CMS to maintain security, manage objects, and manage
servers. The CMS uses a database to store system information. For more information,
see the CA Business Intelligence Implementation Guide.
Chapter 3: Installation 39
How to Install CA Business Intelligence (CABI)
In BOXI, a database can be defined as a data repository that organizes information into
structures (tables) for rapid search and information retrieval.
The CMS uses a database to store system information. If you install SQL Anywhere as
part of the BOXI installation, SQL Anywhere CMS database is created.
The SQL Anywhere Database Server Configuration screen displays if you select the
option to install SQL Anywhere as part of the BOXI installation. For more information,
see the CA Business Intelligence Implementation Guide. If you do not have a database
system ready, the BOXI installer can create and configure a SQL Anywhere database
system as part of the installation process. The SQL Anywhere database server lets you
group the tables together into collections of logically related tables (tablespaces). Tables
are grouped into tablespaces within a database system in the same way that files are
grouped into a directory within a file system.
Note: You can use any database system with BOXI as long as the CA Technologies
product implementing BOXI supports the database system. If you use your own
database system, first configure the system and confirm that the system is operational.
For more information, see the CA Business Intelligence Implementation Guide.
The Web application server runs BOXI web applications such as InfoView, the CMC, and
custom web applications. Use the Select Web Application Server screen to select the
web application.
To configure a Java web application server for BOXI, the web application server
administrator account name, password, and the listener port number are required.
Note: If you select an existing server in the Select Web Application Server screen,
provide specific configuration information about your existing web application server.
For more information, see the CA Business Intelligence Implementation Guide.
Chapter 3: Installation 41
How to Install CA Business Intelligence (CABI)
Install CABI
After selecting the Web Application Server and configuring Tomcat, start the Installation
Process.
Note: A GUI-based CABI installation is not supported on UNIX. Console based and silent
installation of CABI is supported on UNIX. For more information, see the CA Business
Intelligence Implementation Guide.
4. Enter the name of your system, provide your credentials, and click Connect.
A list of servers that are related to CABI is displayed.
5. Verify that all the servers related to CABI are running and enabled.
CABI installation is verified.
Uninstall CABI
Use Add/Remove Programs in Windows to uninstall CABI. After uninstalling CABI from
Add/Remove programs, uninstall a fix pack/service pack from CABI using the biekpatch
utility. To locate the patches that are installed on your system, open the biek.properties
file that is located in INSTALLDIR\CommonReporting3. Find the [Patches] section. It
contains the list of patches that are installed.
Example
[Patches]
Level=1
Patches=1
Patch1=FP1_5
For Windows
Chapter 3: Installation 43
Uninstall CABI
For UNIX/Linux/Solaris
4. If you are using an upgraded version of CABI 3.3 (upgraded from 3.2 and equal to
SP5), navigate to the biekpatch utility, and run the following command to uninstall
SP5:
biekpatch –u SP5
To test LDAP with BOXI and Report Manager, perform the following tasks:
1. Specify the CA Spectrum LDAP Settings (see page 46)
2. Specify the BOXI LDAP Settings (see page 46)
3. Configure the Report Manager for LDAP Single Sign-On (see page 47)
Chapter 3: Installation 45
Testing LDAP with BOXI and Report Manager
9. For the LDAP and alias users, select the following options:
■ New Alias Options - Create an account for every LDAP alias
■ Alias Update Options - Create new aliases when the Alias Update occurs
■ New User Options - New users are created as concurrent users
10. Click Finish. The LDAP settings screen displays, if the information was entered
correctly.
11. In the 'Mapped LDAP Member Groups' section of the page, add the group cn=BOXI
and ou=Users.
For example, 'cn=BOXI,ou=Users,dc=ca,dc=com'.
12. Click Update to save your changes.
13. Close the LDAP settings window.
14. Under groups, specify the group specified in step 11 a member of the 'CA Report
Viewers' group.
Note: By default LDAP server users are in the 'CA Report Viewers' group.
Within a few minutes, the users in your LDAP server are created in your BOXI
environment automatically. You can add any of LDAP server users to the
Administrators group to grant more privileges.
Important! Users on an LDAP server must put the LDAP group within the 'CA Report
Viewers' folder, so that they can log in to InfoView/BOXI and CA Spectrum with the
same credentials.
Chapter 3: Installation 47
Enable Trusted Authentication between Report Manager and BOXI InfoView
When trusted authentication has been enabled for BOXI, complete the configuration on
the Report Manager server.
Important! Only users with OneClick Administration rights have access to the Report
Manager Administration tools. For more information, see the CA Spectrum
Administrator Guide.
Notes:
■ CMC handles many of the processes that are done with Administration Tools for
Report Manager versions earlier than r9.2. Functions such as changing the BOXI
Administrator password and checking BOXI server status are now done with CMC.
■ Users on an LDAP server must put the LDAP group within the 'CA Report Viewers'
folder, so that they can log in to InfoView/BOXI and CA Spectrum with the same
credentials.
■ When OneClick users are added to CA Spectrum, they are automatically added to
BOXI. However, Report Manager has to poll for events and the process can take up
to an hour before users appear in BOXI.
■ BOXI handles User IDs with case-insensitivity, regardless of the authentication
mechanism. For example, if 'Dave', 'dave', and 'DAVE' are created in OneClick, the
first username created (for example, 'Dave') is added to BOXI, the other usernames
are disregarded. Adjust User IDs accordingly.
Once you create CA Spectrum Reporting users, you can specify the actions that they can
perform with reports.
Note: You can add users to Business Objects, but not to CA Spectrum OneClick. For
more information, see the CA Business Objects Implementation Guide.
Options on the Report Manager Admin Tools page are discussed in the order they
appear on the panel.
BO Integration
Verify Enabled or Disabled.
If Disabled is selected and saved, CA Spectrum Tomcat no longer connects or
launches into the BOXI instance.
Single Sign-On with Business Objects InfoView - SSO Credentials
Specify the way that the OneClick home page attempt to use Single Sign-On to
log in to Business Objects InfoView.
4. Click Test to ensure the parameters that you entered previously are valid.
5. If the Test option proves that the parameters are valid, click Save to enable the
integration.
Important: This process can take a minute. Therefore, do not cancel or navigate from
this page until you get a success message. During this process all the Report Manager
report content is imported from the OneClick server into Business Objects.
Once the integration is configured, Report Manager report content is installed and can
connect to the MySQL reporting database. The link for the 'Business Objects
Administration (CMC)' and the menu-bar 'InfoView' link now launches the BOXI web
applications on the BOXI instance that you specified.
Important! Wait for the process to complete. Do not navigate away from the page or
cancel the process.
You can update the content that Report Manager installs.The Business Objects
integration must already be activated to update Report Manager content.
After deactivating the integration, Report Manager report content still exists on
Business Objects. If you want to remove all content that is installed by Report Manager,
do not remove the values that are specified previously for the Business Objects
Integration (such as BO host name, BO Port), otherwise, CA Spectrum Tomcat cannot
reconnect to this BOXI instance to remove the content.
You can remove Report Manager from Business Objects. Removing report content lets
you continue to use Business Objects without integrating with CA Spectrum.
Change Passwords
You can change the passwords of the database users who are accessing the CA
Spectrum Reporting data from the Business Objects applications.
Note: By default, the BOXI Administrator password is blank unless it has been changed
previously or explicitly set during the BOXI installation.
Important! The BOXI Administrator password enables any user who does not have a
Report Manager user account to access all CA Spectrum Reporting features. We
recommend that you save the password and limit its availability to authorized users.
Note: If a hostname is changed for a BOXI installed system, then you can update BOXI
with the new hostname. Contact CA Support for assistance.
You can specify a retention period in days for the data you want to keep available in the
reporting database. Archive Expert provides table capacity and disk space consumption
statistics for key, rapidly accumulating report data tables and suggests a retention
period applicable to all database tables based on consumption trends.
It is critical to understand the difference between the archiving and purging options.
Archiving moves the data out of the operational reporting database into a separate
archival database. Purging removes the data altogether from the installation; therefore,
ensure that any data you specify to purge is no longer needed.
The data you archive is not available for reports. If your organization users are not
required to generate historical reports from a period before a particular point in time,
you can safely use archiving to remove this data from the reporting database. For
example, if you only want to generate reports from the last 90 days, you would specify a
90-day retention period. All data that is accumulated in the reporting database outside
this 90-day window is automatically archived on a daily basis, unless you specified a data
retention policy of purge.
By archiving or purging older data, you provide more room in the reporting database for
current and more recent historical data. You can generate reports more quickly and can
prevent problems that occur if the report database capacity is reached.
Enable archiving or purging if your organization requires historical report data only for
the retention period you specify. Ensure that you understand your organization
reporting requirements before you set a retention period. If you set it longer than
required, you retain unnecessary data. Conversely, if you do not set it long enough, data
that you want to view is unavailable. To save disk space, you can purge rather than
archive reporting data.
Note: The Deployment Capacity and Optimization Best Practices Guide provides detailed
sizing guidance for the Report Manager database.
The following statistical definitions are presented within the EVENT Table:
Availability Capacity (GB)
The remaining capacity available for additional record storage. The capacity value is
constrained by the MySQL table capacity or physical disk space available (whichever
is smaller).
Current Size (GB)
Defines the current table size as reported by MySQL.
Average Daily Growth (MB)
Defines the ‘Current Size (GB)’ divided by ‘History (Days)’ converted to Megabytes.
History (Days)
Displays the number of days between the ‘Earliest Record Time’ and ‘Latest Record
Time’ values.
Earliest Record Time
Displays the timestamp that is associated with the earliest record in table.
Back Up Landscape
The Database Maintenance option lets you back up and restore landscape-specific data
from the reporting database. Available backup lets you revert to an earlier version of
the reporting database when a landscape server database backup is restored and you
want to align reporting data with SpectroSERVER data. The Database Maintenance
option enables you to manage the number of backups you want to retain by allowing
you to remove the backup that you no longer require.
Important! The amount of data in the reporting database for all landscapes is
dependent on the retention period (default = 90 days) specified by the Archive Expert
option. Coordinate your database, and archive management settings to institute a
data-storage and data-backup strategy that meets your data management
requirements.
Recover Landscape
When you recover landscape data, it replaces the current data for the landscape in the
reporting database.
Note: If you attempt to recover an older version of the reporting database than the
version currently in use, a warning message appears. The message recommends you to
contact CA Support for more information.
Manage Backups
You can update the descriptions for backups or remove backups you no longer require.
Manage your backup files in the Admin Tools section.
Outage Editor
The Outage Editor lets you edit the outage records for all managed assets. You can
retrieve outage records for particular models or for particular devices and interfaces,
change the status of an outage in a record, annotate an outage record, and suspend an
ongoing outage status for an asset that is available. Also, if you modify an asset outage
that has caused an outage for a service model (because the asset is a service resource),
you can modify the outage status for that service model.
Note: If Report Manager model-based security is enabled, the user who is logged on to
OneClick can only review and edit outages that are associated with the models that this
user can access. For more information, see the CA Spectrum Report Manager User
Guide.
For any given time period, you specify an availability percentage objective when you
configure an Availability Report, and CA Spectrum Reporting calculates the actual
availability percentage. The difference between the two is the interval during which an
asset is presumed to be unexpectedly unavailable. CA Spectrum Reporting does not
include planned outages (downtime) from assets in maintenance mode when it
calculates availability. For example, if a device is in maintenance mode, all the outages
from that device are planned outages which are not considered in availability reports.
An unplanned outage can result from asset malfunction or from other events that are
unrelated to asset performance. For example, availability is affected by a power outage,
inadvertent shutdowns, or instances where an off-line asset model was not put in
maintenance mode. Outages that are caused by the latter events misrepresent the
actual availability of an asset. These are the types of outages you would typically want
to redefine as exempt or planned outages.
Note: Report Manager does not support cluster-specific availability reports. Therefore,
you cannot generate the Availability Reports for Clusters.
You receive an Outage Editing Status Report after editing the outage records. The
results of an Outage Editor search list all outages that match your selection criteria. Each
entry in the table contains the name of the model that experienced the outage, and
notes, the outage start time, end time, and type. You can edit the outage type and
notes. If no end time is available for an outage, it is listed as 'Ongoing' with an option to
manually end the outage. Each entry in the table is preceded by a check box that lets
you select the corresponding outage for mass editing.
In addition, the page contains master controls that annotate multiple outages
simultaneously. Any outages that have been selected are modified by these controls.
When changes have been made to any entry, 'Save selection' is enabled. Click it to save
all selected entries. The 'Reset' button restores the listing to the state it was in after the
most recent save.
If no outages are available in the selected period, only '0 Outage(s) Found' is displayed –
the master controls and table do not appear.
If more than 500 outages are detected, the results are split up into 'pages'. Each page
displays up to 500 outages and the master controls affect only the displayed outages.
The following image highlights the result of an 'Outage Editor - Search by Timespan'
search. With multiple rows selected, it shows an example of mass editing. Selected
entries are highlighted yellow, and times outside of the chosen range are highlighted
green.
6. Update the records you want to change. You can change the outage status for
particular records in their Outage Type fields or you can change the status for all
listed outages in the Set all outage types to field. The following outage status types
are available:
Unplanned
An unplanned outage is an unexpected outage. Availability reports designate
time that an asset was in an unplanned outage state as time the asset was
unavailable. Unplanned outages are typically the result of a hardware failure
(broken cable) or software failure (bad configuration, incompatible protocols)
or any situation where an asset is off-line while not in maintenance mode in CA
Spectrum.
Planned
A planned outage is an outage that was intended, when an asset model in CA
Spectrum was put into maintenance mode. CA Spectrum does not generate
alarms on assets in maintain mode. Planned outages do not count against
availability in Availability reports.
For more information about maintenance mode, see the Operator Guide.
Exempt
An outage that evidence indicates was not unplanned, typically a situation
where an asset that was taken off-line for maintenance but its model in CA
Spectrum was not put into maintenance mode. You can designate any outage
as exempt. Exempt outages do not count against availability.
Note: If you change the status of an outage for an asset that is a resource of a
service model and is also the cause of a service outage, the Affected Services Editor
window appears. It lists the service outages that are caused by the asset outage
enables you to change the status of the service outages. For more information, see
the CA Spectrum Service Manager User Guide.
7. (Optional) You can (annotate outage records) add new notes or can overwrite
existing ones for particular records in their Notes fields. You can also use the ‘Set
Selected Notes’ field if you want to enter a note, edit a note, or clear notes from all
records. When users generate Availability reports, they can specify Notes text as a
filtering criterion.
8. (Optional) Click End Outage in the End Time field. You can end an ongoing outage
immediately. For example, end an ongoing outage for an asset when you know that
it is available and you do not require an availability report to misrepresent the asset
availability.
9. Click Update to save your edits.
The outage status is updated and saved.
3. Enter the time and date range filters in the From and To fields.
Note: Leave the end time blank to search up to the current time.
4. Click Find Outages.
The outages during the selected timespan are displayed for editing.
Important! Event processing is required for most reports. Turning off event processing
results in reporting data not being updated, such as model creation/deletion, global
collection membership updates, alarm information, outage information, and SPM test
information. Reports that are generated for time periods after event processing has
been turned off may not be accurate.
Event Processing?
Specifies that Report Manager maintain hourly polling of the SpectroSERVER
for event data. This means that event data in the Report Manager database is
kept up to date. If event processing is disabled, event, availability, and alarm
reports are generated from historical data in the Report Manager database.
4. Click Update Monitored Servers to assert your selections.
Note: If you select not to monitor a server, you can remove landscape data from the
server that remains in the reporting database by running the
RpmgrInitializeLandscape.bat utility. For more information, see Initialize the Database
for Specific Landscapes (see page 101).
In some cases, Report Manager does not receive the event indicating that a given
outage has ended, and thus the outage is incorrectly reported as ongoing. You can use
the Outage Editor to end the ongoing outage.
If you reinitialize the SpectroSERVER database for a landscape that is reported by Report
Manager, then you must reinitialize that landscape in the reporting database. Otherwise
the data cannot be synchronized with the data in the SpectroSERVER.
You can discover that no tests are available for the time period that you specify when
configuring a Response Time report. At the same time, OneClick indicates that tests do
exist for the time period from which you want to generate a report. This contradiction is
caused by the circumstances under which the tests were discovered in CA Spectrum
Service Performance Manager. For more information, see the CA Spectrum Service
Performance Manager User Guide.
More Information
Important! Verify that this change is performed on the OneClick Tomcat server, but not
on the BOXI Tomcat server.
Definitions:
■ Enterprise # - The enterprise number for a vendor product that is referenced in
the report.
■ Some new name - The new name that is associated with the enterprise
number.
4. Save your changes.
5. Restart the Tomcat server.
The vendor names are changed.
For each pcause name you want to change, create an <pcause></pcause> entry.
Specify the pcause ID in the <pcause_type></pcause_type> field and the pcause
name in the <pcause_title></pcause_title> field.
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<root>
<pcause>
<!-- Identifies the probable cause ID-->
<pcause_type>A pcause ID</pcause_type>
<!-- Specifies the custom probable cause name-->
<pcause_title>A custom pcause title</pcause_title>
</pcause>
</root>
In addition, Crystal Report users need a CR_user password for on-demand reports. WEBI
Report users need a WEBI_user for adhoc reports.
Analyze Table
Analyze Table is a command that can be executed on the MySQL command-line tool to
update database statistics and improve the overall query performance. MySQL uses the
table statistics to determine the order in which tables can be joined. In addition, table
statistics can be used to select indexes to use for a specific table within a query.
The Analyze Table operation reads the entire database table and rebuilds the table
statistics with the information about the distribution of key values. You can run this
command on MyISAM and InnoDB tables. During the analysis, the table is locked with a
read lock. When locked, the table cannot be accessed for other operations.
Note: Before running Analyze Table stop event and asset polling. Set the data retention
policy to 'all data' to disable the reporting database archiving. Restart event and asset
polling after running the analyze table and set the data retention policy to its default
value. For more information, see Configure CA Spectrum Monitoring Status (see
page 68) and Set Report Manager Preferences (see page 66).
<$SPECROOT>/tomcat/webapps/spectrum/WEB-INF/repmgr/config
<root>
<up_event></up_event>
<down_event></down_event>
<in_mm_event></in_mm_event>
<out_mm_event></out_mm_event>
<ignore></ignore>
</root>
You can designate an event as a particular type by entering the event code in decimal or
hexadecimal format.
3. Save and copy the customized availability.xml file to the following directory:
<$SPECROOT>/custom/repmgr/config
The content of the file is written to the AvailabilityEvent database table and read by
the availability handler when it compiles availability statistics for the availability
reports.
4. Restart the OneClick Tomcat server to enable specified event designations.
More Information:
Before you modify the supplied event-processing-filter.xml file, you can determine the
event types and model handles for which event activity can be excluded. Excluded
events are not available in Report Manager for historical reporting purposes.
Note: You can only ignore events that are associated with specific models or event
types.
3. Restart Tomcat.
The specified event processing filters are now in effect.
An event filter is defined by an XML file that specifies the event codes. You can create
new event filter files and can copy or modify the event filter files that are included with
Report Manager. Before you create or modify event filters, determine the types of
events that are important in your deployment.
vhmtrap.xml
Contains a large list of all the potential Virtual Host Manager (VHM) traps to create
a comprehensive report.
Cluster.xml
Contains all cluster events, including IBM and Microsoft.
IBM-Cluster-all.xml
Contains all of the IBM cluster events.
IBM-run-status.xml
Contains all of the IBM cluster events that are related to Status (such as up, down,
offline).
MS-Cluster-all.xml
Contains all of the Microsoft cluster events.
MS-run-status.xml
Contains the Microsoft cluster events that are related to Status (such as up, down,
offline).
ClusterTrap.xml
Contains only the trap events from IBM and Microsoft clusters.
Cluster-spectrum-managing.xml
Contains the CA Spectrum management events, such as cluster proxy events,
management events, and polling events.
The files are copied to the custom directory and event filtering setup is complete.
2. Save the file under a name that suggests the types of events to the custom
directory. For example, see the following format:
<$SPECROOT>/custom/repmgr/config/events
Note: You can exempt only those device/interface outages that have occurred for a
single day and not a range of days. If you want to exempt outages for multiple days, you
can run the utility for each day.
For more information, see How the Exempt Outage Utility Handles Particular Outage
Scenarios (see page 83).
Syntax:
exemptOutagesForDay <mysql username> <mysql password>
<exempt service outages> [-undo <YYYY-MM-DD>] YYYY-MM-DD day
Examples:
The following example exempts device/interface outages from January 1, 2006 and all
service outages resulting from the device/interface outages:
exemptOutagesForDay root root yes 2006-01-01 New Year's Day
The following example exempts device/interface outages from January 1, 2006 but not
service outages resulting from the device/interface outages:
exemptOutagesForDay root root no 2006-01-01 New Year's Day
The following example unexempts device/interface outages from January 1, 2006 and all
service outages resulting from the device/interface outages:
exemptOutagesForDay root root yes -undo 2006-01-01 New Year's Day
The following example unexempts device/interface outages from January 1, 2006 but
not service outages resulting from the device/interface outages:
exemptOutagesForDay root root no -undo 2006-01-01 New Year's Day
Custom device polling is organized by model type, and then by attributes within the
model type. The polling supports a maximum of ten additional attributes, in three
attribute type areas. You can verify the following list for the attribute type and the
associated CA Spectrum type mappings.
Type Supported CA Spectrum Type Maximum Number of
Mapping Attributes
(per type)
Varchar-based All character-based and numeric 4
types
You can select the attributes and can assign them to one of the open storage locations.
The mapping occurs in an XML file, which is at:
<SPECROOT>/tomcat/webapps/
spectrum/WEB-INF/repmgr/config/devicemodel-polling.xml
For a model type, each attribute id is mapped to a storage location. Consider the
following example, for the model type 'Rtr_Cisco', that maps the attribute ID '0x118b8'
to string storage location '1':
<devicemodel-polling …>
<user-defined-poll modelType="Rtr_Cisco">
<!-- Company name attribute -->
<poll-attribute attrId="0x118b8">
<varchar-storage id="1"/>
</poll-attribute>
</user-defined-poll>
</devicemodel-polling>
Next, consider the following example that maps several attributes, across several model
types:
<devicemodel-polling …>
<user-defined-poll modelType="Rtr_Cisco">
<!-- Company name attribute -->
<poll-attribute attrId="0x118b8">
<varchar-storage id="1"/>
</poll-attribute>
<!-- Disposable precedence attribute -->
<poll-attribute attrId="0x114e2">
<int-storage id="4"/>
</poll-attribute>
</user-defined-poll>
<user-defined-poll modelType="JuniperJUNOSRtr">
<!-- Company name attribute -->
<poll-attribute attrId="0x118b8">
<varchar-storage id="2"/>
</poll-attribute>
<!-- Create time now attribute -->
<poll-attribute attrId="0x11b41">
<datetime-storage id="1"/>
</poll-attribute>
</user-defined-poll>
</devicemodel-polling>
In the previous example, two model types are configured for custom attribute polling.
For 'Rtr_Cisco' devices, the company name attribute is stored at string storage '1' and
the disposable precedence attribute is stored at long storage '4'. For 'JuniperJUNOSRtr'
devices, the company name attribute is storage at string storage '2' (note the difference
from the 'Rtr_Cisco' configuration) and the create time attribute is stored at date/time
storage '1'.
Reporting Labels
You can retrieve the attributes that are stored in the database, and can identify the
attributes that are stored in 'varchar storage 1' for the 'Rtr_Cisco' model type. The
reporting label lets you describe the purpose of an attribute and user-oriented
interfaces.
If you require to display the user-defined device attribute, the label text can be used to
identify the attributes purpose.
For each polled attribute, the following objects and their source location are available in
the folder:
■ Attribute ID - configured in .xml file
■ Label - configured in .xml file
■ Value - polled from device
You can drag the desired result objects to the relevant WEBI panel to incorporate the
objects into the query.
Polling Behavior:
When a device is polled, only the current user-defined polling configuration is applied.
Therefore, if a configuration change is made, a device is polled again. The attributes and
storage locations reflect the current configuration. Attributes of the devices that are
polled before the configuration change and the old storage locations are cleared before
storing the current attribute values.
Troubleshooting
This section describes problems that can occur with BOXI and Report Manager. You can
follow the solutions provided to resolve the BOXI Installation and Operation errors.
Symptom:
The following error message appears when you try to run a report after integrating the
newly installed CABI with CA Spectrum:
Failed to open the connection
Solution:
You can encounter this issue if MySQL drivers are not set correctly in your system. To
resolve the issue, take the following steps:
1. From the CABI installer, navigate to the patch folder, and copy the CA_NVM_EXE
folder to any drive.
For example, copy the patch folder from
C:\cabi\Windows\Disk1\cabi\patch\CA_NVM_EXE to E:\ drive.
2. From the CLI window, run the following batch file:
E:\CA_NVM_EXE\nvm_boxi_post_install_windows.exe
Note: Rewritable permissions are required before making any changes to the NVM_EXE
folder and the mysql.jar file, which is at C:\Program Files
(x86)\CA\SC\CommonReporting3\common/4.0/java/lib/external.
Symptom:
When I am logged in as an LDAP user, I am unable to view the Reports folder hierarchy
in InfoView. In addition, reports that are scheduled by LDAP users are not working.
Solution:
This issue occurs if the cabi_default_groups.xml file of the CABI 3.3 installer does not
contain the updated scripts.
Before upgrading CABI 3.2 to 3.3, update the cabi_default_groups.xml file and verify the
updated information is available in the cabi_default_groups.xml file. Take the following
steps to verify the updated content:
1. From the CABI 3.3 installer, navigate to the following path:
Disk1/cabi/content/
<biconfig version="1.0">
</biconfig>
Symptom:
During the BOXI R3.1 installation on Linux servers with AMD MultiCore Opteron
processors, a segmentation fault occurs. The problem is due to the third-party library
libWrapCryptoC, which creates the segmentation violation in this specific combination
of AMD Opteron multicore CPU and SAP Business Objects.
Solution:
Take the following steps:
a. Download and extract wra00000.tar.gz file from ftp.ca.com under
/CAproducts/CABI/3.0/SAP_Note_1384092.
Symptom:
During the BOXI installation on Windows, the following error message appears several
times:
Windows Script Host: There is no script engine for file extension “.js”.
The BOXI installation requires access to a JavaScript engine. This problem is caused due
to the following reasons:
■ Windows does not have a program that is associated with the .js file extension.
■ Microsoft Windows Script is not installed.
Solution:
Install the latest version of Microsoft Windows Script, which can be downloaded from
Microsoft. Once the download is installed, you can reinstall BOXI.
Symptom:
The following message appears when you try to run a report:
Maximum processing time or maximum records limit reached.
Solution:
The BOXI record limit is set too low. After a first-time installation of BOXI, this value is
defaults to 20,000.
To set the record limit to unlimited, perform the following steps:
1. Open CMC, and click Servers.
2. Find the server labeled 'Crystal Reports Processing Server' (formerly known as the
Page Server).
3. Right click 'Crystal Reports Processing Server', and select Properties.
4. Find the field labeled 'Database Records Read When Previewing or Refreshing'.
5. Enter 0, and click Save and Close.
6. Right click the server and select Restart Server.
Note: This procedure temporarily prevents users from generating reports. Once the
Processing Server restarts, report generation can resume.
Symptom:
If you are still using Microsoft SQL Server as the CMS database server, you can observe
that when the BOXI SQL server activity is low, its memory usage continues to increase
on the host server. This behavior is considered normal and expected. Microsoft
attributes this behavior to the SQL Server buffer pool, which is designed to release
memory as it is required by other processes. For more information, see the Microsoft
Knowledge Base Article 321363.
Solution:
Not applicable.
Resolving Java Error in Report Manager Sample (WEBI) Reports (see page 92)
Symptom:
You are interested in monitoring Report Manager customization changes that are made
through the configuration files. These files are located under
$SPECROOT/custom/repmgr/config.
Solution:
Log in to the MySQL client as ‘root’ and run the following command to see the
chronology of changes for all of the custom configuration files:
SELECT filename, FROM_UNIXTIME(last_modified/1000) as time
FROM reporting.configchangelog
Symptom:
CA Spectrum Reporting is missing outage data. The Tomcat log includes a message
similar to the following message:
<$SPECROOT>\tomcat\logs\stdout.log:
WARNING: Historical update has failed for domain = 0x400000 due to error =
Connection to event domain timed out.
Solution:
The outage data indicates one of the following situations:
■ The CA Spectrum Archive Manager for the domain that is specified in the
message is not running.
■ A network connectivity issue between the OneClick web server and the Archive
Manager on the domain that is specified in the message.
To resolve this issue, start the Archive Manager or resolve any network connectivity
issues.
When Report Manager determines that the Archive Manager is running again, it
automatically retrieves all of the historical availability event data that it requires to
update the reporting database.
When Archive Manager is not running, the SpectroSERVER caches the event data. When
the Archive Manager is running again, the SpectroSERVER sends it to the cached event
data. However, the SpectroSERVER event cache is limited in size. If the Archive Manager
is down for a prolonged period, event data can be lost. For more information, see the
CA Spectrum Database Management Guide.
Symptom:
The following message appears when you try to run a report:
An error occurred at the server: The Page Server cannot logon to the
CMS. This is due to invalid security credentials. Please verify your
user ID and password.
Solution:
The session has timed out. To resolve the issue, perform the following steps:
1. Exit Report Manager.
2. Re-establish the CA Spectrum Reporting session, and try running the report again.
Symptom:
If the Main Location Server (MLS) is removed from a Distributed SpectroSERVER
environment, Report Manager can no longer assert events on the SRMApplication
model. As a result, monitoring of Report Manager status through the SRMApplication
model cannot occur.
Solution:
Remove the model handle entry for the SRMApplication model from the registry table
using the following MySQL command (logged on as ‘root’):
mysql>USE reporting;
mysql>UPDATE registry SET SRM_Model = 0;
Symptom:
A Java error is observed in the Report Manager Sample (WEBI) Reports. When a sample
report is opened, following error message is displayed:
Java has discovered application components that could indicate a security concern --
Block potentially unsafe components (recommended).
If yes is selected, java blocks the result of the report from being displayed.
Solution:
This issue occurs when running the browser on Windows with versions higher than Java
6 Update 17. To resolve this issue, perform the following steps:
1. Open Java from Control Panel.
2. Select the Advanced Tab
3. Expand the Security option.
4. Expand the Mixed Code option.
5. Select 'Enable - hide warning and run with protections'.
This setting recovers the original format and allows you to use the most recent version
of the JRE instead of rolling back to a previous version.
Event Tables are also considered as major volume drivers in the reporting database. You
can configure the data retention period that is available for Event Tables and can
improve the database performance.
The following diagram illustrates the process to manually purge reporting data from the
reporting database:
alarminfo.*
modeloutage.*
spmhttpfulltestresults.*
spmjittertestresults.*
Note: Typically, MySQL creates three different file types for each database
table: .frm, .MYD, and .MYI. Copy all the three files. If these files are copied,
renamed and stored within the reporting directory, then MySQL treats them as
additional database tables.
5. Restart the CA Spectrum MySQL Database Server service.
The file backup is complete.
Important! In the SQL sample syntax that we have provided, a value of "2007-04-01"
(April 1st, 2007) is used as an example cutoff date. This sample syntax indicates that
records that are created before this date are deleted. Substitute an appropriate date.
However, once you have selected a date, use the same date across all tables to maintain
the data integrity.
Take the following steps to verify the table size and expected purge results:
1. Verify the Database Table Size (see page 97)
2. Check the Data Affected by a Manual Purge (see page 98)
3. Determine the Reclaimed Space (see page 98)
You can use the SHOW TABLE STATUS command to verify the size of a database table.
You can use the SELECT COUNT(*) command to find the number of rows that are
affected by the data purge.
You can use results from the SHOW TABLE STATUS and SELECT COUNT(*) statements in
the previous procedures to find the amount of space that is freed after the purge.
From the results, it is determined that the average row length (avg_row_length) is
121 bytes.
2. Execute the following command to find the number of rows that are affected:
SELECT COUNT(*) FROM modeloutage
WHERE end_time < "2007-04-01" AND outage_type > 0;
3. Perform the following calculation to determine the amount of space that would be
freed for this table:
Avg_row_length * (number of rows Affected) = freed space
121 bytes * 4851 = 586,971 bytes.
Note: After you delete the data, you can optimize the table to reclaim unused space.
Important! In the SQL sample syntax that we have provided, a value of "2007-04-01"
(April 1st, 2007) is used as an example cutoff date. This sample syntax indicates that
records that are created before this date are deleted. Substitute an appropriate date.
However, once you have selected a date, use the same date across all tables to maintain
the data integrity.
Important! The order in which the data is deleted must be strictly followed to avoid
database corruption.
1. At the mysql> prompt, enter the following SQL commands:
DELETE FROM modeloutage
WHERE end_time < "2007-04-01" AND outage_type > 0;
Note: Execution time of these commands depends on the number of records that
are effected.
2. If you are using SPM, run the following commands:
DELETE FROM spmbasictestresults
WHERE timestamp < "2007-04-01";
3. After the data is deleted, enter the following command to reclaim unused space:
OPTIMIZE TABLE modeloutage, alarmactivity, alarminfo;
Note: Execution time of this command depends on the size of the tables.
4. If you are using SPM, run the following command:
OPTIMIZE TABLE spmbasictestresults, spmjittertestresults,
spmhttpfulltestresults;
7. Restart Spectrum Tomcat service and Archive Manager (if previously stopped on
this server).
Data purging is complete.
Usage:
RpmgrInitializeLandscape username password
-skipInitialHistory -initHist # of days -all
landscape1 landscape2 ...
Definitions:
- skipInitialHistory
Report Manager does not retrieve or store events during event processing that
have occurred before the utility is run. This flag overrides -initHist # of days if it
is also included in the command line.
- initHist # of days
Report Manager processes initial historical events from the past number of
days that are specified before the utility is run.
- all
Report Manager removes data for all landscapes in the reporting database.
landscape1 landscapeN
Report Manager removes data for each specified landscape.
The recovery utility initializes the landscape (using RpmgrInitializeLandscape) and copies
all the table entries from the backup database into the current database.
The following Report Manager utility scripts are commonly used in the reporting
database:
BackupReportingDBLandscape
user
Indicates MySQL username.
password
Indicates MySQL password.
domain name
Indicates the SpectroSERVER domain name.
description
Describes the backup comments.
DisplayReportingDBBackups
The DisplayReportingDBBackups script displays the backups that exist on the system.
You can use this script, if you are removing backups by database name from CLI.
mysql user
Indicates MySQL username.
password
Indicates MySQL password.
domain name
Indicates the SpectroSERVER domain name.
exemptOutagesForDay
mysql username
Indicates MySQL username.
mysql password
Indicates MySQL password.
exempt service outages
Exempts the service outages.
Example:
RecoverReportingDBLandscape
user
Indicates MySQL username.
password
Indicates MySQL password.
backup database name
Indicates the name of the backup database.
RemoveReportingDBBackups
user
Indicates MySQL username.
password
Indicates MySQL password.
backup database name
Indicates the name of the backup database.
Outage Events
This section lists events that mark the beginning and end of either a planned or
unplanned model outage.
IN MAINT MODE events indicate that a planned outage has begun. If a model is in an
unplanned outage state when the model is put into maintenance mode, the unplanned
outage ends immediately.
■ DEVICE INTO HIBERNATE (0x10226)
■ DEVICE INTO MAINTENANCE (0x10222)
■ PORT INTO MAINTENANCE (0x10224)
OUT OF MAINT MODE events indicate that a planned outage has ended.
■ DEVICE OUT OF HIBERNATE (0x10227)
■ DEVICE OUT OF MAINTENANCE (0x10223)
■ PORT OUT OF MAINTENANCE (0x10225)
Alarm Events
ALARM events are events that affect alarms.
■ ALARM SET(0x10701)
■ ALARM CLEARED (0x10702)
■ USER CLEARED ALARM (0x10706)
■ ALARM UPDATED (0x10707)
■ SECONDARY ALARM SET EVENT (0x10714)
■ SECONDARY ALARM CLEAR EVENT (0x10715)
Application Events
CA Spectrum Reporting generates the following events on the CA Spectrum Reporting
Application model:
■ Report Manager is not monitoring any landscapes.
Asserts alarm - Report Manager: NO LANDSCAPES MONITORED
■ Landscape X has been added to Report Manager list of monitored landscapes.
Clears alarm- Report Manager: NO LANDSCAPES MONITORED
■ Landscape X has been removed from the Report Manager list of monitored
landscapes.
Clears alarms- Report Manager: LANDSCAPE CONTACT LOST and Report Manager:
ARCHIVE MANAGER CONTACT LOST
■ Report Manager has lost contact with the X landscape.
Asserts alarm - Report Manager: LANDSCAPE CONTACT LOST
■ Report Manager has regained contact with the X landscape.
Clears alarm - Report Manager: LANDSCAPE CONTACT LOST
■ Report Manager has lost contact with the X Archive Manager.
Asserts alarm - Report Manager: ARCHIVE MANAGER CONTACT LOST
■ Report Manager has regained contact with the X archive manager.
Clears alarm - Report Manager: ARCHIVE MANAGER CONTACT LOST
■ Report Manager has encountered an error while processing events. (for more
information, see the OneClick log file)
Asserts alarm - Report Manager: EVENT PROCESSING FAILURE
■ The Report Manager server is stopping. Alarms that are based on landscape {S 1}
are cleared and reasserted at startup, if needed.
Clears alarms - Report Manager: LANDSCAPE CONTACT LOST and Report Manager:
ARCHIVE MANAGER CONTACT LOST for each landscape that SRM is monitoring.
■ The Report Manager server is stopping. Event processing failure alarms are cleared
and reasserted at startup, if needed.
Clears alarm - Report Manager: EVENT PROCESSING FAILURE
Application Alarms
CA Spectrum Reporting generates the following alarms from CA Spectrum Reporting
Application model events:
■ Report Manager: NO LANDSCAPES MONITORED, Alarm Severity - Yellow
■ Report Manager: LANDSCAPE CONTACT LOST, Alarm Severity - Orange
■ Report Manager: ARCHIVE MANAGER CONTACT LOST, Alarm Severity - Orange
■ Report Manager: EVENT PROCESSING FAILURE, Alarm Severity - Red
Device Attributes
0x1006e: MODEL_NAME_ATTR_ID
0x11ee8: MODEL_CLASS_ATTR_ID
0x11b41: CREATE_TIME_ATTR_ID
0x11026: MODEL_CREATOR_ATTR_ID
0x10001: MODEL_TYPE_ATTR_ID
0x10009: SECURITY_STRING_ATTR_ID
0x1027f: IP_ATTR_ID
0x110df: MAC_ATTR_ID
0x10030: SERIAL_NUMBER_ATTR_ID
0x10052: SYS_DESC_ATTR_ID
0x10053: SYS_OID_ATTR_ID
0x1102e: LOCATION_ATTR_ID
0x10b5a: CONTACT_PERSON_ATTR_ID
0x10245: SYS_UPTIME_ATTR_ID
0x23000e: DEVICE_TYPE
0x110ed:CONTACT_STATUS_ID
0x12a6d:NRM_LINE_CARD_DATA_ATTR_ID
Interface Attributes
0x1006e: MODEL_NAME_ATTR_ID
0x11ee8: MODEL_CLASS_ATTR_ID
0x11b41: CREATE_TIME_ATTR_ID
0x10001: MODEL_TYPE_ATTR_ID
0x10009: SECURITY_STRING_ATTR_ID
0x129ed: PORT_TYPE_ATTR_ID
0x129e0: PORT_DESC_ATTR_ID
0x11ee3: IF_SPEED_ATTR_ID
0x1027f: IP_ATTR_ID
0x10e43: PORT_IP_ATTR_ID
0x110df: MAC_ATTR_ID
0x10f1b: PORT_LINK_STATUS
0x12980: IF_LAST_CHANGE_ATTR_ID
0x10e41: IF_IN_OCTETS_ATTR_ID
0x11f82: IF_ALIAS
0x1006a: COMPONENT_OID
0x10000: MODEL_TYPE_NAME_ATTR_ID
0x12bfc: USER_AssetID
0x12bfd: USER_AssetOwner
0x12bfe: USER_AssetOrganization
0x12bff: USER_AssetOffice
0x12c00: USER_AssetContractNumber
0x12c01: USER_AssetContractStartDate
0x12c02: USER_AssetContractEndDate
0x12c03: USER_AssetDescription
SRMDBAPI Overview
The CA Spectrum Report Manager Database API (SRMDBAPI) provides a fully
documented set of read-only database objects to support your custom data analysis
requirements. Specifically, the SRMDBAPI consists of a set of database views that are
contained within a dedicated multidimensional schema in the MySQL instance that is
used by Report Manager.
The following add-ons are part of the SRMDBAPI but require additional license purchase
for usage:
■ SPM
■ NCM
Design Methodology
For more information, see How to Create Additional SRMDBAPI Users (see page 137)
Note: If you are connecting from a remote server using the 'srmapi' database user,
additional grants need to be performed.
mysql>FLUSH PRIVILEGES;
3. Logout of mysql.
Remote Access is established.
v_dim_alarm_condition
This view enumerates the various alarm conditions (for example, Minor, Major) and
associated criticality values.
v_dim_alarm_title
This view enumerates the various alarm titles and associated probable causes that have
occurred in the reporting database.
v_dim_alarm_user
This view enumerates the various usernames that are associated with alarm activity
captured in the reporting database.
v_dim_device_model
This view enumerates all devices (active and destroyed) that are captured historically in
the reporting database.
v_dim_device_module
This view enumerates more information at the slot level for chassis-based devices.
v_dim_event
This view enumerates all of the Event Types encountered while processing events for
reporting purposes.
v_dim_event_creator
This view enumerates all the event creators that are encountered while processing
events for reporting purposes.
v_dim_global_collection_member
This view enumerates all global collection members in the reporting database. You have
a separate record for every global collection/model pairing.
v_dim_interface_model
This view enumerates all interfaces captured in the reporting database.
v_dim_landscape
This view enumerates all of the landscapes that have been encountered during
processing reporting data.
v_dim_model
This view enumerates all of the models that are encountered in the course of processing
reporting data.
v_dim_ncm_event
This view enumerates all event codes that are associated with Network Configuration
Management (NCM).
v_dim_spm_test
This view enumerates all the SPM Tests that are created in the course of processing.
v_dim_time
This view enumerates a separate record for every day in the calendar.
v_fact_alarm_activity
This view enumerates alarm activities (for example, sets, clears, acknowledgements)
that are processed in reporting database.
v_fact_alarm_info
This view enumerates a separate record for every alarm that is processed in reporting
database.
v_fact_event
This view enumerates every event record that is processed in the reporting database.
v_fact_model_outage
This view enumerates all outages that are processed in reporting database.
v_fact_spm_basic_test_results
This view enumerates test results for the following Service Performance Manager (SPM)
test types: ICMP Ping, UDP, Path Echo, TCP, DNS Lookup, POP3, DHCP, FTP, SMTP, and
HTTP (total time only).
v_fact_spm_http_full_test_results
This view enumerates historical results that are associated with Service Performance
Manager (SPM) HTTP tests.
v_fact_spm_jitter_test_results
This view enumerates historical results that are associated with Service Performance
Manager (SPM) Jitter tests.
For example, you can create a user, srmdbapi_user, with a capability to read all view
data from the SRMDBAPI.
2. Establish the new username and password combination in the MySQL database
instance and access to both the srmdbapi and reporting schemas:
mysql>GRANT SELECT, EXECUTE ON srmdbapi.* TO 'srmdbapi_user'@'%' IDENTIFIED BY
'somepassword';
mysql>GRANT SELECT ON reporting.* TO 'srmdbapi_user'@'%';
mysql>FLUSH PRIVILEGES;
3. Logout of mysql.
srmdbapi_user is created.
Note: The previous 'GRANT' statements lets 'srmdbapi_user' connect to the SRM server
from the local or any remote server. The 'srmdbapi_user' only have read-only access to
the 'srmdbapi' schema which represents the database implementation of the
SRMDBAPI.
For important login information, the user ID is 'srmdbapi' and the password is
'srmdbapi'.
Example
Here is an example with the 'v_dim_alarm_condition' table.
You would type the following command at the mysql prompt:
mysql> desc v_dim_alarm_condition;
Note: Each query contains a 'LIMIT X' records clause to ensure that too much data is not
initially returned to the MySQL client.
You can log in to the MySQL server using the 'srmapi' user before executing the
following sample queries:
On Linux/Solaris:
$SPECROOT/mysql/bin/mysql --defaults-file=../my-spectrum.cnf -usrmapi -psrmapi
srmdbapi
On Windows:
$SPECROOT/mysql/bin -usrmapi -psrmapi srmdbapi
Get All 'model created' and 'model destroyed' Events on a Specified Day
You can perform a query to obtain all 'model created' and 'model destroyed' events that
occurred on a specified day (2009-12-29). The result set contains event time, model
name, event title, and the event message.
mysql>SELECT e.time,
m.model_name,
de.title,
e.event_msg
FROM v_fact_event e,
v_dim_model m,
v_dim_event de
WHERE e.model_key = m.model_key
AND e.type_dec = de.type_dec
AND e.type_dec IN ( 66049,66050 )
AND e.time BETWEEN '2009-12-29 00:00:00' AND '2009-12-29 23:59:59'
LIMIT 10;
Note: '66049' and '66050' are the decimal values that correspond with 'model created'
and 'model destroyed' events.
Get All 'device create' and 'device destroy' Events on a Specified Day
You can perform a query to obtain all 'device create' and 'device destroy' events that
occurred on a specified day (in this example, we use 2009-12-29). This query is similar to
the previous one; however, v_dim_model are replaced with v_dim_device_model to
ensure that only device-related events are returned.
mysql>SELECT e.time,
d.model_name,
de.title,
e.event_msg
FROM v_fact_event e,
v_dim_device_model d,
v_dim_event de
WHERE e.model_key = d.model_key
AND e.type_dec = de.type_dec
AND e.type_dec IN ( 66049,66050 )
AND e.time BETWEEN '2009-12-29 00:00:00' AND '2009-12-29 23:59:59'
LIMIT 10;
Get All 'device create' and 'device destroy' Events on a Specified Day in a Global Collection
You can perform a query to obtain all device create and destroy events that occurred on
a specified day (2009-12-29) for devices that are contained in a particular global
collection. This query is similar to the previous one; however, the
v_dim_global_collection_member view has been added and joined to the
v_dim_device_model view. In addition, the query constrains results to the collection
name of your choosing.
mysql>SELECT e.time,
d.model_name,
de.title,
e.event_msg
FROM v_fact_event e,
v_dim_device_model d,
v_dim_event de,
v_dim_global_collection_member gcm
WHERE e.model_key = d.model_key
AND e.type_dec = de.type_dec
AND d.model_key = gcm.model_key
AND gcm.gc_name = 'Your Collection Name'
AND e.type_dec IN ( 66049,66050 )
AND e.time BETWEEN '2009-12-29 00:00:00' AND '2009-12-29 23:59:59'
LIMIT 10;
You can perform a query to obtain the list of top 20 (most frequent) events that
occurred on a specified day (2009-12-29). This query considers all models (not simply
devices).
mysql>SELECT de.title,
COUNT(1) as event_count
FROM v_fact_event e,
v_dim_event de
WHERE e.type_dec = de.type_dec
AND e.time BETWEEN '2009-12-29 00:00:00' AND '2009-12-29 23:59:59'
GROUP BY de.title
ORDER BY event_count DESC
LIMIT 20;
mysql>SELECT de.title,
COUNT(1) as event_count
FROM v_fact_event e,
v_dim_event de
WHERE e.type_dec = de.type_dec
AND e.time BETWEEN '2009-12-29 00:00:00' AND '2009-12-29 23:59:59'
GROUP BY de.title
ORDER BY event_count DESC
LIMIT 20;
mysql>\t
Important! If MySQL ODBC 3.51 driver is not available in the picklist, download and
install the 'MySQL ODBC 3.51 Driver' directly from MySQL. The driver can be acquired
at: http://dev.mysql.com.
7. Configure the new SRMDBAPI Data Source by specifying the following information
in the Login tab.
Setup is completed and the Data Source is now available to client applications such
as Microsoft Excel.
3. Click the From Other Sources icon, and select the From Microsoft Query option
from the resulting drop-down list.
4. From the Databases tab, select the SRMDBAPI* database, clear the 'Use the Query
Wizard to create/edit queries' check box, and click OK.
Microsoft Query launches immediately and prompts you for the tables to report on.
For this example, select and add both the v_dim_device_model and
v_fact_alarm_info views to make them available for querying.
Note: Microsoft automatically joins the two views on the model_key column ,which
is correct.
5. Double-click the 'model_name' column from the 'v_dim_device_model' view to add
this field to the query.
7. Select Add Criteria from the Criteria option in the menu structure.
The Add Criteria dialog opens.
8. Select 'v_fact_alarm_info_0.clear_time' for the Field and 'is Null' for the Operator
value.
9. Click Add to ensure that the query only displays ongoing alarms.
Because results are formatted for Excel, you can take advantage of other capabilities in
the application such as charting, pivot tables, and conditional formatting to analyze the
data.
Debug Options
The following options are available on the Debug Controller page, which you can access
from the OneClick home page by clicking the following options: Administration,
Debugging, Web Server Debug Page (Runtime).
To enable an option, select ON. See the following CA Spectrum tomcat logs for detailed
information:
■ For Windows: <$SPECROOT>/tomcat/logs/stdout.log
■ For Linux or Solaris: <$SPECROOT>/tomcat/logs/catalina.out
CABI_tomcat
Indicates the location of the tomcat root folder on the CABI server.
2. Change the log4j.logger.com.ca.spectrum.repmgr parameter from WARN to
DEBUG.
3. Save and close the file.
4. Restart the CABI tomcat server.
Logs for Report Manager report parameter pages are now written to the following
file on the CABI server:
/tomcat/logs/SpectrumCustomParams.log
Index 153
O troubleshooting • 91
troubleshooting • 71
operating systems, supported • 18 installation errors • 87
Outage records operation errors • 90
annotating • 63 outage data error • 91
changing outage status • 63 records error • 89
Outages
exempt • 63 U
holiday exemption • 82
uninstall • 43
incorrectly reported as ongoing • 71
use cases
Outage Editor • 65
example • 118
planned • 63
user rights • 14
unplanned • 63
Utility Scripts • 104
P V
parameter pages • 152
views, how to access • 138
passwords changing • 54
pcausetitle.xml • 74 W
Polling • 84, 85, 86
Windows script error
R BOXI installation • 89
Report Manager • 9
architecture • 10, 11
general maintenance issues • 71
troubleshooting • 90
reports • 74
event names • 74
probable cause names • 74
vendor names • 72
response time reports, no tests available • 71
restoring • 103
RpmgrInitializeLandscape • 101
S
security roles • 16
SQL server memory usage • 90
SRMDBAPI Views • 120
create • 137
data extraction • 142, 144
potential issues • 147
support for • 21
T
testing LDAP • 45
LDAP settings • 46
settings • 46
single sign-on • 47
Tomcat log