10 Monitoring Oracle Fusion Middleware

This chapter describes how to monitor Oracle Fusion Middleware using Oracle Enterprise Manager Fusion Middleware Control, Oracle WebLogic Server Administration Console, and the command line. It describes the following topics:

10.1 Monitoring the Status of Oracle Fusion Middleware

Monitoring the health of your Oracle Fusion Middleware environment and ensuring that it performs optimally is an important task for the administrator.

Oracle Fusion Middleware provides the following methods for monitoring the status of your environment:

  • You can monitor the status of Oracle WebLogic Server domains, servers, Java components, and applications using Oracle WebLogic Server Administration Console. From the Administration Console, navigate to the entity's page. See "Overview of the Administration Console" in the Oracle Fusion Middleware Introduction to Oracle WebLogic Server for information on monitoring using the console.

  • You can monitor the status of Oracle WebLogic Server domains, servers, Java components, system components, and applications using Fusion Middleware Control. Navigate to the entity's home page, for example, to the home page for an Oracle HTTP Server instance.

  • You can monitor the status of your environment using the command line.

    To monitor the status of Java components with the command line, use the WLST state command, using the following format:

    state(name, type)
    

    For example, to get the status of the Managed Server server1, use the following command:

    wls:/mydomain/serverConfig> state('server1','Server')
    Current state of "server1": SUSPENDED
    

    To monitor the status of system components with the command line, use the opmnctl status command, using the following format:

    opmnctl status  [scope] [options]
    

    For example, to view the status of all processes monitored by OPMN, use the following command:

    opmnctl status 
    

The following topics provide more detail:

10.1.1 Viewing General Information

You can view the overall status of the Oracle Fusion Middleware environment from the home page of the farm using Fusion Middleware Control. This page lists the availability of all components, an application deployment summary, including SOA composites, if any SOA composite applications are deployed.

To view the status, from the navigation pane, select the farm.

The farm home page is displayed, as shown in the following figure:

Description of status.gif follows
Description of the illustration status.gif

10.1.2 Monitoring an Oracle WebLogic Server Domain

You can view the status of a domain, including the servers, clusters, and deployments in the domain in the domain home page of Fusion Middleware Control:

  1. From the navigation pane, expand the farm, then WebLogic Domain.

  2. Select the domain.

    The domain home page is displayed, as shown in the following figure:

    Description of domainpage.gif follows
    Description of the illustration domainpage.gif

This page shows the following:

  • A general summary of the domain, along with a link to the Oracle WebLogic Server Administration Console

  • Information about the servers, both the Administration Server and the Managed Servers in the domain

  • Information about the clusters in the domain

  • Information about the deployments in the domain

See Also:

"Overview of the Administration Console" in the Oracle Fusion Middleware Introduction to Oracle WebLogic Server for information about monitoring an Oracle WebLogic Server domain using the Oracle WebLogic Server Administration Console. The Administration Console provides details about the health and performance of the domain.

10.1.3 Monitoring an Oracle WebLogic Server Administration or Managed Server

You can view the status of a WebLogic Server Administration Server or Managed Server in Fusion Middleware Control:

  1. From the navigation pane, expand the farm, then WebLogic Domain, and then the domain.

  2. Select the server.

    The server home page is displayed.

    The following figure shows the home page for a Managed Server:

    Description of serverpage.gif follows
    Description of the illustration serverpage.gif

This page shows the following:

  • A general summary of the server, including its state, and information about the servlets, JSPs, and EJBs running in the server

  • Response and load

  • Information about the applications deployed to the server

See Also:

"Overview of the Administration Console" in the Oracle Fusion Middleware Introduction to Oracle WebLogic Server for information about monitoring servers using the Oracle WebLogic Server Administration Console. The Administration Console provides details about the health and performance of the server.

10.1.4 Monitoring a Cluster

You can view the status of a cluster, including the servers and deployments in the cluster using Fusion Middleware Control.

To monitor a cluster:

  1. From the navigation pane, expand the farm, then WebLogic Domain, and then the domain.

  2. Select the cluster.

    The cluster page is displayed, as shown in the following figure:

    Description of cluster.gif follows
    Description of the illustration cluster.gif

    This page shows the following:

    • A general summary of the cluster, including broadcast channel, if appropriate, the load algorithm and the messaging mode.

    • A server section, with a table listing the servers that are part of the cluster.

    • A deployments section with information about the applications deployed to the cluster.

See Also:

"Overview of the Administration Console" in the Oracle Fusion Middleware Introduction to Oracle WebLogic Server for information about monitoring a cluster using Oracle WebLogic Server Administration Console. The Administration Console provides details about the health and performance of the cluster.

10.1.5 Monitoring a Component

You can view the status of a component, including whether the component is started, in the component home page in Fusion Middleware Control.

To monitor a Java component, such as WebCenter Spaces:

  1. From the navigation pane, expand the farm, then the type of component, such as WebCenter, then the component, such as WebCenter Spaces.

  2. Select the component. For example, select WebCenter Spaces.

    The component home page is displayed, as shown in the following figure:

    Description of comppage.gif follows
    Description of the illustration comppage.gif

See Also:

"Overview of the Administration Console" in the Oracle Fusion Middleware Introduction to Oracle WebLogic Server for information about using the Oracle WebLogic Server Administration Console to monitor Java components.

To monitor system components, such as Oracle HTTP Server:

  1. From the navigation pane, expand the farm, then Web Tier.

  2. Select the component, such as ohs1.

    The component home page is displayed.

    Description of opmn_comppage.gif follows
    Description of the illustration opmn_comppage.gif

10.1.6 Monitoring Java EE Applications

To monitor a Java EE application using Fusion Middleware Control:

  1. From the navigation pane, expand Application Deployments, then select the application to monitor.

    The application's home page is displayed.

  2. In this page, you can view a summary of the application's status, entry points to the application, Web Services and modules associated with the application, and the response and load.

    The following figure shows a portion of the application's home page:

    Description of app_home.gif follows
    Description of the illustration app_home.gif

This page shows the following:

  • A summary of the application, including its state, the Managed Server on which it is deployed, and information about active sessions, active requests, and request processing time

  • Entry points, including any Web modules and Web services

  • A list of modules with the type of module for each

  • Response and load, which shows the requests per second and the request processing time

  • A list of most requested servlets and JSPs

10.1.7 Monitoring ADF Applications

To monitor an ADF application:

  1. From the navigation pane, expand Application Deployments, then select the application to monitor.

    The application's home page is displayed.

  2. In this page, you can view a summary of the application's status, entry points to the application, Web Services and modules associated with the application, and the response and load.

10.1.8 Monitoring SOA Composite Applications

To monitor a SOA composite application:

  1. From the navigation pane, expand SOA, then soa-infra. Select the application to monitor.

    The application's home page is displayed.

  2. From this page, you can monitor the running instances, faults and rejected messages, and component metrics.

    The following figure shows part of a SOA composite home page:

    Description of soa_app.gif follows
    Description of the illustration soa_app.gif

This page, with the Dashboard tab selected, shows the following:

  • The recent instances

  • Recent faults and rejected messages

  • Component metrics

10.1.9 Monitoring Oracle WebCenter Applications

To monitor an Oracle WebCenter application:

  1. From the navigation pane, expand Application Deployments, then select the application to monitor.

    The application's home page is displayed.

  2. In this page, you can view a summary of the application's status, entry points to the application, Web Services and modules associated with the application, and the response and load.

  3. To view service metrics, from the Application Deployment menu, choose Web Center, then Service Metrics.

    The following figure shows the Service Metrics page:

    Description of webcenter_app.gif follows
    Description of the illustration webcenter_app.gif

10.2 Viewing the Performance of Oracle Fusion Middleware

If you encounter a problem, such as an application that is running slowly or is hanging, you can view more detailed performance information, including performance metrics for a particular target, to find out more information about the problem.

Oracle Fusion Middleware automatically and continuously measures run-time performance. The performance metrics are automatically enabled; you do not need to set options or perform any extra configuration to collect them.

Note that Fusion Middleware Control provides real-time data. If you are interested in viewing historical data, consider using Oracle Enterprise Manager 10g Grid Control.

For example, to view the performance of an Oracle WebLogic Server Managed Server:

  1. From the navigation pane, expand the farm, then WebLogic Domain, and then the domain.

  2. Select the server to monitor.

    The Managed Server home page is displayed.

  3. From the WebLogic Server menu, choose Performance Summary.

    The Performance Summary page is displayed. It shows performance metrics, as well as information about response time and request processing time for applications deployed to the Oracle WebLogic Server.

  4. To see additional metrics, click Show Metric Palette and expand the metric categories.

    The following figure shows the Performance Summary page with the Metric Palette displayed:

    Description of metrics.gif follows
    Description of the illustration metrics.gif

  5. Select additional metrics to add them to the Performance Summary.

  6. To overlay another target, click Overlay, and select the target. The target is added to the charts, so that you can view the performance of more than one target at a time, comparing their performance.

  7. To customize the time frame shown by the charts, you can:

    • Click Slider to display a slider tool that lets you specify that more or less time is shown in the charts. For example, to show the past 10 minutes, instead of the past 15 minutes, slide the left slider control to the right until it displays the last 10 minutes.

    • Select the calendar and clock icon. Then, enter the Start Time and End Time.

You can also view the performance of a components, such as Oracle HTTP Server or Oracle SOA Suite. Navigate to the component and select Monitoring, then Performance Summary from the dynamic target menu.

10.3 Viewing the Routing Topology

Fusion Middleware Control provides a Topology Viewer for the farm. The Topology Viewer is a graphical representation of routing relationships across components and elements of the farm. You can easily determine how requests are routed across components. For example, you can see how requests are routed from Oracle Web Cache, to Oracle HTTP Server, to a Managed Server, to a data source.

Note:

To view relationships between Oracle WebLogic Server, Oracle Web Cache, and Oracle HTTP Server, each target must be running and show its status as Up.

The Topology Viewer enables you to easily monitor your Oracle Fusion Middleware environment. You can see which entities are up and which are down.

You can also print the topology or save it to a .png file.

To view the topology using Fusion Middleware Control:

  1. Click Topology.

    The Topology Viewer is displayed in a separate window.

  2. To see information about a particular target, place your mouse over the target. To view additional information, click More.

    The following shows the Topology Viewer window, with information about the Oracle Web Cache component webcache1:

    Description of topoview.gif follows
    Description of the illustration topoview.gif

  3. From the View menu, you can save or print the image, expand or collapse all of the nodes, or change the orientation of the topology to be left to right or top to bottom.

    In addition, you can refresh the status and the metrics or update the topology. To refresh the status and metrics, click Refresh Target Status and Metrics. To update the topology shown in the viewer, click Update Topology. If a target has been added or deleted, the target list and relationships are updated. This option also updates the status and metrics.

  4. From the Refresh dropdown, you can refresh manually, or you can enable automatically refreshing the status and metrics, every minute, every five minutes, or every thirty minutes. By default, the Topology Viewer refreshes the metrics every 5 minutes.

  5. With Topology Viewer, you can also:

    • Search for a target within the topology. This makes it easier to find a target if you have many targets. Enter the name in the Find box. The target is highlighted and the topology is repositioned so you can see the target if it was not previously visible in the viewing area.

      You can also specify criteria for the search. From Find, choose the one or more types of Status or one or more of Target Type, or both.

    • View the targets by status. Choose Up, Down, or Unknown from the Target Status at the top of the page.

    • Navigate to the home page of a target. Right-click the target, and select Home.

    • Hide or show the status or metrics. Click Status or Metrics in the Overlays section.

      If you select Metrics, one key performance metric for the component is displayed. (You cannot change the metric that is displayed.)

    • View the routing relationships between components. For example, you can view the routing from Oracle Web Cache to Oracle HTTP Server to Oracle WebLogic Server.

    • You can perform operations directly on the target by right-clicking. The right-click target menu is displayed. For example, from this menu, you can start or stop an Oracle WebLogic Server or view additional performance metrics.

  6. To change what is visible in the topology view, drag the shaded section in the navigator window, which is located in the bottom right.

Notes:

  • If you use Mozilla Firefox, when you click an entity in Topology Viewer to take you back to the main Fusion Middleware Control window, focus is not returned to the main window. For example, if you right-click an entity and select logs from menu, the focus remains on the Topology Viewer window. (If you go back to the main window, the Logs page is correctly displayed.)

    To workaround this problem, make the following change in Firefox:

    From the Tools menu, select Options, and then Content. Click Advanced. In the Advanced JavaScript Settings dialog box, select Raise and lower windows.

  • If you use Internet Explorer, turn off the Always Open Popups in New Tab option.