3
Copyright © 2006, Oracle. All rights reserved.
Using Data Guard Broker
and Enterprise Manager
Copyright © 2006, Oracle. All rights reserved.
3 - 2
Objectives
After completing this lesson, you should be able to do the
following:
•
Describe the Data Guard broker architecture
•
Describe the Data Guard broker components
•
Explain the benefits of the Data Guard broker
•
Explain Data Guard broker configurations
•
Use Enterprise Manager to manage your Data Guard
configuration
•
Invoke DGMGRL to manage your Data Guard
configuration
Copyright © 2006, Oracle. All rights reserved.
3 - 3
Features of Data Guard Broker
•
The Data Guard broker is a distributed management
framework.
•
The broker automates and centralizes the creation,
maintenance, and monitoring of Data Guard
configurations.
•
With the broker, you can perform all management
operations locally or remotely through easy-to-use
interfaces:
–
Oracle Enterprise Manager 10g Grid Control
–
A command-line interface: DGMGRL
Copyright © 2006, Oracle. All rights reserved.
3 - 4
Data Guard Broker: Components
•
Client-side:
–
Oracle Enterprise Manager 10g Grid Control
–
DGMGRL (command-line interface)
•
Server-side: Data Guard monitor
–
DMON process
–
Configuration files
Copyright © 2006, Oracle. All rights reserved.
3 - 5
Data Guard Broker: Configurations
The most common configuration is a primary database at
one location and a standby database at another location.
Chicago
Primary
site
Boston
Standby
site
Oracle Net
Copyright © 2006, Oracle. All rights reserved.
3 - 6
Data Guard Broker: Management Model
Data Guard Broker Configuration
Primary database
Broker-controlled
databases
Standby database
Standby database
Standby database
Standby database
Standby database
Standby database
Standby database
Standby database
Standby database
Instances
Instances
Copyright © 2006, Oracle. All rights reserved.
3 - 7
Primary site
Standby site 9
Standby site 2
Data Guard Broker: Architecture
Graphical user interface
or
command-line interface
DMON
Archived
redo logs
Online
redo logs
Standby site 1
Oracle
Net
Standby
redo logs
Archived
redo logs
Log
apply
services
Data Guard Configuration
Log
transport
services
Primary
database
DMON
Configuration
files
Configuration
files
Standby
database
Copyright © 2006, Oracle. All rights reserved.
3 - 8
Life Cycle of a Broker Configuration
Create
configuration
Enable
configuration
Make state or
role changes
Update database
properties
Monitor and tune
configuration
Copyright © 2006, Oracle. All rights reserved.
3 - 9
Data Guard Broker: Requirements
•
Enterprise Edition of Oracle Database 10g
•
Single-instance or multi-instance environment
•
COMPATIBLE must be set to 9.2.0.1.0 or higher for
primary and standby databases.
•
Oracle Net network files must be configured for
databases that you add to the configuration.
•
LOCAL_LISTENER on each instance must resolve to an
address that is reachable by all members.
•
GLOBAL_DBNAME attribute must be set to a
concatenation of:
db_unique_name_DGMGRL.db_domain