11 Monitoring Oracle Fusion Middleware

You can monitor Oracle Fusion Middleware using Fusion Middleware Control, Oracle WebLogic Server Administration Console, and the command line.

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:

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

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

  • The command line: You can monitor the status of your environment using the WLST state command.

Most of the monitoring tasks in this chapter describe how to monitor using Fusion Middleware Control or the command line.

The following topics provide more detail:

Monitoring an Oracle WebLogic Server Domain

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

  1. From the WebLogic Domain menu, select Home.

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

    This page shows the following:

    • The name of the Administration Server and the host on which it is located.

    • A table listing information about the servers in the domain. The table contains the columns Name, Status, Server Type, Host, Cluster, Listen Port, CPU Usage, and Heap Usage.

  2. For more specific monitoring information about the domain, from the WebLogic domain menu, select Monitoring, then other subcategories, such as performance summary, health, or deployments.

For information about monitoring an Oracle WebLogic Server domain using the Oracle WebLogic Server Administration Console, see Overview of the Administration Console in Understanding Oracle WebLogic Server. The Administration Console provides details about the health and performance of the domain.

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 domain.
  2. Select the server.

    The server home page is displayed.

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

    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

  3. For more specific monitoring information about the server, from the WebLogic Server menu, select Monitoring, then other subcategories, such as performance summary, health, or deployments.

For information about monitoring servers using the Oracle WebLogic Server Administration Console, see Overview of the Administration Console in Understanding Oracle WebLogic Server. The Administration Console provides details about the health and performance of the server.

Monitoring a Cluster

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

  1. From the navigation pane, expand the domain.
  2. Select the cluster.

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

    This page shows general information about the cluster, including the cluster messaging mode, response and load and information about servlets and JSPs.

  3. To see a summary of the status of the servers in the cluster, rom the WebLogic Cluster menu, select Monitoring, then Summary.
  4. For more specific monitoring information about the cluster, from the WebLogic Cluster menu, select Monitoring, then other subcategories, such as Performance Summary, Health, or Deployments.

Monitoring a Java Component

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

To monitor a Java component, such as Oracle SOA SuiteOracle Enterprise Scheduler:

  1. From the navigation pane, expand the type of component, such as SOA, then soa-infra.
  2. Select the component. For example, select soa-infra.

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

    This page shows general information about the component, including its state and key metrics. The information shown depends on the type of component.

  3. For more specific monitoring information about the component, from the component menu, select Monitoring, then performance summary.

Monitoring a System Component

To monitor a system component, such as Oracle HTTP Server:

  1. From the navigation pane, expand the component type, such as HTTP Server.
  2. Select the component, such as ohs1.

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

This page shows the following:

  • A General section with basic information about the component, such as name and state

  • A response and load section, which shows the requests per second and the request processing time

  • CPU and memory usage

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 the application's home page:

This page shows a summary of the application, including its state

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.

    You can view the following information in the application’s home page:

    • 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

    • Deployments, which lists the servers on which the application is deployed

    • A list of modules with the type of module for each, EJB Components, and web services

    • A list of data sources

  2. To view health of the environment, from the Application Deployments menu, choose Monitoring, then Environment Monitoring. The Environment Monitoring page is displayed.

    It contains tabs for Health, Query Caching, Workload, and Coherence.

    For more information about monitoring ADF applications, see Monitoring and Configuring ADF Applications Using Fusion Middleware Control in Administering Oracle ADF Applications.

Monitoring the SOA Infrastructure and SOA Composite Applications

To monitor the SOA Infrastructure and SOA composite applications, see the following:

Monitoring Oracle WebCenter Portal Applications

To monitor Oracle WebCenter Portal applications, see Monitoring WebCenter Portal in Administering Oracle WebCenter Portal.

Monitoring Applications Deployed to a Cluster

If you deploy an application to a cluster, Oracle Fusion Middleware automatically deploys the application to each Managed Server in the cluster. As a result, there is an instance of the application on each server.

There are times when you want to monitor the performance of the application on an individual server, and times when you want to monitor the overall performance of the application across all the servers in the cluster.

For example, normally, you would manage the overall performance of the application to determine if there are any performance issues affecting all users of the application, regardless of which instance users access. If you notice a performance problem, you can then drill down to a specific instance of the application to determine if the problem is affecting one or all of the application instances in the cluster.

Fusion Middleware Control provides monitoring pages for both of these scenarios:

  1. From the navigation pane, expand Application Deployments.

    Fusion Middleware Control lists the applications deployed in the current domain.

  2. If an application has been deployed to a cluster, expand the application in the navigation pane. Fusion Middleware Control shows that it is deployed to the cluster to indicate that it represents more than one instance of the application on the cluster:
  3. Monitor the overall performance of the application on the cluster by clicking the cluster application, or monitor the performance of the application on a single server by clicking one of the application deployment instances.

Monitoring the Status of Components Using the Command Line

To monitor the status of components using the WLST command line:

  • For Java components, use the WLST state command, with 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, use the WLST state command, with the following format:

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

    To monitor the status of system components, use the WLST state command, with the following format:

    state('component_name')]
    

    For example, to view the status ohs1, use the following command:

    state('ohs1')]

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 Grid Control.

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

  1. From the navigation pane, expand the domain.
  2. Select the server to monitor.

    The Managed Server home page is displayed.

  3. From the WebLogic Server menu, choose Monitoring, then 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 part of the Performance Summary page with the Metric Palette displayed. Scroll down on the left pane to see more metrics.

  5. Select a metric to add it to the Performance Summary.
  6. You can compare one server with another by selecting Compare, then With Another Oracle WebLogic Server. 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. If there is no data available for those times, a confirmation message displays, explaining the timeline will be automatically adjusted to the time period for which the data is available.

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.