- 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/