ITPub博客

首页 > 数据库 > Oracle > crsctl query crs releaseversion, activeversion, softwareversion 代表的含义

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

原创 Oracle 作者:pxbibm 时间:2017-03-09 09:41:21 0 删除 编辑

- 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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    240
  • 访问量
    2105229