Scenario 4: Establish a Connection Between the Configurations and Enable Them

Using DGMGRL, connect to the source container database boston in configuration Boston using the wallet created in Scenario 2: Prepare the Environment and establish a connection with configuration NewYork.
$ dgmgrl /@boston 
DGMGRL for Linux: Release 23.0.0.0.0 - Development on Mon Jan 30 21:00:24 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> ADD CONFIGURATION 'NewYork' CONNECT IDENTIFIER IS newyork; 
Configuration NewYork added. 
DGMGRL> SHOW CONFIGURATION; 
Configuration - Boston 
  Protection Mode: MaxPerformance   
  Members: 
  boston - Primary database 
  newyork - Primary database in NewYork configuration 
Fast-Start Failover: Disabled 
Configuration Status: 
DISABLED
Initially, both configurations are in a DISABLED state and must be enabled before configuring PDB-level Data Guard protection. Use the following command to enable both configurations:
DGMGRL> ENABLE CONFIGURATION ALL; 
Enabled. 
Note that the Configuration Status has now changed to SUCCESS:
DGMGRL> SHOW CONFIGURATION; 
Configuration - Boston 
  Protection Mode: MaxPerformance 
  Members: 
  boston - Primary database 
  newyork - Primary database in NewYork configuration 
Fast-Start Failover: Disabled 

Configuration Status: 
SUCCESS (status updated 14 seconds ago) 
Continue to use this DGMGRL session in the next scenario.