Installing the Oracle Database Software... After completing this lesson, you should be able to do the following: • Describe your role as a database administrator DBA, and explain typica
Trang 1Copyright © 2005, Oracle All rights reserved.
Installing the Oracle Database Software
Trang 2After completing this lesson, you should be able to do the following:
• Describe your role as a database administrator
(DBA), and explain typical tasks and tools
• Plan an Oracle database installation
• Use Optimal Flexible Architecture
(OFA)
• Install the Oracle software by using
Oracle Universal Installer (OUI)
Trang 32-3 Copyright © 2005, Oracle All rights reserved.
Tasks of an Oracle Database Administrator
A prioritized approach for designing, implementing, and maintaining an Oracle database involves the
following tasks:
1 Evaluating the database server hardware
2 Installing the Oracle software
3 Planning the database and security strategy
4 Creating, migrating, and opening the database
5 Backing up the database
6 Enrolling system users and planning for
their Oracle Network access
7 Implementing the database design
8 Recovering from database failure
9 Monitoring database performance thoi doi hieu suat t va tinh chinh
Trang 4Tools Used to Administer
an Oracle Database
• Oracle Universal Installer
• Database Configuration Assistant
• Database Upgrade Assistant - nang cap he thong 8-9-10
• Oracle Net Manager - cau hinh cho cac client conn toi Server
• Oracle Enterprise Manager
• SQL*Plus and iSQL*Plus - cong cu soan thao SQL statement
• Recovery Manager - dung de backup va recover lai DB
• Oracle Secure Backup - dung de backup ra HDD hoac ra may khac
• Data Pump – nhap xuat du lieu tu DB nay sang DB khac
• SQL*Loader – load du lieu tu cac nguon o cac file co dinh dang khac(excel…)
• Command-line tools – cong cu donglenh
Trang 52-6 Copyright © 2005, Oracle All rights reserved.
Installation: System Requirements
area (optional)
documentation.
Trang 6Checking the System Requirements
• Adequate
temporary space
• 64-bit versus
32-bit issues
• Checks for the correct operating system (OS)
• OS patch level
• System packages
• System and kernel parameters
• X Server permissions
• Sufficient swapping
• Nonempty ORACLE_HOME
Trang 72-8 Copyright © 2005, Oracle All rights reserved.
Optimal Flexible Architecture (OFA)
OFA is designed to: mo hinh to chuc thu muc trong Oracle, duoc thiet ke de
• Organize large amounts of software
• Facilitate routine administrative tasks
• Facilitate switching between multiple Oracle databases
• Manage and administer database growth adequately
• Help eliminate fragmentation of free space
Trang 8Using Optimal Flexible Architecture
• Naming mount points:
• Naming directories:
• Naming files:
Trang 92-11 Copyright © 2005, Oracle All rights reserved.
Setting Environment Variables
• ORACLE_BASE: The base of the Oracle directory structure for OFA noi bat dau cua kien truc
OFA
• ORACLE_HOME: The directory containing the Oracle software thu muc chua software cua
Oracle
• ORACLE_SID: The initial instance name (by default, ORCL) ten cua cac instance
• NLS_LANG: The language, territory, and client character set settings
Trang 10Oracle Universal Installer (OUI)
Trang 112-14 Copyright © 2005, Oracle All rights reserved.
Installing the Oracle Software
Trang 12Database Configuration Options
Trang 132-16 Copyright © 2005, Oracle All rights reserved.
Executing Configuration Scripts
Trang 14Completing Your Installation
Trang 152-18 Copyright © 2005, Oracle All rights reserved.
Advanced Installation Options
• Database storage options:
• Database management options:
• Database backup and recovery options
• E-mail notification options
• Cluster Ready Services
• Cloning
Trang 16Installation Option: Silent Mode
To install and configure Oracle products with OUI in silent mode, perform the following steps:
1 Create the oraInst.loc file, if it does not already
exist.
2 Prepare a response file based on file templates
that are delivered with the Oracle software.
3 Record a response file:
.runInstaller –record -destinationFile
<filename>
Trang 172-20 Copyright © 2005, Oracle All rights reserved.
Summary
In this lesson, you should have learned how to:
• Describe your role as a DBA, and explain tasks
and tools
• Plan your installation, starting with the appropriate
documentation
• Perform preinstallation tasks, such as checking
system requirements
• Install software by using OUI
Trang 18Practice Overview:
Installing the Oracle Software
This practice covers installing the Oracle software by using Oracle Universal Installer.
Note: Completing this practice is critical for all the subsequent practice sessions.