Exit Print View

Sun OpenDS Standard Edition 2.2 Administration Guide

Get PDF Book Print View
 

Document Information

Before You Start

Starting and Stopping Your Server Instance

Configuring the Server Instance

Configuring the Proxy Components

Configuring Security Between Clients and Servers

Configuring Security Between the Proxy and the Data Source

Configuring Servers With the Control Panel

Managing Directory Data

Replicating Directory Data

Controlling Access To Data

Managing Users and Groups

Monitoring Sun OpenDS Standard Edition

Configuring Monitor Providers

To View Monitor Providers

To Disable a Monitor Provider

To Create a Monitor Provider

Configuring Logs With dsconfig

Log Configuration Overview

Configuring Log Publishers

To Create a Log Publisher

Logging Internal Operations

Configuring Log Retention Policies

To Create a Log Retention Policy

To Modify a Log Retention Policy

Configuring Log Rotation Policies

To Create a Log Rotation Policy

Configuring Debug Targets

To Create a Debug Target

To Modify a Debug Target

Logging Access Control Information

Differences Between Logging in Sun OpenDS Standard Edition and Sun Java System Directory Server

Configuring Alerts and Account Status Notification Handlers

Managing Alert Handlers

To View All Configured Alert Handlers

To Enable an Alert Handler

To Create a New Alert Handler

To Delete an Alert Handler

To Disable an Alert Type

Managing Account Status Notification Handlers

To View the Configured Account Status Notification Handlers

To Enable Account Status Notification Handlers

To Create a New Account Status Notification Handler

To Delete an Account Status Notification Handler

Monitoring the Server With LDAP

Viewing Monitoring Information Using the cn=monitor Entry

To View the Available Monitoring Information

To Monitor General-Purpose Server Information

To Monitor System Information

To Monitor Version Information

To Monitor the User Root Back End

To Monitor the Backup Back End

To Monitor the Tasks Back End

To Monitor the monitor Back End

To Monitor the Schema Back End

To Monitor the adminRoot Back End

To Monitor the ads-truststore Back End

To Monitor Client Connections

To Monitor the LDAP Connection Handler

To Monitor LDAP Connection Handler Statistics

To Monitor Connections on the LDAP Connection Handler

To Monitor the Administration Connector

To Monitor Administration Connector Statistics

To Monitor Connections on the Administration Connector

To Monitor the LDIF Connection Handler

To Monitor the Work Queue

To Monitor JVM Stack Trace Information

To Monitor the JVM Memory Usage

To Monitor the userRoot Database Environment

To Monitor the Entry Cache

To Monitor Network Groups

To Monitor Distributions

To Monitor Load Balancing

To Monitor Remote LDAP Servers

To Monitor a Global Index

To Monitor a Global Index Catalog

Monitoring Using manage-tasks Command

Accessing Logs

To View the Access Logs

To View the Audit Logs

To View the Debug Logs

To View the Error Logs

To View the Replication Repair Logs

To View the server.out Logs

To View the vdp-setup Logs

General Purpose Enterprise Monitoring Solutions

Monitoring the Server With JConsole

To Configure JMX on a Server Instance

Starting JConsole

Accessing a Server Instance From JConsole

Viewing Monitoring Information With JConsole

Monitoring the Server With SNMP

Configuring SNMP in the Server

To Configure SNMP in the Server

To View the SNMP Connection Handler Properties

To Access SNMP on a Server Instance

SNMP Security Configuration

Monitoring a Replicated Topology

Monitoring Replication Status With dsreplication

Advanced Replication Monitoring

Monitoring the Directory Server With the Control Panel

To View Monitoring Information With the Control Panel

Monitoring the Proxy Server With the Control Panel

To View Proxy Configuration Information

To View Proxy Monitoring Information

Setting LDAP Data Source Monitoring Properties in the Proxy

Modifying Monitoring of Remote LDAP Servers

To Modify the Values of Monitoring of Remote LDAP Server

Improving Performance

Advanced Administration

Viewing Monitoring Information Using the cn=monitor Entry

The directory server records system, performance, and version information as an entry with the base DN of cn=monitor. This entry provides useful performance metrics and server state information that you can use to monitor and debug a directory server instance.

You can access the cn=monitor suffix over the regular LDAP port but there are advantages to using the administration port to access monitoring information. The main advantage of the administration connector is the separation of user traffic and administration traffic.

For example, if you monitor the number of connections on the LDAP Connection Handler ("cn=Client Connections,cn=LDAP Connection Handler 0.0.0.0 port port-number,cn=monitor") over the regular LDAP port, your monitoring data are "polluted" by the monitoring request itself. All of the examples in this section use the administration port, over SSL. For more information, see Managing Administration Traffic to the Server.

Monitored Attributes in the Sun OpenDS Standard Edition proxy

Monitoring information related to Sun OpenDS Standard Edition proxy can be collected at the level under cn=Monitor for dozens of attributes, including those relating to the following:

Other attributes are monitored under each of the above in the dn tree. For example, client connections are monitored under both cn=Client Connections, 0.0.0.0 portport number ,cn=monitor and under cn=Client Connections,cn=Administration Connector 0.0.0.0 portport number ,cn=monitor

A workflow element is monitored under the part of the tree to which that workflow element relates. For example, a load balancing workflow element can be monitored as cn=load-bal-route1,cn=load balancing,cn=monitor

Hundreds of statistics are collected by the Sun OpenDS Standard Edition proxy for monitoring. For example, for the persistent search function, psearchCount lists the number of persistent search operations and psearchTotalCount lists the number of persistent search operations since the last restart of the Sun OpenDS Standard Edition proxy.

All of these statistics are globally listed by executing the ldapsearch cn=monitor command as explained in To View the Available Monitoring Information.

The following procedures use the ldapsearch command at the command line interface. It is also possible to view monitoring information and statistics by using the Control Panel. For details, see Monitoring the Proxy Server With the Control Panel.

To view status information on the replication of global indexes, you can use the gicadm status-replication command. For more information, see To View the Status of a Replicated Global Index Catalog Configuration.

To View the Available Monitoring Information

Use the ldapsearch command to inspect the attributes of cn=monitor. This example lists the base DNs of each monitor entry.

To Monitor General-Purpose Server Information

To Monitor System Information

To Monitor Version Information

To Monitor the User Root Back End

The userRoot back end is the back-end database (the JE environment) for your data. The monitor displays the back end's general properties, such as writability mode, base DN, back-end IDs, entry count, and other properties.

To Monitor the Backup Back End

To Monitor the Tasks Back End

Tasks are administrative functions (such as import-ldif, export-ldif, backup, and restore) that can be scheduled for processing at some future date or on a recurring basis. The monitor displays the tasks back end's general properties, such as writability mode, base DN, back-end IDs, entry count, and other properties.

To Monitor the monitor Back End

This monitor displays the back end's general properties, such as writability mode, base DN, back-end IDs, entry count, and other properties.

To Monitor the Schema Back End

This monitor displays the schema back end's general properties, such as writability mode, base DN, back-end IDs, entry count, and other properties.

To Monitor the adminRoot Back End

This monitor displays the adminRoot back end's general properties, such as writability mode, base DN, back-end IDs, entry count, and other properties.

To Monitor the ads-truststore Back End

The ads-truststore holds a mirror, or copy, of the remote Administrative Directory Service (ADS) host's ADS key entry, so that the new instance can establish trust with existing servers in the ADS domain. The monitor displays the back end's general properties, such as writability mode, base DN, back-end IDs, entry count, and other properties.

To Monitor Client Connections

This monitor represents all of the open client connections. Its contents are different to those of the DN "cn=Client Connections,cn=LDAP Connection Handler 0.0.0.0 port 1389,cn=monitor", which describes the open client connections on the LDAP connection handler only.

To Monitor the LDAP Connection Handler

This connection handler is used to interact with clients over LDAP.

To Monitor LDAP Connection Handler Statistics

To Monitor Connections on the LDAP Connection Handler

This monitor represents the open client connections on the LDAP connection handler.

To Monitor the Administration Connector

This monitor provides basic information about the administration connector. For more information, see Managing Administration Traffic to the Server.

To Monitor Administration Connector Statistics

This monitor provides extensive statistical information about operations that are performed through the administration connector. For more information, see Managing Administration Traffic to the Server.

To Monitor Connections on the Administration Connector

This monitor represents the open client connections on the Administration Connector.

To Monitor the LDIF Connection Handler

The LDIF connection handler is used to process changes that are read from an LDIF file, using internal operations. Monitoring information for the LDIF connection handler is only available if the connection handler is enabled.

To Monitor the Work Queue

The work queue keeps track of outstanding client requests and ensures that they are processed.

To Monitor JVM Stack Trace Information

You can access JVM Stack Trace information for your directory server instance. This resource monitor is implemented in the org.opends.server.monitors.StackTraceMonitorProvider class and requires no custom configuration.

To Monitor the JVM Memory Usage

To Monitor the userRoot Database Environment

The userRoot database environment utilizes the Berkeley DB Java Edition back end. JE monitoring data (data under cn=*Database Environment,cn=monitor) is reliable only in the short term. During high server activity (for example, anywhere from an hour to several days depending on the counter), this data can overflow. In such cases, the JE monitoring data can reflect negative values or positive but incorrect values. This is a known issue and is expected to be fixed in the next major release of the Berkeley DB Java Edition. Oracle SR numbers 15979 and 15985 correspond to this issue.

To Monitor the Entry Cache

You can access the aggregated state of all active entry caches for your directory server instance by accessing the cn=Entry Caches,cn=Monitor entry. The server can also request the "per cache" monitor data for a given instance if the entry cache instances are enabled in the directory server configuration:

Additionally, any arbitrarily named active entry cache instance should provide a monitor, which can be accessed by that instance name, for example cn=Any Arbitrary Name Entry Cache,cn=Monitor.

To Monitor Network Groups

To Monitor Distributions

To Monitor Load Balancing

To Monitor Remote LDAP Servers

To Monitor a Global Index

To Monitor a Global Index Catalog