3 Migrate WLS Domain to OCI
OCI Resource Manager requires the compressed stack file created in the Generate OCI Resource Manager Stack step by migration_script.sh.
Step 1: Pre-requisites for Resource Manager
Before launching the stack, ensure the following are completed:
-
Database Migration (for JRF WebLogic-enabled domains) Complete the on-premise database migration to OCI-DB or ATP-DB as appropriate before running the Resource Manager Apply action.
-
JDBC Connection Strings (for JRF WebLogic-enabled domains) JDBC connection strings of the OCI Database must be known before running the Resource Manager Apply action.
-
IAM Policies for Non-Admin Users Ensure you have the correct IAM permissions. For Non-Admin users, see Required IAM Policies for Non-Admin Users.
-
Dynamic Group Policies If you unselect the "Create Policies" checkbox during stack creation, ensure appropriate dynamic group policies are already in place. See Dynamic Group Policies for details.
-
Marketplace Terms (if using UCM images) If you plan to use an Oracle WebLogic for OCI UCM image from the Marketplace, you must accept the terms for that listing in advance.
- If you do not accept the terms and select a UCM image during stack creation, the Resource Manager Apply job will fail.
Step 2: Collect the Stack File
-
If
migration_script.shwas executed withskip_transfer=true: Transfer the stack file to a workstation that has access to Oracle Cloud via a browser. -
If
migration_script.shwas executed withskip_transfer=false:- Windows: Use the PAR URL generated by the script to access the stack directly.
- Linux: Download the
stack.ziplocally using the PAR URL.
Step 3: Launch the Stack
- Open a browser and log in to your OCI Tenancy.
- From the top-left corner, select Developer Services.
- In the dropdown, click Stacks, then click Create Stack.
- In the Create Stack wizard, under Stack Configuration, select .Zip file and upload the collected stack file.
- Click Next.
- Customize any stack variables required for your environment (see Inputs to Resource Manager), or leave them as default.
- Click Create.
- From the Stack Details page, click Apply to launch the stack and provision the OCI resources.