Professional Documents
Culture Documents
Contents
• “Introduction” provides you with an introduction to the Citrix Resource
Manager Crystal Reports templates.
• “What Reports Are Available” shows you what report templates are available
and the information presented in them.
• “Getting Started” provides you with step-by-step instructions for installing the
Crystal Reports files and setting up your summary database to use the
templates.
• “Setting Up a Template and Creating a Report” provides you with step-by-step
instructions for setting up a Crystal Reports template and creating a report.
Introduction
Citrix has supplied a number of report templates, specifically designed for the
Citrix Resource Manager summary database, for use with Seagate Crystal Reports
software.
Using Crystal Reports gives you a greater range of options for creating reports and
manipulating the information in them than the normal Resource Manager reporting
functions. You can use the templates as is, or modify them to customize or extend
your summary database reporting.
Creating reports from a database requires accessing the information tables of the
database using the database schema. Database schema is a description of a database
in the language of the DBMS. The Crystal Reports templates use the summary
database schema to retrieve information from it for the report. The summary
database schema is documented in Appendix B of your Citrix Resource Manager
Administrator’s Guide. You can use the database schema to enable third party
programs to extend database reporting or querying beyond that which is supplied
with Resource Manager.
4 Using the Crystal Reports Templates With Citrix Resource Manager
AppUserInfo This report shows details for a selected process, and lists the users who have run
(Application User Information) the process and the number of times they have run it (ordered by the number of
times run). You can also select an individual server and/or user to further refine
the report. The process details include type, version, and the number of times
executed. Clicking Order by Users reproduces the list, alphabetically ordered by
domain/user name.
CpuTimeInfo This report shows time information statistics and details for a selected process.
(Application Time Information) You can also select an individual server and/or user to further refine the report.
The time information includes time loaded, time active, the active/loaded time
ratio, the total times for the process being loaded and active, and the first and last
recorded uses. The process details include type, version, and the number of times
executed.
CpuUsageAllServers This report shows the average processor time and average CPU interrupt time (as
(CPU Information) percentages) for each farm server and for the farm as a whole. It also displays the
sample count, and the start and end dates of the report. Clicking on a server
name displays statistics and graphs for processor time as a percentage, and
interrupt time as a percentage for that server.
CpuUsageTopTenServers This report shows the average processor time and average CPU interrupt time (as
(CPU Information (Top Ten percentages) for the top ten most used servers in the farm, ordered from highest
Servers)) average processor time, and for those servers as a whole. It also displays the
sample count, and the start and end dates of the report. Clicking on a server
name displays statistics and graphs for processor time as a percentage, and
interrupt time as a percentage for that server.
CpuUse This report shows CPU usage statistics and details for a selected process. You
(Application CPU Usage) can also select an individual server and/or user to further refine the report. The
process statistics include overall CPU utilization, CPU utilization in both kernel
and user modes for when the process is both loaded and active. The process
details include type, version, and the number of times executed.
FavApps This report shows process information and session information for a selected
(User Favorite Applications) user. You can also select an individual server and/or process to further refine the
report. For each process, the report shows the name, version, total time loaded,
total time active, the active time as a percentage, the last time used, and the
number of times executed. The session information includes the number of
sessions, the number of processes executed, and the first and last session dates.
MemoryAllServers This report shows the page file usage (as a percentage) of each farm server, in
(Memory Information) order from highest to lowest, and for the farm as a whole. Clicking on a server
name displays statistics and graphs for page file usage.
MemoryTopTenServers This report shows the page file usage (as a percentage) of the top ten most used
(Memory Information (Top Ten servers in a farm, in order from highest to lowest, and for those servers as a
Servers)) whole. Clicking on a server name displays statistics and graphs for page file
usage.
Using the Crystal Reports Templates With Citrix Resource Manager 5
MetricDetails This report shows a graph of farm-wide metrics for the server farm over a selected
(Metric Information) report period. The graph shows the values for farm-wide metrics and the time at
each point on the graph. Clicking a server name shows a report for that server.
Individual server reports contain graphs showing the values for all server metrics
and the time at each point on the graph. The details for each server metric are
listed in tables showing the object, counter, instance, time, and value.
MetricReport This report shows details and a graph for a selected metric, on a selected server.
(Metric Report Per Server) Statistics for the metric values are shown as well as the start and end times of the
report, and the number of metric samples counted during the report period.
ProcessHistory This report shows the session history and details for a selected user. You can also
(User Application History) select an individual server and/or process to further refine the report. The process
information includes the start and end times for each use, the server the process
was executed on, the process name, exit code, and the percentage of process
loaded time that it was active. The session information includes the number of
sessions, the number of times the selected process was run, and the first and last
session dates.
ServerUse This report shows the session details for a selected user and a graph of their top
(Server Usage History) ten most used servers as percentages. You can also select an individual server
and/or process to further refine the report. The session details include the total
number of sessions, the total number of processes executed, and the first and last
session dates.
SessionHistory This report shows the session history for a selected user. You can also select an
(User Session History) individual server and/or process to further refine the report. The session
information includes the total number of sessions, the total number of processes
executed, the first and last session dates, the start and end times and the duration
of each session, and the number of processes run for each session. Clicking
Process List for a session shows a Session Process List report that shows all the
processes running during the session and their start and end times.
SystemSummary This report shows a summary for a server over a selected time period. The report
(System Summary) includes users who have accessed the server, the number of processes they
used, and the memory and CPU usage of those processes. Clicking on a server
name shows a system summary for that server. This report shows the server
metrics being recorded including the object name, counter, and instance for each
metric, as well as statistics for the metric values.
6 Using the Crystal Reports Templates With Citrix Resource Manager
Getting Started
The following sections describe the system requirements you need to use the
Crystal Reports templates, how to install the necessary files, and example
procedures for setting up a template, and creating a report.
Software Requirements
You need to have the following software to use the Crystal Reports templates:
• Citrix MetaFrame XPe 1.0, Feature Release 2
• Seagate Crystal Reports Version 8.5 or later
• Microsoft SQL Server Version 7 or 2000
—Or—
• Oracle Database Version 7, 8i or 9i
Refer to your Citrix MetaFrame XP 1.0, Feature Release 2/Service Pack 2
Administrator’s Guide and your Citrix Resource Manager Administrator’s Guide
for details on how to set up Citrix MetaFrame, Resource Manager, and a summary
database (Microsoft SQL Server or Oracle).
Crystal Reports can be installed on any computer that can connect to the server that
contains the summary database.
Note You need to create a summary database and turn on the summary database
function in Resource Manager before installing the views.
Note The chosen view will depend upon which report template you are using.
In reports where more than one view is listed, choose any one of them.
6. At the Propagate Set Location prompt, click Yes. This ensures that all views
required for the report refer to the same database location.
7. In the Set Location dialog box, click Done.
8. In the Propagate Set Location prompt, click Yes. This ensures that all views
required for any sub-reports refer to the same database location.
A. If the report contains sub-reports, right-click on the sub-report, then click
Edit Subreport.
B. Repeat steps 2 to 7 for each sub-report.
C. After you have finished editing a sub-report, click .
Using the Crystal Reports Templates With Citrix Resource Manager 9
Note The data contained in the report parameter fields should be updated when
there are further variables added to the farm that affect reports; for example,
additional farms, users, processes, or servers and so on.
When creating a report, you can manually enter the variables you want to report on
into the Enter Parameter Values dialog box fields, instead of using the available
options.
Note You do not need to edit parameter fields if there is a “?” in the name.
4. In the Edit Parameter Field dialog box, click Set default values.
5. Select a value you want to set as default, then click . You can click to
set all the available values as defaults.
6. Click OK twice, then click Close.
7. Save the template.
Creating a Report
Once you have set up a template, you need only specify parameter fields and
discrete values to generate further report previews using it.
1. Open a template file that you have set up.
2. Preview the report by clicking Refresh Report Data from the Report menu, or
by clicking .
3. In the Enter Parameter Values dialog box, under Parameter Fields, click each
parameter field you want to use in the report, then select an appropriate value
for each from the Discrete Value list, or manually enter them.
4. Click OK. Crystal Reports populates the report with information from the
summary database using the report parameter field values you have entered.