Oracle Enterprise Manager Oracle Trace User's Guide
Release 1.4.0

A53696_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.

To date, Oracle Corporation has instrumented two products with the Oracle Trace data collection API: Oracle Server release 7.3 and higher and SQL*Net release 2.3 and higher.

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

This chapter includes the following:

Starting Oracle Trace

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

The process of starting an application in OEM is referred to as launching.

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

Note:

For further information on the Oracle Enterprise Manager, refer to the Oracle Enterprise Manager documentation set.  

Viewing the Oracle Trace Manager Main Window

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

Figure 2-1 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 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 the nodes that have been discovered by Oracle Trace. Expanding each node displays a list of products and databases that are instrumented. 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: active, inactive, or stopped.

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 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-2) are enabled depending on the objects selected in the tree list.

Figure 2-2 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. Select a collection in the tree list and click this icon to delete the existing collection.

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. When in help mode, 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 the 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.

Note:

On Windows NT systems, if you are running Oracle Trace collections and an error occurs indicating Oracle Trace could not access memory, the collect.dat file has become full. You must wait for the collection to be completed, or if no Oracle Trace collections are running, create a new .dat file by running the otrccref.exe image.  

Edit Menu

The Edit menu contains the following options:

Cut

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

Copy

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

Paste

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

Preferences...

Displays the Preferences dialog box in which you identify 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 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 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.

Delete...

Deletes a collection. Select a collection in the tree list and click this icon to delete the existing collection.

Delete Formatted Data...

Deletes formatted data. Select a collection with formatted data and click this icon 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, instrumented products 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.

Discovering Products

The 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 Enterprise Manager console. Products and services enabled with Oracle Trace calls are located or discovered by the Oracle Trace Manager during the product discovery process.

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 displays asking whether you want to perform an Oracle Trace discovery (see Figure 2-3).

Figure 2-3 Invoking Oracle Trace for the First Time

The Oracle Trace discovery process gathers information on products and services enabled 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 instrumented product information and return the results to the 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 Windows NT node and an error occurs indicating a failure to authenticate user, you need to create an NT user account for the job and to set the file preferences for the account. See the instructions on creating an NT user account and setting up the account to run jobs as an NT user in the Oracle Enterprise Manager Installation Guide.  

If the user has 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).

To populate the tree list with products that are instrumented with Oracle Trace, you must tell Oracle Trace to discover these products.

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-4.

Figure 2-4 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.

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 dialog box displays. This dialog 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.

Troubleshooting

If you encounter a problem while using the Oracle Trace Manager, do the following:

For general information about causes and actions for most Oracle Trace messages, see the Oracle Enterprise Manager Messages Manual.

Note:

Specific to Oracle Server collections. In Oracle8 databases, the ORACLE_TRACE_ENABLE parameter in the INITsid.ORA file on the server must be set to TRUE before the database is started.  




Prev

Next
Oracle
Copyright © 1997 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index