|
Runing Oracle Universal Installer (OUI) on z/OS |
Runing Oracle Universal Installer (OUI) on z/OS
- If necessary , delete any dumps or other /tmp files, UNIX files
and
MVS
datasets from a previous installation failure.
-
Connect to UNIX on z/OS via Telnet
- Make sure
/etc/startup.mk exists.
If not, copy it from /samples/startup.mk.
OUI may crash with Java and CEE dumps if it does not exist.
- Set up the environment for the required version of Java and start OUI:
export PATH=/bin:/usr/lpp/java/J1.4/bin
export JAVA_HOME=/usr/lpp/java/J1.4
/usr/lpp/Oracle/runInstaller -ignoresysprereqs > ~/ouistdout 2> ~/ouistderr
Redirecting STDOUT and STDERR prevent OUI from failing with a IEC141I 013-C0 error on the
MVS
console.
- Rename the
~/ouistdout and ~/ouistderr
before starting OUI for the next installation or configuration.
back to top
|
|
Installing Patches on z/OS |
Installing Patches on z/OS
- Log into USS with the login ID which owns the Oracle installation directories.
- Download the patch to be installed and put it in the ORACLE_HOME directory.
- Download the latest version of OPatch (patch #4898608) and put it in the ORACLE_HOME directory.
- Download the OS/390 version of the UnZip utility from the Oracle Metalink
UnZip Utilities Download page.
- Uncompress the UnZip utility and add execute permission:
uncompress unzip_os390.Z
chmod ug+x unzip_os390
- 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.
- 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.
- Verify the versions of Java and Perl:
java -version
perl -version
- 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
- Verify
oraInventory exists where indicated by oraInst.loc:
ls -l /usr/lpp/Oracle/10.2.0.3/oraInventory
- Test running OPatch:
opatch lsinventory
- Shut down the gateways if they are running.
- Perform any pre-installation instructions indicated by the ReadMe file,
such as allocating data sets.
- Apply the patch:
cd nnnnnnn
opatch apply
- Perform any post-installation instructions indicated by the ReadMe file.
back to top
|