crsctl query crs releaseversion, activeversion, softwareversion 代表的含义

本文介绍如何使用 crsctl 命令查询 Oracle Clusterware 的不同版本信息,包括软件发布版本、活动版本及节点上的版本。通过改变 PATH 环境变量,可以获取不同版本的具体详情。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

- Use the crsctl query crs releaseversion command to display the version of the Oracle Clusterware software
  stored in the binaries on the local node.
  --> Setting the PATH variable will change the results of this command


- Use the crsctl query crs activeversion command to display the active version of the Oracle Clusterware software
   running in the cluster.
  --> During a rolling upgrade, however, the active version is not advanced until the upgrade is finished across the
      cluster, until which time the cluster operates at the pre-upgrade version :
      Run a ps command and check the full process name to figure out the activeversion:
      0 S grid     29122 29041  0  80   0 - 23553 poll_s 19:53 ?        00:00:00 /u01/app/11204_upg/grid/bin/evmlogger.bin -o /u01/app/11

[root@grac31 Desktop]#  env | grep GRID
GRID_HOME=/u01/app/11203/grid
[root@grac31 Desktop]# env | grep PATH
PATH=/u01/app/11203/grid/bin:/u01/app/11203/grid/bin

[root@grac31 Desktop]#  crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.2.0.4.0]
[root@grac31 Desktop]#   crsctl query crs releaseversion    [ PATH: /u01/app/11203/grid/bin ]
Oracle High Availability Services release version on the local node is [11.2.0.3.0]

[root@grac31 Desktop]#    crsctl query crs softwareversion
Oracle Clusterware version on node [grac31] is [11.2.0.4.0]

Change the PATH to the crsctl image:
[root@grac31 Desktop]# /u01/app/11204_upg/grid/bin/crsctl  query crs releaseversion
Oracle High Availability Services release version on the local node is [11.2.0.4.0]

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12798004/viewspace-2134978/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/12798004/viewspace-2134978/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值