• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

重新配置或卸载 11gR2 Grid Infrastructure

mysql 搞代码 4年前 (2022-01-09) 14次浏览 已收录 0个评论

Oracle 11g R2 Grid Infrastructure 的安装与配置较之前的版本提供了更多的灵活性。在Grid Infrastructure安装完毕前执行root.sh经常容易出现错误,并且需要修复该错误才能得以继续。在这个版本中我们可以直接通过执行脚本rootcrs.pl来重新配置Grid Infrastr

Oracle 11g R2 Grid Infrastructure 的安装与配置较之前的版本提供了更多的灵活性。在Grid Infrastructure安装完毕前执行root.sh经常容易出现错误,并且需要修复该错误才能得以继续。在这个版本中我们可以直接通过执行脚本rootcrs.pl来重新配置Grid Infrastructure而无需先卸载Grid Infrastructure,然后修复故障后进行再次安装。下面描述了rootcrs.pl的用法以及使用deinstall彻底卸载Grid Infrastructure。

1、rootcrs.pl命令介绍

[python] view plaincopyprint?

  1. #命令位置:$GRID_HOME/crs/install
  2. #命令说明:
  3. # 该命令主要是用于对crs进行维护与管理,包括patch,upgrade,downgrade,deconfig等等
  4. # perldoc rootcrs.pl执行这个命令获得完整的介绍
  5. [root@li本文来源gaodai#ma#com搞*!代#%^码网%nux1 install]# ./rootcrs.pl -h
  6. Unknown option: h
  7. Usage:
  8. rootcrs.pl [-verbose] [-upgrade | -patch] [-hahome ]
  9. [-paramfile ]
  10. [-deconfig | -downgrade] [-force] [-lastnode]
  11. [-downgrade] [-oldcrshome ] [-version ]
  12. [-unlock [-crshome ]]
  13. Options:
  14. -verbose Run this script in verbose mode
  15. -upgrade Oracle HA is being upgraded from previous version
  16. -patch Oracle HA is being upgraded to a patch version
  17. -hahome Complete path of Oracle Clusterware home
  18. -paramfile Complete path of file specifying HA parameter values
  19. -lastnode Force the node this is executing on to be considered the
  20. last node of the install and perform actions associated
  21. with configurig the last node
  22. -downgrade Downgrade the clusterware
  23. -version For use with downgrade; special handling is required if
  24. downgrading to 9i. This is the old crs version in the format
  25. A.B.C.D.E (e.g 11.1.0.6.0).
  26. -deconfig Remove Oracle Clusterware to allow it to be uninstalled or reinstalled.
  27. -force Force the executon of steps in delete that cannot be verified
  28. to be safe
  29. -unlock Unlock CRS home
  30. -crshome Complete path of crs home. Use with unlock option.
  31. -oldcrshome For use with downgrade. Complete path of the old crs home.
  32. If neither -upgrade nor -patch is supplied, a new install is performed
  33. To see the full manpage for this program, execute:
  34. perldoc rootcrs.pl

搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:重新配置或卸载 11gR2 Grid Infrastructure
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址