oraToolKit Oracle安装辅助工具的使用方法

目录

  • 目录
  • 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 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安装、使用的小工具。感兴趣的话可以到其官网去浏览,戳这里 :)

时间: 2024-08-02 14:57:57

oraToolKit Oracle安装辅助工具的使用方法的相关文章

Oracle 更新 OPatch 工具版本 的方法 说明

原文:http://blog.csdn.net/tianlesoftware/article/details/6857059 一.OPatch 工具说明 在之前的Oracle 补丁体系的blog 提到了opatch工具: Oracle 补丁体系 及opatch 工具 介绍 http://blog.csdn.net/tianlesoftware/article/details/5809526   从9.2版开始,Oracle公司实现了个别补丁安装工具opatch. opatch使用一个称为inve

介绍作为iBatis辅助工具的iBator的使用方法

目前从实际应用来看,ORM的老大自然是Hibernate,可是iBatis因为相对比 较直观.学习曲线相对较低,因而也赢得了不少用户的青睐. 本文主要介绍作为iBatis辅助工具的iBator的使用方法. iBator是一个iBatis相关代码的自动生成工具. 1.安装iBator的插件 在Eclipse中,使用添加站点的方法,输入网址 http://ibatis.apache.org/tools/ibator,进行iBator的安装. 2.建议不要直接在使用iBatis的项目里直接使用iBat

Oracle安装遇到INS-30131错误的解决方法_oracle

需要学习SDE配置相关知识,其中Oracle数据库安装遇到错误INS-30131,虽然未能最终解决,但找到了初步的思路,记录下来给大家提供参考.下文对很多知识的理解可能存在错误或不够精准,仅作参考. 软件:Oracle12cR1 版本:12.1.0.2 系统:win10 版本:10.0.10240 问题描述: 配置SDE需注意:数据库服务端应与SDE统一,数据库客户端应与ArcMap统一.安装数据库时遇到INS-30131错误,未能解决. 安装过程中先装数据库服务端,再装客户端. 其中11gR2

Linux下安装Oracle(CentOS-Oracle 12c)的方法_Linux

第一步:网络连接,在我的上一篇博客中有介绍,不再多说. 网络连接的目的:为了能使用yum命令,在网上直接下载文件. 第二步:前往oracle官网下载12c database服务器端的两个文件:(安装在Linux) linuxamd64_12102_database_1of2.zip linuxamd64_12102_database_2of2.zip 将这两个文件放在Linux的tmp目录下,使用 unzip 命令来解压. database的client的一个文件:(安装在Windows) 32

新手入门 Windows下Oracle安装图解

oracle|window [IT168 专稿]Oracle是大中型企业.网站.公司.机构等使用的重量级的数据库.本篇给大家介绍其在Windows平台下的安装方法.    注意事项:     1. 本例以Oracle 8i R2 (8.1.6)版本为例.    2. 所有安装步骤为系统默认安装.    3. 安装之前请关闭所有正在运行的程序.    4. 为Oracle安装路径至少准备1G的硬盘空间.     安装要求:     硬件要求:     Intel奔腾处理器:    最少128 MB

qq图标点亮辅助工具怎么用?

  qq图标点亮辅助工具 目前支持37个图标点亮,未来还将升级更多;使用它,让您点灯更简便,更快捷.普通版永久免费,每个月更新2-4次,未来还将增加一键点亮等功能.具体使用方法:下载安装qq图标点亮辅助工具之后,打开并登录软件,关联你的qq号,最后选择你想要点亮的图标即可.         注:更多精彩教程请关注三联电脑教程栏目

Linr PS toolkit(Photoshop开发人员辅助工具)

来自(vickey)的肖软件~ github地址:https://github.com/Linrstudio/LinrPSToolkit  Linr PS toolkit(Photoshop开发人员辅助工具) 一键导图:快速输出选区为Web所用格式;若当前图层被锁定则只输出当前图层的当前选区;  快速获取信息:快速获取图像选区尺寸(若无选区则获取图像完整尺寸); 快速获取前景色.背景色.边框设置; 生成CSS:当前图层为文本图层时获取文本样式并生成CSS;并将每个空格或换行符相间的文本转成超链接

分享MSSQL、MySql、Oracle的大数据批量导入方法及编程手法细节

1:MSSQL SQL语法篇: BULK INSERT      [ database_name . [ schema_name ] . | schema_name . ] [ table_name | view_name ]         FROM 'data_file'        [ WITH       (      [ [ , ] BATCHSIZE = batch_size ]      [ [ , ] CHECK_CONSTRAINTS ]      [ [ , ] CODEP

Microsoft Azure的那7种辅助工具(2)

接 Microsoft Azure的那7种辅助工具(1) 现在大家只要一听到或者一想到云计算,就会马上联想到了网格计算.不过云计算和网格计算并不是同一回事.只是对于网格计算的场景来说,云计算对他的帮助时十分理想的,云计算不仅可以访问无限的硬件和其他的资源的能力,还可以让你的网格按需进行扩展.所谓网格计算,其实就是一个庞大的任务(通常是数学性质的任务)神奇地被分成很多"小块",之后将这些"小块"放到一个巨大的CPU矩阵中进行计算,当得出一个答案的时候,再返回给用户,这