接上一篇 Oracle10.2.0.1RAC 升级 Oracle10.2.0.5案例分享 -CRS篇
http://blog.itpub.net/29047826/viewspace-1263381/
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部分就不在这里展示了,贴图实在是有些辛苦。
http://blog.itpub.net/29047826/viewspace-1263381/
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部分就不在这里展示了,贴图实在是有些辛苦。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29047826/viewspace-1263397/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29047826/viewspace-1263397/