Oracle Enterprise Manager Configuration Guide Release 2.2 Part Number A85247-01 |
|
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:
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. |
To start the Management Server on Windows NT or Windows 2000, follow the instructions below.
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.
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. |
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:
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.
The target database session count indicates the number of target databases in the session.
The operations queued for processing indicates the number of activities waiting for processing.
The number of OMS systems in domain indicates the number of Management Servers running in the enterprise.
The number of administrators logged in indicates the number of Enterprise Manager administrators logged into the system.
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.
The number of repository sessions.
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:
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.
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.
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.
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.
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.
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.
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. |
|