2009-08-21

How to silent install Oracle 10g client on AIX

## run "chuser fsize=-1 oracle" command as root first if ulimit for fsize is not big enough

Login as oracle

$ cd /opt/oracle_install
$ gunzip 10gr2_aix5l64_client.cpio.gz
$ cpio -icdmv < 10gr2_aix5l64_client.cpio ## Oracle document says to use -idmv option but -c also needed for AIX
$ su -
# cd /opt/oracle_install/opt/rootpre
# ./rootpre.sh
# exit
$ cd Disk1
$ cp response/clientcustom.rsp response/my-custom-10gR2-client.rsp
## edit the response file
$ grep -v ^\# response/my-custom-10gR2-client.rsp | grep .
RESPONSEFILE_VERSION=2.2.1.0.0
UNIX_GROUP_NAME="oinstall"
FROM_LOCATION="../stage/products.xml"
FROM_LOCATION_CD_LABEL=
ORACLE_HOME="/opt/oracle/product/10.2.0/client_1"
ORACLE_HOME_NAME="client_1"
SHOW_WELCOME_PAGE=false
SHOW_NODE_SELECTION_PAGE=false
SHOW_CUSTOM_TREE_PAGE=false
SHOW_COMPONENT_LOCATIONS_PAGE=false
SHOW_SUMMARY_PAGE=true
SHOW_INSTALL_PROGRESS_PAGE=true
SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
SHOW_CONFIG_TOOL_PAGE=true
SHOW_RELEASE_NOTES=false
SHOW_ROOTSH_CONFIRMATION=true
SHOW_END_SESSION_PAGE=true
SHOW_EXIT_CONFIRMATION=true
NEXT_SESSION=false
NEXT_SESSION_ON_FAIL=true
NEXT_SESSION_RESPONSE=
DEINSTALL_LIST={"oracle.client","10.2.0.1.0"}
SHOW_DEINSTALL_CONFIRMATION=true
SHOW_DEINSTALL_PROGRESS=true
CLUSTER_NODES={}
REMOTE_NODES=
LOCAL_NODE=
RESTART_SYSTEM=false
RESTART_REMOTE_SYSTEM=false
ORACLE_HOSTNAME="my-aix-box"
REMOVE_HOMES={"/opt/oracle/product/10.2.0/client_1"}
SHOW_XML_PREREQ_PAGE=true
SHOW_END_OF_INSTALL_MSGS=true
ACCEPT_LICENSE_AGREEMENT=true
TOPLEVEL_COMPONENT={"oracle.client","10.2.0.1.0"}
SHOW_SPLASH_SCREEN=true
SELECTED_LANGUAGES={"en"}
COMPONENT_LANGUAGES={"en"}
INSTALL_TYPE="Custom"
OPTIONAL_CONFIG_TOOLS=
DEPENDENCY_LIST={"oracle.sqlj:10.2.0.1.0", "oracle.rdbms.util:10.2.0.1.0", "oracle.javavm.client:10.2.0.1.0", "oracle.sqlplus:10.2.0.1.0", "oracle.dbjava.jdbc:10.2.0.1.0", "oracle.ldap.client:10.2.0.1.0", "oracle.rdbms.oci:10.2.0.1.0", "oracle.precomp:10.2.0.1.0", "oracle.xdk:10.2.0.1.0", "oracle.swd.opatch:10.2.0.1.0", "oracle.network.aso:10.2.0.1.0", "oracle.network.client:10.2.0.1.0", "oracle.has.client:10.2.0.1.0"}
$ export ORACLE_BASE=/opt/oracle
$ unset ORACLE_HOME ORACLE_SID TNS_ADMIN
$ umask 022
$ env|grep ORA
ORACLE_BASE=/opt/oracle
$ ./runInstaller -silent -noconfig -responseFile /opt/oracle_download/opt/response/my-custom-10gR2-client.rsp
**************************************************************************
******

Your platform requires the root user to perform certain pre-installation
OS preparation. The root user should run the shell script 'rootpre.sh' be
fore
you proceed with Oracle installation. rootpre.sh can be found at the top
level
of the CD or the stage area.

Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle
installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.

**************************************************************************
******

Has 'rootpre.sh' been run by root? [y/n] (n)
y

Starting Oracle Universal Installer...

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-22_02-55-13AM. Please wait ...$ Oracle Universal

Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

You can find a log of this install session at:
/opt/oracle_simon/oracle_base/logs/installActions2009-08-22_02-55-13AM.log
.................................................................................................... 100% Done.


Loading Product Information
........................................................................................................... 100% Done.


Analyzing dependencies
..........................................................
Starting execution of Prerequisites...
Total No of checks: 5

Performing check for CertifiedVersions
Checking operating system requirements ...
Expected result: One of 5200.004,5300.002
Actual Result: 5300.002
Check complete. The overall result of this check is: Passed


Check complete: Passed
=======================================================================
Performing check for Packages
Checking operating system package requirements ...
Checking for bos.adt.base(0.0); found bos.adt.base(5.3.0.51). Passed
Checking for bos.adt.lib(0.0); found bos.adt.lib(5.3.0.50). Passed
Checking for bos.adt.libm(0.0); found bos.adt.libm(5.3.0.40). Passed
Checking for bos.perf.libperfstat(0.0); found bos.perf.libperfstat(5.3.0.50). Passed
Checking for bos.perf.perfstat(0.0); found bos.perf.perfstat(5.3.0.50). Passed
Checking for bos.perf.proctools(0.0); found bos.perf.proctools(5.3.0.50). Passed
Check complete. The overall result of this check is: Passed


Check complete: Passed
=======================================================================
Performing check for Patches
Checking recommended operating system patches
Checking for IY59386(bos.rte.bind_cmds,5.3.0.1); found (bos.rte.bind_cmds,5.3.0.51). Passed
Checking for IY60930(bos.mp,5.3.0.1); found (bos.mp,5.3.0.51). Passed
Checking for IY60930(bos.mp64,5.3.0.1); found (bos.mp64,5.3.0.51). Passed
Checking for IY66513(bos.mp64,5.3.0.20); found (bos.mp64,5.3.0.51). Passed
Checking for IY66513(bos.mp,5.3.0.20); found (bos.mp,5.3.0.51). Passed
Checking for IY70159(bos.mp,5.3.0.22); found (bos.mp,5.3.0.51). Passed
Checking for IY70159(bos.mp64,5.3.0.22); found (bos.mp64,5.3.0.51). Passed
Checking for IY58143(bos.mp64,5.3.0.1); found (bos.mp64,5.3.0.51). Passed
Checking for IY58143(bos.acct,5.3.0.1); found (bos.acct,5.3.0.50). Passed
Checking for IY58143(bos.adt.include,5.3.0.1); found (bos.adt.include,5.3.0.51). Passed
Checking for IY58143(bos.adt.libm,5.3.0.1); found (bos.adt.libm,5.3.0.40). Passed
Checking for IY58143(bos.adt.prof,5.3.0.1); found Not found. Failed <<<< passed ="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="" passed ="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="="" oracle_owner=" oracle" oracle_home=" /opt/oracle/product/10.2.0/client_1">

No comments:

Post a Comment