Sunday, August 11, 2013

Oracle Database Client


Installing using response file in silent mode:

1. Download the software

2. unzip the software. A directory called client is created at the location.
   unzip <file_name>

3. Copy the original response file to temp location.Original response file location will be <Base_Dir>/client/response.

4. create the response file with a minimum of below values and save it. Please don't put the values in single or double quotes.
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/opt/projects/oracle/oraInventory
SELECTED_LANGUAGES=en
ORACLE_HOME=/opt/oracle/product/11.2.0
ORACLE_BASE=/opt/oracle
oracle.install.client.installType=Administrator

5. Install the Client Sodtware. The runInstaller.
./runInstaller -silent -responseFile /opt/oracle/client/response/client_install.rsp

6. After successfull installation, run the root.sh script under the root user.

Error: If any case it errored out please check for logfile in /tmp/ OraInstall* directory.
 
Cloning of Oracle Client:

1. Tar the Oracle Client home from the souce server.
    tar -cvf file_name.tar product

2. scp the tar file to the new server

3. Untar the file at the location from where we want like the same directoy path like the source server.    tar -xvf file_name.tar

4. Now start the cloning.
export ORACLE_HOME=/opt/oracle/product/11.2.0
export PATH=$ORACLE_HOME/bin:$PATH:.
$ORACLE_HOME/oui/bin/runInstaller -silent -clone ORACLE_BASE="/opt/oracle/" ORACLE_HOME="/opt/oracle/product/11.2.0" ORACLE_HOME_NAME="Oracle11201_client" -invPtrLoc="/opt/projects/oracle/oraInventory"
Note: The above command need to run in single line.

Useful MOS IDs:

1. Master Note For Oracle Database Client Installation (Doc ID 1157463.1) 
2.Install / Deinstall / Cloning Assistant: Oracle Database / Client (Doc ID 1555012.2)

1 comment: