3 Installing Oracle Database Client

You can use 32-Bit media for installing Oracle Database Client on all supported operating systems. You can use 64-Bit media for installing Oracle Database Client on all supported operating systems. This guide is for both Windows 32-Bit and Windows x64. This chapter covers the following topics:

3.1 Preinstallation Considerations Before Installing Oracle Database Client

The Oracle Database Client software is available on DVD and from the Oracle Technology Network (OTN) Web site. In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install the software. However, you can also use Oracle Universal Installer to complete silent or noninteractive installations using response files, without using the GUI.

Note:

Windows Vista requires Administrator privileges at the command prompt.

Review the information in Chapter 1, "Oracle Database Client Installation Overview" and complete the tasks listed in Chapter 2, "Oracle Database Client Preinstallation Requirements" before beginning the installation.

Next, consider the following issues:

3.1.1 Installation Consideration on Windows Vista

The installation consideration on Windows Vista is to open a command prompt with Administrator privileges.

3.1.2 Installing Oracle Database Client Installations in Silent or Noninteractive Mode

If you need to perform multiple installations of Oracle Database Client, you may want to use silent or noninteractive mode, with response files. In these modes, at each computer, you run Oracle Universal Installer from the command line using a response file. The response file is a text file containing the settings you normally enter in the Oracle Universal Installer GUI dialog boxes. This method lets you quickly perform multiple installations using similar settings for each computer.

See Also:

Appendix B, "Installing Oracle Database Client Using Response Files" for instructions on performing silent and noninteractive installations

3.1.3 Creating the Oracle Base Directory

If you install Oracle Database Client on a computer with no other Oracle software installed, Oracle Universal Installer creates an Oracle base directory for you. If Oracle software is already installed, one or more Oracle base directories already exist. In the latter case, Oracle Universal Installer offers you a choice of Oracle base directories into which you can install Oracle Database Client.

You are not required to create an Oracle base directory before installation, but you can do so if you want.

Note:

You can choose to create a new Oracle base directory, even if other Oracle base directories exist on the system.

3.1.4 Installing Oracle Database Client into Multiple Oracle Homes

You can install all Oracle components in multiple Oracle homes on the same computer. However, some components can only support one active instance at a time. This means that the current (latest) installation renders the previous one inactive. These components are:

  • Oracle Administration Assistant for Windows

  • Oracle Counters for Windows Performance Monitor

  • Oracle Objects for OLE on Windows 32-bit

  • Oracle Provider for OLE DB

Note:

Oracle Objects for OLE is not supported on Windows x64.

3.1.5 Installing on a System with an Existing Oracle Installation

Oracle Database Client can be installed in the same Oracle Database home if both products are at the same release level. For example, you can install Oracle Database Client 10g Release 2 (10.2) into an existing Oracle Database 10g Release 2 (10.2) home. If you apply a patch set before installing the client, then you must apply the patch set again. Oracle Universal Installer will prompt you for an Oracle home directory, whether you have other Oracle software installed on the computer or not. You cannot install products from one release of Oracle Database Client into an Oracle home directory of a different release. For example, you cannot install Oracle Database 11g release 1 (11.1) software into an existing Oracle9i Oracle home directory. If you attempt to install this release into an Oracle home directory that contains software from an earlier Oracle release, the installation fails.

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

3.2 Accessing the Installation Software

The Oracle Database Client software is available on DVD or you can download it from the Oracle Technology Network (OTN) Web site. You can access and install Oracle Database Client by using the following scenarios:

3.2.1 Installing from a Remote DVD Drive

If the computer where you want to install Oracle Database Client does not have a DVD drive, you can perform the installation from a remote DVD drive. You will need to complete the following steps:

3.2.1.1 Step 1: On the Remote Computer, Share the DVD Drive

The remote DVD drive that you want to use must allow shared access. To set this up, perform these steps on the remote computer that has the DVD drive:

  1. Log in to the remote computer as an Administrator user.

  2. Start Windows Explorer.

  3. Right-click the DVD drive letter and choose Sharing (or Sharing and Security).

  4. Click the Sharing tab and do the following:

    1. Select Share this folder.

    2. In Share name, give it a share name such as dvd. You will use this name when you map the DVD drive on the local computer. See Step d under Step 1 of the next procedure.

    3. Click Permissions. You need at least "read" permission for the user who will be accessing it to install Oracle Database.

    4. Click OK when you are finished.

  5. Insert the DVD labeled Oracle Database 11g Release 1 (11.1) into the DVD drive.

3.2.1.2 Step 2: On the Local Computer, Map the DVD Drive

Perform these steps on the local computer to map a remote DVD drive and to run Oracle Universal Installer from the mapped drive:

  1. Map the remote DVD drive.

    1. Start Windows Explorer on the local computer.

    2. From the Tools menu, select Map Network Drive to display the Map Network Drive dialog.

    3. Select a drive letter to use for the remote DVD drive.

    4. In Folder, enter the location of the remote DVD drive using the following format:

      \\remote_hostname\share_name
      

      where:

      • remote_hostname is the name of the remote computer with the DVD drive.

      • share_name is the share name that you entered in Step 4 of the previous procedure. For example

        \\computer2\dvd
        
    5. If you need to connect to the remote computer as a different user, click different user name, and enter the username.

    6. Click Finish.

  2. Run Oracle Universal Installer from the mapped DVD drive.

  3. Go to the "Installing the Oracle Database Client Software" section.

3.2.2 Installing on Remote Computers Through Remote Access Software

If you want to install and run Oracle Database Client on a remote computer (that is, the remote computer has the hard drive and will run Oracle Database Client components), but you do not have physical access to the computer, you still can perform the installation on the remote computer if it is running remote access software such as VNC or Symantec pcAnywhere. You also need the remote access software running on your local computer.

You can install Oracle Database Client on the remote computer in one of two ways:

  • If you have copied the contents of the Oracle Database Client DVD to a hard drive, you can install from the hard drive.

  • You can insert the DVD into a drive on your local computer, and install from the DVD.

3.2.2.1 Installing on Remote Computers from a Hard Drive

If you have copied the contents of the Oracle Database Client DVD to a hard drive, you can install from the hard drive.

The steps that you have to complete are:

  1. Make sure that the remote access software is installed and running on the remote and local computers.

  2. Share the hard drive that contains the Oracle Database Client DVD.

  3. On the remote computer, map a drive letter to the shared hard drive. You would use the remote access software to do this on the remote computer.

  4. Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared hard drive.

  5. Go to the "Installing the Oracle Database Client Software" section.

3.2.2.2 Installing on Remote Computers from a Remote DVD Drive

You can insert the DVD into a drive on your local computer, and install from the DVD.

The steps that you need to complete are:

  1. Make sure that the remote access software is installed and running on the remote and local computers.

  2. On the local computer, share the DVD drive.

    On the remote computer, map a drive letter to the shared DVD drive. You would use the remote access software to do this on the remote computer.

    These steps are described in the "Installing from a Remote DVD Drive" section.

  3. Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared DVD drive.

  4. Go to the "Installing the Oracle Database Client Software" section

3.2.3 Downloading Oracle Software from the Oracle Technology Network Web Site

You can download the installation files from the Oracle Technology Network (OTN) and extract them on your hard disk.

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

    http://www.oracle.com/technetwork/indexes/downloads/

  2. Navigate to each of the download pages for the products that you want to install.

  3. On each download page, identify the required disk space by adding the file sizes for each required file. The file sizes are listed next to the filenames.

  4. Select a file system with enough free space to store and expand the files. In most cases, the available disk space must be at least twice the size of all compressed files combined.

  5. On the file system that you just selected, create a parent directory for each product you plan to install, for example OraDBClient11g, to hold the installation directories.

  6. Download all of the installation files to the directories that you just created.

  7. Verify that the files you downloaded are the same sizes as the corresponding files on Oracle Technology Network.

  8. Extract the files in each directory that you just created.

When you have extracted the required installation files, see the "Installing the Oracle Database Client Software" section.

3.2.4 Copying the Oracle Database Client Software to a Hard Disk

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

  1. Create a directory for the installation files on your hard drive. For example:

    d:\install\client
    
  2. Copy the contents of the installation media to the directory that you just created.

When you have copied the required installation files, see the "Installing the Oracle Database Client Software" section.

3.3 Installing the Oracle Database Client Software

This section covers the following topics:

3.3.1 Guidelines for Installing Oracle Database Client

In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install Oracle Database Client. However, you can also use Oracle Universal Installer to complete silent or noninteractive installations using a response file, without using the GUI. This method is particularly useful if you need to perform multiple installations of Oracle Database Client.

Note:

If you run Oracle Universal Installer during the time that Windows Scheduler jobs are running, then you may encounter unexplained installation problems if your Windows Scheduler job is performing cleanup, and temporary files are deleted before the installation is finished. Oracle recommends that you complete installation before the Windows Scheduler jobs are run, or disable Windows Scheduler jobs that perform cleanup of temporary files until after the installation is completed.

As you install Oracle Database Client, follow these guidelines:

Note:

If you perform a Custom installation, then ensure that you install only the components covered by your license. You can not install Standard Edition using Custom installation.

See Also:

Appendix B, "Installing Oracle Database Client Using Response Files" for information on silent or noninteractive installations
  • Do not use Oracle Universal Installer from an earlier Oracle product release to install components from this release.

  • Use the same installation media to install Oracle Database Client on all supported Windows platforms.

  • If you reinstall Oracle software into an Oracle home directory where Oracle Database Client is already installed, you must reinstall any components that were installed before you began the reinstallation.

  • Do not modify the Java Runtime Environment (JRE) except by using a patch provided by Oracle Support Services. Oracle Universal Installer automatically installs the Oracle-supplied version of the JRE. This version is required to run Oracle Universal Installer and several Oracle assistants.

  • If you encounter errors during installation, click Help or see Appendix D, "Troubleshooting the Oracle Database Client Installation" for advice.

3.3.2 Procedure for Installing Oracle Database Client

To install Oracle Database Client:

  1. Log on as a member of the Administrators group to the computer on which you want to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. Insert the Oracle Database Client installation media and navigate to the client directory. Alternatively, navigate to the directory where you downloaded or copied the installation files.

    Use the same installation media to install Oracle Database on all supported Windows platforms.

  3. Double-click setup.exe to start Oracle Universal Installer.

  4. In the Select a Product to Install screen, select the product that you want to install: Oracle Database 11g, Oracle Client, or Oracle Clusterware and click Next.

  5. In the Select Installation Type screen, select the type of installation that you want: Instant Client, Administrator, Runtime, or Custom and click Next.

    See Also:

    "Oracle Database Client Installation Types" for more information on these installation types.
  6. In the Install Location screen, enter the following details:

    • Oracle Base: The Oracle base path appears by default. You can change the path based on your requirement.

    • Name: Enter the name of the Oracle home.

      Install Oracle Database Client in a new Oracle home, even if you are installing on a computer that has existing Oracle components installed.

      Do not install Oracle Database Client 11g release 1 (11.1) software in an existing Oracle home that contains Oracle Database 10g or earlier software. You can install Oracle Database Client in an existing Oracle home that contains Oracle Database Client 10g release 2 (10.2) or later software, so long as Oracle Database is not installed in the same home.

    • Path: Enter the directory location for the Oracle home files. Do not include spaces in the path name.

  7. Click Next.

  8. If you selected Custom in Step 5, in the Available Product Components screen, select the components you want to install and click Next or Install.

  9. In the Product-specific Prerequisite Checks screen, correct any errors that Oracle Universal Installer may have found, and then click Next.

  10. In the Summary screen, check the installed components listing and click Install.

  11. If you selected the Administrator, Runtime, or Custom installation types, follow Steps 12 to 20 to complete the Oracle Net Configuration Assistant procedure.

    If you selected the Instant Client installation type, go to Step 21. After you complete the installation, you can follow the steps under "Connecting Instant Client or Instant Client Light to an Oracle Database" to configure the database connection.

  12. In the Oracle Net Configuration Assistant: Welcome screen, either select Perform typical configuration to use a default configuration, or select the Naming Methods configuration option. Then click Next. (The remaining steps in this procedure assume you are using Naming Methods.)

  13. In the Naming Methods Configuration, Select Naming Methods screen, select the naming method you want and then click Next.

    In most cases, Local Naming is sufficient.

  14. In the Net Service Name Configuration, Service Name screen, enter the name of the database service to which you want to connect. Click Next.

    For example, to connect to a database named sales, enter sales.

  15. In the Net Service Name Configuration, Select Protocols screen, depending on the protocol you selected, enter the appropriate information and click Next.

  16. In the Net Service Name Configuration, TCP/IP Protocol screen, enter the host name of the computer where the Oracle database is installed. Specify the port number, then click Next.

    For example, to connect to the computer shobeen, you would enter shobeen.

  17. In the Net Service Name Configuration, Test screen, click Yes to perform a test of the connection. Then click Next.

    In most cases, the test fails only because the default user name and password Oracle Universal Installer supplies in the dialog box do not match the user name and password for the target database. Click Change Login, re-enter the user name and password, and then click OK.

  18. In the Connecting screen, click Next.

  19. In the Net Service Name screen, enter the name of the net service name to use.

  20. Answer the remaining prompts to complete the configuration.

  21. In the End of Installation screen, click Exit, then click Yes to exit from Oracle Universal Installer.

  22. Optionally, delete the OraInstalldate_time directory if you want to remove the temporary files that were created during the installation process. The OraInstalldate_time directory holds about 50.5 MB of files. This directory is created in the location set by the TEMP environment variable setting.

    Restarting your computer also removes the OraInstalldate_time directory.

  23. Go to Chapter 4, "Oracle Database Client Postinstallation Tasks" to complete the postinstallation tasks.