Setting up Oracle media
This topic describes how to set up Oracle media to prepare for provisioning.
Setting up Oracle media for Linux and UNIX
This section explains how to set up Oracle media for Linux and UNIX systems.
Before you begin
Ensure that Oracle specific environment parameters have been set properly.
To set up Oracle media for Linux and UNIX
Download Oracle media files from the Oracle website.
- Place the Oracle media in the following location and format on the BMC Database Automation (BDA) Agent:
- (Oracle versions earlier than 12.2)
/app/clarity/oracle_media/oracleVersionNumber_osType_architecture - (Oracle version 12.2)
/app/clarity/oracle_media/oracleVersionNumber_osType_architecture/grid - (Oracle version 18c and later) Move the Oracle media .zip file without extracting, to the specified location:
- Use the following location for a single-instance installation:
/app/clarity/oracle_media/oracleVersionNumber_osType_architecture - Use the following location for a grid installation:
/app/clarity/oracle_media/oracleVersionNumber_osType_architecture/grid
- Use the following location for a single-instance installation:
- (Oracle versions earlier than 12.2)
(Oracle versions earlier than 12.2.0.1 only) As the oinstall user, unzip the .zip files one at a time in order, which extracts them automatically into the corresponding media folder.
For example, the following commands populate the /app/clarity/oracle_media/12.1.0.1_linux_x86_64/database directory for Oracle 12.1.0.1 x86 64-bit for Linux media:
This directory is created with the following subdirectories:
client
database
deinstall
examples
gateways
grid(Oracle version 12.2 only) Copy the 12201_grid_home.zip file to the following location: /app/clarity/oracle_media/oracleVersionNumber_osType_architecture/grid.
For example, the /app/clarity/oracle_media/12.2.0.1_linux_x86_64/grid directory for Oracle 12.2 x86 64-bit for Linux media should contain the linuxx64_12201_grid_home.zip.
For all other 12.2 zip files, unzip the .zip files one at a time in the 12.2 media location.
For example, the following commands populate the /app/clarity/oracle_media/12.2.0.1_linux_x86_64/database directory for Oracle 12.2. x86 64-bit for Linux media:# cd /app/clarity/oracle_media/12.2.0.1_linux_x86_64/database
# unzip -q /tmp/linuxx64_12201_database.zipThis directory is created with the following subdirectories:
client
database
deinstall
examples
gateways
grid
The following table lists example Oracle media location paths by OS.
Setting up Oracle media for Windows
For Oracle versions earlier than 18c, Oracle media for Microsoft Windows must be prepared using the BDA Media Preparation Tool (mediaprep).
Before you begin
- Download the mediaprep utility from the Additional Utilities folder from the BMC Electronic Product Distribution (EPD) site. For more information, see Downloading-the-installation-files.
- If your installation media consists of multiple disks, run mediaprep for each disk and then upload all of the files generated.
- After the media is prepared, it must be copied to the Manager. If you do not have the root password of the Manager, mediaprep enables you to save the prepared media files locally on your workstation, so that someone with root access can copy the files to /app/clarity/var/media (for Multi-Manager environments, you must upload prepared media to each Satellite Manager).
To prepare Oracle media for Windows using mediaprep (Oracle versions earlier than 18c)
- From the command prompt, run mediaprep.exe.
- When prompted Do you want to prepare Microsoft SQL Server media? [y]: type n and press Enter.
- When prompted type y and press Enter.Do you want to prepare Oracle media? [y]:
- When prompted for the path to your Oracle media, enter the path (such as the CD-ROM drive) and press Enter.
If your media resides on a network share, map the share to a drive letter and specify the drive letter and location. Mediaprep does not accept network locations as a path to the media.
The tool searches the media for versions of Oracle and reports what it found. - To prepare the media for uploading to the Manager, press Enter.
- When prompted to copy files up to the Manager, type y and press Enter.
- When prompted for the host name or IP address of the Manager, type the IP address and press Enter.
- When prompted to use SSL version 1, type y and press Enter.
If n is entered, SSL version 2 is used. (Version 1 is faster but less secure than version 2). - When prompted to enter the root password of the Manager, type the password and press Enter.
To prepare Oracle media for Windows (Oracle version 18c and later)
Use the following procedure to prepare media for a single-instance installation.
Download the Oracle media files to the BDA Manager.
Oracle version
File name
18c and later
WINDOWS.X64_180000_db_home.zip
WINDOWS.X64_180000_examples.zip
- Go to /app/clarity/var/media on the BDA Manager.
Create a softlink for the downloaded media files as shown:
Setting up OPatch media and response file
OPatch can be upgraded as part of a patch job. BDA supports OPatch upgrades for both platform-specific and generic OPatch:
- Platform-specific OPatch files have the following format:
p6880880_ oracle_version_platform-architecture .zip
- Generic OPatch files have the following format:
Oracle 10gR2: opatch-10.2.zip
Oracle 11g: opatch-11.1.zip
OPatch media and a platform-specific response file (ocm.rsp) must be located in the /app/clarity/oracle_media directory on the Manager.
Where to go from here
To prepare and apply BDA patch packages for Oracle quarterly packages, see Managing-patch-packages-for-Oracle-quarterly-packages.
Related topic