PK
2=Aoa, mimetypeapplication/epub+zipPK 2=A iTunesMetadata.plistY
This chapter describes how to completely remove Oracle software and configuration files related to the specified Oracle home using the Deinstallation Tool.
The deinstall
command removes the Oracle Database Client installations.
Starting with Oracle Database 11g Release 2 (11.2), Oracle recommends that you use the deinstallation tool to remove the entire Oracle home associated with the Oracle Database, Oracle Clusterware, Oracle ASM, Oracle RAC, or Oracle Database client installation. Oracle does not support the removal of individual products or components.
It includes information about the following topics:
The Deinstallation Tool (deinstall
) is available in the installation media before installation, and is available in Oracle home directories after installation. It is located in the $ORACLE_HOME/deinstall
directory.
The deinstall
command uses the information you provide, plus information gathered from the software home to create a parameter file. You can alternatively supply a parameter file generated previously by the deinstall
command using the –checkonly
option, or by editing the response file template.
Caution: When you run thedeinstall command, if the central inventory (oraInventory) contains no other registered homes besides the home that you are deconfiguring and removing, then the deinstall command removes the following files and directory contents in the Oracle base directory of the Oracle Database installation owner:
Oracle strongly recommends that you configure your installations using an Optimal Flexible Architecture (OFA) configuration, and that you reserve Oracle base and Oracle home paths for exclusive use of Oracle software. If you have any user data in these locations in the Oracle base that is owned by the user account that owns the Oracle software, then the |
The command uses the following syntax, where variable content is indicated in italics:
deinstall -home complete path of Oracle home [-silent] [-checkonly] [-local] [-cleanupObase] [-paramfile complete path of input parameter property file] [-params name1=value name2=value . . .] [-o complete path of directory for saving files] [-help]
The default method for running the deinstall tool is from the deinstall directory in the Oracle home as the installation owner:
$ $ORACLE_HOME/deinstall/deinstall
Provide information about your servers as prompted or accept the defaults.
The deinstall
command stops Oracle software, and removes Oracle software and configuration files on the operating system.
In addition, you can run the deinstall tool from other locations, or with a parameter file, or select other options to run the tool.
The options are:
-home
Use this flag to indicate the home path of the Oracle home to check or deinstall. To deinstall Oracle software using the deinstall
command in the Oracle home you plan to deinstall, provide a parameter file in another location, and do not use the -home
flag.
If you run deinstall from the $ORACLE_HOME/deinstall
path, then the -home
flag is not required because the tool knows from which home it is being run. If you use the standalone version of the tool, then -home
is mandatory.
-silent
Use this flag to run the command in silent or response file mode. If you use the -silent
flag, then you must use the -paramfile
flag, and provide a parameter file that contains the configuration values for the Oracle home to deinstall or deconfigure.
You can generate a parameter file to use or modify by running deinstall
with the -checkonly
flag. The deinstall
command then discovers information from the Oracle home to deinstall and deconfigure. It generates the properties file, which you can then use with the -silent
option.
You can also modify the template file deinstall.rsp.tmpl
, located in the $ORACLE_HOME/deinstall/response
folder.
-checkonly
Use this flag to check the status of the Oracle software home configuration. Running the command with the -checkonly
flag does not remove the Oracle configuration. The -checkonly
flag generates a parameter file that you can use with the deinstall
command.
-local
Use this flag on a multinode environment to deinstall Oracle software in a cluster.
When you run deinstall
with this flag, it deconfigures and deinstalls the Oracle software on the local node (the node where deinstall
is run). On remote nodes, it deconfigures Oracle software, but does not deinstall the Oracle software.
-cleanupOBase
Use this flag to force the removal of all the contents in the Oracle base directory, including the admin
, oradata,
and flash_recovery_area
directories. This flag forces an Oracle base removal only if the Oracle home that you specify with the -home
flag is the only Oracle home associated with the Oracle base directory. This flag is available with the deconfig tool available in the Oracle Grid Infrastructure and Oracle Database 11.2.0.3 patch release, and from Oracle Technology Network (OTN).
-paramfile
complete path of input parameter property file
Use this flag to run deinstall
with a parameter file in a location other than the default. When you use this flag, provide the complete path where the parameter file is located.
The default location of the parameter file depends on the location of deinstall
:
From the installation media or stage location: $ORACLE_HOME/inventory/response
.
From a unzipped archive file from OTN: /
ziplocation
/response
.
After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response
.
-params
[name1
=value
name 2
=value
name3
=value
. . .]
Use this flag with a parameter file to override one or more values to change in a parameter file you have already created.
-o
complete path of directory for saving response files
Use this flag to provide a path other than the default location where the properties file (deinstall.rsp.tmpl
) is saved.
The default location of the parameter file depends on the location of deinstall
:
From the installation media or stage location before installation: $ORACLE_HOME/
From a unzipped archive file from OTN: /
ziplocation
/response/
.
After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response
.
-help
Use the help option (-help
) to obtain additional information about the command option flags.
If you require the Deinstallation Tool (deinstall) to remove failed or incomplete installations, then it is available as a separate download from the Oracle Technology Network (OTN) Web site.
To download the Deinstallation Tool:
Go to the following URL:
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
Under Oracle Database 11g Release 2, click See All for the respective platform for which you want to download the Deinstallation Tool.
The Deinstallation Tool is available for download at the end of this Web page.
As the deinstall
command runs, you are prompted to provide the home directory of the Oracle software to remove from your system. Provide additional information as prompted.
Use the optional flag -paramfile
to provide a path to a parameter file.
In the following example, the deinstall
command is in the path /u01/app/oracle/product/11.2.0/client_1/deinstall
, and it uses a parameter file in the software owner location /home/usr/oracle
:
# cd /u01/app/oracle/product/11.2.0/client_1/deinstall/ # ./deinstall -paramfile /home/usr/oracle/myparamfile.tmpl
If you enter the deinstall command outside of the $ORACLE_HOME/deinstall
folder, then help is displayed, unless you enter a -home
flag and provide a path. If you run the deinstall command from the $ORACLE_HOME/deinstall
folder, then deinstallation starts without prompting you for a home address.
You can run the deinstall
command with the -paramfile
option to use the values you specify in the parameter file. The following is an example of a parameter file, in which the Oracle Database binary owner is oracle
, the Oracle Database home (Oracle home) is in the path /u01/app/oracle/product/11.2.0/client_1/
, the Oracle base (where other Oracle software is installed) is /u01/app/oracle/
, the central Oracle Inventory home (oraInventory
) is /u01/app/oraInventory
, and the client is client1
:
ORACLE_BASE=/u01/app/oracle INVENTORY_LOCATION=/u01/app/oraInventory CRS_HOME=false HOME_TYPE=CLIENT silent=false local=false LOCAL_NODE=node1 ObaseCleanupPtrLoc=/var/tmp/install/orabase_cleanup.lst. LOGDIR=/u01/app/oraInventory/logs/ ORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1
Client Installation Guide
11g Release 2 (11.2) for HP-UX
E24339-02
February 2012
Oracle Database Client Installation Guide, 11g Release 2 (11.2) for HP-UX
E24339-02
Copyright © 2011, 2012, Oracle and/or its affiliates. All rights reserved.
Primary Authors: Prakash Jashnani, Namrata Bhakthavatsalam, Reema Khosla, Tanaya Bhattacharjee
Contributing Authors: Kevin Flood, Clara Jaeckel, Emily Murphy, Terri Winters
Contributors: David Austin, Subhranshu Banerjee, Janelle Simmons, Mark Bauer, Robert Chang, Jonathan Creighton, Sudip Datta, Thirumaleshwara Hasandka, Joel Kallman, George Kotsovolos, Simon Law, Shekhar Vaggu, Richard Long, Rolly Lv, Padmanabhan Manavazhi, Sreejith Minnanghat, Krishna Mohan, Rajendra Pingte, Hanlin Qian, Roy Swonger, Ranjith Kundapur, Aneesh Khandelwal , Barb Lundhild, Barbara Glover, Binoy Sukumaran, Hema Ramamurthy, Prasad Bagal, Martin Widjaja, Ajesh Viswambharan, Eric Belden, Sivakumar Yarlagadda, Rudregowda Mallegowda , Matthew McKerley, Trivikrama Samudrala, Akshay Shah, Sue Lee, Sangeeth Kumar, James Spiller, Saar Maoz, Rich Long, Mark Fuller, Sunil Ravindrachar, Sergiusz Wolicki, Eugene Karichkin, Joseph Francis, Srinivas Poovala, David Schreiner, Neha Avasthy, Dipak Saggi, Sudheendra Sampath, Mohammed Shahnawaz Quadri, Shachi Sanklecha, Zakia Zerhouni, Jai Krishnani, Darcy Christensen.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
The Oracle Database Client software is available on installation media or you can download it from the Oracle Technology Network 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-mode installations, without using the GUI.
Review the following guidelines before starting Oracle Universal Installer:
Oracle Universal Installer
Do not use Oracle Universal Installer from an earlier Oracle release to install components from this release.
Reinstalling Oracle Software
If you reinstall Oracle software into an Oracle home directory where Oracle Database is installed, you must also reinstall any components, such as Oracle Partitioning, that were installed before you begin the reinstallation.
The Oracle Database Client software is available on installation media or you can download it from the Oracle Technology Network Web site, or the Oracle Software Delivery Cloud portal. To install the software from the hard disk, you must either download it and unpack it, or copy it from the installation media.
You can access and install Oracle Database Client by using one of the following methods:
To install the software from a installation media or from an existing hard disk location, refer to "Installing the Oracle Database Client Software"
To copy the software to a hard disk, refer to "Copying the Software to the Hard Disk"
To download the software from Oracle Technology Network, refer to "Downloading Oracle Software"
You can download the trial version of the installation files from the Oracle Technology Network (OTN) or the Oracle Software Delivery Cloud portal and extract them on your hard disk. Make sure that you completely review and understand the terms of the license. Most downloads include the development license. This section contains the following topics:
To download the installation archive files from Oracle Technology Network:
Use any browser to access the software download page from Oracle Technology Network:
http://www.oracle.com/technetwork/indexes/downloads/index.html
Navigate to the download page for the product to install.
On the download page, identify the required disk space by adding the file sizes for each required file.
The file sizes are listed next to the file names.
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 all of the archive files.
On the file system that you selected in step 4, create a parent directory for each product, for example OraDB11g
, to hold the installation directories.
Download all of the installation archive files to the directory that you created in step 5.
Verify that the files you downloaded are the same size as the corresponding files on Oracle Technology Network.
You can download the software from Oracle Software Delivery Cloud as Media Packs. A Media Pack is an electronic version of the software that is also available to Oracle customers on CD-ROM or DVD. To download the Media Pack:
Use any browser to access the Oracle Software Delivery Cloud portal:
https://edelivery.oracle.com/
Complete the Export Validation process by entering information (name, company, e-mail address, and country) in the online form.
In the Media Pack Search page, specify the Product Pack and Platform to identify the Media Pack you want to download. If you do not know the name of the Product Pack, you can search for it using the License List.
In the search results page, click Readme to download and review the Readme file for download instructions and product information.
After you review the Readme, choose the appropriate Media Pack from the search results to download the individual zip files. Follow the Download Notes instructions in this page. Once you download and extract the contents of the required zip files, proceed with the installation of the software.
Note: Print the page with the list of downloadable files. It contains a list of part numbers and their corresponding descriptions that you may have to reference during the installation process. |
See Also: Frequently Asked Questions section on the Oracle Software Delivery Cloud portal for more information about Media Packs |
To extract the installation archive files, perform the following steps:
If necessary, change to the directory that contains the downloaded installation archive files.
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
To extract the installation files, enter a command similar to the following:
$ cpio -idcmv < filename.cpio
Note: Refer to the download page for information about the correct options to use with thecpio command.
Some browsers uncompress files while downloading them, but leave the |
For each file, this command creates a subdirectory named Disk
n
, where n
is the disk number identified in the file name.
When you have extracted all of the required installation files, refer to "Installing the Oracle Database Client Software".
Before installing Oracle Database Client, you might want to copy the software to the hard disk to enable the installation process to run a bit faster. Before copying the installation media content to the hard disk, you must mount the disk. The following sections describe how to mount the disk and copy its content to the hard disk:
On most HP-UX systems, the disk mounts automatically when you insert it into the disc drive. If the disk does not mount automatically, then follow these steps to mount it:
Switch user to root
:
$ sudo - root
If necessary, enter the following command to unmount the currently mounted disc, then remove it from the drive:
# /usr/sbin/umount /SD_DVD
In this example, /SD_DVD
is the mount point directory for the disc drive.
Insert the appropriate disc into the disc drive, then enter a command similar to the following to mount it:
# /usr/sbin/mount -F cdfs -o rr /dev/dsk/cxtydz /SD_DVD
In this example, /SD_DVD
is the disc mount point directory and /dev/dsk/c
x
t
y
d
z
is the device name for the disc device, for example /dev/dsk/c0t2d0
.
If Oracle Universal Installer is displaying the Disk Location dialog box, enter the disc mount point directory path, for example:
/SD_DVD
To continue, go to one of the following sections:
If you want to copy software to a hard disk, refer to "Copying the Oracle Database Client Software to a Hard Disk".
If you want to install the software from the installation media, refer to "Installing the Oracle Database Client Software".
If the system does not have a installation media, you can copy the software from the installation media to a file system on another system, then either mount that file system using NFS, or use FTP to copy the files to the system where you want to install the software.
To copy the contents of the installation media to a hard disk:
Create a directory on the hard disk to hold the Oracle software:
$ mkdir OraCl11g
Change directory to the directory you created in Step 1:
$ cd OraCl11g
Mount the disk, if it is not mounted.
Some platforms automatically mount the disk when you insert it into the drive. If the disk does not mount automatically, refer to "Mounting Disks" for information about mounting it.
Copy the contents of the mounted disk to the corresponding new subdirectory as follows:
$ cp -R /directory_path OraCl11g
If necessary, mount the next disk and repeat Step 4.
Use Oracle Universal Installer to install the Oracle Database Client software. The following sections describes how to install the Oracle software:
See Also: "Installation Considerations" for information you should consider before deciding how to install the client |
For any type of installation process, start Oracle Universal Installer and install the software, as follows:
Log on as the Oracle software owner user (typically, oracle
) to the computer on which to install Oracle components.
If you are installing the software from installation media, mount the disk if it is not mounted.
If the disk does not mount automatically, refer to "Mounting Disks" for information about mounting it.
Some platforms automatically mount the disk when you insert the installation media into the drive.
To start Oracle Universal Installer, complete one of the following steps depending on the location of the installation files:
Note: Start Oracle Universal Installer from the terminal session where you logged in as theoracle user and set the user's environment. |
See Also: "Configuring the oracle User's Environment" for information about setting theoracle user's environment |
If the installation files are on disk, enter a command similar to the following, where directory_path
is the path of the client
directory on the installation media:
$ /directory_path/runInstaller
If the installation files are on the hard disk, change directory to the client
directory and enter the following command:
$ ./runInstaller
Starting with Oracle Database 11g Release 2 (11.2.0.2), if you plan to run the installation in a secured data center, then you can download updates before starting the installation by starting Oracle Universal Installer on a system that has Internet access in update download mode. To start Oracle Universal Installer to download the updates, enter the following command:
$ ./runInstaller -downloadUpdates
Provide the My Oracle Support user name and password, and provide proxy settings, if needed, in the Provide My Oracle Support credentials screen. Then, enter the Download location and click Download in the Download software updates screen. If updates are available, then they are downloaded in the location provided. The Finish Updates screen shows the successful download of the updates. Click Close.
After you download the updates, transfer the update file to a directory on the server where you plan to run the installation.
See Also:
|
If Oracle Universal Installer is not displayed, refer to the "X Window Display Errors" for information about troubleshooting.
If you have an existing Oracle Database Client 11g Release 2 (11.2) installed on your system, the Select Installation Mode screen is displayed. Select New Install to install Oracle Database Client software in to a new location.
Starting with Oracle Database 11g Release 2 (11.2.0.2), to upgrade an earlier release of Oracle Database Client, select Upgrade and follow the instructions in "Performing an In-place Oracle Database Client Upgrade".
In the Select Installation Type screen, select the type of installation: Instant Client, Administrator, Runtime, or Custom and click Next.
Starting with Oracle Database 11g Release 2 (11.2.0.2), you can use the Software Updates feature to dynamically download and apply latest updates. In the Download Software Updates screen, select one of the following options, and click Next:
Use My Oracle Support credentials for download: Select this option to download and apply the latest software updates.
Click Proxy Settings to configure a proxy for Oracle Universal Installer to use to connect to the Internet. Provide the proxy server information for your site, along with a user account that has access to the local area network through which the server is connecting. Starting with Oracle Database 11g Release 2 (11.2.0.3), you can enter the Proxy Realm information. The proxy realm information is case-sensitive. If you do not have a proxy realm, then you do not have to provide an entry for the Proxy Username, Proxy Password, and Proxy Realm fields.
Click Test Connection to ensure that your proxy settings are correctly entered, and the installer can download the updates.
Use pre-downloaded software updates: Select this option to apply the software updates previously downloaded using the -downloadUpdates
flag.
Skip software updates: Select this option if you do not want to apply any updates.
The Apply Software Updates screen is displayed if you select to download the software updates, or provide the pre-downloaded software updates location.
If you selected Use My Oracle Support credentials for download in the previous screen, select Download and apply all updates, and then click Next to apply the updates.
By default, the download location for software updates is placed in the home directory of the Oracle installation owner you are using to run this installation. If you choose to download the software updates in another location, then click Browse and select a different location on your server.
If you selected Use pre-downloaded software updates in the previous screen, select Apply all updates, and then click Next to apply the updates downloaded before starting the installation.
The Select Product Languages screen enables you to select the language in which you want to run the product.
Select the product language from the Available Languages list, transfer it to the Selected Languages list. Click Next.
This screen is not displayed if you select Instant Client as the type of installation in Step 5.
In the Specify Installation Location screen, enter the following details:
Oracle Base: This path appears by default. You can change the path based on your requirement. The Oracle Base section is not displayed if you select Instant Client as the type of installation in Step 5.
In the Software Location section, accept the default value or enter the Oracle home directory path in which you want to install Oracle components. The directory path should not contain spaces. Click Next.
In the Create Inventory screen, you are prompted by the installer to specify the directory path for central inventory the first time you install Oracle Database on your computer.
Select the oraInventory Group Name of the operating system group that should own the Oracle Inventory directory (the Oracle Inventory group). Click Next.
Note: By default, the Oracle Inventory directory is not installed under the Oracle Base directory. This is because all Oracle software installations share a common Oracle Inventory, so there is only one Oracle Inventory for all users, whereas there is a separate Oracle Base for each user.
If you selected Custom as the type of installation in Step 5, then the Available Product Components screen is displayed. Select the products to install and click Next.
Note: Starting with Oracle Database 11g Release 2 (11.2), you can install Oracle Connection Manager, Oracle Net Listener, and Oracle Scheduler Agent using the Custom install option. |
In Step 11, if you select Oracle Scheduler Agent as one of the components to install, then the Oracle Database Scheduler Agent screen is displayed. Enter the Scheduler Agent Hostname, and the Scheduler Agent Port Number. Click Next.
The Perform Prerequisite Checks screen verifies if your computer meets the minimum system requirements to install the desired product. Click Next.
Note: Oracle recommends that you use caution in checking the Ignore All option. If you check this option, then Oracle Universal Installer may not confirm if your system can install Oracle Database successfully.
Review the information displayed in the Summary screen, and click Install.
Note: Starting with Oracle Database 11g Release 2 (11.2), you can save all the installation steps into a response file by clicking Save Response File in the Summary screen. Later, this file can be used for a silent installation. |
The Install Product screen displays the progress of the client installation. After Oracle Database Client is installed, you are prompted to execute the root configuration script for new inventory as a root
user. Execute the root.sh
script as a root
user to complete the installation, and click OK.
If you are performing a Custom installation, and selected Oracle Net Listener from the list of components to install in Step 11, then go to "Using Oracle Net Configuration Assistant" for instructions.
In the Finish screen, click Close to exit Oracle Universal Installer.
During a Custom Oracle Database Client installation, if you select Oracle Net Listener from the list of components to install in Step 11, then Oracle Universal Installer automatically starts Oracle Net Configuration Assistant as part of the Oracle Database Client installation. Perform the following to configure the listener and naming methods using Oracle Net Configuration Assistant:
In the Welcome screen, click Next.
In the Listener Configuration screen, enter a Listener name or accept the default value. Click Next.
In the Listener Configuration, Select Protocol screen, select one or more protocols from the Available Protocols list, and move it to the Selected Protocols list. Click Next.
In the Listener Configuration, TCP/IP Protocol screen, select the standard port number, or enter a different port number. Click Next.
Select No if you do not want to configure an additional listener, and click Next.
The listener configuration is now complete, click Next to proceed.
In the Naming Methods Configuration screen, select Yes to configure naming methods. Click Next.
In the Naming Methods Configuration screen, select the naming method you want from the list of Available Naming Methods and move it to the Selected Naming Methods list. Click Next.
Typically, Local Naming is sufficient.
In the Net Service Name Configuration screen, enter Service Name, and click Next.
In the Net Service Name Configuration screen, select the protocol for the database you want to access, and click Next.
In the Net Service Name Configuration screen, enter the Host name of the computer where the Oracle database is installed. Use the standard port number, or specify a different port number, and click Next.
In the Net Service Name Configuration, click Yes to test the database connection. 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, reenter the user name and password, and click OK.
In the Connecting screen, click Next.
In the Net Service Name Configuration screen, enter the Net Service Name, and click Next.
Answer the remaining prompts to complete the configuration.
In the Finish screen, click Close to exit Oracle Universal Installer.p>
You can also run Oracle Net Configuration Assistant after the installation in standalone mode to configure the listener, naming methods, net service names, and directory server usage.
To start Oracle Net Configuration Assistant in standalone mode run netca
from the ORACLE_HOME/bin
directory.
Starting with Oracle Database 11g Release 2 (11.2.0.2) you can perform an in-place upgrade of Oracle Database Client 11g Release 2 (11.2) using the following instructions:
Note: You can perform an in-place Oracle Database Client upgrade only if you have an existing Oracle Database Client 11g Release 2 (11.2.0.1) or later client home installed on your system. |
Perform Steps 1 through 3 listed in "Running Oracle Universal Installer".
The Select Installation Mode screen is displayed only if you have an existing Oracle Database Client 11g Release 2 (11.2.0.1) or later installed on your system. Select Upgrade to upgrade the existing Oracle Database Client software to the latest version.
In the Specify Installation Location screen, accept the default Software Location value or enter the Oracle home directory path in which you want to install Oracle components. The directory path should not contain spaces. Click Next.
In the Download Software Updates screen, select one of the following options, and click Next:
Use My Oracle Support credentials for download
Use pre-downloaded software updates
Skip software updates
See Step 6 in "Running Oracle Universal Installer" for more information about the options in the Download Software Updates screen.
The Apply Software Updates screen is displayed if you select to download the software updates or provide the pre-downloaded software updates location. Select either Download and apply all updates or Apply all updates, as applicable, and click Next.
See Step 7 in "Running Oracle Universal Installer" for more information about the options in the Apply Software Updates screen.
The Select Product Languages screen enables you to select the language in which you want to run the product.
Select the product language from the Available Languages list, transfer it to the Selected Languages list. Click Next.
The Perform Prerequisite Checks screen verifies if your computer meets the minimum system requirements to install the desired product. Click Next.
Review the information displayed in the Summary screen, and click Install.
The Install Product screen displays the progress of the client upgrade.
Review the information in the Finish screen and click Close to exit Oracle Universal Installer.
This appendix describes how to use response files to perform a silent or response file installation of Oracle Database Client. It includes information about the following topics:
You can automate the installation and configuration of Oracle software, either fully or partially, by specifying a response file when you start Oracle Universal Installer. Oracle Universal Installer uses the values contained in the response file to provide answers to some or all of Oracle Universal Installer prompts. It includes information about the following topics:
Typically, Oracle Universal Installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. When you use response files to provide this information, you run Oracle Universal Installer at a command prompt using either of the following modes:
If you include responses for all of the prompts in the response file and specify the -silent
option when starting Oracle Universal Installer, then Oracle Universal Installer runs in silent mode. During a silent-mode installation, Oracle Universal Installer does not display any screens. Instead, it displays progress information in the terminal that you used to start it.
If you include responses for some or all of the prompts in the response file and omit the -silent
option, then Oracle Universal Installer runs in response file mode. During a response file mode installation, Oracle Universal Installer displays all the screens, screens for which you specify information in the response file and also screens for which you did not specify the required information in the response file. The enables you to validate values in the screens for which you have provided the information in the response file and continue with the installation.
You define the settings for a silent or response file installation by entering values for the variables listed in the response file. For instance, to specify the Oracle home location, you would supply the appropriate value for the ORACLE_HOME
variable as follows:
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
Another way of specifying the response file's variable settings is to pass them as command line arguments when you run Oracle Universal Installer. For example:
-silent directory_path
In this command, directory_path
is the path of the database directory on the installation media or on the hard drive.
This method is particularly useful if you do not want to embed sensitive information, such as passwords, in the response file. For example:
-silent "s_dlgRBOPassword=password" ...
Ensure that you enclose the variable and its setting in quotes.
See Also:
|
The following table describes several reasons why you might want to run Oracle Universal Installer in silent mode or response file mode.
The following are the general steps to install and configure Oracle products using Oracle Universal Installer in silent or response file mode:
Note: You must complete all required preinstallation tasks on a system before running Oracle Universal Installer in silent or response file mode. |
Create the oraInst.loc
file.
Prepare a response file.
Run Oracle Universal Installer in silent or response file mode.
If you completed a software-only installation, then run Net Configuration Assistant and Database Configuration Assistant in silent or response file mode if required.
These steps are described in the following sections.
This section describes the following methods to prepare a response file for use during silent mode or response file mode installations:
This method is useful for the Enterprise Edition, or Standard Edition installation types.
Oracle provides response file templates for each product and installation type, and for each configuration tool. These files are located in the client\response
directory on the Oracle Database installation media.
Note: If you copied the software to a hard disk, the response files are located in thedatabase/response directory. |
Table A-1 lists the response files provided with Oracle Database.
Table A-1 Response Files
Response File | Description |
---|---|
Client installation of Oracle Database Client. | |
Oracle Net Configuration Assistant to perform the configuration with the client installation types. |
To copy and modify a response file:
Copy the response file from the response file directory to a directory on your system:
$ cp /directory_path/response/response_file.rsp local_directory
In this example, directory_path
is the path to the database
directory on the installation media. If you have copied the software to a hard drive, then you can edit the file in the response
directory if you prefer.
Open the response file in a text editor:
$ vi /local_dir/response_file.rsp
Remember that you can specify sensitive information, such as passwords, at the command line rather than within the response file. "How Response Files Work" explains this method.
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for detailed information on creating response files |
Follow the instructions in the file to edit it.
Note: Oracle Universal Installer or configuration assistant fails if you do not correctly configure the response file. Refer to "Silent-Mode Response File Error Handling" for information about troubleshooting a failed silent-mode installation. |
You can use Oracle Universal Installer in interactive mode to save a response file, which you can edit and then use to complete silent mode or response file mode installations. This method is useful for custom installations.
Starting with Oracle Database 11g Release 2 (11.2), you can save all the installation steps into a response file during installation. You can click the Save Response File button on the Summary page to do this. Later, this file can be used for a silent installation.
When you save the response file, you can either complete the installation, or you can exit from Oracle Universal Installer on the Summary page, before it starts to copy the software to the system.
If you save a response file during a silent installation, then Oracle Universal Installer saves the variable values that were specified in the original source response file into the new response file.
Note: Oracle Universal Installer does not save passwords in the response file. |
To save a response file:
Complete the preinstallation tasks listed in Chapter 2.
When you run Oracle Universal Installer to save a response file, it checks the system to verify that it meets the requirements to install the software. For this reason, Oracle recommends that you complete all of the required preinstallation tasks and save the response file while completing an installation.
If you have not installed Oracle software on this system previously, create the oraInst.loc
file, as described in "Creating the Oracle Inventory Group".
Ensure that the Oracle software owner user (typically, oracle
) has permissions to create or write to the Oracle home path that you specify when you run Oracle Universal Installer.
On each Oracle Universal Installer screen, specify the required information.
When Oracle Universal Installer displays the Summary screen, perform the following actions:
Click Save Response File and specify a file name and location for the response file. Then, click Save to save the values to the file.
Click Finish to continue with the installation.
Click Cancel if you do not want to continue with the installation. The installation stops, but the saved response file is retained.
Before using the saved response file on another system, edit the file and make any required changes.
Use the instructions in the file as a guide when editing it.
Now, you are ready to run Oracle Universal Installer at the command line, specifying the response file you created, to perform the installation. The Oracle Universal Installer executable, runInstaller
, provides several options. For help information on the full set of these options, run the runInstaller
command with the -help
option, for example:
$ directory_path/runInstaller -help
The help information appears in a window after some time.
To run Oracle Universal Installer using a response file:
Complete the preinstallation tasks listed in Chapter 2.
Log in as the Oracle software owner user (typically, oracle
).
If you are completing a response file mode installation, set the DISPLAY
environment variable.
Note: You do not have to set theDISPLAY environment variable if you are completing a silent-mode installation. |
To start Oracle Universal Installer in silent or response file mode, enter a command similar to the following:
$ /directory_path/runInstaller [-silent] [-noconfig] \ -responseFile responsefilename
Note: Do not specify a relative path to the response file. If you specify a relative path, then Oracle Universal Installer fails. |
In this example:
directory_path
is the path of the database directory on the DVD or on the hard drive.
-silent
runs Oracle Universal Installer in silent mode.
-noconfig
suppresses running the configuration assistants during installation, and a software-only installation is performed instead.
responsefilename
is the full path and file name of the installation response file that you configured.
Note: For more information about other options for therunInstaller command, enter the following command:
$ /directory_path/runInstaller -help
|
When the installation completes, log in as the root
user and run the root.sh
script:
$ sudo sh
password:
# /oracle_home_path/root.sh
Starting with Oracle Database 11g Release 2 (11.2.0.2), you can perform an in-place Oracle Database Client upgrade using the response file:
Edit the oracle.install.client.upgrading
entry in the client_install.rsp
file and set it to true
. By default, the oracle.install.client.upgrading
entry is set to false
.
Run Oracle Universal Installer in silent mode as described in "Running Oracle Universal Installer Using a Response File".
This appendix contains information about troubleshooting. It includes information about the following topics:
Before performing any of the troubleshooting steps in this appendix, ensure that the system meets the requirements and that you have completed all of the preinstallation tasks specified in Chapter 2.
Read the Release Notes
Read the release notes for the product before installing it. The release notes are available on the Oracle Database 11g DVD. The latest version of the release notes is also available on the Oracle Technology Network Web site:
http://www.oracle.com/technetwork/indexes/documentation/index.html
If you run Oracle Universal Installer on a remote system and you want to display Oracle Universal Installer's user interface on your local system, you might see error messages similar to the following:
"Failed to connect to server" "Connection refused by server" "Can't open display"
If you see one of these error messages, follow these steps:
Note: This procedure applies only to users of UNIX workstations. If you are using a PC or other system with X server software installed, refer to the X server documentation, or contact your X server vendor or system administrator for information about how to permit remote systems to display X applications on the local system. |
In a local terminal window, log in as the user that started the X Window session.
Enter the following command:
$ xhost fully_qualified_remote_host_name
For example:
$ xhost somehost.us.example.com
Enter the following commands, where workstation_name
is the host name or IP address of your workstation:
Bourne, Bash, or Korn shell:
$ DISPLAY=workstation_name:0.0
$ export DISPLAY
C shell:
% setenv DISPLAY workstation_name:0.0
To determine whether X Window applications display correctly on the local system, enter the following command:
$ xclock
The X clock should appear on your monitor.
If the X clock appears, close the X clock and start Oracle Universal Installer again.
If you encounter an error during installation:
Do not exit Oracle Universal Installer.
If you clicked Next after you entered incorrect information on one of the installation screens, click Back to return to the screen and correct the information.
If you encounter an error while Oracle Universal Installer is copying or linking files, then rerun Oracle Universal Installer with the -debug
option:
$./runInstaller -debug
Check the log file for details. Refer to "Reviewing the Log of an Installation Session" section.
If you encounter an error while a configuration assistant is running, refer to "Troubleshooting Configuration Assistants" section.
If you cannot resolve the problem, remove the failed installation by following the steps listed in the "Cleaning Up After a Failed Installation" section.
During an installation, Oracle Universal Installer records all of the actions that it performs in a log file. If you encounter problems during the installation, review the log file for information about possible causes of the problem.
To view the log file, follow these steps:
If necessary, enter the following command to determine the location of the oraInventory
directory:
$ cat/var/opt/oracle/oraInst.loc
The inventory_loc
parameter in this file specifies the location of the oraInventory
directory.
Enter the following command to change directory to Oracle Universal Installer log file directory, where orainventory_location
is the location of the oraInventory
directory:
$ cd /orainventory_location/logs
Enter the following command to determine the name of the log file:
$ ls -ltr
This command lists the files in the order of creation, with the most recent file shown last. Installer log files have names similar to the following, where date_time
indicates the date and time that the installation started:
installActionsdate_time.log
To view the most recent entries in the log file, where information about a problem is most likely to appear, enter a command similar to the following:
$ tail -50 installActionsdate_time.log | more
This command displays the last 50 lines in the log file.
If the error displayed by Oracle Universal Installer or listed in the log file indicates a relinking problem, refer to the following file for more information:
$ORACLE_HOME/install/make.log
To troubleshoot an installation error that occurs when a configuration assistant is running:
Review the installation log files listed in the "Reviewing the Log of an Installation Session" section.
Review the specific configuration assistant log file located in the $ORACLE_HOME/cfgtoollogs
directory. Try to fix the issue that caused the error.
If you see the "Fatal Error. Reinstall" message, look for the cause of the problem by reviewing the log files. Refer to "Fatal Errors" for further instructions.
Oracle configuration assistant failures are noted at the bottom of the installation screen. The configuration assistant interface displays additional information, if available. The configuration assistant execution status is stored in the following file:
oraInventory_location/logs/installActionsdate_time.log
The execution status codes are listed in the following table:
Status | Result Code |
---|---|
Configuration assistant succeeded | 0 |
Configuration assistant failed | 1 |
Configuration assistant canceled | -1 |
If you receive a fatal error while a configuration assistant is running, you must remove the current installation and reinstall the Oracle software, as follows:
Remove the failed installation as described in the "Cleaning Up After a Failed Installation" section.
Correct the cause of the fatal error.
Reinstall the Oracle software.
If you face any of the following situations for Oracle home, then run the opatch lsinventory -detail
command to list the contents of the inventory and see section "Recovering from inventory corruption" in the Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for information on fixing the issue.
Oracle home is cloned without completing the inventory steps.
There is bad inventory.
Inventory is not available but it is created when the Oracle Enterprise Manager Agent is installed in a separate Oracle home.
If you connect to Oracle database with a screen resolution of 640X480 or 800X600, then the Next button in the GUI is not visible as it hides behind the Taskbar. To fix this problem, perform one of the following:
Hide the Taskbar.
Move the Oracle Universal Installer screen up.
Set the screen resolution to 1024X768 or higher.
To determine whether a silent-mode installation succeeds or fails, refer to the following log file:
/oraInventory_location/logs/silentInstalldate_time.log
If necessary, refer to the previous section for information about determining the location of the oraInventory
directory.
A silent installation fails if:
You do not specify a response file
You specify an incorrect or incomplete response file
Oracle Universal Installer encounters an error, such as insufficient disk space
Oracle Universal Installer or configuration assistant validates the response file at run time. If the validation fails, the silent-mode installation or configuration process ends.
If an installation fails, you must remove the files that Oracle Universal Installer created during the attempted installation using the Deinstallation Tool. For more information on how to run the Deinstallation Tool refer to "About the Deinstallation Tool".
This guide provides instructions about installing and configuring Oracle Database Client on HP-UX systems. This guide also talks about installing and configuring database using response files, globalization support, ports, and troubleshooting.
The preface contains the following topics:
This guide is intended for anyone responsible for installing Oracle Database Client 11g Release 2 (11.2). Additional installation guides for Oracle Database, Oracle Real Application Clusters, Oracle Clusterware, Oracle Database Examples, and Oracle Enterprise Manager Grid Control are available on the relevant installation media.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc
.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info
or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.
UNIX command syntax appears in monospace
font. The dollar character ($), number sign (#), or percent character (%) are UNIX command prompts. Do not enter them as part of the command. The following command syntax conventions are used in this guide:
Convention | Description |
---|---|
backslash \ | A backslash is the UNIX command continuation character. It is used in command examples that are too long to fit on a single line. Enter the command as displayed (with a backslash) or enter it on a single line without a backslash:
dd if=/dev/rdsk/c0t1d0s6 of=/dev/rst0 bs=10b \ count=10000 |
braces { } | Braces indicate required items:
.DEFINE {macro1} |
brackets [ ] | Brackets indicate optional items:
cvtcrt termname [outfile] |
ellipses ... | Ellipses indicate an arbitrary number of similar items:
CHKVAL fieldname value1 value2 ... valueN |
italics | Italic type indicates a variable. Substitute a value for the variable:
library_name
|
vertical line | | A vertical line indicates a choice within braces or brackets:
FILE filesize [K|M]
|
The documentation for this release includes platform-specific documentation and generic product documentation.
Platform-Specific Documentation
Platform-specific documentation includes information about installing and using Oracle products on particular platforms.
This guide contains information required to install Oracle Database 11g Release 2 (11.2). Ensure that you review information related to the platform on which you intend to install Oracle Database 11g.
The platform-specific documentation for this product is available in both Adobe portable document format (PDF) and HTML format on the product media. To access the platform-specific documentation on media:
Use a Web browser to open the welcome.html
file in the top-level directory of the media.
Platform-specific documentation is available in PDF and HTML formats in the Documentation section.
Product Documentation
Product documentation includes information about configuring, using, or administering Oracle products on any platform. The product documentation for Oracle Database 11g products is available in both HTML and PDF formats in the following locations:
On the Oracle Database Documentation Library media
Use a Web browser to view or open the index.htm
file in the top-level directory on the media.
Online on the Oracle Technology Network (OTN) Web site:
http://www.oracle.com/technetwork/indexes/documentation/index.html
The related documentation for Oracle Database 11g products includes the following manuals:
Oracle Database Quick Installation Guide for HP-UX PA-RISC (64-Bit)
Oracle Database Client Quick Installation Guide for HP-UX Itanium
For information about Oracle error messages, see Oracle Database Error Messages. Oracle error message documentation is available only in HTML. If you only have access to the Oracle Database 11g Release 2 (11.2) Online Documentation Library, then you can browse the error messages by range. Once you find the specific range, use your browser's "find in page" feature to locate the specific message. When connected to the Internet, you can search for a specific error message using the error message search feature of the Oracle online documentation.
Many books in the documentation set use the sample schemas of the seed database, which is installed by default when you install Oracle. Refer to Oracle Database Sample Schemas for information on how these schemas were created and how you can use them yourself.
To download free release notes, installation documentation, white papers, or other collateral, visit the Oracle Technology Network. You must register online before using OTN; registration is free and can be done at:
http://www.oracle.com/technetwork/community/join/index.html
If you have a user name and password for Oracle Technology Network, then you can go directly to the documentation section of the Oracle Technology Network Web site at:
http://www.oracle.com/technetwork/indexes/documentation/index.html
Refer to Oracle Database Release Notes for HP-UX for important information that was not available when this book was released. The release notes for Oracle Database 11g are updated regularly. The most recent version is available on Oracle Technology Network at:
http://www.oracle.com/technetwork/indexes/documentation/index.html
The following text conventions are used in this document:
Convention | Meaning |
---|---|
boldface | Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. |
italic | Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. |
monospace | Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. |
This chapter describes how to complete postinstallation tasks after you have installed the Oracle database client software. It includes information about the following topics:
You must perform the tasks listed in "Required Postinstallation Tasks". Oracle recommends that you perform the tasks listed in "Recommended Postinstallation Tasks" after all installations.
If you install and intend to use any of the products listed in "Required Product-Specific Postinstallation Tasks", then you must perform the tasks listed in the product-specific subsections.
Note: This chapter describes basic configuration only. Refer to Oracle Database Administrator's Reference for Linux and UNIX-Based Operating Systems, Oracle Database Administrator's Guide and product-specific administration and tuning guides for exhaustive configuration and tuning information. |
You must perform the tasks described in the following sections after completing an installation:
Check the My Oracle Support Web site for required patches for the installation.
Note:
|
To download required patches:
Use a Web browser to view the My Oracle Support Web site:
https://support.oracle.com/
Log in to My Oracle Support.
Note: If you are not a My Oracle Support registered user, click Register for My Oracle Support and follow the registration instructions. |
On the main My Oracle Support page, click Patches and Updates.
In the Patch & Updates page, click Advanced Search.
On the Advanced Search page, click the search icon next to the Product or Product Family field.
In the Search and Select: Product Family field, select Database and Tools in the Search list field, enter RDBMS Server in the text field, and click Go.
RDBMS Server appears in the Product or Product Family field. The current release appears in the Release field.
Select your platform from the list in the Platform field, and at the bottom of the selection list, click Go.
Any available patch updates are displayed under the Results heading.
Click the patch number to download the patch.
On the Patch Set page, click View README and read the page that appears. The README page contains information about the patch set and how to apply the patches to your installation.
Return to the Patch Set page, click Download, and save the file on your system.
Use the unzip utility provided with Oracle Database 11g Release 2 (11.2) to uncompress the Oracle patch updates that you downloaded from My Oracle Support. The unzip utility is located in the $ORACLE_HOME/bin
directory.
To update Instant Client:
Download Instant Client from Oracle Technology Network:
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
If you want to place the files in the existing directory, then ensure that the directory is empty.
If you want to place the files into a different directory (and remove the previous files), ensure that you update the PATH
environment variable setting to reflect the new location.
Note: A restriction on Instant Client or Instant Client Light is that you cannot perform patch upgrades using theopatch utility because the Instant Client installation does not create an inventory, which the patch upgrade process must access for patch upgrades. The absence of an inventory also means that the installed intern patch reporting and conflict detection before a patch attempt are not possible. |
If you installed the Instant Client installation type, you can configure users' environments to enable dynamically linked client applications to connect to a database as follows:
Set the appropriate shared library path environment variable for the platform to specify the directory that contains the Instant Client libraries. For the Instant Client installation type, this directory is the Oracle home directory that you specified during the installation, for example:
/u01/app/oracle/product/11.2.0/client_1
Use one of the following methods to specify database connection information for the client application:
Specify a SQL connect URL string using the following format:
//host:port/service_name
Set the TNS_ADMIN
environment variable to specify the location of the tnsnames.ora
file and specify a service name from that file.
Set the TNS_ADMIN
environment variable and set the TWO_TASK
environment variable to specify a service name from the tnsnames.ora
file.
Note: You do not have to specify theORACLE_HOME environment variable. |
Oracle recommends that you perform the tasks described in the following section after completing an installation:
When you install Instant Client, the Instant Client libraries are installed under the ORACLE_HOME
directory and the Instant Client Light specific library is installed under the ORACLE_HOME
/light
directory. To configure Instant Client Light, you must replace the ORACLE_HOME
/libociei.
so
file with the ORACLE_HOME/light
/libociicus.
so
file.
After replacing the library file, you must set the LD_LIBRARY_PATH
environment variable to point to the location of the Instant Client shared library files.
Oracle recommends that you back up the root.sh
script after you complete an installation. If you install other products in the same Oracle home directory, then Oracle Universal Installer updates the contents of the existing root.sh
script during the installation. If you require information contained in the original root.sh
script, then you can recover it from the backed up root.sh
file.
Before you can connect Instant Client (including Instant Client Light) to an Oracle database, ensure that the LD_LIBRARY_PATH
environment variable specifies the directory that contains the Instant Client libraries. This directory is the ORACLE_HOME
directory that you specified during installation.
For example, the shared libraries for Instant Client or Instant Client Light (if you have configured Instant Client Light), are in:
/u01/app/oracle/product/11.2.0/client_1
After you have checked the LD_LIBRARY_PATH
environment variable, you can use any of the following methods to specify Oracle Database connection information for client applications:
Specifying a Connection by Using the Easy Connect Naming Method
Specifying a Connection Using an Empty Connect String and TWO_TASK
You can specify a connection address to an Oracle Database directly from a client application, without having to configure a tnsnames
setting for the Instant Client. This method is convenient as you do not have to create and manage a tnsnames.ora
file. However, the application users must specify the host name and port number when they want to log in to the application.
For example, if you run SQL*Plus on the client computer and want to connect to the sales_us
database, which is located on a server whose host name is shobeen
and port number is 1521
, then you can log in as follows:
sqlplus system/admin@//shobeen:1521/sales_us
Similarly, in the application code, you can use Oracle Call Interface net naming methods to create the Instant Client-to-Oracle Database connection. For example, the following formats in the OCIServerAttach()
call specify the connection information:
Specify a SQL connect URL string using the following format:
//host[:port][/service_name]
For example:
//shobeen:1521/sales_us
Alternatively, you can specify the SQL connect information as an Oracle Net keyword-value pair. For example:
"(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (HOST=shobeen) (PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=sales_us)))"
See Also: Oracle Call Interface Programmer's Guide for more information on using Oracle Call Interface Instant Client |
By default, when you install Instant Client, Oracle Universal Installer does not include a sample tnsnames.ora
file nor the Oracle Net Configuration Assistant utility normally used to create it. However, to shield users from having to specify actual host names and port numbers, consider using a tnsnames.ora
file to set the Client-to-Oracle Database connection.
You can create the tnsnames.ora
file manually by copying and modifying a version of this file from another Oracle installation, or you can use Oracle Net Configuration Assistant to create and manage it for you.
To install Oracle Net Configuration Assistant:
Run Oracle Universal Installer.
Select the Custom installation type.
In the Summary screen, click Install, click Exit, and then click Yes to exit Oracle Universal Installer.
On each client computer, configure either of the following settings:
Set the TNS_ADMIN
environment variable to specify the location of the tnsnames.ora
file and specify a service name from that file.
Place the tnsnames.ora
file in the $ORACLE_HOME
/network/admin
directory, and ensure that the ORACLE_HOME
environment has been set to this Oracle home.
See Also: Oracle Call Interface Programmer's Guide for more information on Oracle Call Interface Instant Client connection strings |
You can set the connect string to an empty connect string (""), and then set the TWO_TASK
environment variable to one of the following values:
A direct address, as described under "Specifying a Connection by Using the Easy Connect Naming Method"
Oracle Net keyword-value pair
A tnsnames.ora
entry and TNS_ADMIN
is set to the location of tnsnames.ora
A tnsnames.ora
entry and the following:
tnsnames.ora
file located in $ORACLE_HOME
/network/admin
The ORACLE_HOME
environment variable set to this Oracle home
This method allows the applications to specify internally a connection string if the application code itself uses an empty connection string. The benefit of an empty connect string is that the application itself does not have to specify the tnsnames.ora
entry. Instead, when a user starts the application, the location of the database is determined by a script or the environment, depending on where you have set the TWO_TASK
environment variable. The disadvantage of using empty strings is that you must configure this additional information in order for the application to connect to the database.
For information about setting up additional user accounts, refer to Oracle Database Administrator's Reference for Linux and UNIX-Based Operating Systems.
NLS_LANG
is an environment variable that specifies the locale behavior for Oracle software. This variable sets the language and territory used by the client application and the database user session. It also declares the character set of the client, which is the character set of data entered or displayed by an Oracle client program, such as SQL*Plus.
See Also: Appendix B, "Configuring Oracle Database Globalization Support" for more information about theNLS_LANG environment variable |
Note: The character set of the data displayed is determined by the environment of the operating system, such as keyboard driver and fonts in use. TheNLS_LANG character set should match the operating system. |
The client static library (libclntst11.a
) is not generated during installation. If you want to link the applications to the client static library, you must first generate it as follows:
Switch user to oracle
.
Set the ORACLE_HOME
environment variable to specify the Oracle home directory used by the Oracle Database installation. For example:
Bourne, Bash, or Korn shell:
$ ORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1 $ export ORACLE_HOME
C shell:
% setenv ORACLE_HOME /u01/app/oracle/product/11.2.0/client_1
Enter the following command:
$ $ORACLE_HOME/bin/genclntst
The following sections describe postinstallation tasks that you must perform if you install and intend to use the products mentioned:
Note: You must perform postinstallation tasks only for products that you intend to use. |
If you have an earlier release of Oracle software installed on this system, you might want to copy information from the Oracle Net tnsnames.ora
and listener.ora
configuration files from the earlier release to the corresponding files for the new release.
Note: The default location for thetnsnames.ora and listener.ora files is the $ORACLE_HOME/network/admin/ directory. However, you can also use a central location for these files. |
If necessary, you can also add connection information for additional database instances to the new file.
This section describes postinstallation tasks for Oracle precompilers:
Note: All precompiler configuration files are located in the$ORACLE_HOME/precomp/admin directory. |
Verify that the PATH
environment variable setting includes the directory that contains the C compiler executable.
Table 4-1 shows the default directories and the appropriate command to verify the path setting of the compiler.
Verify that the PATH
environment variable setting includes the directory that contains the FORTRAN compiler executable. You can verify the path setting by using the xlf
whichf90
command.
Use the following guidelines to decide how to install Oracle Database Client components:
The following are frequently asked questions about installing Oracle Database Client:
How do I configure client connections to an Oracle database?
What is the best way to install Oracle Database Client if my client nodes have limited disk space?
How do I migrate my non-Oracle databases to Oracle Database?
I only need one instance of Oracle Database or I just want to install a test database to get familiar with the product. How do I install Oracle Database for these situations?
If you want a quick installation using the default installation settings, then refer to the platform-specific Oracle Database Quick Installation Guide.
If your site has special requirements, then refer to Oracle Database Installation Guide for more information.
How can I create an Oracle database that can handle transaction-heavy or data warehousing applications?
If you want to create a starter database designed for transaction-heavy or data warehousing applications, then refer to Oracle Database Installation Guide for more details. Select the Advanced Installation method, and then select the database type you want on the Select Database Configuration screen.
Alternatively, you can install Oracle OLAP during the Oracle Database installation. Oracle OLAP provides optimal support for database environments that must meet OLAP requirements. To do so, in the Select Database Edition screen, select Enterprise Edition. Click the Select Options button, and from the Choose Components screen, select Oracle OLAP.
What's the best way to install multiple Oracle databases?
Use Oracle Database Installation Guide to install Oracle Database using either of the following methods:
Installing with response files: This method lets you run Oracle Universal Installer at a command line using a response file that contains settings specific to each computer.
Cloning a Database: Install Oracle Database on one computer using interactive mode. You can also clone databases. Instructions for cloning databases are described in Oracle Database Administrator's Guide.
How do I configure client connections to an Oracle database?
Install Oracle Database on a server by using Oracle Database Installation Guide for more information.
Refer to Chapter 3, "Installing Oracle Database Client" to install Oracle Database Client on each client node, and select the Instant Client installation type.
If you have many client nodes, consider staging the software centrally, mapping the drive, and running Oracle Universal Installer in the response file mode.
If the client nodes only require a default installation into a new Oracle home directory, consider using Oracle Database Installation Guide for more information.
What is the best way to install Oracle Database Client if my client nodes have limited disk space?
Install Oracle Database onto a server by using Oracle Database Installation Guide for more details.
Refer to Chapter 3, "Installing Oracle Database Client" to install Oracle Database Client on each client node, and select the Instant Client installation type.
If you have many client nodes, then consider running Oracle Universal Installer in response file mode.
How do I upgrade Oracle Database?
Refer to Oracle Database Upgrade Guide.
The computers at my site have been configured to run as a cluster. How should I install Oracle Database?
Use any of the following installation scenarios:
If you want to run a single-instance Oracle Database in a clustered environment, then install Oracle Clusterware either before or after you install Oracle Database.
If you want a consolidated pool of storage for all databases in a cluster, then install Oracle Clusterware first and use Oracle Automatic Storage Management (Oracle ASM) to manage this storage. Afterwards, install Oracle Database (which can be either single instance or Real Application Clusters).
If you plan to use Oracle Real Application Clusters, first install Oracle Clusterware, and then install Oracle Real Application Clusters.
Refer to Oracle Grid Infrastructure Installation Guide and Oracle Real Application Clusters Installation Guide to install Oracle Clusterware or Oracle Real Application Clusters respectively. Oracle Clusterware is available on the Oracle Clusterware installation media. Refer to Oracle Database Installation Guide which explains how to install Oracle ASM and Oracle Database.
Oracle Clusterware is a key component required by Oracle Real Application Clusters installations. Oracle Clusterware is an integrated cluster management solution that can bind multiple servers to act as a single system. This is referred to as a cluster. It performs workload management and component restart. For example, when an instance supporting a particular service fails, Oracle Clusterware restarts the service on the next available instance that you have configured for that service. Oracle Clusterware can monitor non-Oracle programs, if they are defined within the Oracle Clusterware environment using the High Availability API.
How do I migrate my non-Oracle databases to Oracle Database?
Use Oracle Migration Workbench to migrate your non-Oracle databases and applications to Oracle. Oracle Migration Workbench software and documentation are available at:
http://www.oracle.com/technetwork/database/migration/index.html
http://www.oracle.com/technetwork/documentation/migration-101800.html
The following are frequently asked questions about installing Oracle database tools:
How can I administer and monitor my Oracle Database products?
How do I perform backup and recovery operations for Oracle Database?
Is there a migration plan for customers that have built solutions using Oracle Workflow?
How do I install Oracle Application Server?
Refer to Oracle Application Server Installation Guide. How you install Application Server depends on whether you have Oracle Database installed:
If you do not have Oracle Database installed or you do not want Oracle Application Server to use any of your existing Oracle Databases, then Oracle Universal Installer lets you install a separate Oracle Application Server instance. This database is populated with the metadata that Oracle Application Server must run.
If you want Oracle Application Server to use an existing Oracle Database, then do the following:
From the Oracle Application Server installation media, run Oracle Application Server Repository Creation Assistant to populate your database with the metadata that Application Server needs.
Install the remaining Oracle Application Server components by following the instructions in the Oracle Application Server Installation Guide.
How can I administer and monitor my Oracle Database products?
To perform regular administrative functions such as creating, configuring, or deleting databases, or managing database templates, use one of the following methods:
To manage only the single database and listener that you are installing:
Use Oracle Database Installation Guide to install Oracle Database.
From Oracle Database, use Database Configuration Assistant to manage your databases.
You can also administer and monitor the database with Oracle Enterprise Manager Grid Control, which is installed by default with Oracle Database. Oracle Enterprise Manager Grid Control requires an agent which is not installed by default.
Oracle Enterprise Manager Grid Control includes the Oracle Management Agent, Oracle Management Service, and Oracle Management Repository, and also Grid Control, a browser-based central console through which administrators can perform all monitoring, administration, and configuration tasks for the enterprise.
See Also: Oracle Enterprise Manager Grid Control Basic Installation Guide available on the Enterprise Manager Grid Control installation mediaDocumentation available on the Oracle Technology Network Web site at:
|
To perform advanced administration tasks, such as monitoring Oracle Database and managing multiple hosts, application servers, and databases including the one that you are installing, install Oracle Enterprise Manager as follows:
Use Oracle Database Installation Guide to install Oracle Database.
If you plan to use Oracle Real Application Clusters, then install Oracle Database by using Oracle Grid Infrastructure Installation Guide and Oracle Real Application Clusters Installation Guide.
Use Oracle Enterprise Manager Grid Control Basic Installation Guide to install and configure Oracle Enterprise Manager. For postconfiguration tasks, use Oracle Enterprise Manager Advanced Configuration. Refer to documentation available on the Enterprise Manager Grid Control installation media, or on the Oracle Technology Network Web site at:
http://www.oracle.com/technetwork/indexes/documentation/index.html
How do I manage security for my Oracle Database products?
Oracle provides a wide range of security solutions for your enterprise environment, including centralized administration and security features integrated with Oracle Internet Directory. The set of Oracle security services called Oracle Platform Security integrates the security features built into Oracle Database, Oracle Application Server, and the Oracle Identity Management infrastructure. Combined, these features enable the development and deployment of secure e-business applications.
Oracle Identity Management includes Oracle Internet Directory, a centralized repository that simplifies administration of users and applications in the Oracle environment with the following components:
Oracle Internet Directory client tools, including LDAP command-line tools, the Oracle Internet Directory SDK, and Oracle Directory Manager.
Oracle Internet Directory server components, including the directory server, the directory replication server, the directory integration server, and various tools for starting and stopping them.
Oracle Database includes the Oracle Internet Directory client tools, but not the Oracle Internet Directory server components. To install the Oracle Internet Directory server components, run Oracle Universal Installer from an Oracle 10g Application Server installation.
See Also:
|
How do I use Oracle Database to manage my XML data?
Use Oracle XML DB, which is installed as part of Oracle Database. Oracle XML DB enables you to efficiently store, generate, retrieve, query, and manage XML data on your site. Oracle XML DB provides all the advantages of a relational database, for example, allowing you to control the referential integrity of XML data with constraints and triggers. It works well with large amounts of XML data by storing it in a parsed, relational form, which improves access performance.
Oracle XML DB supports XML Type, which is a native data type for XML data, for which you can choose various storage options depending on your needs. In addition, Oracle XML DB supports XML Schema processing, structured and unstructured storage, a content repository that you can access by using common protocols (FTP, HTTP(S), and WebDAV), and SQL/XML, which is a standard for SQL with XML. For Oracle Database 11g Release 2 (11.2), Oracle XML DB introduced support for the XQuery language for querying, transforming, and constructing XML; the ability for users to define their own metadata for schema-based XML; a set of new SQL functions for DML operations on XML data; and more.
You can use Oracle XML DB with Oracle XML Developer's Kit (XDK) to build applications that run on either Oracle Database or Oracle Application Server.
Does Oracle Database provide OLAP tools so that I can analyze data such as trends and time series in my database?
Yes, install Oracle OLAP, which is provided in the Oracle Database installation. Oracle OLAP provides optimal support for database environments that must meet OLAP requirements.
Use either of the following methods in Oracle Database Installation Guide to install Oracle OLAP:
When you run Oracle Universal Installer, in the Select Database Edition screen, select Enterprise Edition. Click the Select Options button, and from the Choose Components screen, select Oracle OLAP.
Select the Enterprise Edition installation type, and then on the Select Database Configuration screen, select the Data Warehouse configuration.
Does Oracle Database provide data mining tools that I can use to discover hidden meaning in my data and predict likely outcomes based on my data?
Yes, you must have an Enterprise Edition licence for the database installation. Install Oracle Data Mining, which is provided in the Oracle Database installation. With the Oracle Data Mining option, you can create and execute predictive and descriptive data mining models that use a variety of algorithms.
Use the following method in Oracle Database Installation Guide to install Oracle Data Mining:
When you run Oracle Universal Installer, select the Enterprise Edition installation type.
In the Select Database Configuration screen, select the General Purpose/Transaction Processing configuration.
See Also: The following manuals after you have installed Oracle Data Mining: |
How do I perform backup and recovery operations for Oracle Database?
Use Oracle Database Recovery Manager (RMAN), which is a backup and recovery tool integrated into Oracle Database. This tool satisfies the pressing demands of high-performance, manageable backup, and recovery. Recovery Manager is native to the database server, automatically tracks database structure changes, and optimizes operations accordingly. In addition, Recovery Manager is integrated with leading tape media management products, so that Oracle database backups can be integrated with your existing networked data protection infrastructure.
Is Oracle Workflow included with Oracle Database 11g?
Starting with Oracle Database 11g, Oracle Workflow is no longer released with the database. Oracle Workflow is available with the Oracle E-Business Suite releases.
See Also: Oracle Workflow statement of direction:
|
Is there a migration plan for customers that have built solutions using Oracle Workflow?
Starting January 2006, customers are encouraged to re-create and implement workflows using Oracle BPEL Process Manager. Oracle is in the process of creating a technical migration to provide detailed recommendations for migrating Oracle Workflow processes to Oracle BPEL Process Manager.
See Also: Oracle Workflow statement of direction:
|
The following are frequently asked questions about installing Oracle database with Oracle applications:
How do I install my Oracle applications with Oracle Database?
How can I create Web applications that communicate with Oracle Database?
How do I install my Oracle applications with Oracle Database?
In most cases, install Oracle Database itself, then install the Oracle application. The Oracle Universal Installer for that application prompts you for the connection information. Check the application documentation requirements.
If you must implement your applications with Oracle Real Applications Clusters databases, refer to Oracle Grid Infrastructure Installation Guide and Oracle Real Application Clusters Installation Guide.
How can I create Web applications that communicate with Oracle Database?
Install Oracle Application Express and a Web server:
Use Oracle Database Installation Guide to install Oracle Database. Oracle Application Express is automatically installed, when you install Oracle database.
Which Web server can my Oracle applications use?
Install Oracle HTTP Server, which ships on separate media, or use the XML DB HTTP Protocol Server and the embedded PL/SQL Gateway that installs with Oracle Database 11g Release 2.
How can I migrate my non-Oracle applications to Oracle?
Use Oracle Migration Workbench to migrate your non-Oracle applications to Oracle. Oracle Migration Workbench software and documentation are available at:
http://www.oracle.com/technetwork/database/migration/index.html
http://www.oracle.com/technetwork/documentation/migration-101800.html
The following section discusses the Gateway products:
How can my Oracle applications access data in a non-Oracle database system?
How can my Oracle applications access data in a non-Oracle database system?
You can use Oracle Database Gateway as the connectivity tool to enable Oracle applications to access data in non-Oracle databases. The following are the functions of Oracle Database Gateway:
Integrates a non-Oracle database into your Oracle Database environment.
Enables Oracle PL/SQL applications to integrate with APPC-enabled transactions, or access messages in IBM Websphere MQ.
You can install the Gateway product on a computer independent of the Oracle application, Oracle database, and non-Oracle database.
For example, suppose you have the following scenario:
Oracle Database is installed on an UNIX computer.
The Oracle application is installed on a Microsoft Windows computer and accesses data from the Oracle database on the UNIX computer.
The Oracle application must join data in a DB2 database on Oracle Solaris and an Oracle Database on UNIX.
You have the option of installing the Database Gateway for DRDA on the Oracle Solaris computer where DB2 is running, on UNIX where Oracle is running, or on a third computer.
Table D-1 lists the non-Oracle database systems that you can access from Oracle applications, and the Gateways products that are available for those systems.
Table D-1 Oracle Gateway Products
Non-Oracle Database | Oracle Gateway Products and Documentation |
---|---|
Oracle Database Gateway for WebSphere MQ. Oracle Database Gateway for WebSphere MQ Installation and User's Guide. |
This chapter describes the different installation types of Oracle Database Client and issues to consider before you install Oracle Database Client:
The Oracle Database installation process consists of the following phases:
Read the release notes: Read Oracle Database Release Notes for HP-UX before you begin the installation. The release notes are available with the platform-specific documentation. The latest version of the release notes is available on Oracle Technology Network at:
http://www.oracle.com/technetwork/indexes/documentation/index.html
Review the licensing information: Although the installation media in your media pack contain many Oracle components, you are permitted to use only those components for which you have purchased licenses.
Oracle Support Services does not provide support for components for which licenses have not been purchased.
Plan the installation: This chapter describes the Oracle products that you can install and issues that you must consider before starting the installation.
You can also refer to Appendix D, which covers frequently asked questions about installing Oracle Database components, such as how to install Oracle Database Client if the site uses Oracle applications or if you need multiple Oracle Database Client connections.
Complete preinstallation tasks: Chapter 2 describes preinstallation tasks that you must complete before installing the product.
Install the software: Use the following sections to install Oracle Database:
Chapter 3 describes how to use Oracle Universal Installer to install Oracle Database Client.
Appendix B describes globalization support information.
Appendix A provides information on performing silent installations, which you may want to use if you must perform multiple installations of Oracle Database Client.
Appendix C provides troubleshooting advice in case you encounter problems with the installation.
Complete postinstallation tasks: Chapter 4 describes recommended and required postinstallation tasks.
This section contains information that you should consider before deciding how to install this product. It contains the following sections:
The platform-specific hardware and software requirements included in this guide were current when 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 URL:
https://support.oracle.com/
You must register online before using My Oracle Support. After logging in, click More and then select Certifications from the list. On the Certification Information page, the Certification Options list appears. Other options include Product Readmit, Product Availability, and Lifetime Support Policy.
Oracle Database supports multiple Oracle homes. You can install this release or earlier releases of the software more than once on the same system, in different Oracle home directories.
You must install this product into a new Oracle home directory. You cannot install products from one release of Oracle Database into an Oracle home directory of a different release. For example, you cannot install release 11.2 software into an existing Oracle9i Oracle home directory.
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 11g Release 2 (11.2) into an existing Oracle Database 11g Release 2 (11.2) home. If you apply a patch set before installing the client, then you must apply the patch set again.
You can install this release more than once on the same system if each installation is installed in a separate Oracle home directory.
Use the In-Place Upgrade feature to upgrade an existing client installation to the latest release by installing the new client software into an existing client home with the same installation type. For example, if release 11.2.0.1 is installed, then use Oracle Universal Installer to upgrade to release 11.2.0.2.
Consider the following before selecting this option:
This upgrade is only possible in a client home and not in any other Oracle home that contains non-client installations, such as Database installations.
This upgrade does not delete files in the client home that are commonly updated by other users. For example, configuration data files.
This upgrade cannot be performed if processes associated with the Oracle Database Client home are running.
This functionality is available starting with Oracle Database 11g Release 2 (11.2.0.2).
Refer to "Separate 32-Bit Client Software for 64-Bit Platforms" for more information.
You can choose different installation methods to install Oracle Database Client, as follows:
When you use the interactive method to install Oracle Database Client, Oracle Universal Installer displays a series of screens that enable you to specify all of the required information to install the Oracle Database Client software.
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 installation. These automated installation methods are useful if you must 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, and specify the -silent
option when starting Oracle Universal Installer. None of the Oracle Universal Installer screens are displayed.
Response File Mode: Oracle Universal Installer runs in response file mode if you do not specify all required information in the response file.
For more information about these modes and about how to complete an installation using response files, refer to Appendix A.
You can choose one of the following installation types when installing Oracle Database Client:
Instant Client: Enables you to install only the shared libraries required by Oracle Call Interface (OCI), Oracle C++ Call Interface (OCCI), Pro*C, or Java database connectivity (JDBC) OCI applications. This installation type requires much less disk space than the other Oracle Database Client installation types.
See Also: Oracle Call Interface Programmer's Guide or Oracle Database JDBC Developer's Guide for more information about Instant Client |
Instant Client Light is included in the Instant Client installation and you may want to use Instant Client Light if the applications generate error messages in American English only. Instant Client Light is beneficial to applications that use any of the supported character sets and can accept error messages in American English. The following are the supported character sets:
US7ASCII
WE8DEC
WE8ISO8859P1
WE8EBCDIC37C
for EBCDIC platforms only
WE8EBCDIC1047
for EBCDIC platforms only
WE8MSWIN1252
UTF8
AL32UTF8
AL16UTF16
The advantage of using Instant Client Light is that it has a smaller footprint than the regular Instant Client. The shared libraries, which an application must load, are only 34 MB as opposed to the 110 MB that regular Instant Client uses. Therefore, the applications use less memory.
Administrator: Enables applications to connect to an Oracle Database instance on the local system or on a remote system. It also provides tools that enable you to administer Oracle Database.
Runtime: Enables applications to connect to an Oracle Database instance on the local system or on a remote system.
Custom: Enables you to select individual components from the list of Administrator and Runtime components.
For information about interoperability between Oracle Database Client and Oracle Database releases, see Note 207303.1 on the My Oracle Support Web site at the following URL:
Starting with Oracle Database 11g Release 2 (11.2), the patching process of TIMESTAMP WITH TIMEZONE
data type values is simplified.
See Also: "Oracle Database 11g Release 2 (11.2) New Features in Globalization" and "Clients and Servers Operating with Different Versions of Time Zone Files" in Oracle Database Globalization Support Guide for information about simplified patching process and how certain clients work with server with different time zone files |
Use the Software Updates feature to dynamically download and apply the latest updates released by Oracle; such as, interim patch updates, critical patch updates, Oracle Universal Installer updates, and the latest patch set updates. This functionality is available starting with Oracle Database 11g Release 2 (11.2.0.2).
You can choose to download the latest updates by providing My Oracle Support credentials or you can apply previously downloaded updates. You can also download the updates separately using the -downloadUpdates
option and later apply them during the installation by providing the location where the updates are present.
See Also: "Running Oracle Universal Installer" for more information on the-downloadUpdates option, and dynamically applying software updates during the installation |