Skip to content

Commit

Permalink
Quarterly QA - Zero Downtime Migration: Physical Offline Migration to…
Browse files Browse the repository at this point in the history
… Co-Managed Databases in OCI (#42)

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* commit

* Update object-storage-token.md

* commit

* commit

* Update eval_start.png

* commit

* Update db-migration.md

* Update db-migration.md

* commit

* Update db-migration.md

* coomit

* commit

* Update db-migration.md

* commit

* Update db-migration.md

* Update db-migration.md

* commit

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* commit

* commit

* Update zdm-host-provision.md

* commit

* Update zdm-host-provision.md

* commit

* commit

* Update prepare-source-db.md

* Update prepare-source-db.md

* Update prepare-source-db.md

* Update zdm-host-provision.md

* Update zdm-host-provision.md

* Update target-db-provision.md

* Update zdm-host-provision.md

* Update prepare-source-db.md

* commit

* Update prepare-target-db.md

* commit

* commit

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* commit

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* commit

* commit

* Update migrate-db.md

* Update migrate-db.md

* commit

* Update source-database-prov.md

* Update target-db-provision.md

* Update zdm-host-provision.md

* Update prepare-source-db.md

* Update prepare-target-db.md

* Update object-storage-token.md

* commit

* Update zdm-host-provision.md

* commit

asa

* Update zdm-host-provision.md

* commit

* Update manifest.json

* Update manifest.json

* Update manifest.json

* commit

* commit

* Update migrate-db.md

* Update migrate-db.md

* commit

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* commit

* Update manifest.json

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* Update ssh-source-login.png

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* commit

* Update prepare-source-db.md

* Update prepare-source-db.md

* commit

* Update prepare-target-db.md

* Update prepare-target-db.md

* commit

* Update migrate-db.md

* Update migrate-db.md

* commit

* commit

* Update migrate-db.md

* Update introduction.md

* Update source-db-provision.md

* Update target-db-provision.md

* commit

* commit

* Update introduction.md

* commit

* commit

* commit

* commit

* Update migrate-db.md

* Update migrate-db.md

* Update migrate-db.md

* commit

* commit

* commit

* commit

* Update migrate-db.md

* commit

* commit

* Update manifest.json

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* Update target-db-provision.md

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* target-db-provision-changes

* zdm provision update

* image change

* commit

* commit

* Update zdm-host-provision.md

* Updated source-db-provision

* Update source-db-provision.md

* target-db-provision

* target-db-prov

* Update target-db-provision.md

* prepare-target

* Updated multiple modules

* updated

* Updated
  • Loading branch information
aputhenc authored Nov 15, 2023
1 parent c8552f3 commit 3a31f43
Show file tree
Hide file tree
Showing 33 changed files with 30 additions and 73 deletions.
Binary file added zdm-physical-offline/db-image-selection-final.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified zdm-physical-offline/migrate-db/images/pdb-connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 8 additions & 20 deletions zdm-physical-offline/migrate-db/migrate-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,9 @@ In this lab
**sudo su - oracle**
Set the environment to connect to your database.
Type **. oraenv** and press **Enter**.
Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different in case of an on premises-database).
Type **sqlplus "/as sysdba"** and press **Enter** to connect to source CDB as SYS user.
Login to container database (CDB) using sqlplus as shown below.
Please find below snippet of the connection steps.
![Image showing connection to CDB using sqlplus](./images/source-cdb-connection.png)
Expand Down Expand Up @@ -261,14 +257,10 @@ In this lab
Switch user to **oracle** using below command.
**sudo su - oracle**
Type **sqlplus "/as sysdba"** and press **Enter** to connect to target CDB database as SYS user.
Set the environment to connect to your database.
Type **. oraenv** and press **Enter**.
Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different).
Login to container database(CDB) using sqlplus as shown below.
Please find below snippet of the connection steps.
![Image showing connection to CDB using sqlplus](./images/target-cdb-connection.png)
Expand Down Expand Up @@ -355,13 +347,9 @@ In this lab
**sudo su - oracle**
Set the environment to connect to your database.
Type **. oraenv** and press **Enter**.
Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different).
Type **sqlplus "/as sysdba"** and press **Enter** to connect to target CDB database as SYS user.
Login to container database(CDB) using sqlplus as shown below.
Please find below snippet of the connection steps.
![Image showing connection to CDB using sqlplus](./images/target-cdb-connection.png)
Expand All @@ -388,7 +376,7 @@ Congrats, you have completed ZDM Physical Offline Migration Live Lab.
## Acknowledgements
* **Author** - Amalraj Puthenchira, Data Management Modernise Specialist, EMEA Technology Engineering
* **Last Updated By/Date** - Amalraj Puthenchira, August 2023
* **Last Updated By/Date** - Amalraj Puthenchira, November 2023
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 1 addition & 13 deletions zdm-physical-offline/prepare-source-db/prepare-source-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ In this lab

**sudo su - oracle**

Set the environment to connect to your database.

Type **. oraenv** and press **Enter**.

Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different from ORCL).

Type **sqlplus "/as sysdba"** and press **Enter** to connect to source database as SYS user.

Please find below snippet of the connection steps.
Expand All @@ -50,12 +44,6 @@ In this lab

**sudo su - oracle**

Set the environment to connect to your database.

Type **. oraenv** and press **Enter**.

Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different from ORCL).

Type **sqlplus "/as sysdba"** and press **Enter** to connect to target database as SYS user.

Please find below snippet of the connection steps.
Expand Down Expand Up @@ -391,6 +379,6 @@ You may now **proceed to the next lab**.
## Acknowledgements
* **Author** - Amalraj Puthenchira, Data Management Modernise Specialist, EMEA Technology Engineering
* **Last Updated By/Date** - Amalraj Puthenchira, August 2023
* **Last Updated By/Date** - Amalraj Puthenchira, November 2023
Binary file modified zdm-physical-offline/prepare-target-db/images/rman-show-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 2 additions & 14 deletions zdm-physical-offline/prepare-target-db/prepare-target-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ In this lab

**sudo su - oracle**

Set the environment to connect to your database.

Type **. oraenv** and press **Enter**.

Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different from ORCL).

Type **sqlplus "/as sysdba"** and press **Enter** to connect to target database as SYS user.

Please find below snippet of the connection steps.
Expand All @@ -51,12 +45,6 @@ In this lab

**sudo su - oracle**

Set the environment to connect to your database.

Type **. oraenv** and press **Enter**.

Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different from ORCL).

Type **sqlplus "/as sysdba"** and press **Enter** to connect to source database as SYS user.

Please find below snippet of the connection steps.
Expand Down Expand Up @@ -101,7 +89,7 @@ In this lab
For e.g
The source and Target database timezone are 32 in the above sample output, which means no further action is to be taken.
The Target database timezone is 42 for this lab which is greater than the source timezone version of 32 , which means no further action is to be taken.
If the target timezone version is lower than the source database, follow the below document to do the timezone upgrade for an Oracle 19c target database.
Expand Down Expand Up @@ -217,5 +205,5 @@ You may now **proceed to the next lab**.
## Acknowledgements
* **Author** - Amalraj Puthenchira, Data Management Modernise Specialist, EMEA Technology Engineering
* **Last Updated By/Date** - Amalraj Puthenchira, August 2023
* **Last Updated By/Date** - Amalraj Puthenchira, November 2023
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 13 additions & 9 deletions zdm-physical-offline/source-db-provision/source-db-provision.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,31 +100,35 @@ Please note that you will be provisioning source database in a Public subnet for

![Image showing compute mage and shape](./images/image-shape.png)

8. Under **Networking** , make choices to reflect the below details.
8. Under **Primary VNIC Information** , make choices to reflect the below details.

![Image showing Network selection](./images/network-details.png " ")
![Image showing Primary VNIC selection](./images/primary-vnic-info.png " ")

9. Under **Add SSH keys**.
9. Leave **Primary VNIC IP Addresses** to default.

![Image showing Primary VNIC IP addresses](./images/primary-vnic-ip.png " ")

10. Under **Add SSH keys**.

Browse and provide the public ssh key generated earlier.

![Image showing SSK key details](./images/ssh-key-upload.png " ")

10. Leave the Boot volume section to default values.
11. Leave the Boot volume section to default values.

![Image showing Boot Volume details](./images/boot-volume.png " ")

10. Click on **Create** to start the compute provisioning.
12. Click on **Create** to start the compute provisioning.

![Image showing final page for compute creation](./images/compute-creation.png " ")

11. In few minutes , compute instance with database will be provisioned and running as below.
13. In few minutes , compute instance with database will be provisioned and running as below.

![Image showing provisioned compute instance](./images/compute-after-prov.png)

12. Take a note of the Public IP address of the compute instance which will be used to login to source database system.
14. Take a note of the Public IP address of the compute instance which will be used to login to source database system.

13. Collect the value of SYS password.
15. Collect the value of SYS password.

Login to the source database server using the Public IP and private ssh key.

Expand All @@ -136,5 +140,5 @@ You may now **proceed to the next lab**.

## Acknowledgements
* **Author** - Amalraj Puthenchira, Data Management Modernise Specialist, EMEA Technology Engineering
* **Last Updated By/Date** - Amalraj Puthenchira, August 2023
* **Last Updated By/Date** - Amalraj Puthenchira, November 2023

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified zdm-physical-offline/target-db-provision/images/db-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 6 additions & 17 deletions zdm-physical-offline/target-db-provision/target-db-provision.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ In this lab
**sudo su - oracle**
Set the environment to connect to your database.
Type **. oraenv** and press **Enter**.
Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID in case if it is different).
Type **sqlplus "/as sysdba"** and press **Enter** to connect to source database as SYS user.
Please find below snippet of the connection steps.
Expand Down Expand Up @@ -151,7 +145,7 @@ In this lab
Select database version as **19c** (same as the major version of your source database).
Select PSU as **19.16.0.0** ( If you have selected a different version for the source database in the previous lab, please provide that version here).
Select PSU as **19.20.0.0** ( If you have selected a different version for the source database in the previous lab, please provide that version here).
Upload Oracle Home patch inventory output generated in Task 1 as below.
Expand Down Expand Up @@ -279,42 +273,37 @@ In this lab
![Image showing custom software images created earlier](./images/db-image-selection-final.png)
13. Provide SYS password.
Enter SYS password which is same as the SYS password of the source database.
![Image showing the provision to enter SYS password](./images/sys-password.png)
14. Select database workload type.
In this lab , leave it to the default.
15. Disable database backups.
14. Disable database backups.
Uncheck the **Enable automatic backups** box to disable database backups.
We don't need automatic backups until we complete the database migration.
![Image showing the option to disable database backups](./images/disable-db-backup.png)
16. Select database charactetset.
15. Select database charactetset.
Click on **show advanced** options.
Ensure that you have selected same database and national characterset as the source database.
In this lab source database has below Database and National Characterset.
Database Characterset : AL32UTF8
Database Characterset : US7ASCII
National Characterset : AL16UTF16
Sample output is shown below.
![Image showing the database characterset selected](./images/db-characterset.png)
17. Start DB System provisioning.
16. Start DB System provisioning.
Click on the **Create DB System** to initiate the DB system provisioning.
Expand All @@ -326,6 +315,6 @@ You may now **proceed to the next lab**.
## Acknowledgements
* **Author** - Amalraj Puthenchira, Cloud Data Management Modernise Specialist, EMEA Technology Cloud Engineering
* **Last Updated By/Date** - Amalraj Puthenchira, August 2023
* **Last Updated By/Date** - Amalraj Puthenchira, November 2023

0 comments on commit 3a31f43

Please sign in to comment.