DATABASE升级(10.2.0.1 - 10.2.0.5)
开系统还没有dbca创建数据库,在这里可以直接执行安装包来升级。
1. 运行安装文件,开始安装(和CRS升级使用的是同一个升级文件)
$ ./runInstaller
2. 这里注意选择ORACLE_HOME路径db_1,CRS升级时是使用CRS_HOME路径
3. 点击Next
4. 点击Next
5. 环境检查,点击Next
6. 点击install,开始正式安装
注意/u01前面的红色图标,这是因为/u01磁盘空间不足导致的。通过扩容后该红色图标就消失了。
采用下面的命令将/u01扩大到20GB
# chfs -a size=20G /u01
7. 根据要求,以root用户执行脚本后点击OK
节点scgl1
# /u01/app/oracle/product/10.2.0/db_1/root.sh
Running Oracle 10g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/10.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
节点scgl2
# /u01/app/oracle/product/10.2.0/db_1/root.sh
Running Oracle 10g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/10.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
8. 升级结束
到此oracle10.2.0.1 RAC 升级 oracle10.2.0.5的案例分享就结束了,后面的创建数据库DBCA,划分ASM部分就不在这里展示了,贴图实在是有些辛苦。
开系统还没有dbca创建数据库,在这里可以直接执行安装包来升级。
1. 运行安装文件,开始安装(和CRS升级使用的是同一个升级文件)
$ ./runInstaller
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796093c7Cx.jpg)
2. 这里注意选择ORACLE_HOME路径db_1,CRS升级时是使用CRS_HOME路径
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796031OUAB.jpg)
3. 点击Next
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796032i6Np.jpg)
4. 点击Next
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796032Upm7.jpg)
5. 环境检查,点击Next
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796036CoUo.jpg)
6. 点击install,开始正式安装
![](http://blog.itpub.net/attachment/201409/4/29047826_14097960364j2k.jpg)
注意/u01前面的红色图标,这是因为/u01磁盘空间不足导致的。通过扩容后该红色图标就消失了。
采用下面的命令将/u01扩大到20GB
# chfs -a size=20G /u01
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796039EYIC.jpg)
7. 根据要求,以root用户执行脚本后点击OK
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796039U4zv.jpg)
节点scgl1
# /u01/app/oracle/product/10.2.0/db_1/root.sh
Running Oracle 10g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/10.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
节点scgl2
# /u01/app/oracle/product/10.2.0/db_1/root.sh
Running Oracle 10g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/10.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
8. 升级结束
![](http://blog.itpub.net/attachment/201409/4/29047826_1409796040yEZ9.jpg)
到此oracle10.2.0.1 RAC 升级 oracle10.2.0.5的案例分享就结束了,后面的创建数据库DBCA,划分ASM部分就不在这里展示了,贴图实在是有些辛苦。