Oracle10.2.0.5数据库 RAC部署(三)

7.cluster升级到10.2.0.5

解压10.2.0.5的压缩包

echo $ORA_CRS_HOME
/u01/app/oracle/product/10.2.0/crs
集群升级到10.2.0.5
停所有节点:
vi /u01/app/oracle/product/10.2.0/crs/bin/srvctl
在
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
注释掉这两行,srvctl才可以使用。

cd /u01/app/oracle/product/10.2.0/crs/bin
srvctl stop nodeapps -n ten1
srvctl stop nodeapps -n ten2

可视化安装:
进入10.2.0.5的patch
cd /tmp/Disk1/
./runInstaller

可视化安装时,目录选择/u01/app/oracle/product/10.2.0/crs

图形如下:
file
file
file
file
file
file
file
file

根据提示所有节点跑脚本

8. DB升级到10.2.0.5

oracle关闭资源:

节点1 oracle用户:
isqlplusctl stop
srvctl stop listener -n ten1
emctl status dbconsole
emctl stop agent
emctl stop dbconsole
lsnrctl status 
lsnrctl stop

节点2 oracle用户:
isqlplusctl stop
srvctl stop listener -n ten2
emctl status dbconsole
emctl stop agent
emctl stop dbconsole
lsnrctl status 
lsnrctl stop

cluster关闭资源

cd /u01/app/oracle/product/10.2.0/crs/bin
集群此时已经升级到10.2.0.5
停所有节点:
cd /u01/app/oracle/product/10.2.0/crs/bin
srvctl stop nodeapps -n ten1
srvctl stop nodeapps -n ten2

srvctl stop asm -n ten1
srvctl stop asm -n ten2

可视化安装:
进入10.2.0.5的patch
cd /tmp/Disk1/
./runInstaller

可视化安装时,目录选择/u01/app/oracle/product/10.2.0/db_1

图形如下:
file
file
file
file
file
file
file
file
file

根据提示在所有节点跑root.sh脚本

9. 开启cluster、asm资源

启动两个节点上面的资源:
cd /u01/app/oracle/product/10.2.0/crs/bin
srvctl start nodeapps -n ten1
srvctl start nodeapps -n ten2
srvctl start asm -n ten1
srvctl start asm -n ten2
crs_stat -t

10.创建数据库.

可视化安装
dbca

图形如下:
file
file
file
file
file
file
file
file
file
file
file
file
file

Related Posts