1 Overview of the Oracle Database Gateway Installation

This chapter describes issues that you should consider before installing the Oracle Database Gateways. It includes the following topics:

1.1 Gateway Installation Configurations

You can install Oracle Database Gateway in either of the following configurations:

  • On the same computer as an existing Oracle database but in a different Oracle home.

  • On a system with no Oracle database.

  • On the same computer as the Oracle database and in the same Oracle home directory. Note that in this case, the Oracle database and the gateway must be at the same release level.

1.2 Gateway Installation Methods

Following are the installation methods to install Oracle Database Gateways:

1.2.1 Interactive Installation Method

When you use the interactive method to install Oracle Database Gateways, Oracle Universal Installer displays a series of screens that enable you to specify all of the required information.

1.2.2 Automated Installation Method Using Response Files

By creating a response file and specifying this file when you start Oracle Universal Installer, you can automate some or all of the Oracle Database Gateway installation. These automated installation methods are useful if you need to perform multiple installations on similarly configured systems or if the system where you want to install the software does not have X Window system software installed.

When you use a response file, you can run Oracle Universal Installer in the following modes, depending on whether you specify all of the required information or not:

  • Silent Mode

    Oracle Universal Installer runs in silent mode if you use a response file that specifies all required information. None of the Oracle Universal Installer screens are displayed.

  • Suppressed Mode

    Oracle Universal Installer runs in suppressed mode if you do not specify all required information in the response file. Oracle Universal Installer displays only the screens that prompt for the information that you did not specify.

For more information about these modes and about how to complete an installation using response files, refer to Appendix A, "Using Response Files for Noninteractive Installation".

1.3 Installation Considerations

This section contains information that you should consider before installing this product. They are:

1.3.1 Release Notes

Read the release notes for the product before installing it. The release notes are available on the Oracle Database 11g Release 2 (11.2) installation media. The latest version of the release notes is also available on the Oracle Technology Network (OTN) Web site:

http://www.oracle.com/technetwork/documentation/index.html

1.3.2 Hardware and Software Certification

The platform-specific hardware and software requirements included in this installation guide were current at the time this guide was published. However, because new platforms and operating system software versions might be certified after this guide is published, review the certification matrix on the My Oracle Support Web site for the most up-to-date list of certified hardware platforms and operating system versions. The My Oracle Support Web site is available at the following Web site:

https://support.oracle.com

1.3.3 Multiple Oracle Homes Support

This product supports multiple Oracle homes. This means that you can install this release or previous releases of the software more than once on the same system, in different Oracle home directories.

1.3.3.1 Installing the Software on a System with an Existing Oracle Installation

You must install this product in a new Oracle home directory. You cannot install products from one release of Oracle Database Gateways into an Oracle home directory of a different release. For example, you cannot install release 11.2 software into an existing Oracle 10gR2 Oracle home directory. If you attempt to install this release in an Oracle home directory that contains software from an earlier Oracle release, then the installation will fail.

You can install this release more than once on the same system if each installation is installed in a separate Oracle home directory.

1.4 Upgrades

Upgrades are not supported for Oracle Database Gateways.

1.5 Accessing the Installation Software

You can access the Oracle Database Gateway software by using one of the following methods:

1.5.1 Downloading Oracle Software from the OTN Web Site

This section describes how to download the installation archive files and extract them on your hard disk. It contains the following topics:

1.5.1.1 Downloading the Installation Archive Files from OTN

To download the installation archive files from Oracle Technology Network do the following:

  1. Use any browser to access the software download page on Oracle Technology Network:

    http://www.oracle.com/technetwork/indexes/downloads/index.html
    
  2. Navigate to the download page for the product that you want to install.

  3. Select a file system with enough free space to store and expand the archive files.

    In most cases, the available disk space must be at least twice the size of the archive files.

  4. On the file system that you selected in step 3, create a directory, for example, gateway, to hold the installation archive files.

  5. Download the installation archive files to the directory that you created in step 4.

  6. Verify that the files you downloaded are the same size as the corresponding files on Oracle Technology Network.

1.5.1.2 Extracting the Installation Files

To extract the installation archive files, perform the following steps:

  1. If necessary, change directory to the directory that contains the downloaded installation archive files.

  2. If the downloaded file has the zip extension, use the following command to extract the content:

    unzip file_name.zip
    

    If the downloaded file has the cpio.gz extension, use the following command:

    $ gunzip filename.cpio.gz
    

    This command creates files with names similar to the following:

    filename.cpio
    
  3. To extract the installation files, enter a command similar to the following:

    $ cpio -idmv < filename.cpio
    

    Note:

    Refer to the download page for information about the correct options to use with the cpio command.

    Some browsers uncompress files while downloading them, but leave the .gz file extension. If these steps do not work, remove the .gz extension from the files and repeat step 3.

    For each file, this command creates a subdirectory named gateways.

1.5.2 Copying the Oracle Software to a Hard Disk

Before installing Oracle Database Gateway, you might want to copy the software to the hard disk. This enables the installation process to run faster. Before copying the installation media content to the hard disk, you must mount the installation media. The following section describes how to mount discs and copy their content to the hard disk.

1.5.2.1 Mounting Disc

On most Linux systems, the disc mounts automatically when you insert it into the disc drive. If the disc does not mount automatically, follow these steps to mount it:

  1. If necessary, enter a command similar to one of the following to eject the currently mounted disk, then remove it from the drive:

    • Asianux, Oracle Linux, and Red Hat Enterprise Linux:

      $ sudo eject /mnt/dvd
      
    • SUSE Linux Enterprise Server:

      $ eject /media/dvd
      

    In these examples, /mnt/dvd and /media/dvd are the mount point directories for the installation media.

  2. Insert the appropriate disc into the disc drive.

  3. To verify that the disc mounted automatically, enter a command similar to the following depending on your platform:

    • Asianux, Oracle Linux, and Red Hat Enterprise Linux:

      # ls /mnt/dvd
      
    • SUSE Linux Enterprise Server:

      # ls /media/dvd
      
  4. Before running the following command, ensure that the /mnt/dvd directory exists on Red Hat Enterprise Linux. If not, create the /mnt/dvd as required, to mount the installation media.

    If this command fails to display the contents of the disc, enter a command similar to the following to mount it, depending on your platform:

    • Asianux, Oracle Linux, and Red Hat Enterprise Linux:

      # mount -t iso9660 /dev/dvd /mnt/dvd
      
    • SUSE Linux Enterprise Server:

      # mount -t iso9660 /dev/dvd /media/dvd
      

    In these examples, /mnt/dvd and /media/dvd are the mount point directories for the installation media.

  5. If Oracle Universal Installer is displaying the Disk Location dialog box, enter the disc mount point directory path, for example:

    /mnt/dvd
    

For other Unix based system, please refer to the platform specific database installation guide for detailed instruction.

1.5.2.2 Copying the Oracle Database Gateway Software to a Hard Disk

To copy the contents of the installation media to a hard disk:

  1. Create a directory on the hard disk to hold the Oracle Database Gateway software:

    $ mkdir gateway
    
  2. Change directory to the directory you created in step 1:

    $ cd gateway
    
  3. Copy the contents of the mounted disc to the new directory as follows:

    $ cp -R /directory_path gateway
    

    In this example, /directory_path is the installation media mount point directory. The mount point directory is /cdrom.

1.6 Running the Oracle Universal Installer

In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install the gateway. However, you can also use Oracle Universal Installer to complete noninteractive installations, without using the GUI.

See Also:

Refer to Appendix A, "Using Response Files for Noninteractive Installation" for information about noninteractive installations and other advanced installation topics

Start the Installer and install the software, as follows:

  1. If you are installing the software from disc, then mount the appropriate disc if it is not already mounted

    Some platforms automatically mount discs when you insert them into the drive.

  2. If necessary, log in as the Oracle software owner user (oracle) and set the DISPLAY environment variable.

  3. To start the Installer, enter the following commands where directory_path is the CD-ROM mount point directory, the path of the tg directory on the DVD-ROM, or the directory path of the software on the hard disk.

    $ /directory_path/runInstaller
    
  4. Use the following guidelines to complete the installation:

    • Follow the instruction displayed in the Installer window. If you need additional information, click Help.

    • When the Installer prompts you to run a script with root privileges, enter a command similar to the following in a terminal where you are logged in as the root user, then click Continue or OK:

      # /script_path/script_name
      
    • If you encounter errors while installing or linking the software, then see Appendix B, "Oracle Database Gateway Troubleshooting" for information about troubleshooting.

  5. When the installation is complete, click Exit and then click Yes to exit from the Installer.