5 Clone a Stack

You can clone an Oracle WebLogic Server for OCI instance by cloning the block volumes that contain the middleware binaries (mw) and the domain configuration (data).

Note:

To ensure that a cloned instance uses the appropriate image, do not clone the boot volume.

Following are the different methods to clone an instance:
  • Move the instance

    In this method, the binaries and data are moved from one instance to another. Here, the same database, load balancer, and IDCS application (if IDCS is enabled), is used in the source and the cloned instance.

    Example: You want a newer version of the OS and cannot get the current instance's kernel updated. In this use case, you would want to move binaries and data from one instance at a lower kernel version to another instance, where the kernel is newer.

    Note:

    In the JRF case, when following the manual cloning method, where infra database is used, to ensure that the cloned instance can connect to the database, it is recommended to:
    • Verify that the cloned instance security rules allow access to the existing infra database.
    • Have the Compartment and VCN of the cloned instance be the same as the database.
  • Copy the instance

    In this method, you will copy the binaries and data from one instance to another. Here, load balancer or IDCS application (if IDCS is enabled), is different for the source and instance.

    Example: You have a test instance and a production instance. After you have completed testing updates in the test instance you want to copy the contents to the production instance.

    Note:

    Currently, in this method, cloning for an instance with JRF database is not supported.