Scenario 3: Create the Source and Target Configurations
Using DGMGRL, connect to the source container database boston using the
wallet created in Scenario 2: Prepare the Environment and create the source configuration Boston. It must contain the
source container database boston with PDBs
Do not perform
the Task 6 steps of Chapter 8 Scenario 1 to create a CDB-level standby database and
do not create CDB-level standby redo log files for either container database.
bos_sales
,
bos_acct
, and bos_finance
. The source PDB that
will be protected using a DG PDB configuration is bos_sales
.
$ dgmgrl /@boston
DGMGRL for Linux: Release 23.0.0.0.0 - Development on Mon Jan 30 20:51:01 2023
Version 23.1.0.0.0
Copyright (c) 1982, 2023, Oracle and/or its affiliates. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected to "boston"
Connected as SYSDBA.
DGMGRL> CREATE CONFIGURATION 'Boston' CONNECT IDENTIFIER IS boston;
Connected to "boston"
Configuration "Boston" created with primary database "boston"
DGMGRL> SHOW CONFIGURATION;
Configuration - Boston
Protection Mode: MaxPerformance
Members:
boston - Primary database
Fast-Start Failover: Disabled
Configuration Status:
DISABLED
Using DGMGRL, connect to the target container database newyork using the wallet
created in Scenario 2: Prepare the Environment and
create the target configuration NewYork. It must contain the target container
database newyork
, which will provide data protection to the PDB
bos_sales
in the source configuration Boston. The source PDB
bos_sales
will be protected by the target PDB
nyc_sales
created in Scenario 6: Configure Data Guard Protection for the Source PDB.
$ dgmgrl /@newyork
DGMGRL for Linux: Release 23.0.0.0.0 - Development on Mon Jan 30 20:52:38 2023
Version 23.1.0.0.0
Copyright (c) 1982, 2023, Oracle and/or its affiliates. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected to "newyork"
Connected as SYSDBA.
DGMGRL> CREATE CONFIGURATION 'NewYork' CONNECT IDENTIFIER IS newyork;
Connected to "newyork" Configuration "NewYork" created with primary database "newyork"
DGMGRL> SHOW CONFIGURATION;
Configuration - NewYork
Protection Mode: MaxPerformance
Members:
newyork - Primary database
Fast-Start Failover: Disabled
Configuration Status:
DISABLED
See Scenario 1: Creating a Configuration Scenario 1
of chapter 8 "Scenarios Using the DGMGRL Command-Line Interface": Creating a
Configuration Tasks 1-5 for more information about creating a Data Guard
configuration.
Note: