Sun Java System Portal Server 7.1 Technical Overview
只搜寻这本书
以 PDF 格式下载本书 (680 KB)

Chapter 7 Understanding Portal Server Reports

This chapter describes how Portal Server provides information about end-user behavior, servers, and log activities.

This chapter provides the following sections:

Tracking Portal User Behavior

Administrators can diagnose, troubleshoot, and analyze issues related to end-user activities and end-user interaction with various portal system components. User behavior tracking (UBT) follows end-user clicks on the standard Desktop and logs the information in external data stores. The Portal Server user behavior tracking API is an implementation of the JSR 47: Logging API Specification.

Portal Server's user behavior tracking conforms to the ELF (extended log format) standards defined by the World Wide Web Consortium (W3C). To analyze end-user data, administrators can use the management console or other tools.

Portal Server provides these reports about user behavior:

  • Portal User Identity Report - Lists end users and times end users last accessed the Desktop. Groups end users by server, domain, and relative DN.

  • Portal User Login Rate - Reports login activity rates.

  • Portal Channel View Report - Lists which end users viewed a channel and the number of times end users viewed the channel. Groups channels by the containers channels belong to.

  • User Customization of Portal Containers - Reports end-user changes to containers, including Desktop content, layout and theme alterations.

  • Portal Request Rate - Reports the rate of request of each top container per hour over a period of time.

  • User Customization of Portal Channels - Lists end users and actions end users performed on channels.

  • Portlet Actions Report - Provides the rate of portlet action requests in the portal.

  • Portlet Render Report - Reports the number of times a portlet is displayed in a particular portlet mode or window state.

Monitoring Portal Server Performance

Monitoring provides runtime information about Portal Server's Desktop and Secure Remote Access components. The framework for maintaining system statistics is based on JavaTM Management Extensions (JMXTM) technology.

Information collected from monitoring these components can help portal administrators do the following:

  • Make appropriate tuning decisions

  • Establish reliable benchmarks

  • Deploy additional portal instances to support increased end-user activity on a portal

  • Configure alarms to flag significant events (such as server thread pools reaching 95% utilization)

The Portal Server management console provides pages for configuring and generating reports about the how the Desktop and Secure Remote Access components perform. Administrators can use the command-line interface to perform other monitoring tasks. For information, see the Sun Java System Portal Server 7.1 Command-Line Reference.

Logging Portal Server Data

The Portal Server logging API is an implementation of the JSR 47: Logging API Specification. Each Portal Server application has its own configuration file. Portal administrators can do the following:

  • Associate a configuration file with its corresponding application

  • Make specific configuration changes that affect only that application

  • Achieve easier cleanup of applications

By default, the log file directory is /var/opt/sun/portal/portals/portal1/logs/portal-server-instance. The com.sun.portal.log.config.file properties file provides the default configuration of the logging system. Administrators can specify the location and names of the portal log files specified in this file.

Administrators can define the following logging attributes:

  • Maximum size of the log file

  • Number of history files

  • Type of log level

Application Log Configuration Files

Each Portal Server application has at least one log configuration file associated with it. This topic lists file names for the following applications:

Portal Instance

The log configuration file name is:

  • portal_server_data_directory/portals/portal_ID/config/PSLogConfig.properties

    Example: /var/opt/SUNWportal/portals/myPortal/config/PSLogConfig.properties

The log file location is:

  • portal_server_data_directory/portals/portal_ID/logs/instance_ID

    Example: /var/opt/SUNWportal/portals/myPortal/logs/myInstance/

By default, one file is created. The file name is portal.0.0.log.

Portlet Applications

The log configuration file name is:

  • portal_server_data_directory/config/portal_ID/config/PSLogConfig.properties

    Example: /var/opt/SUNWportal/portals/myPortal/config/PSLogConfig.properties

The log file location is:

  • portal_server_data_directory/portals/portal_ID/logs/instance_ID

    Example: /var/opt/SUNWportal/portals/myPortal/logs/myInstance/

By default, one file is created. The file name is portal.0.0.log. The content is logged through PortletContext.log().

Search Application

The log configuration file name is:

  • portal_server_data_directory/searchserver/search_ID/config/SearchLogConfig.properties

    Example: /var/opt/SUNWportal/searchserver/mySearch/config/SearchLogConfig.properties

The log file location is:

  • portal_server_data_directory/searchserver/search_ID/logs/

    Example: /var/opt/SUNWportal/searchserver/mySearch/logs/

By default, three files are created. The file names are:

  • rdmserver.0.0.log

  • rdm.0.0.log

  • rdmgr.0.0.log

Administrative CLIs

The log configuration file name is:

  • portal_server_configuration_directory/PSAdminLogConfig.properties

    Example: /etc/opt/SUNWportal/PSAdminLogConfig.properties

The log file location is:

  • portal_server_data_directory/logs/admin/

    Example: /var/opt/SUNWportal/logs/admin/

By default, one file is created. The file name is portal.admin.cli.0.0.log.

Portal Administration Server

The log configuration file name is:

  • portal_server_configuration_directory/PSAdminLogConfig.properties

    Example: /etc/opt/SUNWportal/PSAdminLogConfig.properties

The log file location is:

  • portal_server_data_directory/logs/admin/

    Example: /var/opt/SUNWportal/logs/admin/

By default, one file is created. The file name is portal.0.0.log.

Management Console

The log configuration file name is:

  • portal_server_data_directoryportals/portal_ID/config/PSLogConfig.properties

    Example: /var/opt/SUNWportal/portals/myPortal/config/PSLogConfig.properties

The log file location is:

  • portal_server_data_directory/logs/admin/

    Example: /var/opt/SUNWportal/logs/admin/

By default, one file is created. The file name is portal.admin.console.0.0.log.

Secure Remote Access Gateway

The log configuration file name is:

  • portal_server_configuration_directory/platform.conf.profile

    Example: /etc/opt/SUNWportal/platform.conf.default

The log file location is:

  • portal_server_data_directory/logs/sra/profile/

    Example: /var/opt/SUNWportal/logs/sra/default/

By default, one file is created. The file name is portal.gateway.0.0.log.

Netlet Proxy

The log configuration file name is:

  • portal_server_configuration_directory/platform.conf.profile

    Example: /etc/opt/SUNWportal/platform.conf.default

The log file location is:

  • portal_server_data_directory/logs/sra/profile/

    Example: /var/opt/SUNWportal/logs/sra/default/

By default, one file is created. The file name is portal.nlproxy.0.0.log.

Rewriter Proxy

The log configuration file name is:

  • portal_server_configuration_directory/platform.conf.profile

    Example: /etc/opt/SUNWportal/platform.conf.default

The log file location is:

  • portal_server_data_directory/logs/sra/profile/

    Example: /var/opt/SUNWportal/logs/sra/default/

By default, one file is created. The file name is portal.rwproxy.0.0.log.