C K
Oracle9i: Repository, Oracle Management Server und Enterprise Manager Konsole |
![]()
Überblick Architektur
Der Oracle Enterprise Manager basiert auf einer dreischichtigen Architektur (Three-Tier): Die Enterprise Management Konsole als first tier, der Management Server mit seinem Repository im middle tier und die verwalteten Zielsysteme wie Knoten/Datenbanken sind im third tier. Das heißt, dass Konsole, Management Server, Repository und Datenbanken auf derselben oder unterschiedlichen Maschinen installiert sein können, je nach Bedarf. Wie es im eigene Untermnehmen am Besten ist, hängt von vielen Faktoren ab, z.B. Workload, Load balancing, Rollen und Rechteverteilung zwischen Administratoren, Firewalls oder VLAN-Architektur.

(aus: Oracle Enterprise Manager Concepts Guide)
Die Konsole des Enterprise Managers hilft Usern und Administratoren, Verwaltungsaufgaben einer Datenbank über ein grafischen Interface zu erledigen.
Die Konsole sitzt - abgesehen vom Standalone-Modus - auf einem Oracle Management Server (OMS) auf und interagiert nicht direkt mit den
verwalteten Knoten.
Der OMS bekommt als Eingabemn aus der Konsole und schickt sie zu dem Intelliegent Agent. der auf dem betroffenen Knoten läuft. Ein OMS istsklaierbar, das heißt: Wenn seine Workload zu groß wird, kann man weitere OMS auf zusätzlichen Maschinen einrichten. Pro Maschine kann es jedoch immer nur einen OMS gebe. Der OMS benutzt für seine Metadaten ein sogenanntes Repository, ein Satz Tabellen, wo alle Informationen von Konsolen und Knoten abgelegt werden.
Ein Repository wird mit dem Enterprise Manager Configuration Assistant (EMCA) erzeugt.
Der third tier umfasst Datenbanken, Knoten und andere Services. Auf einem verwalteten Knoten sitzt ein Intelligent Agent, und zwar nur einer pro Maschine. Der Agent ist weder von einer betsimmten Datenbank, noch von einem betsimmten OMS abhängig, sondern arbeitet unabhängig. Das heißt, der Agent könnte laufen, obwohl die Datennbank abgestürzt ist. Ein OMS sendet dem Intelligent Agent seine Aufgaben, und dieser führt dann diese Jobs und Ereignisse auf dem Knoten aus und gibt dem OMS Feedback. Der OMS wiederum macht eine Update der Metainformationen im Repsitory und schickt Informationen zurück zu den angeschlossenen Konsolen.
![]()
Starten und Stoppen der Dienste
On Windows launch EMCA from the Start menu. On Unix, enter emca from the prompt to launch EMCA. The EMCA wizard guides you through the configuration of a repository. You can use an existing tablespace to hold the repository or create a new tablespace. Having a separate tablespace to hold the repository helps administering managed databases effectively. Do not use SYSTEM as the tablespace for the repository.
Once the repository is created, start OMS. On Windows start and stop the OMS from the Services panel. On Unix, the following commands control OMS.
There can only be one management server per machine. If the workload increases, install Management Server components on additional machines and configure them as per the steps above.
Troubleshooting OMS
What if you are unable to start OMS. Setup a Trace file by setting parameters in omsconfig.properties file. This file is located at $ORACLE_HOME/sysman/config directory. The following are the minimum parameters that need to be set.
TRACING.ENABLED=TRUE
LOGGING.ENABLED=TRUE
TRACING.LEVEL=2
After setting the above parameters, start OMS again. If it fails to start check the log files located at $ORACLE_HOME/sysman/log. This log file states the cause of the error. Rectify the error and start OMS again.
On Windows, generally, the various Enterprise Manager tools are launched from the Start menu. On UNIX, the tools are launched from the line prompt. The page below outlines the various commands applicable to 2.x and 9.x versions on Unix.
| Launch Tools | Release 2.x | Release 9.x |
| Enterprise Manager Configuration Assistant | emca | emca |
| OMS | oemctrl start oms | oemctl start oms |
| oemctrl stop oms | oemctl stop oms | |
| oemctrl status oms | oemctl status oms | |
| Intelligent Agent | lsnrctl dbsnmp_start | agentctl start agent |
| lsnrctl dbsnp_stop | agentctl stop agent | |
| Listener | lsnrctl start | lsnrctl start |
| lsnrctl stop | lsnrctl stop | |
| Console | oemapp console | oemapp console |
| DBA Studio | oemapp dbastudio | NA |
| Blackout using Command-Line | NA | agentctl utility |
Before the release of v2.1 Enterprise Manager, the DBA Management Pack tools such as Instance Manager, Schema Manager, Security Manager etc. had to be launched as an individual application. Of course, they can be launched from the Console as well if a repository had been configured. This means that if you have to work between different applications without the use of the Console, you had to launch the individual applications to work on them. This was not a very convenient method particularly if you had to switch between different applications frequently.
The concept of DBA Studio was introduced from Enterprise Manager v2.1. DBA Studio is a tool that provides a centralized location from which the other applications such as Instance Manager, Schema Manager, Storage Manager etc were launched. This provided ease of using the various applications from a single launch pad. The DBA Studio also provided a Master-Detail view of various tasks. This means if you select a task on the Navigator tree, it is displayed on the right-side of the DBA Studio. The Console before Release9.x had no Master-Detail functionality.
A brief background on the Console functionality will be of help. Prior to Enterprise Manager Release 9.x, the Console can be launched only through the Oracle Management Server (OMS). This means a repository must have been configured and the OMS setup. There was no method of logging on to the Console without the OMS. The pre 9.x Console had no Master-Detail functionality as was found in the DBA Studio.
However, from Oracle Enterprise Manager Release9.x, the Console has undergone significant improvements. One of which is the ability to log on to the Console in standalone mode. The Console in standalone mode does not use the OMS. This is suitable for a single administrator performing operations locally. Moreover, the Console was enhanced to provide a Master-Detail view. All the functionality found in the DBA Studio was integrated into the Console 9.x. This led to redundancy of the DBA Studio and hence this functionality is no longer available from Release 9.x
|
|
This article assumes you have Enterprise Manager web server components installed and you are running the standard Oracle HTTP Server.
|
|
![]()
Petra Haberer Version
0.0.6