oraToolKit Oracle安装辅助工具的使用方法
目录
otk使用方式
oraToolkit的安装在RHEL6.1 安装 Oracle10gr2 (图文、解析)一文中已经介绍过了,是非常简单的rpm包安装。
otk installManager的帮助手册
Usage (revision 1.23):
installManager <action> <configFile> [ <execMode> ]
Where:
<action> is the target action of the dataPumpManager
The 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 FORCE
Available 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安装辅助工具的使用方法的更多相关文章
- UnDistracted for Mac(集中注意力辅助工具)破解版安装
1.软件简介 UnDistracted 是 macOS 系统上一款可以帮助我们集中注意力的辅助工具,让我们在 mac 电脑上工作更加集中注意力,提高工作效率,隐藏所有文件或是文件夹窗口.隐藏所有 ...
- oracle安装—Windows7旗舰版32位安装oracle10g方法
首先要下载支持Vista版本的Oracle 10g下载完成后解压出来:http://download.oracle.com/otn/nt/oracle10g/10203/10203_vista_w2k ...
- linux下gitflow辅助工具安装和使用
gitflow是一个确保nvie推荐的git branch分支策略最佳模型得到有效实施的辅助工具.它作为git的一个子命令而存在. http://nvie.com/posts/a-successful ...
- ORACLE安装过程中检查步骤出现的错误和解决方法【转】
Checking operating system requirements ...Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1 ...
- 7.1 安装软件包的三种方法 7.2 rpm包介绍 7.3 rpm工具用法 7.4 yum工具用法 7.5 yum搭建本地仓库
7.1 安装软件包的三种方法 7.2 rpm包介绍 7.3 rpm工具用法 7.4 yum工具用法 7.5 yum搭建本地仓库 三种方法 rpm工具----->类型windows下的exe程序 ...
- 安装软件包的三种方法、RPM包介绍、rpm、yum工具用法、yum搭建本地仓库
第5周第3次课(4月18日) 课程内容: 7.1 安装软件包的三种方法7.2 rpm包介绍7.3 rpm工具用法7.4 yum工具用法7.5 yum搭建本地仓库 7.1 安装软件包的三种方法 rpm工 ...
- Linux CentOS7 VMware 安装软件包的三种方法、rpm包介绍、rpm工具用法、yum工具用法、yum搭建本地仓库
一.安装软件包的三种方法 Linux下游三种安装方法,rpm工具.yum工具.源码包.rpm按装一个程序包时,有可能因为该程序包依赖另一个程序包而无法安装:yum工具,可以连同依赖的程序包一起安装. ...
- SQL2008R2安装碰到问题的解决方法(iso文件用对应的工具)
SQL2008R2安装碰到问题的解决方法 安装谁不会啊,这么简单,是啊,可是匹配包时就不是那么顺利啊.就像以前的Ruby还专挑匹配版本的包一样,不像现在的Py自动为我们找,这是Mar 7贴在Q ...
- 分享MSSQL、MySql、Oracle的大数据批量导入方法及编程手法细节
1:MSSQL SQL语法篇: BULK INSERT [ database_name . [ schema_name ] . | schema_name . ] [ table_name | vie ...
随机推荐
- AGC024B Backfront
题目大意 给你一个1~n的排列 你有两个操作:将一个数移到最后或将一个数移到最前 问将排列排序最少要几次操作 分析 年纪大了,脑子不行了.. 实际我们只需求出对与一段连续的数它在排列中已经有序的最长长 ...
- 建站手册-浏览器信息:Google Chrome 浏览器
ylbtech-建站手册-浏览器信息:Google Chrome 浏览器 1.返回顶部 1. http://www.w3school.com.cn/browsers/browsers_chrome.a ...
- Adobe Premiere
工具 移动工具(Selection Tool)快捷键(V) 最最常用的工具,常规功能是移动素材以及控制素材的长度 配合 ctrl:可以拖拽素材,移动到切入点进行插入 配合 shift:选择多目标(可以 ...
- Scrum 指南总结
https://wenku.baidu.com/view/86e0979176eeaeaad1f3305a.html 原文地址:
- 报警插件Alertmanager 安装与使用
Alertmanager是一个独立的告警模块,接收Prometheus等客户端发来的警报,之后通过分组.删除重复等处理,并将它们通过路由发送给正确的接收器:告警方式可以按照不同的规则发送给不同的模块负 ...
- java中四种访问修饰符区别及详解全过程
客户端程序员:即在其应用中使用数据类型的类消费者,他的目标是收集各种用来实现快速应用开发的类. 类创建者:即创建新数据类型的程序员,目标是构建类. 访问控制存在的原因:a.让客户端程序员无法触及他们不 ...
- linux查看日志中特定字符串以及前后信息内容命令
在项目实施过程中,我们经常会查看日志,更是经常会根据某些特地字符串去查找日志内容. 下面就是日志查找命令: 1.查询字符串命令: cat fileName|grep '要查找的字符串' 实例:cat ...
- C#@字符的使用
一,在字符串中的使用 //当在字符串前面加上一个@字符的时候,我们就可以把一个字符串定义在多行 // 编译器不会再去识别字符串中的转义字符 // 如果需要在字符串中表示一个双引号的话,需要使用两个双引 ...
- elasticsearch 嵌套对象使用Multi Match Query、query_string全文检索设置
参考: https://www.elastic.co/guide/en/elasticsearch/reference/1.7/mapping-nested-type.html https://sta ...
- 用户Bug修补报告
用户Bug修补报告 虽然经过许多天的奋斗,我们的U-Help已经正式投入使用,不过在使用过程中遇到了大大小小的问题,我们通过努力修补了其中的相当一部分,以下是用户Bug修补报告. 7.31:发布bet ...