Oracle9i Data Guard Broker Release 1 (9.0.1) Part Number A88807-01 |
|
This chapter describes the Oracle9i Data Guard broker, its architecture and components, and how it automates and simplifies the creation, control, and monitoring of a Data Guard configuration.
The following sections introduce Data Guard broker terminology and concepts:
Oracle9i Data Guard Concepts and Administration for complete information about Oracle9i Data Guard concepts and terminology.
See Also:
The Oracle9i Data Guard broker is a distributed management framework that automates and simplifies most of the complex operations required to create, control, and monitor a Data Guard configuration.
The following list provides examples of some of the operations that the broker automates and simplifies:
You can perform all of these operations locally or remotely, using Oracle9i Data Guard Manager, which is the broker's graphical user interface (GUI). With the Data Guard command-line interface (CLI), you can perform all of these operations except for the creation of standby databases.
The creation of local or remote standby databases, which is a very complex operation, is greatly simplified through a wizard that is part of Data Guard Manager. The wizard:
The broker allows you to quickly and easily verify that log transport services and log apply services are configured and functioning properly. For example, the broker allows you to easily view information such as the number of logs ready to be shipped from the primary site, the number of logs to be applied on the standby site, and other data specific to the standby database.
The ability to monitor local and remote databases and to respond to events is also significantly enhanced by the broker through its health check mechanism and its interaction with the Oracle Enterprise Manager event management system.
See Also:
Oracle9i Data Guard Concepts and Administration for a complete description of the discrete steps that comprise the creation of a standby database and the other monitoring and control operations that have been automated or simplified by the broker. |
The broker simplifies the management of a Data Guard environment by performing operations against three logical objects:
These objects represent the physical configuration, site, and database entities in the actual Data Guard configuration.
The broker currently supports Data Guard configurations that contain one primary and one standby database. A supported broker configuration therefore consists of one configuration object, which contains two site objects. One of these site objects will contain a database resource object that represents a primary database and the other will contain a database resource object that represents a standby database.
Figure 1-1 shows the hierarchy of these objects.
A configuration object is at the highest level in the hierarchy of objects managed by the broker. A configuration object is a named collection of sites and the resource objects that those sites contain.
A site object is at the middle level in the hierarchy of objects managed by the broker. A site object is a named collection of resource objects that reside on a single host. The broker currently supports one type of resource object, and that is the database resource object.
A database resource object is at the lowest level in the hierarchy of objects managed by the broker. It is a named object that corresponds to a primary or standby database instance. The broker uses this object to manage and control the state of a single database.
Because these objects are connected in a hierarchy, you can perform complex operations on a single object or on all objects in an entire configuration with a single mouse click or command. For example, you can bring each database resource and site in a configuration online one at a time, or bring them all online at the same time in a single step by bringing the configuration itself online.
See also:
Chapter 2 for more information about how to control an object through its states and properties |
The Oracle9i Data Guard broker provides the following components:
Figure 1-2 shows the components of the broker.
You can use either of the broker's user interfaces to create a broker configuration, and to control and monitor the configuration from any host in the configuration. The broker provides two user interfaces:
The Data Guard Manager is a graphical user interface that works with the broker and Oracle Enterprise Manager to automate and simplify the management of a Data Guard configuration. Because it is integrated with Oracle Enterprise Manager, Data Guard Manager allows you to manage your configuration using a familiar interface and event management system.
Data Guard Manager includes:
Figure 1-3 shows the general page from the Oracle9i Data Guard Manager console.
The Data Guard command-line interface (CLI) allows you to control and monitor a Data Guard configuration from the CLI prompt or within scripts. You can perform most of the activities required to manage and monitor the objects in the configuration using the CLI.
The following example lists the available commands:
DGMGRL> HELP The following commands are available: quit exit show See "help show" for syntax enable See "help enable" for syntax disable See "help disable" for syntax help [<command>] connect <user>/<password> [@<connect>] alter See "help alter" for syntax create See "help create" for syntax remove See "help remove" for syntax shutdown startup
This manual provides examples and reference information for the Data Guard command-line interface.
The configuration, control, and monitoring functions of the broker are implemented by server-side software and configuration files that are maintained on each site that the broker manages. The software is called the Data Guard monitor.
The following sections describe how the Data Guard monitor interacts with the Oracle server and with remote Data Guard monitors to manage the sites in a broker configuration.
The Data Guard monitor process (DMON) is an Oracle background process that runs on every site that is managed by the broker. When you start the Data Guard monitor, a portion of the system global area (SGA) is allocated and a DMON process is created.
When you use Data Guard Manager or the CLI to manage an object, the DMON process is the server-side component that interacts with the local instance and the DMON processes running on other sites to perform the requested function. The DMON process is also responsible for monitoring the health of the broker configuration and for ensuring that every site has a consistent copy of the binary configuration files in which the DMON process stores its configuration data.
.
See Also:
Oracle9i Database Concepts for more information about the memory structures and processes that are used to implement an Oracle database instance |
Figure 1-4 shows the DMON process among the several background processes that perform maintenance work for the Oracle database server.
The zigzag arrow in the center of Figure 1-4 represents the two-way Oracle Net communication channel that exists between the DMON processes on sites in the same broker configuration.
This two-way communication channel is used to pass requests between sites, and to monitor the health of all of the sites in the broker configuration.
The DMON process maintains persistent configuration data in a binary configuration file on each enabled site in the broker configuration. This data is managed transparently by the DMON process to ensure that the configuration information is kept consistent across all of the sites.
The broker uses the data in the configuration file to configure and start the site and resource objects.
Through the broker's easy-to-use interfaces, you can automate the tasks required to configure and control sites and database resources in a broker configuration. The broker provides an efficient and effective solution for managing a configuration, with the following benefits:
racle9i Data Guard PrerequisitesOracle9i Data Guard is installed automatically when you install the Oracle9i Enterprise Edition database server. You must install the Oracle9i Enterprise Edition database server on each site where you plan to manage broker configurations.
You must install Oracle9i Data Guard Manager separately. It is installed with the Oracle Enterprise Manager software.
The following conditions must be true before you can use the broker:
DRS_START
parameter must be TRUE
. See Section 2.2 for more information.
Section 2.2 for more information about preparing and starting Oracle9i Data Guard. See Oracle9i Data Guard Concepts and Administration for more information about setting up the network files.
See Also:
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|