Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
177 views2 pages

Oracle 19c AutoUpgrade Guide

1. The document provides instructions for downloading and running Oracle Database autoupgrade tool to upgrade an Oracle 12c database to 19c. 2. It describes creating a configuration file with parameters like the source and target homes, database details, and log directories for the upgrade job. 3. The steps shown are to analyze and fix issues, deploy the upgrade, and use downgred features like flashback if needed to rollback the database to a pre-upgrade state.

Uploaded by

Sagar Ch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views2 pages

Oracle 19c AutoUpgrade Guide

1. The document provides instructions for downloading and running Oracle Database autoupgrade tool to upgrade an Oracle 12c database to 19c. 2. It describes creating a configuration file with parameters like the source and target homes, database details, and log directories for the upgrade job. 3. The steps shown are to analyze and fix issues, deploy the upgrade, and use downgred features like flashback if needed to rollback the database to a pre-upgrade state.

Uploaded by

Sagar Ch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1 download 19c autoupgrade

2 https://support.oracle.com/epmos/main/downloadattachmentprocessor?parent=DOCUMENT&sourceI
d=2485457.1&attachid=2485457.1:AUTOUPGRADE_19100&clickstream=yes
3
4 jar file version
5 $ORACLE_HOME/jdk/bin/java -jar autoupgrade.jar -version
6
7
8
9
10 create config file
11
12 # Global logging directory pertains to all jobs
13 #
14 global.autoupg_log_dir=/u01/app/oracle/autoupgrade # Top level logging directory
(Required)
15 #
16 # Database 1
17 #
18 upg1.dbname=cdb1
19 upg1.source_home=/u01/app/oracle/product/12.2.0.1/db_1
20 upg1.target_home=/u01/app/oracle/product/19.0.0/dbhome_1
21 upg1.sid=cdb1
22 upg1.start_time=now
23 upg1.log_dir=/u01/app/oracle/autoupgrade/chennai
24 upg1.upgrade_node=ol8-19.localdomain
25 upg1.run_utlrp=yes
26 upg1.timezone_upg=yes
27 upg1.target_version=19.3
28
29
30 export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
31 export PATH=$PATH:$ORACLE_HOME/jdk/bin
32
33
34 analyze
35
36 $ORACLE_HOME/jdk/bin/java -jar /home/oracle/autoupgrade.jar -config
/home/oracle/config.txt -mode analyze
37
38 fixups
39 $ORACLE_HOME/jdk/bin/java -jar /home/oracle/autoupgrade.jar -config
/home/oracle/config.txt -mode fixups
40
41 deploy
42 $ORACLE_HOME/jdk/bin/java -jar /home/oracle/autoupgrade.jar -config
/home/oracle/config.txt -mode deploy
43
44
45
46
47 downgred
48
49 set line 200
50 set pages 200
51 select * from v$restore_point;
52
53
54
55 AUTOUPGRADE_9212_CDB1122010
56
57 flashback database to restore point AUTOUPGRADE_9212_CDB1122010;
58
59 alter database open resetlogs;
60
61 start database 12 c home
62
63 export TMP=/tmp
64 export TMPDIR=$TMP
65
66 export ORACLE_HOSTNAME=ol8-121.localdomain
67 export ORACLE_UNQNAME=cdb
68 export ORACLE_BASE=/u01/app/oracle
69 export ORACLE_HOME=$ORACLE_BASE/product/12.2.0.1/db_1
70 export ORA_INVENTORY=/u01/app/oraInventory
71 export ORACLE_SID=cdb
72
73 export PATH=/usr/sbin:/usr/local/bin:$PATH
74 export PATH=$ORACLE_HOME/bin:$PATH
75
76 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
77 export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
78 export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

You might also like