Connecting Two Remote Peering Connections
Connects an RPC object to an RPC object on another DRG.
Prerequisite: The requestor must have:
- The region the acceptor's VCN is in (the requestor's tenancy must be subscribed to the region).
- The OCID of the acceptor's RPC.
The requestor RPC must perform this task.
When the connection is no longer needed, the RPCs can be disconnected by deleting one of the RPCs.
The connection is established and the RPC's state changes to PEERED.
Use the network remote-peering-connection connect command and required parameters to connect an RPC to an RPC on another DRG:
oci network remote-peering-connection connect --peer-id acceptor-ocid --peer-region-name region --remote-peering-connection-id rpc-ocid ... [OPTIONS]
The region names that could be used for
--peer-region-name
are listed in Regions and Availability Domains. For example:us-ashburn-1
.For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ConnectRemotePeeringConnections operation to connect an RPC to an RPC on another DRG.