Oracle10.2.0.1RAC 升级 Oracle10.2.0.5案例分享 -DATABASE篇

10 篇文章 0 订阅
7 篇文章 0 订阅
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部分就不在这里展示了,贴图实在是有些辛苦。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值