eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« 《深度解析Oracle》之《深入浅出Oracle》 | Blog首页 | Oracle10g OCR及Voting Disk的备份 »

Solaris如何查看安装版本及Patch列表
modb.pro

今天有个朋友在MSN上问到,在Solaris上安装Oracle8i需要安装那些OS的Patch,这实在不是一个容易回答的问题。
Oracle8i已经很久没有碰了,不过还好,可以随手找一个系统,查看一下现有的OS版本及Patch序列。

查看OS版本及Patch列表可以使用 showrev 命令,这是Solaris上的一个常用命令:
bash-2.03# man showrev
Reformatting page.  Please Wait... done

Maintenance Commands                                  showrev(1M)

NAME
    showrev - show machine and software revision information

SYNOPSIS
    /usr/bin/showrev [ -a ]  [ -p ]  [ -w ]  [ -c command  ]  [
    -s hostname ]

showrev 命令缺省的输出显示系统版本号及Hostid等信息:
bash-2.03# showrev
Hostname: testdbserver
Hostid: 8368b11d
Release: 5.8
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.8 Generic 108528-25 Oct 2003

如果想查询更详细的Patch列表,可以使用
showrev -p
showrev -a
显示会非常细致。

从Oracle10g开始,Oracle会自动检测系统的补丁安装情况,如果缺少相应的补丁,Oracle就会发出警告。
这是Oracle10g的一大增强,现在看起来还是有必要的。

-The End-

历史上的今天...
    >> 2011-03-03文章:
    >> 2009-03-03文章:
    >> 2006-03-03文章:
           又是一年三月三

By eygle on 2008-03-03 10:16 | Comments (0) | System | 1814 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com