Installing and running Oracle on IBM z/OS

Installing Patches on z/OS

  1. Log into USS with the login ID which owns the Oracle installation directories.
  2. Download the patch to be installed and put it in the ORACLE_HOME directory.
  3. Download the latest version of OPatch (patch #4898608) and put it in the ORACLE_HOME directory.
  4. Download the OS/390 version of the UnZip utility from the Oracle Metalink UnZip Utilities Download page.
  5. Uncompress the UnZip utility and add execute permission: uncompress unzip_os390.Z
    chmod ug+x unzip_os390
  6. UnZip OPatch and the patch to be applied: ./unzip_os390 -a p4898608_10203_GENERIC
    ./unzip_os390 pnnnnnnn_10203_MVS
    Use the -a option when extracting OPatch to convert ASCII to EBCDIC. The patch itself probably contains binary files and may not need to be extracted with the -a option, but it might not hurt to include it anyway.
  7. Make sure the environment variables and PATH are properly set: export JAVA_HOME=/usr/lpp/java/J1.4
    export ORACLE_HOME=/usr/lpp/Oracle/product/otg/10.2.0.3
    export ORACLE_HLQ_PDS=ORACLE.OTG.V10203
    export PATH=$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATH
    The PATH should include the OPatch directory and the directory that contains the version of Perl that was installed with Oracle.
  8. Verify the versions of Java and Perl: java -version
    perl -version
  9. Make sure oraInst.loc points to the correct oraInventory location (ex: $ORACLE_BASE/oraInventory or $ORACLE_HOME/oraInventory). cat /var/opt/oracle/oraInst.loc
    #Oracle Installer Location File Location
    #Ddd Mmm dd hh:mm:ss ZZZ yyyy
    inst_group=MVSNFSC
    inventory_loc=/usr/lpp/Oracle/10.2.0.3/oraInventory
  10. Verify oraInventory exists where indicated by oraInst.loc: ls -l /usr/lpp/Oracle/10.2.0.3/oraInventory
  11. Test running OPatch: opatch lsinventory
  12. Shut down the gateways if they are running.
  13. Perform any pre-installation instructions indicated by the ReadMe file, such as allocating data sets.
  14. Apply the patch: cd nnnnnnn
    opatch apply
  15. Perform any post-installation instructions indicated by the ReadMe file.

Prev: OUI on z/OS Next: Status 

Home > Computers > Databases > Oracle > on z/OS > z/OS Install > Patches

Viewing mobile website page. Switch to WML or Full HTML