查看Exadata的版本

简介:
可以通过imagehistory和imageinfo2个命令查看Exadata的dbserver和cellnode的版本, 例如:   DBSERVER: [root@db01 ~]# imagehistory Version : 11.2.2.4.2.111221 Image activation date : 2012-08-09 15:08:29 -0400 Imaging mode : fresh Imaging status : success Version : 11.2.3.1.1.120607 Image activation date : 2012-08-14 19:16:01 -0400 Imaging mode : patch Imaging status : success [root@db01 ~]# imageinfo Kernel version: 2.6.18-274.18.1.0.1.el5 #1 SMP Thu Feb 9 19:07:16 EST 2012 x86_64 Image version: 11.2.3.1.1.120607 Image activated: 2012-08-14 19:16:01 -0400 Image status: success System partition on device: /dev/mapper/VGExaDb-LVDbSys1 [root@cel01 ~]# imagehistory Version : 11.2.2.4.2.111221 Image activation date : 2012-08-09 15:36:25 -0400 Imaging mode : fresh Imaging status : success Version : 11.2.3.1.1.120607 Image activation date : 2012-08-13 18:00:09 -0400 Imaging mode : out of partition upgrade Imaging status : success [root@cel01 ~]# imageinfo Kernel version: 2.6.18-274.18.1.0.1.el5 #1 SMP Thu Feb 9 19:07:16 EST 2012 x86_64 Cell version: OSS_11.2.3.1.1_LINUX.X64_120607 Cell rpm version: cell-11.2.3.1.1_LINUX.X64_120607-1 Active image version: 11.2.3.1.1.120607 Active image activated: 2012-08-13 18:00:09 -0400 Active image status: success Active system partition on device: /dev/md6 Active software partition on device: /dev/md8 In partition rollback: Impossible Cell boot usb partition: /dev/sdm1 Cell boot usb version: 11.2.3.1.1.120607 Inactive image version: 11.2.2.4.2.111221 Inactive image activated: 2012-08-09 15:36:25 -0400 Inactive image status: success Inactive system partition on device: /dev/md5 Inactive software partition on device: /dev/md7 Boot area has rollback archive for the version: 11.2.2.4.2.111221 Rollback to the inactive partitions: Possible       Exadata上的DB版本诊断,还可以参考下面的脚本:    
{ case `uname` in \
Linux ) ILOM="/usr/bin/ipmitool sunoem cli" ;; \
SunOS ) ILOM="/opt/ipmitool/bin/ipmitool sunoem cli" ;; \
esac ; ImageInfo="/opt/oracle.cellos/imageinfo" ; \
uname -srm ; head -1 /etc/*release ; uptime | cut -d, -f1 ; \
$ILOM "show /SP system_description system_identifier" | grep = ; \
$ImageInfo -activated -node -status -ver | grep -v ^$ ; \
} | tee /tmp/ExaInfo.log

Next, as oracle, run:
$GRID_HOME/OPatch/opatch lsinv -all -oh $GRID_HOME | tee /tmp/OPatchInv.log
$ORACLE_HOME/OPatch/opatch lsinv -all | tee -a /tmp/OPatchInv.log

    Linux 2.6.18-274.18.1.0.1.el5 x86_64 ==> /etc/enterprise-release <== Enterprise Linux Enterprise Linux Server release 5.7 (Carthage) ==> /etc/oracle-release <== Oracle Linux Server release 5.7 ==> /etc/redhat-release <== Red Hat Enterprise Linux Server release 5.7 (Tikanga) 00:45:26 up 16 days system_description = SUN FIRE X4270 M2 SERVER, ILOM v3.0.16.10, r65138 system_identifier = Exadata Database Machine X2-2 AK00012260 Active image version: 11.2.3.1.1.120607 Active image activated: 2012-08-13 18:00:09 -0400 Active image status: success Active node type: STORAGE Inactive image version: 11.2.2.4.2.111221 Inactive image activated: 2012-08-09 15:36:25 -0400 Inactive image status: success Inactive node type: STORAGE


本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1277960



相关文章
|
SQL Oracle 关系型数据库
Oracle APEX 系列文章8:如何从 APEX 5.1.4 升级到最新的 APEX 18.1
Oracle APEX 18.1 发布已经有几天了,相信很多搞APEX的同学都尝过鲜了,接下来需要面临的问题就是如何从早期的 APEX 版本升级到最新的 APEX 18.1。
3027 0
|
Oracle 关系型数据库 数据库
Oracle APEX 系列文章6:Oracle APEX 到底适不适合企业环境?
本文是钢哥的Oracle APEX系列文章中的第六篇,完整 Oracle APEX 系列文章如下: Oracle APEX 系列文章1:Oracle APEX, 让你秒变全栈开发的黑科技 Oracle APEX 系列文章2:在阿里云上打造属于你自己的APEX完整开发环境 (准备工作) Oracl.
3693 0
|
Oracle 关系型数据库 应用服务中间件
Oracle APEX 系列文章5:在阿里云上打造属于你自己的APEX完整开发环境 (进一步优化)
本文是钢哥的Oracle APEX系列文章中的第五篇,完整 Oracle APEX 系列文章如下: Oracle APEX 系列文章1:Oracle APEX, 让你秒变全栈开发的黑科技 Oracle APEX 系列文章2:在阿里云上打造属于你自己的APEX完整开发环境 (准备工作) Oracl.
1795 0
|
Oracle 关系型数据库 应用服务中间件
Oracle APEX 系列文章4:在阿里云上打造属于你自己的APEX完整开发环境 (安装XE, ORDS, APEX)
本文是钢哥的Oracle APEX系列文章中的第四篇,完整 Oracle APEX 系列文章如下: Oracle APEX 系列文章1:Oracle APEX, 让你秒变全栈开发的黑科技 Oracle APEX 系列文章2:在阿里云上打造属于你自己的APEX完整开发环境 (准备工作) Oracl.
3056 0
|
SQL Oracle 关系型数据库
|
SQL Oracle 关系型数据库