Oracle(R) Enterprise Manager Oracle(R) Trace User's Guide
Release 2.0

A67837-01

Library

Product

Contents

Index

Prev Next

2
Using Oracle Trace

Oracle Trace collects data for products that are instrumented with the Oracle Trace data collection API. Use the Oracle Trace Manager application to create and administer Oracle Trace collections for instrumented products.

Oracle Corporation has instrumented Oracle Server release 7.3 and higher with the Oracle Trace data collection API.

As you add additional custom products to nodes that are managed through Oracle Enterprise Manager, you can use Oracle Trace Manager to automatically discover these products and make them available for collection administration.

This chapter includes the following sections:

Starting Oracle Trace

You start Oracle Trace from the Oracle Enterprise Manager console using either the:

You can also start Oracle Trace from the Start menu:

Start=>Programs=>ORACLE_HOME=>Diagnostics Pack=>Trace Manager


Note:

ORACLE_HOME represents the oracle_home in which the Diagnostics Pack is installed.  


Provide the login information needed in the Oracle Management Server Login dialog box.

The process of starting an application in Oracle Enterprise Manager is referred to as launching.

Because Oracle Trace uses the Oracle Enterprise Manager job subsystem to perform its tasks, the Oracle Management Server must be running at the same time as Oracle Trace.

Discovering Products

Oracle Trace Manager provides the user with a graphical navigator display of products and database services that are enabled for Oracle Trace data collection. These products and services reside on nodes that are managed by the Oracle Management Server. Products and services enabled with Oracle Trace calls are located or discovered by Oracle Trace Manager during the product discovery process.

The Oracle Trace discovery process gathers information on products and services enabled (instrumented) with Oracle Trace calls by submitting batch jobs to specific nodes through the Oracle Enterprise Manager Job system and Oracle Intelligent Agent. These jobs query the managed nodes for products enabled with Oracle Trace API calls and return the results to Oracle Trace Manager, which updates the repository and the Oracle Trace Manager graphical display. The user can only submit Oracle Trace collections for products and services that have been successfully discovered.


Note:

If you are discovering a node and an error occurs indicating an authentication error, you need to set the Oracle Enterprise Manager file preferences for the node to a valid user name and password. See the instructions on setting up the account to run jobs as a user in the Oracle Enterprise Manager Configuration Guide.  


When you invoke Oracle Trace for the first time, the tree list in the left pane of the Oracle Trace main window is empty; there are no entries under Collections. A message appears asking whether you want to perform an Oracle Trace discovery (see Figure 2-1).

Figure 2-1 Invoking Oracle Trace for the First Time


To discover products for the first time, click on the Yes button. At any other time, invoke Product=>Discovery. The Oracle Trace Discovery dialog box displays, as shown in Figure 2-2.

Figure 2-2 Product Discovery Dialog Box


The Oracle Trace Discovery dialog box contains the following fields and buttons:

Node

Select the nodes on which you want to perform the discovery. Only nodes that have Oracle Enterprise Manager agents running on them are displayed in the dialog box. For each selected node, the discovery process identifies whether Oracle Trace is installed on the node and what products are available for data collection. For products to be available for data collection, they must be instrumented with Oracle Trace calls.

Status

This field shows the status of the last discovery process that took place on the node or the status of the current discovery.

Last Discovered

This field lists when the last discovery took place for this node.

Continue

When you click the Continue button, Oracle Trace begins the discovery process. The Product Discovery Status box displays. This box provides a visual cue to the progress of the discovery and the results of the process.

Cancel

Click the Cancel button to stop the discovery process.

Help

Click the Help button to get help on the discovery process.

Select All

Click the Select All button to choose all the available nodes.

Clear All

Click the Clear All button to deselect the nodes.

Results of Discovery

After discovery has completed, you will see a list of discovered nodes and products. If you have created Oracle Trace collections on a node that fails Oracle Trace discovery, or if specific products or services fail discovery, the Oracle Trace navigator displays these collections and all associated products and services as disabled (grayed out).

Viewing the Oracle Trace Manager Main Window

When you launch Oracle Trace, the Oracle Trace Manager main window displays, as shown in Figure 2-3.

Figure 2-3 Oracle Trace Manager Main Window


The window consists of menus, panes, a toolbar, and a status bar. Use the menus and the toolbar to access Oracle Trace functionality. The status bar at the bottom of the window provides information relating to the task you are performing.

Left Pane

The left pane of the Oracle Trace main window provides a tree structure representing the hierarchy of the Oracle Trace objects. The top-most object in the tree structure is the Collections container. Expanding this container displays all of the nodes that have been discovered by Oracle Trace. Expanding each node displays the list of products and databases installed on that node that are available for Oracle Trace collection. Each product or database may contain one or more collections that have been executed, or are currently executing. Click on the plus sign (+) to expand the tree and the minus sign (-) to collapse the tree.

Right Pane

The right pane of the window displays information relevant to the object highlighted in the left pane. In general, this information provides details about active and completed Oracle Trace collections for a selected object in the tree. The information is based on data stored in Oracle Trace tables within the Oracle Enterprise Manager repository.


Note:

The repository is a set of tables stored in an Oracle database. For a more detailed description of the repository, refer to the Oracle Enterprise Manager Concepts Guide.  


Some or all of the following information is provided in the right pane of the Oracle Trace main window, depending on what is highlighted in the left pane:

Collection

The collection name.

Status

The current status of the collection: created, running, completed, formatting, scheduled, stopping, stopped, deleting files, deleted files, and unknown.

Node

The name of the node on which the collection was run.

Oracle Installation

The location of the set of products from which data is being collected.

Formatted

The format status of the collection data. The status is listed as Yes if all of the data has been formatted. If the status is listed as No, then the data has not been formatted.

Toolbar Icons

The Oracle Trace toolbar icons represent the items in the menus. The toolbar options (see Figure 2-4) are enabled depending on the objects selected in the tree list.

Figure 2-4 Toolbar Icons


The Oracle Trace icons are as follows:

Creates a collection. Click this icon to create a collection.

Creates a similar collection. Select a collection in the tree list, then click this icon to create a similar collection. This is the same as choosing the Collection=>Create Like... option.

Stops a collection. Select a collection in the tree list and click this icon to stop collecting event data.

Formats a collection. Select a collection in the tree list and click this icon to format a collection.

Deletes a collection from Oracle Trace Manager. Select a collection in the tree list and click this icon to delete the existing collection. This option also gives you the opportunity to delete the collection definition file, the data collection file, and formatted data.

Deletes the collection definition file (.cdf) and data collection file (.dat) for the selected collection.

Deletes formatted data. Select a collection with formatted data and click this icon to delete formatted data from the database.

Invokes Windows help mode. After clicking this icon, you can click the pulldown entry to see the object's context-sensitive help without invoking its command.

Viewing Oracle Trace Manager Menus

The following sections briefly describe the menus in Oracle Trace Manager. The menus are:

File Menu

The File menu contains the following option:

Exit

Exits the Oracle Trace application.

Collections that are currently running will continue to run until they are stopped, the maximum file size is reached (if one was specified when the collection was started), or the scheduled end time is reached.

Edit Menu

The Edit menu contains the following options:

Cut

Removes highlighted text and places it in a buffer for the Paste operation. You can use this option in the Collection Wizard.

Copy

Makes a copy of highlighted text to be pasted in another location. You can use this option in the Collection Wizard.

Paste

Places copied or cut text at the position of the cursor. You can use this option in the Collection Wizard.

Preferences...

Displays the Preferences dialog box in which you specify default format options used by the Collection Wizard.

View Menu

The View menu contains the following options:

Refresh

Forces Oracle Trace to update and validate against Oracle Enterprise Manager node and database information.

Toolbar

Enables or disables display of the toolbar in the Oracle Trace Manager main window. A check next to the Toolbar option indicates that the toolbar is enabled.

Status Bar

Enables or disables display of the Status bar in the Oracle Trace Manager main window. The Status bar displays status messages as actions are performed. A check next to the Status Bar option indicates that status messages are enabled.

Collection Menu

The Collection menu contains the following options:

Create...

Starts the Collection Wizard. Use this wizard to enter the information that Oracle Trace needs to create a collection.

Create Like...

Starts the Collection Wizard if a collection is highlighted in the left pane of the Oracle Trace Manager main window. The information from the highlighted collection is copied to the new collection. You can either accept or change this information.

Stop

Stops an active collection selected in the tree list.

Format...

Formats the collection data to a database.

View Formatted Data...

Starts the Oracle Trace Data Viewer application. This option is enabled when the collection highlighted in the right pane is a formatted collection.

Delete...

Deletes a collection from Oracle Trace Manager. Select a collection in the tree list and choose this option to delete the existing collection. This menu item also gives you the option to delete the collection definition file, the data collection file, and formatted data.

Delete Formatted Data...

Deletes formatted data. Select a collection with formatted data and click this option to delete formatted data from the database.

Delete Collection Files...

Deletes the collection definition file (.cdf) and the data collection file (.dat) for the selected collection.

Product Menu

The Product menu contains the following options:

Discovery...

Starts a process that identifies whether Oracle Trace is installed on a node, and if so, identifies what, if any, products enabled with Oracle Trace API calls are on that node.


Note:

Oracle Trace Manager uses the list of nodes known to the Oracle Enterprise Manager console.  


Create

Creates a new product definition file.

Edit

Edits an existing product definition file.


Note:

Your Oracle Trace Manager main window may not show the Product=>Create and the Product=>Edit menu options. These menu options contain functions needed only by application developers who will be creating new Oracle Trace product definition files. Therefore, the menu options are suppressed by default. For more information about invoking these menu options, see the Oracle Enterprise Manager Oracle Trace Developer's Guide.  


Help Menu

The Help menu contains the following options:

Contents

Provides a list of Oracle Trace help topics.

Search for Help On...

Displays a dialog box containing a scrollable list of index entries and keywords that you can search for in the help system.

Using Help

Displays information on using the Microsoft Windows help system.

About Oracle Trace Manager

Displays a dialog box containing version and copyright information about Oracle Trace Manager.




Prev

Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index