目录

  • 目录
  • otk使用方式
  • 使用oraToolKit进行检测安装包情况
  • 使用oraToolKit进行检测操作系统情况
  • 最后

otk使用方式

oraToolkit的安装在 RHEL6.1 安装 Oracle10gr2 (图文、解析) 一文中已经介绍过了,是非常简单的rpm包安装。
otk installManager的帮助手册

Usage (revision 1.23):installManager <action> <configFile> [ <execMode> ]Where:<action>      is the target action of the dataPumpManagerThe following actions are supported:swReqCheck, osSetup, swInst, cssdConfig, asmSetup,envSetup, dbSetup and setOsKernelParams<configFile>  is a configuration file from /opt/oracle/otk/1.0/conf/installManager directory.<execMode>    is the execution mode of installManager, either NORMAL (default) or FORCEAvailable config files
osSetup10gR2.cfg
osSetup11gR1.cfg
osSetup11gR2.cfg
20110801_230429: Warning: KLK-00022: Parameter prerequisite not fulfilled

installManager使用帮助,从上面我们可以看到它可以进行各项检测工作(action),支持osSetup10gR2、osSetup11gR1、osSetup11gR2这3个版本的数据库(configFile)

使用oraToolKit进行检测安装包情况

我们开始用它来检测是否满足安装ora10gR2的环境,action选择的是swReqCheck,configFile选择的是osSetup10gR2.cfg
我们可以开始先汇总的看下是否满足条件,当你确信基本上你搭建的环境没上面问题的时候,就可以直接看汇总的情况了。

[root@jmilk tools]# /opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2.cfg
20160525_111914: Info: Action swReqCheck of installManager started
----------------------------------------------------------------------------------------------------
20160525_111914: Info: Listing environment information
20160525_111914: Info: ---------------------------------------------
20160525_111914: Info: Object/Name               | Value/Version
20160525_111914: Info: ---------------------------------------------
20160525_111914: Info: hostname                  | jmilk.fan.com
20160525_111914: Info: OS                        | RHEL
20160525_111914: Info: OS Version                | 4
20160525_111914: Info: OS Release                |
20160525_111914: Info: HW Architecture           | x86_64
20160525_111914: Info: user                      | root
20160525_111914: Info: user shell                | /bin/bash
20160525_111914: Info: OTK                       | OTK_1_0_2_1_5
20160525_111914: Info: installManager            | 1.23
20160525_111914: Info: Process ID                | 99022
20160525_111914: Info: libmiscellaneous.ksh      | 1.24
20160525_111914: Info: libstring.ksh             | 1.10
20160525_111914: Info: libfile.ksh               | 1.2
20160525_111914: Info: libotk.ksh                | 1.14
20160525_111914: Info: liberror.ksh              | 1.24
20160525_111914: Info: libosadmin.ksh            | 1.19
20160525_111914: Info: libinstallManager.ksh     | 1.45
20160525_111914: Info: libnetwork.ksh            | 1.8
20160525_111914: Info: libappctl.ksh             | 1.21
20160525_111914: Info: libdynsql.ksh             | 1.2
----------------------------------------------------------------------------------------------------
20160525_111914: Info: Executing libmiscellaneous.checkExecMode function
20160525_111914: Info: Executing installManager in NORMAL mode
20160525_111914: Info: Executing libfile.sourceConf function
20160525_111914: Info: Sourcing /opt/oracle/otk/1.0/conf/installManager/osSetup10gR2.cfg
----------------------------------------------------------------------------------------------------
20160525_111914: Info: Executing libinstallManager.setScriptVars function
20160525_111914: Info: export SYSDATE="20160525"
20160525_111914: Info: export EXEC_ACTION="swreqcheck"
20160525_111914: Info: export LOG_FILE="/var/opt/oracle/otk/1.0/log-old/installManager/swreqcheck-20160525_111914.log"
20160525_111914: Info: export PLATFORM="Linux"
20160525_111914: Info: export OS_DISTRIBUTION="RHEL"
20160525_111914: Info: export OS_VERSION="4"
20160525_111914: Info: export OS_RELEASE=""
20160525_111914: Info: export RAM_MB="7859"
20160525_111914: Info: export HW_ARCH="x86_64"
----------------------------------------------------------------------------------------------------
20160525_111914: Info: Executing libinstallManager.doSwRequirementCheck function
20160525_111914: Info: Checking requirement file
20160525_111914: Info: export SW_REQUIREMENT_FILE="/opt/oracle/otk/1.0/conf/installManager/requirement/ora10gR2-redhat-4-x86_64.pkg.lst"
20160525_111914: Info: Using default package requirement file /opt/oracle/otk/1.0/conf/installManager/requirement/ora10gR2-redhat-4-x86_64.pkg.lst
20160525_111914: Info: Checking if file /opt/oracle/otk/1.0/conf/installManager/requirement/ora10gR2-redhat-4-x86_64.pkg.lst exists
20160525_111914: Info: Checking 64-bit OS packages
20160525_111914: Info: export ARCH_PATTERN="[xX]86[-_]64"
20160525_111914: Info: export SW_REQUIREMENT_EGREP_PATTERN="req|opt"
20160525_111914: Info: Higher version (2.20.51.0.2-5.20) as required (2.15.92.0.2-13.0.0.0.2) of 64-bit binutils installed
20160525_111914: Warning: Required package compat-db not found, installation of 64-bit version 4.1.25-9 or later recommended. Package is usually installed with default installation
20160525_111914: Warning: Required package compat-libstdc++-33 not found, installation of 64-bit version 3.2.3-47.3 or later recommended. Package is usually installed with default installation
20160525_111914: Info: Higher version (2.28.1-25) as required (2.8.0-12) of 64-bit control-center installed
20160525_111914: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc installed
20160525_111914: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc-common installed
20160525_111914: Warning: Required package gnome-libs not found, installation of 64-bit version 1.4.1.2.90-44.1 or later recommended. Package is usually installed with default installation
20160525_111914: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit libstdc++ installed
20160525_111914: Info: Higher version (3.81-19) as required (3.80-5) of 64-bit make installed
20160525_111914: Warning: Required package pdksh not found, installation of 64-bit version 5.2.14-30 or later recommended. Package is usually installed with default installation
20160525_111915: Info: Higher version (2.2.14-11) as required (2.2.9-1) of 64-bit unixODBC installed
20160525_111915: Warning: Required package xscreensaver not found, installation of 64-bit version 4.18-5 or later recommended. Package is usually installed with default installation
20160525_111915: Warning: Required package glibc-kernheaders not found, installation of 64-bit version 2.4-9.1.87 or later recommended. Package should be on CD/DVD
20160525_111915: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc-headers installed
20160525_111915: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc-devel installed
20160525_111915: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit libstdc++-devel installed
20160525_111915: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit gcc installed
20160525_111915: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit gcc-c++ installed
20160525_111915: Info: Higher version (0.3.107-10) as required (0.3.103-3) of 64-bit libaio installed
20160525_111915: Info: Higher version (9.0.4-18) as required (5.0.5-1) of 64-bit sysstat installed
20160525_111915: Warning: Optional package libtermcap-devel not found, installation of 64-bit version 2.0.8-39 or later recommended. Required by readline-devel, package should be on CD/DVD
20160525_111915: Info: Higher version (6.0-3) as required (4.3-13) of 64-bit readline-devel installed
20160525_111915: Info: Higher version (2.2.14-11) as required (2.2.9-1) of 64-bit unixODBC-devel installed
20160525_111915: Info: Checking 32-bit OS packages
20160525_111915: Info: export ARCH_PATTERN="i[356]86"
20160525_111915: Info: export SW_REQUIREMENT_EGREP_PATTERN="req|opt"
20160525_111915: Info: Higher version (0.3.107-10) as required (0.3.103-3) of 32-bit libaio installed
20160525_111915: Info: Higher version (2.2.14-11) as required (2.2.9-1) of 32-bit unixODBC installed
20160525_111915: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 32-bit glibc-devel installed
----------------------------------------------------------------------------------------------------
20160525_111915: Info: Executing libmiscellaneous.getFooter function
20160525_111915: Info: Terminating installManager execution
20160525_111915: Info: Summary log file:  /var/opt/oracle/otk/1.0/log-old/installManager/../installManager.log
20160525_111915: Info: Detailed log file: /var/opt/oracle/otk/1.0/log-old/installManager/swreqcheck-20160525_111914.log
20160525_111915: Info: Action swReqCheck of installManager ended with 7 WARNINGS
----------------------------------------------------------------------------------------------------
[root@jmilk tools]#
[root@jmilk tools]# /opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2.cfg
20160525_111921: Info: Action swReqCheck of installManager started
----------------------------------------------------------------------------------------------------
20160525_111922: Info: Listing environment information
20160525_111922: Info: ---------------------------------------------
20160525_111922: Info: Object/Name               | Value/Version
20160525_111922: Info: ---------------------------------------------
20160525_111922: Info: hostname                  | jmilk.fan.com
20160525_111922: Info: OS                        | RHEL
20160525_111922: Info: OS Version                | 4
20160525_111922: Info: OS Release                |
20160525_111922: Info: HW Architecture           | x86_64
20160525_111922: Info: user                      | root
20160525_111922: Info: user shell                | /bin/bash
20160525_111922: Info: OTK                       | OTK_1_0_2_1_5
20160525_111922: Info: installManager            | 1.23
20160525_111922: Info: Process ID                | 100190
20160525_111922: Info: libmiscellaneous.ksh      | 1.24
20160525_111922: Info: libstring.ksh             | 1.10
20160525_111922: Info: libfile.ksh               | 1.2
20160525_111922: Info: libotk.ksh                | 1.14
20160525_111922: Info: liberror.ksh              | 1.24
20160525_111922: Info: libosadmin.ksh            | 1.19
20160525_111922: Info: libinstallManager.ksh     | 1.45
20160525_111922: Info: libnetwork.ksh            | 1.8
20160525_111922: Info: libappctl.ksh             | 1.21
20160525_111922: Info: libdynsql.ksh             | 1.2
----------------------------------------------------------------------------------------------------
20160525_111922: Info: Executing libmiscellaneous.checkExecMode function
20160525_111922: Info: Executing installManager in NORMAL mode
20160525_111922: Info: Executing libfile.sourceConf function
20160525_111922: Info: Sourcing /opt/oracle/otk/1.0/conf/installManager/osSetup10gR2.cfg
----------------------------------------------------------------------------------------------------
20160525_111922: Info: Executing libinstallManager.setScriptVars function
20160525_111922: Info: export SYSDATE="20160525"
20160525_111922: Info: export EXEC_ACTION="swreqcheck"
20160525_111922: Info: export LOG_FILE="/var/opt/oracle/otk/1.0/log-old/installManager/swreqcheck-20160525_111922.log"
20160525_111922: Info: export PLATFORM="Linux"
20160525_111922: Info: export OS_DISTRIBUTION="RHEL"
20160525_111922: Info: export OS_VERSION="4"
20160525_111922: Info: export OS_RELEASE=""
20160525_111922: Info: export RAM_MB="7859"
20160525_111922: Info: export HW_ARCH="x86_64"
----------------------------------------------------------------------------------------------------
20160525_111922: Info: Executing libinstallManager.doSwRequirementCheck function
20160525_111922: Info: Checking requirement file
20160525_111922: Info: export SW_REQUIREMENT_FILE="/opt/oracle/otk/1.0/conf/installManager/requirement/ora10gR2-redhat-4-x86_64.pkg.lst"
20160525_111922: Info: Using default package requirement file /opt/oracle/otk/1.0/conf/installManager/requirement/ora10gR2-redhat-4-x86_64.pkg.lst
20160525_111922: Info: Checking if file /opt/oracle/otk/1.0/conf/installManager/requirement/ora10gR2-redhat-4-x86_64.pkg.lst exists
20160525_111922: Info: Checking 64-bit OS packages
20160525_111922: Info: export ARCH_PATTERN="[xX]86[-_]64"
20160525_111922: Info: export SW_REQUIREMENT_EGREP_PATTERN="req|opt"
20160525_111922: Info: Higher version (2.20.51.0.2-5.20) as required (2.15.92.0.2-13.0.0.0.2) of 64-bit binutils installed
20160525_111922: Warning: Required package compat-db not found, installation of 64-bit version 4.1.25-9 or later recommended. Package is usually installed with default installation
20160525_111922: Warning: Required package compat-libstdc++-33 not found, installation of 64-bit version 3.2.3-47.3 or later recommended. Package is usually installed with default installation
20160525_111922: Info: Higher version (2.28.1-25) as required (2.8.0-12) of 64-bit control-center installed
20160525_111922: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc installed
20160525_111922: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc-common installed
20160525_111922: Warning: Required package gnome-libs not found, installation of 64-bit version 1.4.1.2.90-44.1 or later recommended. Package is usually installed with default installation
20160525_111922: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit libstdc++ installed
20160525_111922: Info: Higher version (3.81-19) as required (3.80-5) of 64-bit make installed
20160525_111922: Warning: Required package pdksh not found, installation of 64-bit version 5.2.14-30 or later recommended. Package is usually installed with default installation
20160525_111922: Info: Higher version (2.2.14-11) as required (2.2.9-1) of 64-bit unixODBC installed
20160525_111922: Warning: Required package xscreensaver not found, installation of 64-bit version 4.18-5 or later recommended. Package is usually installed with default installation
20160525_111922: Warning: Required package glibc-kernheaders not found, installation of 64-bit version 2.4-9.1.87 or later recommended. Package should be on CD/DVD
20160525_111922: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc-headers installed
20160525_111922: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 64-bit glibc-devel installed
20160525_111922: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit libstdc++-devel installed
20160525_111923: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit gcc installed
20160525_111923: Info: Higher version (4.4.5-6) as required (3.4.3-22.1) of 64-bit gcc-c++ installed
20160525_111923: Info: Higher version (0.3.107-10) as required (0.3.103-3) of 64-bit libaio installed
20160525_111923: Info: Higher version (9.0.4-18) as required (5.0.5-1) of 64-bit sysstat installed
20160525_111923: Warning: Optional package libtermcap-devel not found, installation of 64-bit version 2.0.8-39 or later recommended. Required by readline-devel, package should be on CD/DVD
20160525_111923: Info: Higher version (6.0-3) as required (4.3-13) of 64-bit readline-devel installed
20160525_111923: Info: Higher version (2.2.14-11) as required (2.2.9-1) of 64-bit unixODBC-devel installed
20160525_111923: Info: Checking 32-bit OS packages
20160525_111923: Info: export ARCH_PATTERN="i[356]86"
20160525_111923: Info: export SW_REQUIREMENT_EGREP_PATTERN="req|opt"
20160525_111923: Info: Higher version (0.3.107-10) as required (0.3.103-3) of 32-bit libaio installed
20160525_111923: Info: Higher version (2.2.14-11) as required (2.2.9-1) of 32-bit unixODBC installed
20160525_111923: Info: Higher version (2.12-1.25) as required (2.3.4-2.9) of 32-bit glibc-devel installed
----------------------------------------------------------------------------------------------------
20160525_111923: Info: Executing libmiscellaneous.getFooter function
20160525_111923: Info: Terminating installManager execution
20160525_111923: Info: Summary log file:  /var/opt/oracle/otk/1.0/log-old/installManager/../installManager.log
20160525_111923: Info: Detailed log file: /var/opt/oracle/otk/1.0/log-old/installManager/swreqcheck-20160525_111922.log
20160525_111923: Info: Action swReqCheck of installManager ended with 7 WARNINGS
----------------------------------------------------------------------------------------------------

查看Warning的信息可以知道还有那些预安装包没有安装完成,在解决Warning信息后,重新执行指令。

使用oraToolKit进行检测操作系统情况

除了必要的安装包之外,还必须进行正确的系统参数配置,下面我们就来看看操作系统的检测。

/opt/oracle/otk/current/bin/installManager osSetup osSetup10gR2.cfg | tail -2 | head -1
#检查操作系统的环境是否符合安装Oracle
/opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2.cfg | tail -2 | head -1
#检查操作系统预安装软件包是否安装成功

最后

出此之外oraToolkit还提供了许多有助于Oracle安装、使用的小工具。感兴趣的话可以到其官网去浏览,戳这里 :)

oraToolKit Oracle安装辅助工具的使用方法相关推荐

  1. oracle 安装及工具简介,oracle安装及简介

    由于今天安装oracle数据库出现了一些麻烦,因为长期不适用oracle的原因 所以开始巩固之前学习的oracle知识. 1. Oracle数据库:客户端/数据库服务器 使用Oracle10g ora ...

  2. 计算机网络布线画图软件,一种计算机网络布线辅助工具的制作方法

    本实用新型涉及计算机网络布线辅助工具技术领域,具体为一种计算机网络布线辅助工具. 背景技术: 综合布线是一种模块化的.灵活性极高的建筑物内或建筑群之间的信息传输通道,通过它可使话音设备.数据设备.交换 ...

  3. oracle 中大于等于_针对oracle安装参数调整方法

    solaris针对oracle安装的shmmax参数调整方法 安装数据库不能拘泥于联机文档,最近看到好几个跑oracle的sun主机上,都把和数据库内存使用相关的操作系统内核参数shmmax设置成4G ...

  4. Oracle安装 配置 使用 方法总结

    关于Struts2 + spring + hibernate进Q群: 130529143交流. 有偿技术支持Q群:398162181 Oracle学习笔记 1.安装数据库软件 1.1安装oracle数 ...

  5. PHP环境安装到U盘,Windows To Go辅助工具一键把Win10系统安装到U盘 | 麦田一棵葱

    Win10企业版内置的Windows To Go功能能够实现把Windows10系统安装到U盘中(Windows To Go安装Win10系统到U盘教程),从而打造一个移动的Win10操作系统,方便随 ...

  6. 三维家可以导入别人的方案吗_三维家辅助工具如何使用?三维家辅助工具安装使用教程...

    三维家辅助工具是三维家3D云设计平台的辅助软件,可以通过这个工具直接批量上传产品模型和贴图,还能预览3vj格式的文件,可以借助这个辅助工具启动CAD,并从CAD导出图纸,有些朋友不太清楚这款软件是如何 ...

  7. oracle删除的数据恢复,日志分析LOGMNR工具恢复的方法

    业务数据表被删除8天后发现丢失,里面数据很重要.通过每天的数据备份包找到了10号的数据,但是有5条数据11号备份前就没了.所以找不到了. 第一种,备份文件找不到 第二种,闪回方法查询,找不到,因为查询 ...

  8. oracle安装提示初始设置失败,安装oracle11g client 【INS-30131】执行安装程序验证所需的初始设置失败的解决方法...

    今天在服务器(操做系统windows server 2008R2)上安装Oracle11g 客户端,弹出"执行安装程序验证所需的初始设置失败",如上图.网上找了一些方法,简单整理以 ...

  9. 无法启动oracle安装程序,oracle服务无法启动的原因及解决方法

    由于更改了机器的名称造成Oracle服务的监听器和OracleDbConsole**无法启动,解决方法如下: 数据库监听器无法启动解决方法: 1.搜索你的oracle安装目录,找到这俩个文件 tnsn ...

最新文章

  1. 我在兰亭这三年之部门动荡
  2. Ksenia and Pan Scales(思维题)
  3. linux 批量下载图片,Python + Excel 实现图片批量下载
  4. [IE编程相关]之一:客户端键盘响应事件分析
  5. php邮件中文乱码,phpmailer 发送邮件中文乱码问题的解决方法总结
  6. Lumen 5.4 时区设置
  7. Python 彻底甩掉 Java,位居 48 种编程语言之首!
  8. python中列表操作
  9. Halcon 学习总结——邮票目录检测(stamp_catalogue)
  10. HTML5定稿了,终于有一种编程语言开发的程序可以在Android和IOS两种设备上运行了...
  11. C#将DataGridView中的数据导出为EXCEL
  12. 32获取外部中断状态_选中断还是轮询方式?深究其中的区别
  13. matlab 图片保存pdf,matlab中的图片保存技巧.pdf
  14. 语音识别(ASR)论文优选:SynthASR: Unlocking Synthetic Data for Speech Recognition
  15. 1药网发布Q4财报:仍处于持续亏损状态,还要推动子公司上市
  16. 使用dumpbin工具查看dll导出符号
  17. 学会这120个PS技巧,让你的设计牛起来!
  18. 递归函数详细版(Java)
  19. html5反证,如何理解反证法?
  20. Nutanix与联想深化合作伙伴关系,以超融合全面赋能新基建

热门文章

  1. ajax servlet怎么接收_AJAX常见面试题(修订版)
  2. no python application found_用Nginx部署Django服务no python application found
  3. 用户请求队列化_分布式消息队列选型分析
  4. react 当前时间_如何使用 useRef 优化 React 性能问题
  5. python加颜色_Python 给屏幕打印信息加上颜色的实现方法
  6. python爬虫scrapy步骤mac系统_Mac中Python 3环境下安装scrapy的方法教程
  7. 高斯旋转热源与双椭球热源_电力分公司:多措并举保证供暖质量效益双提升
  8. 虚数有物理意义吗?潘建伟范靖云团队最新量子力学研究同日登顶刊,引发基础数理热议...
  9. AI预测RNA结构登上Science封面,论文一作已成立药物公司开始招人
  10. iPhone因安全漏洞上热搜,苹果:暂时无法修复,法国总统也中招