Skip to content

Commit 423fb17

Browse files
Update and rename Best Practices-Upgrading to 19c using dbcli in OCI.md to best-practices-upgrading-to-19c-using-dbcli-in-oci.md
name change and typo
1 parent 3bba4b3 commit 423fb17

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# Introduction
22

3-
The best practices in this document provides recommendations for successfully migrating a 12c database running on a compute VM to a VM DB system (DBCS) in Oracle Cloud Infrastructure (OCI) while simultaneously upgrading the database to the 19c version using the dbcli utility. This document covers planning, preparation, provisioning, data migration, and the upgrade process. It offers insights into optimizing the migration and upgrade journey, ensuring compatibility, minimizing downtime and achieving a seamless transition to the new environment.
3+
The best practices in this document provide recommendations for successfully migrating a 12c database running on a compute VM to a VM DB system (DBCS) in Oracle Cloud Infrastructure (OCI) while simultaneously upgrading the database to the 19c version using the dbcli utility. This document covers planning, preparation, provisioning, data migration, and the upgrade process. It offers insights into optimizing the migration and upgrade journey, ensuring compatibility, minimizing downtime, and achieving a seamless transition to the new environment.
44

55
Owner: Bhaskar Ivaturi
66

77
## Assessment and Planning:
88

99
To ensure a smooth migration from Oracle 12c to 19c, it is important to plan the migration timeline while considering any downtime limitations and potential impact on users or applications. The following alternative approaches can be considered based on the size of the source database:
1010

11-
For a source database of approximately 1-2 TB, an export/import method can be employed to migrate and upgrade the database to Oracle 19c. This approach eliminates the need for converting Non-CDB to CDB database and later upgrading the database using DBCLI. To execute this method, it is recommended to refer MOS note 2554156.1, which provides a step-by-step guide for migrating the database to 19c in OCI.
11+
For a source database of approximately 1-2 TB, an export/import method can be employed to migrate and upgrade the database to Oracle 19c. This approach eliminates the need for converting Non-CDB to CDB database and later upgrades the database using DBCLI. To execute this method, it is recommended to refer MOS note 2554156.1, which provides a step-by-step guide for migrating the database to 19c in OCI.
1212

13-
However, if the source database is larger than 2 TB, a different migration approach of hybrid DR along with dbcli tool to upgrade database should be taken to minimize downtime.
13+
However, if the source database is larger than 2 TB, a different migration approach of hybrid DR along with dbcli tool to upgrade the database should be taken to minimize downtime.
1414

1515
The following high-level steps outline this approach:
1616

1717
- Provision a target 12c VM DB system (DBCS) in OCI.
1818
- Drop the pluggable database and shut down the CDB database.
19-
- Configure a standby database for the source database on the newly provisioned 12c VM DB system, utilizing the same ORACLE_HOME binaries and ASM filesystem for the datafiles.
19+
- Configure a standby database for the source database on the newly provisioned 12c VM DB system, utilizing the same ORACLE_HOME binaries and ASM filesystem for the data files.
2020
- Install the 19c Oracle Binaries on the 12c VM DB system using dbcli.
2121
- Start Managed Recovery Process (MRP) till cutover.
2222
- During the cutover
@@ -26,15 +26,15 @@ The following high-level steps outline this approach:
2626
- Execute the necessary post-PDB steps on the DB Node.
2727
- Configure the application to connect with the 19c database using adcfgclone.pl located under $ADMIN_SCRIPTS_HOME.
2828

29-
The remaining part of the document outlines best practices for the above high level steps.
29+
The remaining part of the document outlines best practices for the above high-level steps.
3030

3131
### Pre-upgrade Tasks:
32-
By thoroughly reviewing the Oracle Database 19c documentation and release notes, verifying hardware and software requirements and evaluating the impact on existing applications, the organization can save approximately half a day in preparation time.
32+
By thoroughly reviewing the Oracle Database 19c documentation and release notes, verifying hardware and software requirements, and evaluating the impact on existing applications, the organization can save approximately half a day in preparation time.
3333

3434
#### Planning and Testing:
3535
- Develop a comprehensive upgrade plan with specific milestones and timelines.
3636
- Create a test environment to simulate the upgrade process and validate its impact on applications.
37-
- Perform thorough testing of all critical application process and functionality in the test environment.
37+
- Perform thorough testing of all critical application processes and functionality in the test environment.
3838
- Define rollback and backup procedures in case any issues arise during the upgrade.
3939

4040

@@ -51,12 +51,12 @@ By carefully reviewing and adhering to the information presented in these docume
5151

5252

5353
###### Database:
54-
1. Analyze the existing database and its components, such as tablespaces, data files and schemas.
54+
1. Analyze the existing database and its components, such as tablespaces, data files, and schemas.
5555
2. Resolve any outstanding database issues, such as inconsistencies or corruption.
5656
3. Implement necessary performance tuning and optimizations before the upgrade.
5757
4. Ensure that the database is adequately backed up and the backups are accessible during the upgrade process.
5858

59-
By analyzing the existing database, resolving outstanding issues and implementing performance tuning and optimizations beforehand, the organization can save significant downtime.
59+
By analyzing the existing database, resolving outstanding issues, and implementing performance tuning and optimizations beforehand, the organization can save significant downtime.
6060

6161
### Provisioning
6262
- Create a Database 12c VM DB system in OCI.
@@ -74,7 +74,7 @@ Connect to the database using SQL*Plus as the sysdba user:
7474

7575
### Data migration
7676

77-
Configure standby database for source EBS database on the OCI VM DB system. We are using the OCI VM DB system $ORACLE_HOME and ASM (+DATA, +RECO) locations for the physical standby database creation. Creating standby database will save the overall downtime which is required during the cutover by avoiding a database backup and restore, especially if the database size is greater than 2TB.
77+
Configure standby database for source EBS database on the OCI VM DB system. We are using the OCI VM DB system $ORACLE_HOME and ASM (+DATA, +RECO) locations for the physical standby database creation. Creating a standby database will save the overall downtime which is required during the cutover by avoiding a database backup and restore, especially if the database size is greater than 2TB.
7878

7979

8080
#### Set up a standby database for your source database
@@ -97,7 +97,7 @@ In the pfile, set the "DB_FILE_NAME_CONVERT" parameter to specify the conversion
9797
DUPLICATE TARGET DATABASE TO <source DB name> BACKUP LOCATION <'backup location path'>;
9898
- Start the managed recovery and make sure the archives are getting shipped and applied to the standby database.
9999

100-
During the cutover we will cancel the managed recovery and activate physical standby database.
100+
During the cutover, we will cancel the managed recovery and activate the physical standby database.
101101

102102
######Example:
103103
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
@@ -122,7 +122,7 @@ SQL patch errors can be ignored at this point.
122122
Review warnings regarding mismatched database parameters and update any that are critical for your environment. For more information, refer to Document 396009.1, Database Initialization Parameters for Oracle E-Business Suite Release 12.
123123

124124
### Upgrade Process
125-
Before we start the upgrade process ensure that you verify the precheck output file generated during the execution prior to initiating the upgrade process. This can be accomplished by performing a validation using both the hcheck.sql script and the dbcli upgrade-database command with the --precheck flag. Also, make sure that we always update the dbcli tool and use the latest version using cliadm update-dbcli command.
125+
Before we start the upgrade process ensure that you verify the precheck output file generated during the execution prior to initiating the upgrade process. This can be accomplished by performing validation using both the hcheck.sql script and the dbcli upgrade-database command with the --precheck flag. Also, make sure that we always update the dbcli tool and use the latest version using cliadm update-dbcli command.
126126

127127
*The hcheck.sql file can be downloaded from the MOS Note 136697.1*
128128

@@ -152,11 +152,11 @@ where -i is the 12c DB ID and -dh is the 19c DB home ID value. You can get these
152152

153153
### Post-upgrade Tasks
154154
- Conduct thorough testing of the upgraded database to validate its functionality.
155-
- Update any necessary configurations, parameters or settings in the upgraded database.
155+
- Update any necessary configurations, parameters, or settings in the upgraded database.
156156
- Revalidate the performance of critical application processes and tune the database if required.
157157
- Communicate the successful completion of the upgrade to relevant stakeholders.
158158

159159
### Maintenance and Support
160160
- Establish a plan for ongoing database maintenance and support activities.
161-
- Schedule regular backups, patching and performance monitoring for the upgraded database.
161+
- Schedule regular backups, patching, and performance monitoring for the upgraded database.
162162
- Stay up to date with Oracle's support and patching releases for Oracle Database 19c.

0 commit comments

Comments
 (0)