首页 | 资讯动态 | linux基础 | 系统管理 | 网络管理 | 编程开发 | linux数据库 | 服务器技术 | linux相关 | linux认证 | 嵌入式 | 下载中心 | 专题 | linux招聘 | HR | 镜像
OKLinux中文技术站
·设为首页
·加入收藏
·联系我们
系统管理: 中文环境 系统管理 桌面应用 内核技术 | Linux基础: 基础入门 安装配置 常用命令 经验技巧 软件应用 | Linux数据库: Mysql Postgre Oracle DB2 Sybase other
网络管理: 网络安全 网络应用 Linux服务器 环境配置 黑客安全 | 编程开发: PHP CC++ Python Perl Shell 嵌入式开发 java jsp | PHP技术: PHP基础 PHP技巧 PHP应用 PHP文摘
搜索中心 Linux招聘 Linux专题 Apache | Linux相关: 硬件相关 Linux解决方案 Linux认证 企业应用 其它Unix | 相关下载: 资料下载 参考手册 开发工具 服务器类 软路由 其它
 技术搜索:
会员中心 注册会员 高级搜索  
  → 当前位置:首页>linux数据库>oracle>正文

在 Oracle Enterprise Linux 上升级到 Oracle RAC 11g

http://www.oklinux.cn  2007-12-01  oracle   会员收藏  游客收藏  【 】 
您查看的文章来源于http://www.oklinux.cn

准备要升级的 Oracle 集群件主目录

在每个节点上执行 preupdate.sh 脚本,以准备要升级的集群件主目录。该脚本可停止 Oracle 集群件组件并更改 Oracle 集群件主目录中文件的权限。

以 root 用户身份在每个节点上执行,
# cd /stage/clusterware/upgrade
# ./preupdate.sh -crshome /u02/crs/oracle -crsuser oracle
Shutting down Oracle Cluster Ready Services (CRS):
Stopping resources.This could take several minutes.
Successfully stopped CRS resources.
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun.The daemons should exit soon.
Checking to see if Oracle CRS stack is down...
Oracle CRS stack is down now.

升级 Oracle 集群件

您只需在一个节点上运行 Oracle Universal Installer (OUI)。OUI 将在每个节点上自动安装现有的二进制软件。

以 oracle 用户身份在 merlin1 上执行,

merlin1-> /stage/clusterware/runInstaller
  1. 欢迎页面:单击 Next
  2. 指定 Home 详细内容:验证 CRS_Home 目录 (/u02/crs/oracle) 显示正确。
  3. 指定硬件集群安装模式:验证所有节点均已选择。
  4. 特定于产品的必要条件检查:验证总体结果成功。
  5. 摘要:单击 Install
  6. 执行配置脚本:以 root 用户身份按顺序执行以下脚本(一次执行一个)。在当前脚本完成后,再继续执行下一个脚本。
    1. 在 merlin1 上执行 /u02/crs/oracle/install/rootupgrade。
    2. 在 merlin2 上执行 /u02/crs/oracle/install/rootupgrade。

在 merlin1 上,

# /u02/crs/oracle/install/rootupgrade
Checking to see if Oracle CRS stack is already up...

copying ONS config file to 11.1 CRS home
/bin/cp:`/u02/crs/oracle/opmn/conf/ons.config' and `/u02/crs/oracle/opmn/conf/ons.config' are the same file
/u02/crs/oracle/opmn/conf/ons.config was copied successfully to /u02/crs/oracle/opmn/conf/ons.config
WARNING:directory '/u02/crs' is not owned by root
WARNING:directory '/u02' is not owned by root
Oracle Cluster Registry configuration upgraded successfully
Adding daemons to inittab
Attempting to start Oracle Clusterware stack
Waiting for Cluster Synchronization Services daemon to start
Cluster Synchronization Services daemon has started
Waiting for Event Manager daemon to start
Event Manager daemon has started
Cluster Ready Services daemon has started
Oracle CRS stack is running under init(1M)
clscfg:EXISTING configuration version 3 detected.
clscfg:version 3 is 10g Release 2.
Successfully accumulated necessary OCR keys.
Using ports:CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>:<nodename> <private interconnect name> <hostname>
node 1:merlin1 merlin1-priv merlin1
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
clscfg -upgrade completed successfully
CRS stack on this node, is successfully upgraded to 11.1.0.6.0
Checking the existence of nodeapps on this node
Creating '/u02/crs/oracle/install/paramfile.crs' with data used for CRS configuration
Setting CRS configuration values in /u02/crs/oracle/install/paramfile.crs

在 merlin2 上,

# /u02/crs/oracle/install/rootupgrade
Checking to see if Oracle CRS stack is already up...

copying ONS config file to 11.1 CRS home
/bin/cp:`/u02/crs/oracle/opmn/conf/ons.config' and `/u02/crs/oracle/opmn/conf/ons.config' are the same file
/u02/crs/oracle/opmn/conf/ons.config was copied successfully to /u02/crs/oracle/opmn/conf/ons.config
WARNING:directory '/u02/crs' is not owned by root
WARNING:directory '/u02' is not owned by root
Oracle Cluster Registry configuration upgraded successfully
Adding daemons to inittab
Attempting to start Oracle Clusterware stack 
Waiting for Cluster Synchronization Services daemon to start
Cluster Synchronization Services daemon has started
Waiting for Event Manager daemon to start
Waiting for Event Manager daemon to start
Event Manager daemon has started
Cluster Ready Services daemon has started
Oracle CRS stack is running under init(1M)
clscfg:EXISTING configuration version 4 detected.
clscfg:version 4 is 11 Release 1.
Successfully accumulated necessary OCR keys.
Using ports:CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>:<nodename> <private interconnect name> <hostname>
node 2:merlin2 merlin2-priv merlin2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
clscfg -upgrade completed successfully
CRS stack on this node, is successfully upgraded to 11.1.0.6.0
Checking the existence of nodeapps on this node
Creating '/u02/crs/oracle/install/paramfile.crs' with data used for CRS configuration
Setting CRS configuration values in /u02/crs/oracle/install/paramfile.crs


merlin1-> $ORA_CRS_HOME/bin/crsctl check crs
Cluster Synchronization Services appears healthy
Cluster Ready Services appears healthy
Event Manager appears healthy
merlin1-> $ORA_CRS_HOME/bin/crsctl query crs softwareversion
Oracle Clusterware version on node [merlin1] is [11.1.0.6.0] 
merlin1-> $ORA_CRS_HOME/bin/crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.1.0.6.0]

merlin2-> $ORA_CRS_HOME/bin/crsctl check crs 
Cluster Synchronization Services appears healthy
Cluster Ready Services appears healthy
Event Manager appears healthy
merlin2-> $ORA_CRS_HOME/bin/crsctl query crs softwareversion
Oracle Clusterware version on node [merlin2] is [11.1.0.6.0] 
merlin2-> $ORA_CRS_HOME/bin/crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.1.0.6.0]
  1. 返回到 merlin1 的执行配置脚本屏幕,然后单击“OK”。
  2. 配置助手:验证所有检查均成功。OUI 在最后会执行集群件安装后检查。如果 CVU 失败,请更正问题,并以 oracle 用户身份重新运行以下命令:
merlin1-> /u02/crs/oracle/bin/cluvfy stage -post crsinst -n merlin1,merlin2

Performing post-checks for cluster services setup

Checking node reachability...

Node reachability check passed from node "merlin1".


Checking user equivalence...

User equivalence check passed for user "oracle".					

Checking Cluster manager integrity...

Checking CSS daemon...

Daemon status check passed for "CSS daemon".

Cluster manager integrity check passed.

Checking cluster integrity...


Cluster integrity check passed


Checking OCR integrity...


Checking the absence of a non-clustered configuration...

All nodes free of non-clustered, local-only configurations.


Uniqueness check for OCR device passed.

Checking the version of OCR...
OCR of correct Version "2" exists.

Checking data integrity of OCR...
Data integrity check for OCR passed.

OCR integrity check passed.

Checking CRS integrity...


Checking daemon liveness...

Liveness check passed for "CRS daemon".

Checking daemon liveness...

Liveness check passed for "CSS daemon".

Checking daemon liveness...

Liveness check passed for "EVM daemon".

Checking CRS health...

CRS health check passed.

CRS integrity check passed.

Checking node application existence...


Checking existence of VIP node application (required)

Check passed.

Checking existence of ONS node application (optional)

Check passed.

Checking existence of GSD node application (optional)

Check passed.

Post-check for cluster services setup was successful.
              
共7页: 上一页 [1] 2 [3] [4] [5] [6] [7] 下一页

上一篇:Linux:用户群体的地域分布   下一篇:RadeonHD开源驱动1.0版正式发布!

收藏于收藏夹】 【评论】 【推荐】 【打印】 【关闭
相关文档
·巧用sqlldr的WHEN判断加载数据到不同的表
·快速解决 Oracle数据库中 汉字长度的问题
·掌握Oracle数据库密码文件的使用和维护
·一个四用户信息同步更新的“存储过程”
·详细讲解优化Oracle停机时间及数据库恢复
·快速解决Oracle数据库中的ORA-604错误
·教你轻松掌握Oracle数据库控制文件的重建
·解决Oracle非法数据库对象引起的错误
·Oracle9i中如何监视索引并清除监视信息
·在Oracle中使用自治事务保存日志表条目
·巧用Flashback database功能恢复用户错误
·如何创建访问非"Oracle文件"的外部表格
·Oracle中pfile和spfile之间的联系与区别
·如何使用RMAN和dbv检查数据文件中的坏块
·Oracle数据库中的Instance和数据库的区别
·教你如何在数据字典中修改Oracle的表列名
发表评论
密码: 匿名评论
评论内容:

(不超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规)
 
  最新文档
·关于Oracle将目标数据库设为归档模式应
·Linux下OCI基础:配置Instant Client连
·Oracle中被锁定的解决办法
·Oracle 11G 无法连接到数据库实例故障
·浅谈创建Oracle数据库连接的两种方法
·如何从Oracle技术支持获得更多
·Oracle数据库中安全知识介绍
·Oracle推出Linux服务并不成功
·Oracle专用服务器的内存结构分布原则
·如何在RAC环境下修改Oracle字符集
·Oracle过程中执行动态SQL或DDL语句
·2008年Oracle错误、备份、升级等最热门
  阅读排行
·详解远程SHELL下安装配置RedHat ES 5的
·Ubuntu上安装Oracle 10G及相关配置
·Oracle高级复制(同步复制)配置步骤详细
·如何修改遗失的MySQL的ROOT用户密码
·Redhat Linux AS4 安装Oracle 10g(包括
·Linux下OCI基础:配置Instant Client连
·解决启动数据库时发生的ORA-12528错误
·Oracle 10g表空间创建的完整步骤
·centos 5.0中成功安装Oracle10g (1020
·如何在RAC环境下修改Oracle字符集
·Oracle数据库导入导出方法的个人总结
·巧用Oracle执行计划机制提高查询性能
·Oracle 10g 在AIX 5.3上安装过程笔记
·Linux真机环境Oracle 10gR2 RAC 安装完
·教你如何将MySQL数据库的密码恢复
网摘收藏: