13
Managing and Monitoring Oracle9iAS Reports Services
Oracle Enterprise Manager (OEM), included with Oracle9iAS, provides managing and monitoring services to Oracle9iAS Reports Services.
Use OEM to:
Oracle9iAS installation automatically identifies Reports Servers and registers them with OEM. All you do is start OEM and start managing. If you add Reports Servers to your environment after you have installed Oracle9iAS, you must manually add the new Reports Server(s) to OEM's targets.xml
file.
This chapter describes the managing and monitoring capabilities of OEM as they relate to Oracle9iAS Reports Services and tells you how to add a Reports Server to OEM's targets.xml
file. It includes the following main sections:
13.1 Navigating to Reports Services Information in OEM
To navigate to Reports Services Information in OEM:
Note::
Before you launch the Enterprise Manager Console, you must first install and configure a management server. For instructions on how to do this, see Chapter 3 of the Oracle Enterprise Manager Configuration Guide, available on the Oracle9iAS documentation CD and on the Oracle Technology Network (http://otn.oracle.com).
|
- Launch the Enterprise Manager Console. For more information on how to launch the console, refer to your Enterprise Manager documentation.
- In the Console, click the Oracle9iAS node.
- On the Oracle9iAS home page, click a Reports Server node to open its OEM main page.
13.2 Starting, Stopping, and Restarting Reports Servers
Once a Reports Server is registered in OEM, you can go through OEM to stop, start, and restart a given server.
Note:
Reports Servers are automatically registered with OEM during installation of Oracle9iAS. If you add any Reports Servers after installing Oracle9iAS, you must register the new server(s) manually in OEM's targets.xml file. For more information, see Section 13.7, "Adding a Reports Server to OEM".
|
To start, stop, or restart a Reports Server:
- In OEM, navigate to the Reports Server you want to manage.
- On the Reports Server's main OEM page:
- Click the Start button to start the server.
- Click the Stop button to stop the server.
- Click the Restart button to restart the server.
These buttons appear on a Reports Server's main OEM page according to the server's current state:
- When the server is down, the Start and Stop buttons display.
- When the server is up, the Restart and Stop buttons display.
13.3 Viewing and Managing Reports Job Queues
OEM provides a page for viewing and managing Reports job queues. Each queue, Current, Scheduled, Failed, and Finished Jobs, has its own page. With some of the information, you can drill down to a greater level of detail. For example, on the Finished Jobs page, you can drill down to trace information or a Web view of report output (obtained from the Reports Server cache).
The following sections describe:
13.3.1 Viewing and Managing the Current Jobs Queue
The Reports Current Jobs queue lists all jobs currently running on a particular Reports Server.
Use OEM for:
13.3.1.1 Viewing a Report Server's Current Jobs Queue
To view a Current Jobs Queue:
- In OEM, navigate to the Reports Server you want to manage.
- On the Reports Server's main page, scroll down to the Response and Load section and click the number next to Current Jobs.
If there are no current jobs in the Current Jobs Queue, there will be no link, and you will not be able to view the empty queue.
Table 13-1 lists and describes information provided in the Current Jobs Queue.
Table 13-1 Information provided in the Current Jobs Queue
13.3.1.2 Cancelling a Current Job
To cancel a current job:
- On the Current Jobs Queue page, click the Select radio button next to the job you want to cancel.
- Click the Cancel Job button.
This button does not display in OEM if there are no currently running jobs.
If you wish to rerun the job, you can do so from the Finished Jobs queue.
13.3.2 Viewing and Managing the Scheduled Jobs Queue
The Reports Scheduled Jobs Queue lists all jobs scheduled to run on a particular Reports Server.
Use OEM for:
13.3.2.1 Viewing a Report Server's Scheduled Jobs Queue
To view a Scheduled Jobs Queue:
- In OEM, navigate to the Reports Server you want to manage.
- On the Reports Server's main page, scroll down to the Response and Load section and click the number next to Scheduled Jobs.
If there are no scheduled jobs in the Scheduled Jobs Queue, there will be no link, and you will not be able to view the empty queue.
Table 13-2 lists and describes information provided in the Scheduled Jobs Queue.
Table 13-2 Information provided in the Scheduled Jobs Queue
13.3.2.2 Cancelling a Scheduled Job
To cancel a scheduled job:
- On the Scheduled Job Queue page, click the Select radio button next to the job you want to cancel.
- Click the Cancel Job button.
This button does not display in OEM if there are no scheduled jobs.
If you wish to rerun the job, you can do so from the Finished Jobs queue.
13.3.3 Viewing and Managing the Finished Jobs Queue
The Reports Finished Jobs queue lists all successfully completed jobs on a particular Reports Server.
Use OEM for:
13.3.3.1 Viewing a Report Server's Finished Jobs Queue
To view a Finished Jobs Queue:
- In OEM, navigate to the Reports Server you want to manage.
- On the Reports Server's main page, scroll down to the Response and Load section and click the number next to Finished Jobs.
If there are no finished jobs in the Finished Jobs Queue, there will be no link, and you will not be able to view the empty queue.
Table 13-3 lists and describes information provided in the Finished Jobs Queue.
Table 13-3 Information provided in the Finished Jobs Queue
13.3.3.2 Viewing a Job's Trace File
To view a job's trace file:
- In the Select column on a Finished Jobs Queue page, click the radio button next to the finished job whose trace file you want to view.
- Click the View Trace button near the top of the page.
13.3.3.3 Viewing a Result from Cache
To view a job result from the Report Server cache:
- In the Select column on a Finished Jobs Queue page, click the radio button next to the finished job you want to view.
- Click the View Result button near the top of the page.
The result opens in a second browser window.
13.3.3.4 Rerunning a Finished Job
To rerun a job:
- In the Select column on a Finished Jobs Queue page, click the radio button next to the finished job you want to rerun.
- Click the Rerun Report button near the top of the page.
13.3.4 Viewing and Managing the Failed Jobs Queue
The Reports Failed Jobs queue lists all jobs that were cancelled or terminated with error on a particular Reports Server.
Use OEM for:
13.3.4.1 Viewing a Report Server's Failed Jobs Queue
To view a Failed Jobs Queue:
- In OEM, navigate to the Reports Server you want to manage.
- On the Reports Server's main page, scroll down to the Response and Load section and click the number next to Failed Jobs.
If there are no failed jobs in the Failed Jobs Queue, there will be no link, and you will not be able to view the empty queue.
Table 13-4 lists and describes information provided in the Failed Jobs Queue.
Table 13-4 Information provided in the Failed Jobs Queue
13.3.4.2 Viewing a Failed Job's Trace File
To view a failed job's trace file:
- In the Select column on a Failed Jobs Queue page, click the radio button next to the failed job whose trace file you want to view.
- Click the View Trace button near the top of the page.
13.3.4.3 Rerunning a Failed Job
To rerun a failed job:
- In the Select column on a Failed Jobs Queue page, click the radio button next to the failed job you want to rerun.
- Click the Rerun Report button near the top of the page.
13.4 Monitoring Server Performance
Each Reports Server registered in OEM has its own home page that summarizes general information about the server's status and performance. The sections that provide information about performance are Reports Server, Performance, and Administration:
- The Reports Server section is subdivided into General, Configuration, Status, and Response and Load:
- General provides information on the Reports Server's installed version number, whether the server is up or down, and, if it's up, the date and time the server was started. It includes buttons for stopping, starting, and restarting the server. Which buttons show depends on whether the server is up or down.
- Configuration provides the selected Reports Server's cluster name, if it is a member of a cluster; the trace option and mode specified in its configuration file; and the maximum number of jobs that can be held at one time in the Reports Server queue (this includes the total of the current, scheduled, and finished and failed jobs queues). All of these are configurable values.
- Status lists the current number of active engines on the selected Reports Server, the amount of the host machine's CPU and RAM the selected server is currently using, and the average number of milliseconds is takes for the selected Reports Server to process a request from the client.
- Response and Load provides information about the number of current, failed, finished, and scheduled jobs.
- The Performance section provides links to detailed performance information. Each link takes you to a different section of the same Performance page:
- Response Metrics provides details about average response time; scheduled, finished, current, and failed jobs in the Job Queue; and the number of jobs transferred from one server to another in a clustered environment.
- Engine Information lists the types and numbers of currently running engines on the selected Reports Server.
- System Usage Metrics provides the percentage of CPU and number of megabytes of RAM currently being used by the selected Reports Server.
- The Administration section provides links to detailed information about the selected Reports Server's current configuration properties and views of the server's trace and log files:
- Server Configuration leads to an editable view of the selected Reports Server's configuration file. Here you can alter the file, check file syntax, and save your changes. Changes take effect after the next server restart. (For more information, see Section 13.5, "Viewing and Changing Reports Server Configuration Files". See also Chapter 3, "Configuring Oracle9iAS Reports Services".
- Server Trace leads to the results of any trace you ran on the selected Reports Server. Specify whether you will use the Trace option in the Reports Server's configuration file, available through the Server Configuration link.
- Server Log leads to a log of general server events, such as when the selected Reports Server was started and stopped.
13.5 Viewing and Changing Reports Server Configuration Files
To view and change a Reports Server's configuration file through OEM:
- On a selected Reports Server's home page, click the Server Configuration link under the Administration heading.
- Make your changes in the display window.
- Click the Check Syntax button to check your XML syntax.
Note:
Clicking this button does not validate the values you enter for configuration elements. For example, if an element requires that you specify a directory path, syntax checking does not validate the accuracy of your path. It just validates the XML syntax.
|
- Click the Save Changes button to save your changes.
Changes take effect after the next server startup or restart.
13.6 Viewing and Linking to Server Cluster Members
When you cluster Reports Servers together, it's reflected on each cluster member's home page in OEM under the Other Servers Running in This Cluster heading. Each listed cluster member links to the home page for that member.
Table 13-5 lists and describes the information the Other Servers ... section provides for each cluster member:
Table 13-5 Information under the Other Servers Running in this Cluster Heading
13.7 Adding a Reports Server to OEM
During Oracle9iAS installation, Reports Servers are automatically registered with OEM. If you add a Reports Server after you have installed Oracle9iAS, you must manually register the server with OEM if you want OEM to manage it. This section describes how to edit the targets.xml
file that contains registration information for OEM targets.
Note:
A target in OEM is a component that OEM manages. For example, a Reports Server that is registered in OEM is considered an OEM target.
|
To register a target with OEM:
- Open the
targets.xml
file in your XML editor of choice.
You'll find targets.xml
in the following directory path on both Windows and UNIX:
ORACLE_HOME\sysman\emd\targets.xml
- Using the following syntax, enter information for the Reports Server you are adding:
<target type="oracle_repserv" name="Reports_Server_name"
<property name="password" value="password_value
" encrypted="false"/>
<property name="server" value="Reports_Server_name"/>
<property name="servlet" value="http_URL_to_Reports_Servlet
/rwservlet
"/>
<property name="userName" value="default_userid
"/>
<property name="oracleHome" value="ORACLE_HOME
"/>
<property name="host" value="domain_of_host_machine
"/>
<compositeMembership>
<memberOf type="oracle_ias" name="ias-1" association="null"/>
</compositeMembership>
</target>
For example:
<target type="oracle_repserv" name="rep_disun1813
"
<property name="password" value="tiger
" encrypted="false"/>
<property name="server" value="rep_disun1813
"/>
<property name="servlet"
value="http://machinename-pc2.us.oracle.com/servlet/rwservlet"/>
<property name="userName" value="scott
"/>
<property name="oracleHome" value="d:\ora11
"/>
<property name="host" value="dlsun1813.us.oracle.com
"/>
<compositeMembership>
<memberOf type="oracle_ias" name="ias-1" association="null"/>
</compositeMembership>
</target>
Note:
The user name and password are for the Reports Services administrator account. In a non-secure environment, the user name and password correspond to the <identifier> element in the Reports Server configuration file, <server_name>.conf. In a secure environment, they correspond to the Reports Services administrator account created in Oracle9iAS Portal or Oracle Internet Directory (OID), which belongs to the RW_ADMINISTRATOR group.
Initially, the password entry in the targets.xml file should be set to encrypted="false" . OEM will encrypt the value and reset encrypted to "true" .
|
- Save the targets.xml file, and restart OEM to make your changes take effect.