Thursday, 19 April 2018

11.2.0.4 software installation on AIX server step by step


For details https://docs.oracle.com/en/database/oracle/oracle-database/12.2/cwaix/running-the-rootpresh-script.html#GUID-E1073BA0-9B67-45AA-9782-8277C7888741

11.2.0.4 software installation on AIX server step by step


1) Create Home directory and unset oracle related environment if other oracle software is installed
    and check free space on oracle home


mkdir -p /oracle/product/exaprd/11.2.0.4

Take backup of environment and collect information about ORACLE






unset ORAKITPATH
unset ORACLE_BASE
unset ORACLE_SID
unset TNS_ADMIN
unset TD_ICU_DATA
unset ODMDItR
unset ORACLE_HOME
unset NLSPATH
unset LD_LIBRARY_PATH
unset PATH 


eg


oakmere:dummy10204:/oracle/product/gns03ppt/11.2.0.4 $echo $PATH
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java5/jre/bin:/usr/java5/bin:/opt/IBM/cmdb/nmap-4.76:/usr/local/bin:/usr/microfocus/cobol/5.1/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.:/usr/vacpp/bin:/bin:/usr/local/bin:/usr/eco/bin:/oracle/product/10.2.0.4/bin:/oracle/local/bin
oakmere:dummy10204:/oracle/product/gns03ppt/11.2.0.4 $
oakmere:dummy10204:/oracle/product/gns03ppt/11.2.0.4 $


export PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java5/jre/bin:/usr/java5/bin:/opt/IBM/cmdb/nmap-4.76:/usr/local/bin:/usr/microfocus/cobol/5.1/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:.:/usr/vacpp/bin:/bin:/usr/local/bin:/usr/eco/bin:/oracle/product/gns03ppt/11.2.0.4


export ORACLE_BASE=/oracle
export ORACLE_HOME=/oracle/product/gns03ppt/11.2.0.4


export PATH=$ORACLE_HOME/bin:$Path
export LD_LIBRARY_PATH=$ORACLE_HOME/lib


6. If any Java packages are installed on the system, unset the Java environment variables, for example JAVA_HOME.

   7. The oracle account that is used to install Oracle 11.2.0.3/4, should not have the Oracle install related variables set by default.

       For example setting ORACLE_HOME, PATH, LD_LIBRARY_PATH to include Oracle binaries in .profile, .login file and /etc/profile.d should be completely avoided.

        a.) Setting $ORACLE_BASE (not $ORACLE_HOME) is recommended, since it eases a few prompts in the OUI runInstaller tool.

        b.) Following the succesful install, it is recommended to set $ORACLE_HOME, and to set $PATH to include $ORACLE_HOME/bin at the beginning of the $PATH string.


oakmere:dummy10204:/oracle $echo $PATH
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java5/jre/bin:/usr/java5/bin:/opt/IBM/cmdb/nmap-4.76:/usr/local/bin:/usr/microfocus/cobol/5.1/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:.:/usr/vacpp/bin:/bin:/usr/local/bin:/usr



2) Unzip software two folder and make sure while unzip 2nd folder it goes in same folder
3) run runinstaller from oracle user




press yes but don't run it if other oracle software already exist




Note

Running the rootpre.sh Script
You must run the rootpre.sh script before you start the installation on IBM AIX on POWER Systems (64-Bit).
Use the following procedure to run the rootpre.sh script:
Note:
Do not run the rootpre.sh script if you have a later release of the Oracle Database software installed on this system.
1. Switch the user to root:
$ su - root
password:
#
2. Complete one of the following steps, depending on the location of the installation files:
a. If the installation files are on a disc, enter a command similar to the following,
# /directory_path/rootpre/rootpre.sh
directory_path is the disc mount point directory or the path of the db directory:
b. If the installation files are on the hard disk, change the directory to the location where rootpre.sh exists and enter the following command:
# ./rootpre.sh
3. Exit from the root account:
# exit




























run root.sh from root user




and press n since oraenv already exist ,later add oracle home in oraenv using vi editor

No comments:

Post a Comment