OCI On-Prem to Cloud Database Migration | DMS - Online Migration | Part 1
Introduction
In this article, I will explain step by step how to migrate a 19C PDB to Oracle cloud infrastructure Autonomous Database(ADB).
For the convenience of these labs the following resource prerequisites have been created in advance:
You will create the Database Connections for the source and target databases.
You will also create an online Migration that you will later Validate and finally you will Run the actual migration in article part 2.
With DMS we make it quick and easy for you to migrate databases from on-premises, Oracle or third-party cloud into Oracle databases on OCI.
Note: Here I used another Oracle Cloud environment where I configured SourceCDB & SourcePDB that will act as an on-prem environment as I had some limitations to arrange real on-prem env. In the next article, I will show that one also.
OCI Database Migration
DMS provides high performance, fully managed approach to migrating databases from on-premises, Oracle, or third-party cloud into OCI-hosted databases. Migrations can be in either one of the following modes:
In the current release of DMS we support Oracle databases located on-premises, in third-party clouds, or on OCI as the source. The supported targets are in OCI, below is a table of supported configurations;
The DMS service runs as a managed cloud service separated from the user's tenancy and resources. The service operates as a multitenant service in a DMS Service Tenancy and communicates with the user's resources using Private Endpoints (PEs). PEs are managed by DMS and are transparent to the user.
Step 1: Create Database Connections
Database connection resources enable networking and connectivity for the source and target databases. You will also create and Online Migration leveraging the integrated GoldenGate feature available in DMS.
Task 1: Create Database Connection for Source CDB
For this task you need the following info from previous steps:
2. Select your assigned compartment. In OCI go to the Compartment field and set you desired compartment:
3. Press Create connection
4. On the page General information, fill in the following entries, otherwise leave defaults:
5. Press Next
6. On the page Connection details, fill in the following entries, otherwise leave defaults:
Note: Everywhere I mentioned Admin Password that actually means a common password I used for database system user, CDB c##ggadmin user, and goldengate ggadmin user and ADB admin user.
Please uncheck the checkbox Create private endpoint to access this database.
7. Press Create
8. Wait for connection to get created and press Test connection to confirm that your Database Connection details are correct
If the test is not successful, correct your connection details and try again
Task 2: Create Database Connection for Source PDB
For this task you need the following info from previous steps:
2. Press Create connection
3. On the page General information, fill in the following entries, otherwise leave defaults:
4. Press Next
5. On the page Connection details, fill in the following entries, otherwise leave defaults:
Please uncheck the checkbox Create private endpoint to access this database.
6. Press Create
7. Wait for connection to get created and press Test connection to confirm that your Database Connection details are correct
Task 3: Create Database Connection for Target ADB
For this task you need the following info from previous steps:
2. Press Create connection
3. On the page General information, fill in the following entries, otherwise leave defaults:
4. Press Next
5. On the page Connection details, fill in the following entries, otherwise leave defaults:
Please uncheck the checkbox Create private endpoint to access this database needs to stay unchecked.
6. Press Create
Please wait for all Database Connection resources to display as Active before proceeding to the next task.
7. Press Test connection to confirm that your Database Connection details are correct
8. Database Connections Details as below
Part 2 coming soon!!! Stay tuned...
Mentions:
Oracle Cloud Computing Oracle Cloud Amazon Web Services (AWS) Microsoft Azure Google Cloud @ OCI Database Migration Services @Oracle CDB @Oracle PDB @AutonomousDB
Software Engineer ? Technical Analysis Specialist ? Full-Stack Developer
2 个月????????