[ORACLE][Database Installation Guide 10g for Linux].pdf

(3209 KB) Pobierz
Oracle® Database
Installation Guide
10g Release 2 (10.2) for Linux x86
B15660-02
November 2005
Oracle Database Installation Guide, 10g Release 2 (10.2) for Linux x86
B15660-02
Copyright © 2005, Oracle. All rights reserved.
Primary Authors:
Apolina Das, Sanjay Sharma, Lyju Vadassery
Kevin Flood, Pat Huey, Clara Jaeckel, Emily Murphy, Terri Winters
Contributing Authors:
Contributors: David Austin, Subhranshu Banerjee, Mark Bauer, Robert Chang, Jonathan Creighton, Sudip
Datta, Padmanabhan Ganapathy, Thirumaleshwara Hasandka, Joel Kallman, George Kotsovolos, Simon
Law, Richard Long, Rolly Lv, Padmanabhan Manavazhi, Sreejith Minnanghat, Krishna Mohan, Rajendra
Pingte, Hanlin Qian, Janelle Simmons, Preeti Shukla, Roy Swonger, Douglas Williams
The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also protected
by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly,
or decompilation of the Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in
the documentation, please report them to us in writing. This document is not warranted to be error-free.
Except as may be expressly permitted in your license agreement for these Programs, no part of these
Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States 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, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation
and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license
agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software—Restricted Rights (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City,
CA 94065
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup,
redundancy and other measures to ensure the safe use of such applications if the Programs are used for such
purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, PeopleSoft, and Retek are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites.
You bear all risks associated with the use of such content. If you choose to purchase any products or services
from a third party, the relationship is directly between you and the third party. Oracle is not responsible for:
(a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the
third party, including delivery of products or services and warranty obligations related to purchased
products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from
dealing with any third party.
Contents
Preface
.................................................................................................................................................................
ix
Audience.......................................................................................................................................................
Documentation Accessibility .....................................................................................................................
Command Syntax ........................................................................................................................................
Accessing Documentation..........................................................................................................................
Related Documentation ..............................................................................................................................
Typographic Conventions..........................................................................................................................
ix
ix
x
x
xi
xi
1
Installation Overview
Overview of Oracle Database Installation
..........................................................................................
1-1
Oracle Database Installation Methods.................................................................................................
1-2
Interactive Installation Methods ......................................................................................................
1-2
Automated Installation Methods Using Response Files ..............................................................
1-3
Oracle Database Installation Types
......................................................................................................
1-3
Database Configuration Options
..........................................................................................................
1-4
Preconfigured Database Types ........................................................................................................
1-4
Installation Choices that Affect Database Creation.......................................................................
1-4
Creating a Database After Installation............................................................................................
1-5
Available Installation Options
..............................................................................................................
1-5
Database Storage Options .................................................................................................................
1-5
File System ...................................................................................................................................
1-5
Automatic Storage Management ..............................................................................................
1-6
Raw Devices.................................................................................................................................
1-8
Database Management Options .......................................................................................................
1-8
Management Options for Preconfigured Databases..............................................................
1-9
Management Options for Custom Databases .....................................................................
1-10
Features Provided by Oracle Enterprise Manager Database Control .............................
1-10
Database Backup and Recovery Options.....................................................................................
1-10
Enabling Automated Backups ...............................................................................................
1-10
Backup Job Default Settings ..................................................................................................
1-11
More Information About Automated Backups and Recovery .........................................
1-11
E-mail Notification Options...........................................................................................................
1-11
Installation Considerations
.................................................................................................................
1-12
Hardware and Software Certification ..........................................................................................
1-12
Multiple Oracle Homes ..................................................................................................................
1-12
iii
Installing the Software on a System with an Existing Oracle Installation.......................
Oracle Cluster Synchronization Services.....................................................................................
Using Network Attached Storage or NFS File Systems ............................................................
Upgrade Issues.......................................................................................................................................
AL24UTFFSS Character Set ...........................................................................................................
Upgrading an Oracle Database Installed on Red Hat Enterprise Linux 2.1...........................
Deprecated Components in Oracle Database 10g Release 2 (10.2)
..............................................
1-12
1-12
1-13
1-13
1-14
1-14
1-15
2
Preinstallation Tasks
Logging In to the System as root
...........................................................................................................
2-1
Checking the Hardware Requirements................................................................................................
2-2
Checking the Software Requirements
.................................................................................................
2-4
Checking the Network Setup.................................................................................................................
2-7
Configuring Name Resolution .........................................................................................................
2-7
Installing on DHCP Computers .......................................................................................................
2-8
Installing on Multihomed Computers ............................................................................................
2-8
Installing on Computers with Multiple Aliases ............................................................................
2-8
Installing on Non-Networked Computers .....................................................................................
2-8
Creating Required Operating System Groups and Users
................................................................
2-9
Creating the Oracle Inventory Group ..........................................................................................
2-10
Creating the OSDBA Group ..........................................................................................................
2-11
Creating an OSOPER Group (Optional) ......................................................................................
2-11
Creating the Oracle Software Owner User..................................................................................
2-12
Determining Whether an Oracle Software Owner User Exists .........................................
2-12
Creating an Oracle Software Owner User............................................................................
2-12
Modifying an Oracle Software Owner User ........................................................................
2-13
Verifying that the User nobody Exists .........................................................................................
2-13
Configuring Kernel Parameters..........................................................................................................
2-13
Identifying Required Software Directories
.....................................................................................
2-16
Oracle Base Directory .....................................................................................................................
2-16
Oracle Inventory Directory............................................................................................................
2-17
Oracle Home Directory ..................................................................................................................
2-17
Identifying or Creating an Oracle Base Directory
..........................................................................
2-17
Identifying an Existing Oracle Base Directory............................................................................
2-18
Creating an Oracle Base Directory................................................................................................
2-19
Choosing a Storage Option for Oracle Database and Recovery Files.........................................
2-20
Creating Directories for Oracle Database or Recovery Files
........................................................
2-21
Guidelines for Placing Oracle Database Files on a File System................................................
2-21
Guidelines for Placing Oracle Recovery Files on a File System ...............................................
2-21
Creating Required Directories.......................................................................................................
2-22
Preparing Disk Groups for an Automatic Storage Management Installation
..........................
2-23
General Steps for Configuring Automatic Storage Management ............................................
2-23
Step 1: Identifying Storage Requirements for Automatic Storage Management...................
2-24
Step 2: Using an Existing Automatic Storage Management Disk Group ...............................
2-26
Step 3: Creating DAS or SAN Disk Partitions for Automatic Storage Management ............
2-28
Step 4: Configuring Disks for Automatic Storage Management..............................................
2-28
iv
Configuring Disks for Automatic Storage Management Using the Automatic Storage
Management Library Driver
2-28
Configuring Disks for Automatic Storage Management Using Raw Devices ................
Configuring Raw Partitions or Raw Logical Volumes...................................................................
Using Raw Logical Volumes .........................................................................................................
Identifying the Required Raw Partitions.....................................................................................
Creating the Required Raw Partitions on IDE, SCSI, or RAID Devices..................................
Binding the Partitions to Raw Devices.........................................................................................
Creating the Oracle Database Configuration Assistant Raw Device Mapping File..............
Stopping Existing Oracle Processes...................................................................................................
Configuring the oracle User’s Environment
....................................................................................
2-32
2-34
2-35
2-35
2-36
2-37
2-38
2-39
2-40
3
Installation Tasks
Preinstallation Considerations
..............................................................................................................
3-1
Performing Multiple Oracle Database Installations in Noninteractive Mode ..........................
3-1
Reviewing Component-Specific Installation Guidelines
................................................................
3-1
Accessing the Installation Software
.....................................................................................................
3-2
Downloading Oracle Software from the OTN Web Site ..............................................................
3-2
Downloading the Installation Archive Files ...........................................................................
3-3
Extracting the Installation Files.................................................................................................
3-3
Copying the Software to the Hard Disk .........................................................................................
3-4
Mounting Discs ...........................................................................................................................
3-4
Copying the Oracle Database Software to a Hard Disk ........................................................
3-5
Installing the Oracle Database Software
.............................................................................................
3-5
Reviewing Installation Guidelines ..................................................................................................
3-6
Running Oracle Universal Installer .................................................................................................
3-7
Installing Automatic Storage Management
........................................................................................
3-9
Step 1: Reviewing Automatic Storage Management Installation Considerations....................
3-9
Step 2: Creating the Automatic Storage Management Instance and Disk Groups................
3-10
Step 3: Installing Oracle Database to Use with Automatic Storage Management.................
3-12
Step 4: Testing the Automatic Storage Management Installation............................................
3-14
4
Postinstallation Tasks
Required Postinstallation Tasks
............................................................................................................
Downloading and Installing Patches ..............................................................................................
Configuring Oracle Products............................................................................................................
Recommended Postinstallation Tasks..................................................................................................
Creating a Backup of the root.sh Script ..........................................................................................
Configuring New or Upgraded Databases.....................................................................................
Setting Up User Accounts .................................................................................................................
Setting the NLS_LANG Environment Variable.............................................................................
Generating the Client Static Library................................................................................................
Required Product-Specific Postinstallation Tasks.............................................................................
Configuring Oracle Net Services .....................................................................................................
Configuring Oracle Label Security ..................................................................................................
Installing Natively Compiled Java Libraries for Oracle JVM and Oracle
interMedia
.............
4-1
4-1
4-2
4-2
4-2
4-2
4-3
4-3
4-3
4-4
4-4
4-5
4-5
v
Zgłoś jeśli naruszono regulamin