Professional Documents
Culture Documents
��
Home
E-mail Us
Oracle Articles
New Oracle Articles Oracle Data Guard - Data Guard Broker
Managing Data Guard Using DGMGRL
Oracle Training Data Guard manager greatly simplifies the otherwise complicated tasks of log
Oracle Tips management, role management, and data protection modes. It can be used to
Oracle Forum
monitor the overall health of the entire configuration as well as an individual site.
Class Catalog
This section will investigate the use of the CLI interface of Data Guard manager
to administer a configuration.
The information presented will start with the creation of a configuration followed
Remote DBA by more complicated tasks such as log management, switchover, failover and
Oracle Tuning manipulating data protection modes. As always, Oracle documentation remains
Emergency 911 the largest single source of information on this topic.
RAC Support
Apps Support Data Guard Configuration Management
Analysis
Design As explained earlier, a configuration contains the primary and standby sites. In
Implementation this section, the pre-requisites and procedures to create a configuration will be
Oracle Support presented.
One requirement of creating a configuration using the CLI interface is that the
standby databases participating in the configuration should exist. CLI interface
SQL Tuning cannot be used to create a standby database.
Security
Oracle UNIX
Assume that the primary database "appsdb", physical Oracle instance "stdbydb"
and logical Oracle instance "logstdby" already exist. To create a configuration,
Oracle Linux
ensure that the broker is running on the primary and all participating standby
Monitoring
databases. On the primary site, start the CLI environment and connect to the
Remote support primary database.
Remote plans
Remote services DGMGRL>connect sys/<sys password>
Application Server
An account with the SYSDBA privilege will have to be used.
Applications
Oracle Forms Use the CREATE CONFIGURATION command to create a configuration. The
Oracle Portal following code snippet shows the usage of this statement in Oracle9i:
App Upgrades
CREATE CONFIGURATION 'appsconfig' AS PRIMARY SITE IS 'appsdb'
SQL Server
RESOURCE IS 'appsdb' HOSTNAME IS 'jrpr01' INSTANCE NAME IS 'appsdb'
Oracle Concepts SERVICE NAME IS 'appsprimary' SITE IS MAINTAINED AS PHYSICAL;
Software Support
Remote Support Oracle will validate the HOSTNAME and INSTANCE NAME from the
Development v$instance view. Arguments Configuration, Site and Resource are user–defined
Implementation
labels. The service name should match the SQL*Net service name for the
primary database on all hosts participating in the configuration. There should be
an identical service-naming scheme on all the host machines within a
configuration.
Consulting Staff
Consulting Prices The last argument, SITE MAINTAINED AS, signifies the type of Oracle
Help Wanted!
instance that this primary database will assume after the switchover operation.
When a primary database is marked as physical, it cannot be turned into a logical
Oracle instance by switching it over with a standby database. The CREATE
CONFIGURATION statement has been simplified in Oracle10g:
http://www.dba-oracle.com/t_oracledataguard_267_dgmgrl_commands.htm 1/3
14/12/2017 DGMGRL Command Tips
The above text is an excerpt from the book: Oracle Data Guard Handbook
http://www.dba-oracle.com/t_oracledataguard_267_dgmgrl_commands.htm 2/3
14/12/2017 DGMGRL Command Tips
Note: This Oracle documentation was created as a support and Oracle training
reference for use by our DBA performance tuning consulting professionals. Feel
free to ask questions on our Oracle forum.
Burleson Consulting
The Oracle of Database Support
http://www.dba-oracle.com/t_oracledataguard_267_dgmgrl_commands.htm 3/3