Oracle Enterprise Manager Configuration Guide Release 2.1 A75685-01 |
|
The Oracle Enterprise Manager Console is a graphical interface for administrators. From the Console, you can perform the following tasks:
This chapter discusses the topics listed below:
The Console gives you a central point of control for the Oracle environment through an intuitive graphical user interface (GUI) that provides powerful and robust system management.
After you have created a repository and started your Management Server and Intelligent Agent, you are ready to start the Enterprise Manager Console.
To start the Enterprise Manager Console, perform the following steps.
From the Start menu -> Oracle-<Oracle_Home_Name> -> Enterprise Manager, select Console.
At the command line, enter
oemapp console
The command string is case-sensitive and must be entered with lowercase characters.
Note: You can also start Enterprise Manager from a web browser. Refer to "Running Oracle Enterprise Manager from a Web Browser" on page 6-6 for information on installing the Enterprise Manager web site and setting up your web browser to run Enterprise Manager. |
The Oracle Enterprise Manager Login screen appears, prompting you for your administrator name and password.
Administrator = sysman
Password = oem_temp
These credentials are for the default super administrator account. The first time you start Enterprise Manager, you must login as the super administrator. After other administrator accounts have been created using the super administrator account, you can login as a different administrator.
If the name of the node where the Management Server is running does not appear in the pull-down list, follow the instructions below:
If you are starting the Console for the first time, the Discovery Wizard appears to facilitate the process of identifying network services and populating the Console Navigator tree.
Oracle Enterprise Manager provides a service Discovery Wizard for identifying network services and populating the Console Navigator tree. These services, such as databases and listeners, can then be administered with Enterprise Manager components.
During start up of the Management Server, the Intelligent Agent and the manageable services on the machine where the Management Server is running are automatically discovered if the Intelligent Agent is running. The Console Navigator then displays all the discovered services on the Management Server machine.
To discover a remote node:
If nodes have failed automatic discovery, you can press the Next button on the Progress page. On the Errors page, you will have the option to retry, skip, or perform a manual discovery on the failed nodes.
If a node cannot be discovered, check and see if the node is down or if the node does not have an Intelligent Agent running. You can also check to see if you are using the TCP/IP network protocol. See the Oracle Enterprise Manager Administrator's Guide for information on discovering services.
Enterprise Manager Release 2.1 is a multi-administrator system: every person who is administering systems using Enterprise Manager has his or her own administrator account which he or she uses to log into the Console or standalone application.
The installation of Enterprise Manager creates a single default super administrator account. This super administrator account name is sysman
, and the initial password is oem_temp
.
The super administrator sysman
has the ability to create administrators using the Manage Administrators item in the System menu. In addition to a username and password, each account can be tagged as a "super administrator" account or a "regular" account.
Super administrators automatically have full privileges for all objects. Most super administrators also have a separate account for daily operations but use their super administrator account for special operations only available to super administrator, such as starting and stopping the management server or creating new Enterprise Manager administrators.
Regular Administrators can have full access to all other Console operations but they will only see or be able to modify those jobs, events, or groups to which they have access.
See the Oracle Enterprise Manager Administrator's Guide for information on how Enterprise Manager administrators are created, edited, and deleted with the Manage Administrators item in the Console System menu.
With Oracle Enterprise Manager Release 2.1, an administrator is not limited to managing services from a particular machine. Instead, the administrator has a choice to run Oracle Enterprise Manager as a "fat" or "thin" client.
Note: Browser-based Oracle Enterprise Manager is supported on the following operating systems: Windows NT, Windows 95, and Windows 98 |
A "fat" client uses Oracle Enterprise Manager files which are installed locally. A "thin" client uses a web browser to connect to a webserver where Oracle Enterprise Manager files are installed. Functionality available from both types of clients is identical. That is, administrators are able to perform the same administrative tasks from either a "fat" client or a "thin" client. However, not all components in the Oracle Enterprise Manager product family support being run in a web browser. Refer to the table below for details.
Note: Oracle Parallel Server Management and Oracle Application Manager are the only integrated applications which support being run from a web browser. |
In order to run Oracle Enterprise Manager from a web browser, you must perform the following installation and configuration steps.
Note: Using Microsoft® Internet Explorer when it is run from a Microsoft® Active Desktop is not supported. |
The Oracle Enterprise Manager Web Site is installed:
The files for the Oracle Enterprise Manager Console, DBA Management Pack, some integrated applications, Quick Tours, documentation, and readmes are installed with the Oracle Enterprise Manager Web Site.
If you have installed the Oracle Application Server Listener, the web site is automatically configured. Once the web site and listener are installed, you only need to enter the URL.
You can start the Oracle Application Server Listener for both Windows NT and Solaris from the command line using the command:
emwebsite start
You can stop the Oracle Application Server Listener for both Windows NT and Solaris from the command line using the command:
emwebsite stop
If you want to use another webserver, the supported webservers are listed below:
For information on configuring the above webservers, refer to Appendix E, "Configuring the Webserver and Directory Mapping".
After performing the above steps, you are ready to run the browser-based Oracle Enterprise Manager.
Note: In order to run Enterprise Manager from a web browser, you must remove any proxies that are configured for use by your web browser. You can do this by either:
If you should experience problems with the proxies, refer to "Troubleshooting the Web Browser" on page C-16. |
http://<webserver hostname>:<port number>/
.
oem_webstage/EMWebSite.html
For example:
http://jfox-sun:3339/oem_webstage/EMWebSite.html
If you are entering the URL for the first time, you must install Oracle JInitiator Release 1.1.7 or higher plug-in.
Once the java plug-in is installed, the Oracle Enterprise Manager Login dialog will appear.
Administrator = sysman
Password = oem_temp
These credentials are for the default super administrator account. The first time you start Enterprise Manager, you must login as the super administrator. After other administrator accounts have been created using the super administrator account, you can login as a different administrator.
This section includes information about setting up the Console for jobs, email and paging notification, and remote SYSDBA management:
This section contains the following topics:
In order for the Intelligent Agent to execute jobs on a managed node
ORACLE_HOME\NET80
directory as well as write permissions to the TEMP
directory or the ORACLE_HOM
E directory.
Creating a Windows NT user account is required to permit many of the components to allow the Intelligent Agent node to submit jobs to the server node.
Note: If you do not set up the "logon as batch job" privilege, you will receive the "Failed to authenticate user" message when you run jobs on the node. |
You must create a Windows NT user account for every managed node. Follow one of the three procedures listed below.
To create a new Windows NT user account on the Windows NT machine where the Intelligent Agent is installed and grant the "log in as batch jobs" privilege to this user, perform the procedure below.
Alternately, to assign privileges to an existing local user account, perform the following steps.
Alternately, to configure a domain user as your Intelligent Agent user, perform the following steps.
Note: If you have both a local and a domain user with the same name, the local user takes precedence. |
Note: If you have a domain user set up, you must set the domain password to be the same as the local password in order for scheduled jobs to run when they are submitted using the domain user account. |
In order for the Intelligent Agent to execute jobs or monitor for events on a managed node, each administrator must specify valid credentials for the services running on that node. Preferred credentials are set from within the Console for each managed service.
To set preferred credentials in the Console, follow the steps outlined below:
For example, if Administrator_1 has a username and password of admin1/pass1 on all the databases that he manages, he only needs to enter admin1/pass1 as his credentials in the <DEFAULT> database entry. All databases administration tasks will use these <DEFAULT> credentials.
Furthermore, if he has just one database which requires different credentials from admin1/pass1, he can enter different credentials for that database by selecting that specific database.
The Intelligent Agent authenticates the user name and password for all jobs and many events that it runs. If you have not set the preferred credentials correctly, jobs and events may fail.
For NT users, you must set the preferred credentials for the node (where the NT Intelligent Agent resides) to be the same as the user that is set up to "Logon as a batch job."
Oracle Enterprise Manager supports sending email notifications using SMTP. To allow administrators to use email for notification, you must specify the SMTP mail gateway that is used for the SMTP email system.
SMTP is a TCP/IP-based mail protocol and requires that TCP/IP services are set up on the Console machine.
From the Enterprise Manager Console, select Configure SMTP Gateway from the System menu and supply the following information.
If you do not specify the above information, when an administrator tries to configure his email notification, an error message will appear.
Then, each administrator must define preferences for his or her own email or paging notifications. From the Enterprise Manager Console, select Preferences from the System menu. The Edit Administrator preferences property sheet appears.
Complete this property sheet page to set up paging and email notification methods for the administrator. You can also send a test page or email with the Test options on this page.
Item | Description |
---|---|
Carrier: |
After a node containing paging services has been discovered, select the name of the paging carrier service from the pull-down list. |
Pin: |
Enter the paging personal identification number (PIN) for your page. A PIN is only required for alphanumeric pagers, and not for numeric pagers. This entry is required for the GSM, TAP, and FLEXTD protocols for alphanumeric pagers. For GSM, the PIN is the actual phone number of the administrator. For numeric pagers, enter the pager number. |
Test: |
To test the validity of the paging information, select the paging service from the pull-down menu, enter the PIN number (if needed), and click the Test button. A message appears informing you of the status of the page.If the test fails, check the paging services configuration file (paging.cfg). Refer to "Configuring and Starting the Paging Service" on page 6-20 for explicit instructions on paging setup and configuration. You can also view the paging trace log file in the ORACLE_HOME\sysman\log directory if tracing is enabled for paging on the machine which has the Intelligent Agent Paging Extensions. |
The Event Notification Filter allows you to filter email/pages sent to administrators according to the event's level of severity. Filtering is set at the user level through Administrator Preferences dialog. You can select any combination of the following levels of event severity. Selecting all levels of severity provides no filtering.
The Job Notification Filter allows you to filter email/pages sent to administrators according to job status. As with the Event Notification Filter, filtering is set at the user level through the Administrator Preferences dialog. Selecting all job statuses provides no filtering.
If you want to be notified via paging in Oracle Enterprise Manager, you must explicitly install the Paging Service Agent Extensions. This paging service is not installed as part of the base Oracle Enterprise Manager installation; it is installed with the Oracle Intelligent Agent. Refer to the installation guide provided with the database release for more details.
Only one paging service installation is required if you wish to utilize paging for notification purposes within Oracle Enterprise Manager.
The paging service supports either numeric or alphanumeric pagers and utilizes the following paging service protocols (for alphanumeric pagers only).
Configuration of the paging service is not automatic. Follow the steps below to configure paging.
On the machine from which you want to run the paging service, follow these instructions:
Note: You must have a modem installed on the Windows NT machine that you are running the paging service. |
paging.cfg.template
, located in the ORACLE_HOME\sysman\config
directory. Review this template, which contains detailed instructions and examples on how to define the configuration properties specific to your carrier and service provider for configuring your paging service.
paging.cfg.template
file to the paging.cfg
file, which is also located in the ORACLE_HOME\sysman\config
directory. This is the Oracle Home of the database where the Intelligent Agent is installed. Oracle recommends copying this file (not renaming it) in order to retain paging configuration information. If you do not copy this file, all comments concerning paging configuration will be removed. In addition, when updates to Enterprise Manager software are made, any configuration will be lost and not retrievable.
paging.cfg.template
file, modify the paging.cfg
file according to your paging needs and save it. Refer to the Table 6-1, "Paging Configuration Properties" for summary information about the paging configuration properties. The paging.cfg.template
file contains 14 properties, but not all of these properties require a value and certain properties are only applicable to certain types of pagers (numeric or alphanumeric).
Note: Whenever paging configuration changes are made (additions or deletions), the Intelligent Agent must be restarted. |
On the machine from which you run the Management Server, follow these instructions:
Note: Configuring the paging service is independent of the management server. Only when you want to start the paging service do you require that the management server be up and running. |
For example, if you have and/or want the following:
Your PAGING.CFG
file would look like the following:
CARRIER_NAMES=CARRIER_NUMERIC_PAGER OEM.MANAGEMENT_SERVER=nsulliva.us.oracle.com OEM.MANAGEMENT_SERVER.BOOTPORT=7774 CARRIER_NUMERIC_PAGER.COUNTRY=0061 CARRIER_NUMERIC_PAGER.AREA_CODE=800 CARRIER_NUMERIC_PAGER.PHONE_NUMBER=5551234 CARRIER_NUMERIC_PAGER.CONNECTION_DELAY=4 CARRIER_NUMERIC_PAGER.TIMEOUT=60 CARRIER_NUMERIC_PAGER.PAGER_TYPE=NUMERIC CARRIER_NUMERIC_PAGER.SUFFIX=,,,,1 CARRIER_NUMERIC_PAGER.TRACING.ENABLED=FALSE
For example, if you have and/or want the following:
Your PAGING.CFG
file would look like the following:
CARRIER_NAMES=CARRIER_ALPHANUMERIC_PAGER CARRIER_ALPHANUMERIC_PAGER.COUNTRY=00947 CARRIER_ALPHANUMERIC_PAGER.AREA_CODE=800 CARRIER_ALPHANUMERIC_PAGER.PHONE_NUMBER=6661234 CARRIER_ALPHANUMERIC_PAGER.TIMEOUT=75 CARRIER_ALPHANUMERIC_PAGER.PAGER_TYPE=ALPHANUMERIC CARRIER_ALPHANUMERIC_PAGER.PROTOCOL=GSM OEM.TRACING.ENABLED=TRUE OEM.TRACING.LEVEL=2 TRACEFILENAME=PAGINGLOG.TRC
If you have the following in your modem settings:
Your PAGING.CFG
file should have the following:
COUNTRY=1 AREA_CODE=650 PHONE_NUMBER=6380899
The number dialed will be 5 6380899.
If in the modem settings your area code was 210, the number dialed would be 9 1 650 6380899.
The "1" dialed for long distance is automatically computed based on the area code and country settings specified in control panel -> modem -> dialing properties.
Note: Example 3 is not a complete example. It only shows how to set the COUNTRY, AREA_CODE, and PHONE_NUMBER. |
For example, if you have and/or want the following:
CARRIER_NAMES=SERVICE1 PAGER_TYPE=NUMERIC SERVICE1.SUFFIX=,,,,1#,,,3# SERVICE1.CONNECTION_DELAY=4 SERVICE1.COUNTRY=1 SERVICE1.AREA_CODE=650 SERVICE1.PHONE_NUMBER=6458989
The above example causes the following number to be dialed:
16506458989 , , , , 1# , , , 3# , , , , 123456 <--number--><-------suffix----><|><--message--> connection Delay
Note: Example 4 is not a complete example and does not include all required properties. You must add all necessary properties. |
Return to the machine from which you want to run the paging service, and follow these instructions:
You can also start the paging service by typing the following at a command prompt
oemctrl start paging
On the machine from which you run the Enterprise Manager Console, follow these instructions:
See the Oracle Enterprise Manager Administrator's Guide for instructions on how to perform discovery.
PAGING.CFG
file on the Intelligent Agent machine.
See the Oracle Enterprise Manager Administrator's Guide for instructions on how to set up notification preferences.
See the Oracle Enterprise Manager Administrator's Guide for instructions on how to set up the notification schedule.
To check the paging status, right-mouse click the carrier name to access the Ping Paging Service item in the context-sensitive menu.
Stop the paging service from the NT Services Control Panel.
You can also stop paging service by typing
oemctrl stop paging
Numeric pages need to be interpreted as follows:
For job notifications, you will receive a 6 digit number. The first 3 digits indicate the job-id. The last 3 digits indicate job status.
For event notifications you will receive the event ID with the status code.
The job and event IDs are internal numbers not shown on the Console.
The event status and job status codes are listed as follows:
100 = Job Started
200 = Job Completed
300 = Job Failed
400 = Job Deleted
500 = Event Cleared
600 = Event Warning
700 = Event Alert
800 = Event Node Down
900 = Event Unknown
1000 = Event Assignee Changed
If JJJ= job id then,
JJJ100 => job started for job# JJJ JJJ200 => job completed for job# JJJ JJJ300 => job failed for job# JJJ
For example, if 001100 is displayed on your numeric pager, then you know that job id 001 just started. If 001300 appears, then you know job id 001 just failed.
If EE= event ID then,
EE500 => event cleared for event # EE
For example, if 7500 is displayed, you know that event number 7 had a status change and the status is now cleared.
Note: DHCP is not supported for Oracle Enterprise Manager on nodes running the Management Server or the Intelligent Agent. It is supported only on clients. |
When the Console connects over a dialup line, the Console machine obtains a dynamic IP address. This dynamic IP address needs to be sent by the operating system (Windows NT, Windows 95, Windows 98) to the application (Console).
In order that the operating system return the correct IP address, the network communication protocol (TCP-IP) needs to be configured to obtain the IP address using the Dynamic Host configuration protocol. This setting is specified as follows:
You must make note of your previous settings in order to return to those settings when you connect the same machine to the network via ethernet. Copy the Settings specified in IP Address, Subnet Mask and Default Gateway to a file.
Note: If you are not running from a web browser, you may need to restart your system after making the changes. |
Before using one of the backup management wizards or starting up or shutting down a database through Oracle Enterprise Manager, you need to set up your database for remote SYSDBA management.
The following procedure outlines the operations you may need to perform on both the server and client if they have not been performed already through the Database Configuration Assistant.
Refer to the operating system-specific documentation for your Oracle database for the exact name of the password file creation utility for your system.
$ORACLE_HOME/bin/orapwd file=<fname> password=<password> entries=<users>
where
fname is the name of password file (mandatory),
password is the password for SYS (mandatory),
entries is the maximum number of distinct DBAs and OPERs (optional),
There are no spaces around the equal-to (=) character.
The <fname>
will be created in the Oracle_Home/Database
directory.
Oracle_Home/Admin/<SID>/pfile
directory. Add or change the following parameter remote_login_passwordfile=exclusive
in the init.ora file.
setenv ORACLE_HOME your_oracle_home
setenv ORACLE_SID your_oracle_sid
dbs
directory in your Oracle home.
cd $ORACLE_HOME/dbs
$ORACLE_HOME/bin/orapwd file=<fname> password=<password> entries=<users>
where
fname is the name of password file (mandatory),
password is the password for SYS (mandatory),
entries is the maximum number of distinct DBAs and OPERs (optional).
There are no spaces around the equal-to (=) character.
The <fname>
will be created in the $Oracle_Home/dbs
directory.
|
Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|