Moving Domain to Another Compartment
When you move a WebLogic domain to a different compartment within the same tenancy, ensure the new compartment has the required policies set up. Otherwise, the domain will not be visible in the new compartment.
- On the Domains list page, select the name of the domain.
- Under More actions, click Move resource.
- In the Move resource dialog, select the destination compartment and then click Move resource.
Use the oci wlms wls-domain change-compartment command and required parameters to move a WebLogic domain to a different compartment in the tenancy.
oci wlms wls-domain change-compartment --compartment-id ocid --wls-domain-id ocid[OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeWlsDomainCompartment operation to move a domain to a different compartment.