Add or Replace Subnets for a Recovery Service Subnet

You can replace a subnet or add more subnets to support the required number of private endpoints for Recovery Service operations.

  • If a Recovery Service subnet contains insufficient number of available IP addresses, then Recovery Service issues an alert message when you try to add a new database. In this scenario, you can add IP addresses by associating multiple subnets to the Recovery Service subnet.
  • If you want to replace the subnet registered by Recovery Service, then you must first add the new subnet before deleting the existing one.

For subnet size recommendations, see About Using a Private Subnet for Recovery Service Operations.

Using the Console

  1. On the Recovery Service subnets list page, select the Recovery Service subnet that you want to work with. See Listing Recovery Service Subnets for details to access the list page.
  2. On the details page, go to the Subnets tab.
    • Select Add subnets.
    • In the Add subnets panel, select the Compartment and the Subnet you want to add.
    • Select Add subnets.
  3. On the Subnets tab, use these steps to replace an existing subnet. You must ensure to first add the new subnet before deleting the existing one.
    • Select Add subnet to add a new subnet.
    • From the Actions menu, select Delete to delete the subnet that you no longer want to use.
Note

A Recovery Service subnet must be associated with at least one subnet belonging to your database VCN.

Using the CLI

Use the oci recovery recovery-service-subnet update command and required parameters to update a Recovery Service subnet and add subnets.

See Autonomous Recovery Service CLI Command Reference for a complete list of parameters and values for CLI commands.

Using the API

Run the UpdateRecoveryServiceSubne API operation to update a Recovery Service subnet.