Tutorial: Migrating Oracle WebCenter Sites from On-Premises Install to Oracle Cloud Infrastructure (Lift and Shift to OCI)
(Doc ID 3020790.1)
Last updated on MAY 08, 2024
Applies to:
Oracle WebCenter Sites for OCI - Version 12.2.1.4_24.2 and laterOracle WebCenter Sites - Version 12.2.1.4.0 to 12.2.1.4.0 [Release FatWire]
Information in this document applies to any platform.
Purpose
This document will show how to do Lift and Shift to migrate an Oracle WebCenter Sites (WCS) installation from an On-Premises install to Oracle Cloud Infrastructure (OCI).
This exercise can be used as a proof of concept to migrate an On-Premise install to the Cloud.
Scope
This document was tested with the following configuration:
- WebCenter Sites (WCS) version 12.2.1.4.
- This document assumes any external authentication LDAP has already been installed or migrated to the Cloud.
e.g. Oracle Internet Directory (OID), Active Directory, etc.
- This document will not cover the reconfiguration for Single Sign On solutions such as Oracle Access Manger (OAM), Security Assertion Markup Language (SAML), Customizable Single-Sign On, etc.
You should still be able to migrate the WebCenter Sites, but you will need to re-implement any non-standard SSO solutions.
- This was a simple setup (not High Availability (HA)).
However, a similar approach can be used to migrate an HA setup.
- This migration was tested on Oracle Linux.
- In this document the migration from On-Premises to OCI uses the same Middleware Home and Domain Home.
- In this migration, the On-Premises Database instance version was Oracle DB 19c.
The Cloud Database version was 19c.
The migration of schemas was done using expdp and impdp which allows migration between different versions of the database.
NOTE:
Support for the different products used in this tutorial is provided by different teams. If assistance is needed, contact Oracle Support and ensure to open a Service Request for the related product.
Support for the different products used in this tutorial is provided by different teams. If assistance is needed, contact Oracle Support and ensure to open a Service Request for the related product.
- The Repository Configuration Utility (RCU) is supported by the Fusion Middleware/WebLogic Server team.
- Export/Import from and to the database is supported by the Database team
- Installation and Configuration of WebCenter Sites is supported by the WebCenter Sites team.
- Installation and Configuration of Oracle HTTP Server is supported by the Oracle HTTP Server Team.
Details
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Purpose |
Scope |
Details |
1. Introduction to the Migration Process |
2. Assumptions for the On-Premises Fusion Middleware Home, Domain Home and Schema Prefix |
3. Prerequisites |
3.1. Prepare the On-Premises instance |
3.2. Prepare the Cloud Instance |
4. Backing Up the On-Premises Instance |
4.1. Backup the Database Schemas |
4.1.1. Create a Directory to Hold the Database Exported Data |
4.1.2. Identify the Schemas to be Exported |
4.1.3. Export the Schemas |
4.1.4. Create a Compressed File with the Files from the Exported Schemas |
4.2. Backup the WebCenter Sites Environment Folders (DOMAIN_HOME, WCS_SHARED, ORACLE_HOME) |
4.2.1. Shutdown the Domain to Perform Backup Actions that Require the Domain to be Down |
4.2.2. Create a Directory to Hold the Exported Domain Data |
4.2.3. Set Environment Variables for the Fusion Middleware Home and Domain |
4.2.4. Create a Compressed File of the WebCenter Sites Shared filesystem |
4.2.5. Create a Compressed File of the Domain |
4.2.6. Create a Compressed File of the Applications |
4.2.7. Create a Compressed File of the ORACLE_HOME |
4.2.8. Create a Compressed File with the Files from the Domain Backup |
5. Restoring the On-Premises Backup to the Oracle Cloud (OCI) |
5.1. Restore WebCenter Sites Files to Cloud instance |
5.1.1. Create a Directory in the WebCenter Sites Cloud Instance to Hold the Exported Data |
5.1.2. Set Environment Variables for the Fusion Middleware Home and Domain |
5.1.3. Extract the ORACLE_HOME Backup |
5.1.4. Extract the DOMAIN_HOME |
5.1.5. Extract the APPLICATIONS_HOME |
5.1.6. Extract the WCS_SHARED |
5.1.7. Fix the Java Home Path References (Only if the Java Home Path Changed) |
5.2. Create the WebCenter Sites Schemas |
5.2.1. Create new Database Schemas for WebCenter Sites and in the Cloud Database using the Repository Configuration Utility |
5.3. Check connection to the database as sysdba |
5.4. Restore the WebCenter Sites Database Schemas |
5.4.1. Create a Directory in the Database Cloud Instance to Hold the Database Exported Data |
5.4.2. Import the Domain Database Schemas |
5.6. Complete the WebCenter Sites Migration |
5.6.1. Update references to old hostnames for WebCenter Sites server and Load Balancer |
5.6.2. Update the JDBC DataSource URL Configuration |
5.6.3. Update the Bootstrap Credential in the jps-config.xml File |
5.6.4. Update the Passwords in JDBC DataSouce Config Files |
5.6.5. Update hostname references in the Database |
5.7. Test the WebCenter Sites Migration |
5.7.1. Startup the WebCenter Sites domain |
5.7.2. Startup OHS |
5.7.2. Startup the Load Balancer |
5.8. Test WebCenter Sites environment |
A. Appendix |
A.1. Start the Domain |
A.1.1. Start the Node Manager |
A.1.2. Start the Administration Server |
A.1.3. Start the WebCenter Sites Managed Servers |
A.2. Stop the Domain |
References |