Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (9.9 MB, 320 trang )
dg2.book Page 9 Tuesday, November 18, 2003 11:47 AM
Data Guard Broker User Interfaces
1.5.1 Data Guard GUI
The Data Guard GUI is a graphical user interface that works with the Data Guard
monitor and Oracle Enterprise Manager to automate and simplify the management
of a Data Guard configuration. Because it is integrated with Oracle Enterprise
Manager, the Data Guard GUI enables you to manage your configuration using a
familiar interface and event management system.
With the Data Guard GUI, the complex operations of creating and managing
standby databases are simplified through wizards provided by the Data Guard
GUI. The Data Guard GUI includes:
I
I
I
I
I
I
An Add Standby Database wizard that helps you to create a broker
configuration, if one does not already exist, having a primary database and a
local or remote standby database. The wizard can create a physical or logical
standby database (non-RAC) or import an existing physical or logical (RAC or
non-RAC) standby database. If the wizard creates a physical or logical standby
database, the wizard also automates the creation of the standby control file,
server parameter file, online redo log files, and the standby datafiles.
A switchover operation that helps you switch roles between the primary
database and a standby database.
A failover operation that changes one of the standby databases to the role of a
primary database.
Performance tools and graphs that help you monitor and tune log transport
services and log apply services.
Property pages that allow you to set database properties on any database and, if
applicable, the settings are immediately propagated to all other databases and
server parameter files in the configuration.
Integration with Oracle Enterprise Manager to perform event reporting through
e-mail.
In addition, it makes all Oracle Net Services configuration changes necessary to
support log transport services and log apply services.
Figure 1–3 shows the overview page from the Data Guard GUI in Oracle Enterprise
Manager.
Oracle Data Guard Broker Concepts
1-9
dg2.book Page 10 Tuesday, November 18, 2003 11:47 AM
Data Guard Broker User Interfaces
Figure 1–3 Data Guard GUI (in Oracle Enterprise Manager) - Overview Page
See Also: The Data Guard GUI online help
1.5.2 Data Guard Command-Line Interface (DGMGRL)
The Data Guard command-line interface (CLI) enables 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 databases in the
configuration using the CLI.
The following example lists the available commands:
DGMGRL> HELP
The following commands are available:
1-10
Oracle Data Guard Broker
dg2.book Page 11 Tuesday, November 18, 2003 11:47 AM
Data Guard Monitor
add
connect
create
disable
edit
enable
exit
failover
help
quit
rem
remove
show
shutdown
startup
switchover
Add a standby database into the broker configuration
Connect to an Oracle instance
Create a broker configuration
Disable broker control of a configuration or database
Edit a configuration, database or instance
Enable broker control of a configuration or database
Exit the program
Change a standby database to be the primary database
Display description and syntax for a given command
Exit the program
Comment to be ignored by DGMGRL
Remove a configuration, database or instance
Display information of a configuration, database or instance
Shut down a currently running Oracle instance
Start an Oracle database instance
Switch roles between the primary database and a standby database
Use "help
See Also: Chapter 7 for complete reference information for the
Data Guard command-line interface
1.6 Data Guard Monitor
The configuration, control, and monitoring functions of the broker are implemented
by server-side software and configuration files that are maintained for each
database 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 database and with remote Data Guard monitors to manage the broker
configuration.
1.6.1 Data Guard Monitor (DMON) Process
The Data Guard monitor process (DMON) is an Oracle background process that
runs for every database instance that is managed by the broker. When you start the
Data Guard broker, a DMON process is created.
See Also: Section 2.3 for information on starting the broker.
Oracle Data Guard Broker Concepts 1-11
dg2.book Page 12 Tuesday, November 18, 2003 11:47 AM
Data Guard Monitor
When you use the Data Guard GUI or the CLI to manage a database, the DMON
process is the server-side component that interacts with the local database and the
DMON processes of the other databases to perform the requested function. The
DMON process is also responsible for monitoring the health of the broker
configuration and for ensuring that every database has a consistent description of
the configuration.
See Also: Oracle Database Concepts for more information about the
memory structures and processes that are used with an Oracle
database
Figure 1–4 shows the broker’s DMON process as one of several background
processes that constitute an instance of the Oracle database. Figure 1–4 shows
multiple databases, each having its own DMON process. This distributes the broker
across all of the databases of the broker configuration.
1-12
Oracle Data Guard Broker