Beruflich Dokumente
Kultur Dokumente
This document is Upgrade step by step RAC upgrade procedure to upgrade Oracle 10gR2
(10.2.0.3) Real Application Cluster (RAC) to Oracle 11gR2 (11.2.0.1) RAC. This procedure
cannot be used for a fresh RAC installation.
Oracle 11gR2 RAC has brought in a some good changes. Oracle 10g CRS and ASM
homes are no more. Both CRS and ASM are installed in to the same home, GRID
Infrastructure home. SCAN is introduced.
In 11g, OCR and Voting disks can be stored in ASM Disk group
RAW Devices for OCR and Voting disk are still supported on upgraded RAC
environments. This is not an option during a fresh install.
New user for CRS and ASM administration is introduced. ie. grid user. This is more of a
role management for storage guys. It has to be the same OS user in Oracle 10g.
However, since this is an upgrade, I had to retain the same user for grid. Of course,
during fresh installation, you can still run both Grid and Oracle database with the same
user.. but oracle recommends a separate user for grid.
Pre-upgrade tasks
Backup the database:
[root@casper5 ~]#srvctl stop services -d casper
[root@casper5 ~]#srvctl stop database -d casper
[root@casper5 ~]#rman target /
RMAN>startup mount;
RMAN>
run {
allocate channel d1 device type disk FORMAT '/rman5bkp/casper/ora_df%t_s%s_s%p';
allocate channel d2 device type disk FORMAT '/rman5bkp/casper/ora_df%t_s%s_s%p';
allocate channel d3 device type disk FORMAT '/rman5bkp/casper/ora_df%t_s%s_s%p';
allocate channel d4 device type disk FORMAT '/rman5bkp/casper/ora_df%t_s%s_s%p';
allocate channel d5 device type disk FORMAT '/rman5bkp/casper/ora_df%t_s%s_s%p';
backup as compressed backupset database;
backup current controlfile;
}
RMAN>shutdown
RMAN>exit
0. 0 /ocfvot/vote3.crs
1. 0 /ocfvot/vote3.crs
2. 0 /ocfvot/vote3.crs
located 3 votedisk(s).
Vi /etc/hosts
192.168.2.99 scan.uclidit.com scan
Run cluvfy script from the grid directory and address all the problems:
We expect the verification phase to fail with an error relating to the SCAN, assuming you are not using
DNS.
INFO: Checking Single Client Access Name (SCAN)...
INFO: Checking name resolution setup for "rac-scan.localdomain"...
INFO: ERROR:
INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name
"rac-scan.localdomain"
INFO: ERROR:
INFO: PRVF-4657 : Name resolution setup check for "rac-scan.localdomain" (IP
address: 192.168.2.201) failed
INFO: ERROR:
INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name
"rac-scan.localdomain"
INFO: Verification of SCAN VIP and Listener setup failed
Provided this is the only error, it is safe to ignore this and continue by clicking the "Next" button.
[root@casper5 ~]#crs_stat -t