Rumah > Artikel > pangkalan data > Oracle 11.2.0.3.0 RAC GI_DB升级到11.2.0.4.0
Oracle 11.2.0.3.0 RAC GI_DB升级到11.2.0.4.0
前言
还是大家常说的那句:生产环境千万记得备份哈~~~
以下的环境,是我的测试环境,这里就不备份啦~
1. 升级Grid Infrastructure 1.1 升级前准备 1.1.1 软件准备这个当然不用多说:下载、上传到服务器、解压
1.1.2 新建GI的新HOME
mkdir -p /u01/app/11.2.0.4/grid
chown -R grid:oinstall /u01/app/11.2.0.4
chmod -R 775 /u01/app/11.2.0.4
1.1.3 检查两台Node的名称
[root@RAC01 ~]# cat /etc/hosts
# Do not remove the following line, or variousprograms
# that require network functionality willfail.
127.0.0.1 localhostlocalhost.localdomain localhost
::1 localhost6.localdomain6localhost6
#Eth0 Public
10.0.0.240 RAC01
10.0.0.242 RAC02
#Virtual IP
10.0.0.241 RAC01-VIP
10.0.0.243 RAC02-VIP
#Eth1 Private
172.30.1.1 RAC01-PRIV
172.30.1.2 RAC02-PRIV
#Scan
10.0.0.244 RACSCAN
1.1.4 升级前的CUV检查(建议)
[root@RAC01 app]# su - grid
[grid@RAC01 ~]$ /software/grid/runcluvfy.sh stage -pre crsinst-upgrade -n rac01,rac02 -rolling -src_crshome /u01/app/11.2.0/grid-dest_crshome /u01/app/11.2.0.4/grid -dest_version 11.2.0.4.0
如果检查出错误,,请根据提示修复。
1.2 进行升级
需要保证所有节点的GI都正常运行
[grid@RAC01 ~]# su – grid
[grid@RAC01 ~]$ unset Oracle_HOME
[grid@RAC01 ~]$ unset ORACLE_BASE
[grid@RAC01 ~]$ unset ORACLE_SID
[grid@Oracle-LAB ~]$ cd /software/grid/
[grid@Oracle-LAB grid]$ ./runInstaller
注意:如果在上面一个步骤上点“Next”出现下图错误: