Oracle Enterprise Manager Configuration Guide Release 2.2 Part Number A85247-01 |
Library | Service | Contents | Index

# 3
Controlling the Management Server

The Management Server provides distributed control between clients and managed nodes. A central engine for notification, it processes all system management tasks and administers the distribution of these tasks across the enterprise.

Specific topics discussed in this chapter are listed below:

- Starting the Management Server

- Checking the status of the Management Server

- Stopping the Management Server

- Tuning the Management Server

## Starting the Management Server

The repository database must be started and open and the listener must be started before starting the Management Server.

To start the Management Server, perform the following steps.

Note: Oracle Enterprise Manager does not support stopping or starting a remote Management Server from the local machine.

### Starting the Management Server On Windows NT or Windows 2000

To start the Management Server on Windows NT or Windows 2000, follow the instructions below.

1. From the Start menu->Settings->Control Panel, double-click the Services icon.

2. If you have chosen not to store your repository credentials during repository creation (referred to as the secure Management Server mode), you can enter the repository's user name that was used to create the database user and the password for that user in the Control Panel's Startup Parameters field when you start the Management Server. The Startup Parameters field is under the list of services. The database user and password must be in the format of <username>/<password>.

   If you supply invalid or incomplete repository credentials in the Control Panel's Startup Parameters field, the Management Server will not start, and an error message will appear.

   If you are in secure mode and do not enter the repository credentials in the Startup Parameters field, you will be prompted for them later in a dialog.

   For information on troubleshooting the Management Server if it does not start, refer to "Management Server Does Not Start" on page D-12.

3. Select the Oracle<Oracle_Home_Name>ManagementServer service.

4. Click the Startup push-button to access the Service Startup dialog box.

Note: Step 4 only needs to be performed once, not every time you start up the service.

1. In the Startup Type section, specify how the Management Server service is started up by choosing Automatic or Manual. Manual allows the Management Server to be started by a user. Automatic allows the Management Server to start automatically whenever the user starts the system. Disabled does not allow the Management Server to start at all. By default, the Configuration Assistant sets the service to Manual.

2. In the Log On As section, check for the following settings:

   - Ensure that the System Account option, which is the supported way to run the Management Server, is selected. The Management Server will not run if you use a local account.

   - Ensure that the "Allow Service to Interact with Desktop" box is selected; otherwise, the Management Server will not run.

1. Click the Start push-button to start the Management Server.

Note: Your Management Server service is started automatically and set to Manual on Windows NT or Windows 2000 during repository creation if you had launched the Enterprise Manager Configuration Assistant from an installation session and if you had chosen to save your repository credentials. If you have chosen not to save your repository credentials, you can enter them in the Control Panel's Startup Parameters field when you start the Management Server. If you do not enter the repository credentials in the Startup Parameters field, you will be prompted for them in a dialog.

### Starting the Management Server On UNIX

To start the Management Server on UNIX, at the command line, enter

    % oemctrl start oms

When you are prompted, enter the repository's user name that was used to create the database user and the password for that user if you have chosen not to save your repository credentials during repository configuration. For a complete definition of a repository owner, refer to "Step 3 "Repository Login Information"" on page 2-10.

Note: If the ORACLE_HOME environment variable is not set to the Oracle home in which the Management Server is running, the Management Server will not start correctly because it will try to find its class files in the default Oracle home instead of the correct Oracle home. For information on setting the Oracle environment, refer to "Management Server May Not Run Correctly from a Non-Default Oracle Home" on page D-11.

## Checking the Status of the Management Server

To quickly check whether the Management Server is up or down, at any operating system prompt, enter:

    % oemctrl ping oms

To check the status of the Management Server, at any operating system prompt, enter:

    % oemctrl status oms

You will be prompted to enter the username and password of an Oracle Enterprise super administrator. For a complete definition of an Oracle Enterprise Manager super administrator, refer to "What is an administrative user?" on page 1-7.

You will also need to provide the hostname for the machine running the Management Server if you are checking the status of a remote Management Server.

The following information is provided when you check the status of the Management Server:

- overall status of the Management Server

- length of time the Management Server has been running

- statistics regarding the performance of the Management Server

An example of the output is shown below:

    OEMCTRL for Windows NT: Version 2.2.0.0.0
    Copyright (c) 1998, 2000, Oracle Corporation.  All rights reserved.
    Oracle Server Version null
    Loaded njssl8 shared object

    Loading njssl8 dll

    In OracleSSLSocketImpl Static portion

    The Oracle Management Server on host [pjlee-pc2.us.oracle.com] is functioning
    properly.

      The server has been up for 0 09:08:37.734

      Target database session count: 1 (session sharing is off)
      Operations queued for processing: 0
      Number of OMS systems in domain: 1 (pjlee-pc2)
      Number of administrators logged in: 1
      Repository session pool depth: 15
      Repository session count: 7 in-use and 3 available, pool efficiency: 100%

For information about the parameters, refer to the section below.

- Target database session count

  The target database session count indicates the number of target databases in the session.

- Operations queued for processing

  The operations queued for processing indicates the number of activities waiting for processing.

- Number of OMS systems in domain

  The number of OMS systems in domain indicates the number of Management Servers running in the enterprise.

- Number of administrators logged in

  The number of administrators logged in indicates the number of Enterprise Manager administrators logged into the system.

- Repository session pool depth

  The session pool depth indicates the number of sessions the Oracle Management Server is using. The overall status of the system is dependent upon the number of users and the activity on a system.

  By default, the Console consumes up to a maximum of 3 sessions. With a count of 3, you can generally perform an operation (submit jobs/events) without having to wait for sessions to release them.

  The number of sessions available that can be used by the Console to connect to the Management Servers is 15. Since each Console connection requires 3 sessions, the session pool depth of 15 will allow 5 Console connections, each of which consumes 3 sessions. If the number of Console connections decreases, the session pool depth limit will remain at 15. If the number of Console connections increases, the session pool depth limit increases internally.

  To determine the optimal value for the number of overhead sessions, use the formula documented below.

  As the number of concurrent users increases, the number of sessions available should increase. The formula to use to calculate the number of sessions is

  1.1 x 3 x number users actively performing operations

  1.1 is a factor to use in order to calculate additional breathing space so that it is not an absolute number of 3

  3 is the overhead number you would want.

  number users actively performing operations is the number of concurrent users.

  For example: for 1 user, the formula comes to: 1.1 x 3 x 1 = 3.3 or 3 sessions are enough.

  For 4 users, the formula comes to 1.1 x 3 x 4 = 13.2. 13 is how many overhead sessions you would want if the users are all constantly registering events or jobs. If not, the overhead of 3 is sufficient.

- Repository session count

  The number of repository sessions.

## Stopping the Management Server

Note: Stopping a Management Server that is not local to your machine (i.e., a remote Management Server) is not supported.

To stop the Management Server, perform the following steps:

On Windows NT or Windows 2000:

1. From the Start menu->Settings->Control Panel, double-click the Services icon.

2. Select the Oracle<Oracle_Home_Name>ManagementServer service.

3. Click the Stop push-button to stop the Management Server.

You will be prompted to enter the username and password of an Oracle Enterprise super administrator. For a complete definition of an Oracle Enterprise Manager super administrator, refer to "What is an administrative user?" on page 1-7.

On UNIX:

At the command line, enter

    % oemctrl stop oms

You will be prompted to enter the username and password of an Oracle Enterprise super administrator. For a complete definition of an Oracle Enterprise Manager super administrator, refer to "What is an administrative user?" on page 1-7.

## Tuning the Management Server

There may be special circumstances which require specific tuning of the Management Server to improve performance such as when the enterprise is managing a large number of nodes. Tuning can be perform by setting the following Management Server configuration parameters:

- `oms.vdp.ping_interval`

- `oms.vdg.max_out_conns`

- `oms.vdg.max_in_conns`

- `oms.repository.connect_timeout`

- `oms.repository.connect_numTries`

After editing the omsconfig.properties file, you must stop and restart the Management Server in order for the changes to take effect.

### Setting the Ping Interval

The Management Server is designed to ping all targets on a pre-defined interval to monitor the state of all managed targets.

To manage the interval between pings, you can use the following property in the omsconfig.properties file to set the ping interval:

    oms.vdp.ping_interval=<integer; time in minutes; default 2>

Note that the interval set determines the interval (time in number of minutes) at which the Management Server tests for node up/down, regardless of the polling frequency that you have set in the event which contains a node up/down test.

The default for the time is 2. For Management Servers managing a large number of nodes (more than 64 nodes), you can adjust this parameter to provide the Management Server enough time to ping all the nodes.

### Setting the Maximum Connections Out

The Management Server is designed to maintain a certain number of outgoing connections toward different Intelligent Agents simultaneously.

To manage the number of simultaneous outgoing connections, you can use the following property in the omsconfig.properties file:

    oms.vdg.max_out_conns =<integer; default 64>

The default is 64. Oracle recommends that this value to be greater or equal to the number of nodes managed by the Management Server in order to avoid performance degradation. If the maximum number of managed nodes is less than 64, Oracle recommends keeping the default value. If the maximum number of managed nodes is more than 64, set the value to the number of nodes.

### Setting the Maximum Connections In

The Management Server is designed to maintain a certain number of incoming connections simultaneously.

To manage the number of simultaneous incoming connections, you can use the following property in the omsconfig.properties file:

    oms.vdg.max_in_conns=<integer; default 32>

To prevent performance degradation, it is recommended that you set this value to be half the value of the oms.vdg.max_out_conns.

### Setting the Management Server Retry Interval

The Management Server is designed to retry at a pre-defined intervals.

To specify the interval between retries, use the following properties in the `omsconfig.properties` file to set the retry interval:

    oms.repository.connect_timeout=<time in seconds>
    oms.repository.connect_numTries=<integer>

oms.repository.connect_timeout is the maximum time (in seconds) the Management Server will wait for the repository database to start up.

oms.repository.connect_numTries is the maximum number of tries the Management Server will make to connect to the repository before starting up the Management Server services.

The retry interval is calculated as the value of `oms.repository.connect_timeout` divided by the value of `oms.repository.connect_numTries`.

By default, the properties are set as follows:

    oms.repository.connect_timeout=120
    oms.repository.connect_numTries=12

The Management Server will try to establish a repository connection at startup at 10 second intervals for a total of 12 times.

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index