滚动升级可以实现生产库应用补丁的较少停机或无停机,可以使用滚动升级升级CSR 软件 DB软件,ASM实例等。滚动升级还支持RAC 中ASM实例无停机升级,但是不支持RAC中数据库实例的滚动升级,具体滚动升级支持的类型如下:
10g支持的类型
1 Oracle Data Guard and logical standby databases
使用该方式可以实现升级ORACLE 软件或补丁集,例如
10.1.0.n to 10.1.0.(n+1) patchset release,
10.1 to 10.2.
使用Streams和目的库,可以实现升级到一个新的版本,或者复制到不同操作系统或字符集DATABASE
3 Real Application Clusters Rolling Upgrades with the opatch Utility
该种方式只支持opatch应用补丁,不支持补丁集的升级,RAC滚动升级的优势是只需要关闭升级节点的实例, 其他实例可以正常运行
11g 支持的类型
1 Oracle Data Guard SQL Apply
同10G
2 Oracle Data Guard Physical Standby Database
11G新特性
是通过临时转换Physical Standby为logical standby来实现转换升级
3 Oracle Streams
同 10G
4 Oracle RAC with the OPatch Utility
同oracle 10g
5 Oracle Clusterware and Oracle Universal Installer (OUI)
使用OUI和Oracle Clusterware可以完成滚动升级,只需要关闭当前升级的实例,而保证其他实例的正常运行
6 Oracle Automatic Storage Management (Oracle ASM)
使用该方式可以独立的ASM实例,各个节点的ASM实例可以运行在不同软件版本下,该方法只支持RAC下ASM的升级
后两种方式的组合升级步骤如下:
1 启动OUI 选择upgrade an existing Oracle Clusterware and Oracle ASM installation
2 选中所有节点(如果是11.2.0.1升级熬11.2.0.X 默认是全部选中的不能选择)
3 选择相关选项
4 在提示运行rootupgrade.sh的时候 首先在本地节点运行,该脚本将停止老版本CRS并启动新的,运行其他的节点除最后一个节点,其他节点全部运行完毕再运行最后一个节点
5 修改相关环境变量
MOS 相关文章
Rolling Patch - OPatch Support for RAC (Doc ID 244241.1)
Oracle Clusterware (CRS or GI) Rolling Upgrades (Doc ID 338706.1)
Oracle11g Data Guard: Database Rolling Upgrade Shell Script (Doc ID 949322.1)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15747463/viewspace-1063556/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15747463/viewspace-1063556/