Systems Management Server version 2.0 Crystal Info Reporting Tool

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Published: February 1, 1999

Abstract

Microsoft® Systems Management Server collects vast amounts of data. Organizing and presenting this data is a challenge. This white paper provides a tutorial on the Crystal Info reporting tool for Systems Management Server and briefly introduces Systems Management Server 2.0 classes for reporting.

On This Page

Introduction
Understanding Crystal Info for Systems Management Server
Starting the Designer
Tutorial: Create a report
Working with Systems Management Server Reports
Troubleshooting Reports
Systems Management Server Classes
Dates and times
For More Information
Appendix A: Crystal Info for Systems Management Server Architecture Overview

Introduction

You probably have no shortage of network information. After all, Microsoft® Systems Management Server version 2.0 components generate and exchange a constant stream of operational, inventory, and status information. The challenge is to select the data most pertinent to your organization, to collect it in a timely manner, and to present it in a useful way. Crystal Info for Systems Management Server (Crystal Info) can help you organize information about the way Systems Management Server operates in your organization and prepare administrative information in an easy-to-read report format.

Crystal Info for Systems Management Server is a Systems Management Server–specific version of the fully featured product, Seagate Crystal Info version 6.0. Crystal Info for Systems Management Server is a Systems Management Server component that allows you to create, modify, schedule, and run reports by using data from the Systems Management Server site database. Several previously designed reports are provided with Systems Management Server 2.0. You can schedule and run these reports using the Systems Management Server Administrator console. You can also create new reports or modify existing ones by using the Info Report Designer. Crystal Info for Systems Management Server conforms to the interface and usage guidelines for the Microsoft Management Console (MMC) and is integrated into the Systems Management Server operational and data source environment.

Understanding Crystal Info for Systems Management Server

Crystal Info for Systems Management Server is an optional component that you can install only one way—by using the Systems Management Server Custom Setup option. With Custom Setup, you install the Systems Management Server Administrator console on a Systems Management Server primary site server. Although you can install Crystal Info for Systems Management Server when you install only the Systems Management Server Administrator console, Crystal Info must first be installed on the primary site server. After you run a report, the information displayed in the details pane of the Systems Management Server Administrator console consists of data, current at the time the report was run.

To query and manage information, Systems Management Server 2.0 uses Web Based Enterprise Management (WBEM) data classes, accessed through the Microsoft Windows® Management Service. In the current version, the only supported query language is the WBEM Query Language*,* referred to by its acronym, WQL**.** WQL is evolving as a subset of SQL, and originally did not support any join operations.

Crystal Info for Systems Management Server uses an ODBC (Open DataBase Connectivity) driver to convert SQL to WQL. The following diagram illustrates the data connectivity layers involved in reporting.

Cc722910.crysta01(en-us,TechNet.10).gif

Figure 1: Data Connectivity Layers

Starting the Designer

There are two ways to start the Info Report Designer.

  1. Right-click any report object under Reports in the console tree. Then click Task and choose from the menu shown below.

    Figure 2: Commands under Task

    Figure 2: Commands under Task

    You can design a new report or modify an existing one by choosing the Design New Report command or Modify Report command from this menu. Either command starts Info Report Designer.

  2. If the console is not running, you can start the Designer by running C:\SMS\Cinfo\winnt\crw32.exe. Connect to APS with userID = Administrator.

Tutorial: Create a report

This tutorial demonstrates basic techniques for creating any report for Systems Management Server 2.0. Once you finish this tutorial, you will be familiar with the program and the many options available for accessing the Systems Management Server 2.0 data store. This tutorial will result in a report that shows all of the hard disk space that is free on your sites.

Start the Report Expert and Select the Systems Management Server Data Store

  1. In the Systems Management Server Administrator console tree, navigate to any report object under Reports.

  2. Right-click the report object, point to Task, and click Design New Report. When you first start the program, the Welcome dialog box appears as shown below.

    Cc722910.crysta03(en-us,TechNet.10).gif

    Figure 3: Welcome Dialog Box

  3. Click New Report. The Report Gallery dialog box opens, as shown below.

    Cc722910.crysta04(en-us,TechNet.10).gif

    Figure 4: Report Gallery Dialog Box

  4. Select the Standard Report Expert. This will help you create the report. For more information about creating other types of reports, click Help from the Report Gallery.

    The Create Report Expert opens, displaying the dialog box shown below. The Expert will guide you through the process of providing data for each tab in sequence. During this process, you will specify report properties such as the report data source, fields, and appearance. Once the report basics are specified, you may stop the Report Expert and view the report by clicking the Preview Report button.

    Cc722910.crysta05(en-us,TechNet.10).gif

    Figure 5: Create Report Expert Dialog Box

  5. To specify a data source, click the SQL/ODBC button.

    Crystal Info for Systems Management Server can access a wide variety of data sources, but to report on Systems Management Server specific data, you must use the ODBC-WBEM data source.

  6. In the Log On Server dialog box, specify ODBC - WBEM Source as your data source, and click OK. The Configure Connection dialog box opens, as shown below.

    Cc722910.crysta06(en-us,TechNet.10).gif

    Figure 6: Configure Connection Dialog Box

    Usually, the user account to which you are logged on can connect to the namespaces available on your site.

    • If your user account is a member of the Systems Management Server Adminstrators user group, or you are logged on as Administrator, you have the access permissions to connect to the Systems Management Server Provider. Skip to Step 10.

    • If you want the report to run under another user account—one that has access to the Systems Management Server site database—your account must have the Act a part of operating system advanced user right before you can specify that the report should run impersonating another account.

  7. To specify that the report should run as another account, enter the appropriate data in User name and Password. To authenticate the user account you have supplied, click Impersonation. If the Systems Management Server site database is on a remote server, you do not need to select this check box.

  8. To change the data source of the report, type the name of the Systems Management Server site database server in Server name, or click Browse to select the server name.

  9. Click Connect. If the connection is successful, proceed to the next step. If not, see the section on Troubleshooting Reports later in this documentation.

  10. The Namespace Selection box displays a tree structure:

    crysta0a

    Click the plus sign next to root to expand the namespace tree.

  11. Expand the Systems Management Server node in the same way. Select the site_<site code> node to select the Systems Management Server Provider namespace as a data source:

    crysta0b

  12. Click OK. If you are successful in logging on to the data source, you will receive a confirmation message and the Choose SQL Table dialog box will open, as shown below. If the logon attempt is not successful, verify your permissions.

    Cc722910.crysta07(en-us,TechNet.10).gif

    Figure 7: Choose SQL Table Dialog Box

  13. In the SQL Tables box, select the SMS_R_System class and click Add. Then select the SMS_G_System_LOGICAL_DISK class and click Add. The selected tables will appear in the Data tab. Click Done.

  14. The Create Report Expert now displays the Links tab. The WBEM tables you selected are displayed. Fields common to the tables are displayed as links between the tables.

    Cc722910.crysta08(en-us,TechNet.10).gif

    Figure 8: Create Report Expert Dialog Box

    For this report, link on the ResourceID field by clicking on ResourceID from the SMS_R_System class and dragging the mouse to the ResourceID in the SMS_G_System_LOGICAL_DISK class. Delete all other links by selecting each link, and clicking Delete.

  15. Click Next to display the Fields tab**.** In this tab, add the following fields from the SMS_System_LOGICAL_DISK class:

    DeviceID, VolumeName, FileSystem

  16. Remaining in the Fields tab, you will create and add a Percentage Free field. Click on the Formula button and type Percent Free in the Formula Name dialog box, then click OK. This brings up the Formula Editor, which will be used to create the calculated field. Type the following formula in the Formula Text: and click the Accept button.

IF {SMS_G_System_LOGICAL_DISK.Size} = 0 THEN 0 ELSE {SMS_G_System_LOGICAL_DISK.FreeSpace} % {SMS_G_System_LOGICAL_DISK..Size}

  1. Add the @Percent Free formula to the Report Field: list.

  2. Click Next and add the SMS_R_System.Name field to the Sort Fields: list.

  3. Click on the Select tab and Add SMS_G_System.Description to the Select Fields: list, and then change the any value in the drop-down list box to equal to. Click on the last drop-down list box and choose Local Fixed Disk. This will exclude the appearance of floppy disks, network drives, and CD-ROMs from the report.

  4. To view the report with the current data, in the Style tab, click Preview. To view the report layout with sample data, click Preview Sample. Reports are viewed from within Report Designer. You can save the report template file or switch directly to Design view to modify your report.

  5. Before saving the report, on the File menu, click Options.

  6. In the Report Options dialog box, verify that the Save Data with Report check box is not selected.

  7. To update the report, press F5 or click Refresh.

    crysta0c

    The Refresh button looks like a lightning bolt.

    A preview of the finished report is shown below:

    Cc722910.crysta09(en-us,TechNet.10).gif

    Figure 9: Info Report Designer Preview

Working with Systems Management Server Reports

In Systems Management Server, you schedule and view reports through the Systems Management Server Administrator console. Each report in the Systems Management Server Administrator console is an object that contains data from the basic report template file and the Crystal Info database. Report objects contain information about the data source of the object, access permissions, the most recent time the report was run, and other information. After creating a Crystal Info report template file, add a new report object to the Systems Management Server Administrator console, specifying the new file. When you delete a report object in the Systems Management Server Administrator console, you are not deleting the report template file.

Scheduling a report generates an instance of that report object and the data obtained, and stores them in \SMS\CInfo\Output. When you view a report, you view the last instance of the report, which contains the data that was current at the time the report was last run. To modify or create a new report template file, start Info Report Designer, which you can use to control the layout, data, and style of the report. Info Report Designer provides a Create Report Expert that guides you through the process of creating many different types of reports.

To Add a Report to the Systems Management Server Console Tree

To add a new report to Reports in the Systems Management Server console tree, first create a report object, and then specify a report file to which the object refers.

You cannot drag a report from one folder to another. Instead, delete the object and then add it to the target folder.

When you delete a report object from the Systems Management Server Administrator console, you are not deleting the report template file. As long as you do not delete the report template file, you can create another report object and specify the full path and name of the report template file.

  1. In the Systems Management Server Administrator console, navigate to Reports.

Systems Management Server -->Site Database (site code - site name) -->Tools -->Reports

  1. Right-click Reports, point to New, and click Folder.

  2. Type the name of the new folder, and click OK.

After you create a report folder, you can add report objects to the folder.

Note: If you are creating or modifying a report, close the report in Info Report Designer before adding a report object to a report folder, or a sharing violation may result.

To add a report object to a report folder

  1. In the Systems Management Server Administrator console, navigate to the folder to which you want to add a report object.

Systems Management Server -->Site Database (site code - site name) -->Tools -->Reports -->folder name

  1. Right-click the report folder, point to New, and click Report Object.

  2. In the New Report Object dialog box, type the full path to the report you want to add.

  3. Type a title for the report and an optional description.

The new report object will appear in the folder.

Scheduling Reports

A report must be scheduled and successfully run before you can view it. When a report has run successfully, the results appear in the details pane of the Systems Management Server Administrator console when you navigate to the report.

Crystal Info for Systems Management Server offers a wide range of scheduling options. You can schedule a report to run immediately or specify that the report will run at a day and time of your choice.

Note: To minimize the impact of reporting on server performance, consider scheduling reports to run when network activity is low.

To schedule a Crystal Info report

  1. In the Systems Management Server Administrator console, navigate to Reports.

Systems Management Server -->Site Database (site code - site name) -->Tools -->Reports

  1. In either the console tree or the details pane, right-click a report, point to Task, and click Schedule Report <report name>.

  2. In the Schedule Report dialog box, click the General tab, and then click Refresh.

  3. Click the Accounts tab.

  4. In Logon User Name, type the name of the user account that has the Act as part of operating system advanced user right, and provide a valid password.

  5. Click the Schedule tab (shown below), and specify whether to run the report on a particular day and time, or immediately. To run the report on a recurring basis, select how often you want the report to run under Recurrence.

Cc722910.crysta0d(en-us,TechNet.10).gif

To change the database account logon information or to modify a report's selection formula or prompts, navigate to the Accounts, Selection Formula, or Prompts tab and change the settings as appropriate before you schedule the report.

A report, once run, displays an icon indicating success or failure. If a report fails, see the section on Troubleshooting Reports later in this documentation.

Troubleshooting Reports

This section describes the most common causes of Crystal Info report failure and techniques for solving them.

No data exists in the Systems Management Server site database.

Discovery data might not exist in the database. In this case, wait until discovery has been run at the site before running reports. Make sure discovery is enabled in Client Agent Properties.

Report properties are the wrong datatype, or reports do not perform sorting and grouping properly.

Make sure the ODBC driver file, WBEMDR32.dll, is dated August 1998 or later.

The user running the reports does not have sufficient user rights to run the report against the specified database.

The user account running the report must have the Act as part of operating system advanced user right to impersonate an account that can access the data. To grant this right, run User Manager for Domains.

The report template file uses an inaccessible database.

If you have received a report file from another site, you must first run the Set Location tool to specify the correct database for Crystal Info to report against.

Running Set Location fails.

Determine whether the user account under which you are running Set Location has access permissions to the report folder. Browse to \SMS\CInfo\Samples\SMS and verify access rights.

You receive an error message when you click Reports in a remote Systems Management Server Administrator console.

If you install a remote Systems Management Server Administrator console on a computer running the Microsoft Windows NT® Workstation operating system 4.0 while you are logged on as a domain administrator, the Info APS service will not start automatically. As a result, when you click Reports in the Systems Management Server Administrator console, you will receive an error message.

To resolve this problem, on the remote computer, in Control Panel, double-click the Services icon. Select the Info APS service, and then click Startup. Change the Startup Type to Automatic, and then click OK. Restart the Systems Management Server Administrator console.

A report takes a long time to run.

If you have used aliases for the WBEM class tables, and if you inadvertently chose a word reserved by Microsoft SQL Server™ as an alias, the report may take significantly longer to run. To resolve this problem, modify the alias, and rerun the report. For information about SQL Server reserved words, see SQL Server Help.

While creating or modifying a report, connecting to the Systems Management Server namespace selection fails.

If the account under which you are logged on does not have access to the Systems Management Server database, the user account you are using must have the Act as part of operating system advanced user right to impersonate an account under which the report can run. Alternatively, you can add the user account to the Systems Management Server Administrators user group.

Systems Management Server Classes

In Systems Management Server 2.0, reporting is against WBEM instead of a SQL Server database, treating classes exactly like tables. Out of more than 200 Systems Management Server classes, reporting requires fewer than 70.

Learning About Classes

  1. Follow the tutorial example in this documentation on creating a report.

  2. Study the tables in this section that list the classes used most often, which are grouped into five types.

  3. Use the Resource Explorer to become familiar with the Hardware and Software Inventory Classes.

  4. Under the System Status node, open the Status Message Viewer and under the View menu, choose Query Information to see how the Status classes are used.

  5. Examine Query properties to see which classes are used.

  6. You may also use WBEM documentation to find information about the many Systems Management Server Provider classes and properties that are not documented elsewhere. For Hardware Inventory classes, the Systems Management Server provider inherits the classes of the Microsoft Win32® application programming interface, WBEM provider. The Win32 provider inherits from the CIM classes and properties.

Types of Classes Used for Reports

  • Resource Classes

  • Hardware Inventory

  • Software Inventory

  • Status and Summarizer

  • Software Distribution

  • Product Compliance (year 2000)

Resource Classes

Both hardware and software inventory classes are considered resource classes.

Hardware classes can have three prefixes:

Prefix

Description

SMS_G

Current Inventory

SMS_GH

History, can be used for trending.

SMS_GEH

Extended History, must give date and ResourceID to query on these classes.

Hardware Inventory Classes

Display Name

Systems Management Server Provider (WBEM) Class Name

Description

Computer System

SMS_G_System_ COMPUTER_SYSTEM

Information about the client computer, such as the name of the computer manufacturer, the system role, and the computer name.

Display Configuration

SMS_G_System_ DISPLAY_CONFIGURATION

Information about the client display driver.

Display Controller Configuration

SMS_G_System_ DISPLAY_CONTROLLER_ CONFIGURATION

Win32DisplayControllerConfiguration class represents the video adapter configuration information of a Win32 system. Membership Criteria: Not specified. Example: Jumper settings, Plug and Play information.

Environment

SMS_G_System_ ENVIRONMENT

An environment or system environment on the client. For example, COMPUTERNAME.

Latest Software Scan

SMS_G_System_ LastSoftwareScan

Information about the last software inventory cycle.

Logical Disk

SMS_G_System_ LOGICAL_DISK

Information about the logical disk drives on the client, such as the volume names and file systems.

Memory

SMS_G_System_ X86_PC_MEMORY

Information about the memory configuration on the client, including pagefile space and virtual memory.

Motherboard

SMS_G_System_ MOTHERBOARD_DEVICE

Information about primary and secondary bus types on the client.

Network Adapter

SMS_G_System_ NETWORK_ADAPTER

Information about the network adapters on the client, such as the type of adapter and its MAC address.

Network Adapter Configuration

SMS_G_System_ NETWORK_ADAPTER_ CONFIGURATION

Information about the client's network adapter configuration, such as the IP address, IP subnet, and default IP gateway.

Network Client

SMS_G_System_ NETWORK_CLIENT

The type of network that the client runs.

Network Protocol

SMS_G_System_ PROTOCOL

The type of network protocol that the client runs.

Operating System

SMS_G_System_ OPERATING_SYSTEM

Information about the client operating system.

Parallel Port

SMS_G_System_ PARALLEL_PORT

Information about the client's parallel ports.

Partition

SMS_G_System_ PARTITION

Information about an area of a physical disk on a Win32 system. Membership Criteria: Any partition of a physical disk installed on a Win32 system is a descendant (or member) of this class. Example: Disk #0, Partition #1.

PC-BIOS

SMS_G_System_BIOS

Information about the client BIOS.

Pointing Device

SMS_G_System_ POINTING_DEVICE

Information about the client's mouse.

Port

SMS_G_System_PORT

Information about a port number on a Win32 system.

Printer Configuration

SMS_G_System_ PRINTER_ CONFIGURATION

Information about the configuration of a printer.

Printer Device

SMS_G_System_ PRINTER_DEVICE

Information about a device connected to a Win32 system that is capable of reproducing a visual image on a medium. Membership Criteria: Any Win32 printer is a member of this class.

Processor

SMS_G_System_ PROCESSOR

Client processor information, including the family (Intel, for example), manufacturer, and version.

Protocol

SMS_G_System_ PROTOCOL

The Win32NetworkProtocol class represents a network protocol on a Win32 system. Membership Criteria: Any set of rules or algorithms that govern the interaction among two or more network interfaces and implemented on a Win32 platform is a descendant (or member) of this class.

SCSI Controller

SMS_G_System_ SCSI_CONTROLLER

A SCSI controller on the client.

Serial Port

SMS_G_System_ SERIAL_PORT

Information about a serial port on a Win32 system. Membership Criteria: Any interface device that acts as an interface between a serial device and the remainder of the system is a descendant (or member) of this class.

Serial Port Configuration

SMS_G_System_ SERIAL_PORT_ CONFIGURATION

Information about the serial port configuration on the client, such as baud rates, parity values, and stop bits.

Service

SMS_G_System_ SERVICE

A service running on the client.

System

SMS_G_System_ SYSTEM

Information about the client system, such as the computer's domain, name, and unique Systems Management Server ID.

System Drivers

SMS_G_System_ SYSTEM_DRIVERS

The system driver for a base service.

System Resource

SMS_G_System_ SYSTEM_RESOURCE

Information about a system resource on a Win32 system. Membership Criteria: Any system memory resource, environment variable, or system environment variable is a descendant (or member) of this class.

Tape Drive

SMS_G_System_ TAPE_DRIVE

The Win32TapeDrive class represents a tape drive on a Win32 system. Membership Criteria: Any tape drive on a Win32 system is a member of this class.

Time Zone

SMS_G_System_ TIME_ZONE

The time zone set for the client.

Video

SMS_G_System_ VIDEO

Information about the client video adapter and monitor. This information includes the adapter type, the chip type, the color resolution, installed display drivers, monitor manufacturer, screen height and width, and horizontal and vertical resolution.

Workstation Status

SMS_G_System_ WORKSTATION_ STATUS

Information about when inventory was collected on the client.

An Instance of the Logical Disk Class

The following table shows a hardware resource class along with sample data and a description of each property. (To see how to report Percentage space from FreeSpace and Size, refer to the section, Tutorial: Create A Report, earlier in this documentation.

Logical Disk Class (SMS_G_System_LOGICAL_DISK)

Attribute

Example

Notes

GroupID

5

Resource key.
The Systems Management Server group ID.

ResourceID

4

Resource key.
The Systems Management Server ResourceID. This will be unique.

Availability

""

The availability and status of the Device. Values are: 1="Other", 2="Unknown", 3="Running/Full Power", 4="Warning", 5="In Test", 6="Not Applicable", 7="Power Off", 8="Off Line", 9="Off Duty", 10="Degraded", 11="Not Installed", 12="Install Error", 13="Power Save - Unknown", 14="Power Save – Degraded", 15="Power Save - Standby" and 16="Power Cycle".

BlockSize

0

Size in bytes of the blocks that form this StorageExtent. If unknown or if a block concept is not valid (for example, for Aggregate Extents, Memory, or LogicalDisks), enter a 1.

Caption

"C:"

The Caption property is a short textual description (one-line string) of the object.

Description

"Local Fixed Disk"

Plain text description of the logical disk.

DeviceID

"C:"

An address or other identifying information to uniquely name the LogicalDevice.

FileSystem

"NTFS"

The FileSystem property indicates the type of file system running on the Win32 logical disk. Constraints: none; Character Set: Alphanumeric; Example: NTFS.

FreeSpace

1788

Size in megabytes of space available on the disk.

HotSwappable

0

Indicates if the disk can be swapped while running.

Name

"C:"

The Name property indicates the name of the logical drive. Constraints: none; Character Set: Alphanumeric; Example: C:.

Power Management Enabled

0

Boolean indicating that the Device can be power managed—for example, put into a power save state. This Boolean does not indicate that power management features are currently enabled, or if enabled, what features are supported. Refer to the PowerManagementCapabilities array for this information. If this Boolean is false, the integer value 1, for the string, "Not Supported", should be the only entry in the PowerManagementCapabilities array.

RevisionID

1

Systems Management Server RevisionID, identifying the number of times this object has been revised.

Size

3200

Size of volume in megabytes.

SystemName

SMS20NTWKS"

The scoping system's name.

TimeStamp

"19980709151505
.000000+***"

Last time this disk was formatted.

VolumeName

"C_DRIVE"

The VolumeName property indicates the volume name (or label) of the logical disk. Constraints: none; Character Set: Alphanumeric; Example: ST32171N.

Software Inventory Classes

Files that are discovered on computers are examined for header information, which is stored in Software Files and Software Products. For files without this information, for example, Microsoft MS-DOS® operating system files, the file name and size is stored in Unknown Files.

Logical Disk Class (SMS_G_System_LOGICAL_DISK) (cont'd)

Attribute

Example

Notes

Software Files

SMS_G_System_ SoftwareFiles

Information about software inventoried on the client, grouped by file name.

Software Products

SMS_G_System_ SoftwareProducts

Information about software inventoried on the client, grouped by software company name.

Unknown File

SMS_G_System_ UnknownFile

Files that don't have descriptive header information to identify them.

Status and Summarizer Classes

For detailed information about events for troubleshooting (for example, when and where error messages were generated), you need to use Status classes. If you are creating Crystal Info reports that are based on queries of the status message tables, be aware that data is stored in those tables for seven days, by default. Plan your queries accordingly.

Summarizer Classes contain current status or tallies of events. Unlike Status, they do not expire after seven days, but do have tally intervals that you should be aware of.

Logical Disk Class (SMS_G_System_LOGICAL_DISK) (cont'd)

Attribute

Notes

SMS_AdvertisementStatusSummarizer

Shows detailed status of a certain advertisements by site code.

SMS_ComponentSummarizer

Green Yellow Red (GYR) indicator that looks at total error and warning messages to determine health.

SMS_PackageStatus

Describes the status of packages on the distribution points.

SMS_PackageStatus DetailSummarizer

Shows detailed status of a certain package by site code.

SMS_PackageStatus RootSummarizer

Shows a status of a certain package.

SMS_SiteDetailSummarizer

Contains the numbers of info/error/warning messages based on a given tally interval for a certain site.
(select * from sms_sitedetailsummarizer where tallyinterval='0001128000080008')

SMS_SiteSystemSummarizer

GYR indicator that looks at free space to determine health. Maps to the Site System Status node in the UI.

Software Distribution Classes

These classes define the software distribution process. However, to troubleshoot problems, you will also need the Status classes.

Logical Disk Class (SMS_G_System_LOGICAL_DISK) (cont'd)

Attribute

Notes

SMS_Package

A package can contain zero or more programs.

SMS_Program

Defines a program.

SMS_DistributionPoint

Defines packages on distribution points.

SMS_Advertisement

For each Package and Program, describes an advertisement.

Product Compliance Year 2000 Classes

Logical Disk Class (SMS_G_System_LOGICAL_DISK) (cont'd)

Attribute

Notes

SMS_ProductCompliance

List of Microsoft software products by name and version and degree of compliance.

Selecting Classes for Reports

  • If you need to identify the computer, select SMS_R_System first. Link it to other classes by the ResourceID key.

  • Multiple Resource classes can be joined together by ResourceID. The ultimate limiting factor is the number of joins that the database can support. Performance may suffer with more than 10 classes joined together.

  • For ideas on choosing and linking classes for reports on Software Distribution and/or Status, consult the following diagram, Systems Management Server Software Distribution and Status Related Classes.

Cc722910.crysta0e(en-us,TechNet.10).gif

Dates and times

When creating reports that include dates and times, keep in mind the following:

  • Time is stored in the database as local time or GMT according to the following rules:

    1. Status messages are all GMT.

    2. Advertisements (Offers) can be GMT or local time, depending on a switch set in the Advertisement UI. The property in SMS_Advertisement is AssignedScheduleIsGMT (True/False).

    3. Inventory is always local time.

  • The status message viewer can convert to local time, but Crystal Reports cannot make time-zone conversions and will only show what is stored. For example, a time would appear to be seven hours later on a report than in the status viewer (if local time is Pacific Daylight). As a workaround for Advertisement reports, you could print GMT or Local based on the value of the AssignedScheduleIsGMT property.

    There are two datatypes for date:

    1. WBEM date: This is a long string. Use the first 14 characters, which are in "yyyymmddhhmmss" format, where "hh" is hours (24-hour clock).

    2. Time-Date: This is a familiar datatype, but you may wonder why you can't print the time, only the date. Timestamp fields are converted to Date or Date-Time depending on a setting in the Info Report Design. Under the File menu, choose Report Options and select the appropriate option.

For More Information

Refer to the Systems Management Server 2.0 Administrator's Guide

For the latest information on Systems Management Server, check out our World Wide Web site at https://www.microsoft.com/smsmgmt.

Appendix A: Crystal Info for Systems Management Server Architecture Overview

Crystal Info for Systems Management Server is an MMC snap-in. The Sentinel is the backbone of Crystal Info network communications, and must be loaded on all workstations running a Crystal Info component. The APS (Automated Process Scheduler) handles all report requests. The APS has a separate system database and users must log into it. The Info server does the actual processing of a report template and saves the instance that you see in the Systems Management Server console results pane.

Cc722910.crysta0f(en-us,TechNet.10).gif

Label

Description

1

Crystal Info snap-in uses the CIAPI32.dll to communicate with Sentinel.

2

CIAPI32.dll sends the appropriate message to Sentinel which in turn will forward it to the Server component.

3

The Sentinel handles the client-to-server communications. When all components are installed on the same computer, no actual communication is being done.

4

On the server side, the Sentinel passes the request messages to the Info APS. Info APS is the component that manages the scheduling and coordinating among all the components.

5

If the request is to schedule a report, an instance of Info Server will be launched.

6

Info Server uses CIPE32.dll to process the corresponding report template. An instance of the report will be saved in the Output directory.

7

The ODBC name is being saved within the report template and will be used to retrieve the necessary data.

8

The data request, after language and schema conversion, is passed to Microsoft SQL Server.

9

If the request is to view a report, the Info APS will invoke the Info Agent to generate and send a page of the report back.

10

Info Agent will used the report instance (report that has saved data) to generate the requested page.

11

Crystal Info Designer will be launched when creating or modifying a report template.

12

The report template should be saved in a location that can be accessed by the server components.