Monday 21 January 2019

O/S MIGRATION FROM RHEL 4 TO RHEL 5 FOR Oracle EBS 11i



O/S MIGRATION FROM RHEL 4 TO RHEL 5 FOR ORACLE EBS 11i
                                                                            
Source:     RHEL 4

Step 1.    Shutdown Application.
Step 2.    Shutdown Database.
Step 3.    Take Backup Db and Application.

                                                                                
Target:      RHEL5

Step 4.    Copy Db and Application from RHEL 4  to  RHEL 5.
Step 5.    Change owner and permission.
Step 6.    Create soft link.
            # cd /usr/lib
            # ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2
              
 Note: If soft link is not set than give error:-
               ERROR: Unable to set CLASSPATH
               /b02/db11i/db/oaproddb/9.2.0/appsutil/clone/bin/../jlib/classes111.zip: is missing
               In /tmp/adcfgclone.err
               error while loading shared libraries: libstdc++-libc6.1-1.so.2.

 Step  7.   Copy these file from RHEL4 to RHEL5 oratab, oraInst.loc and oraInventory.
                 and change ownership and permission.

 Step 8.   Below error appears while running the concurrent request
                       ar60run: relocation error: /jre11/lib/i686/native_threads/libjava.so: symbol __libc_wait,  
                       version GLIBC_2.0 not defined in file libc.so.6
              Check the following
                     $ rpm -qa|grep libcwait

               if not present please applying the following rpm
                     compat-libcwait-2.1-1.i386.rpm


Database:

Step 8.     Edit the <9i RDBMS_ORACLE_HOME>/appsutil/bin/adgetlnxver.sh file.
   #vi $ORACLE_HOME/appsutil/bin/adgetlnxver.sh

   Replace all occurrences of LD_ASSUME_KERNEL with XD_ASSUME_KERNEL.

Step 9.     Login to Db user

                           # su - oratest
                # vi .bash_profile
                         export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'
                         PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/db11i/bin:/bin/ksh

Note: If .bash_profile is not set than give error:-
Checking for make...    found - /usr/bin/make
Checking for ld...     found - /usr/bin/ld
Checking for cc...     found - /usr/bin/cc
Checking for ar...     found - /usr/bin/ar
Checking for ksh...
Unable to find 'kshell' in path
Unable to locate all utilities with system path.

Step 10.  Login to Db user and runs adcfgclone.pl
  # su - oratest
              # perl adcfgclone.pl dbTier.


Application:

Step 11.  Login to application user
               # su - appltest
   # vi .bash_profile
export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'

Step 12.  Edit the $AD_TOP/bin/adgetlnxver.sh file.
               # vi $AD_TOP/bin/adgetlnxver.sh

  Replace all occurrences of LD_ASSUME_KERNEL with XD_ASSUME_KERNEL.

Step 13.  Error while running the auto-config in appsTier
             [appl11i@demo DB11i_demo]$ ./adautocfg.sh
             /a01/appl11i/appl/oaprodora/iAS/Apache/perl/bin/perl: error while loading shared libraries:  

             libdb.so.3: cannot open shared object file: No such file or directory 

             Solution:- 
             ln -s /usr/lib/libdb.so.2 /usr/lib/libdb.so.3
Step 14.  Login App user and runs adcfgclone.pl
                # su - appltest
               # perl adcfgclone.pl appsTier.










No comments:

Post a Comment