less02 installation mb

Upload: yairr

Post on 30-May-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Less02 Installation Mb

    1/26

    2Copyright 2005, Oracle. All rights reserved.

    Installing the Oracle Database Software

  • 8/14/2019 Less02 Installation Mb

    2/26

    2-2 Copyright 2005, Oracle. All rights reserved.

    Objectives

    After 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

    Install the Oracle software by using

    Oracle Universal Installer (OUI)

    Create a database with OUI

  • 8/14/2019 Less02 Installation Mb

    3/26

    2-3 Copyright 2005, Oracle. All rights reserved.

    How DBAs Spend Their Time

    Loading and

    archiving data: 6%

    Maintaining

    software: 6%

    Installing: 6% Creating and

    configuring: 12%

    Managing database

    system: 55%

    Source: Survey conducted at a recent convention

  • 8/14/2019 Less02 Installation Mb

    4/26

    2-4 Copyright 2005, Oracle. All rights reserved.

    Tasks of an Oracle Database Administrator

    A prioritized approach for designing, implementing,and maintaining an Oracle database involves thefollowing tasks:

    1. Evaluating the database server hardware

    2. Installing the Oracle software3. Planning the database and security strategy

    4. Creating, migrating, and opening the database

    5. Backing up the database

    6. Enrolling system users and planning fortheir Oracle Network access

    7. Implementing the database design

    8. Recovering from database failure

    9. Monitoring database performance

  • 8/14/2019 Less02 Installation Mb

    5/26

    2-5 Copyright 2005, Oracle. All rights reserved.

    Tools Used to Administer

    an Oracle Database

    Oracle Universal Installer

    Database Configuration Assistant

    Database Upgrade Assistant

    Oracle Net Manager Oracle Enterprise Manager

    SQL*Plus and iSQL*Plus

    Recovery Manager

    Oracle Secure Backup Data Pump

    SQL*Loader

    Command-line tools

  • 8/14/2019 Less02 Installation Mb

    6/26

    2-6 Copyright 2005, Oracle. All rights reserved.

    Full Notes Page

  • 8/14/2019 Less02 Installation Mb

    7/262-7 Copyright 2005, Oracle. All rights reserved.

    Planning an Oracle Database Installation

    1. Understand how the installation fits into the

    overall technical architecture of an organization.

    2. Review (and update) capacity plans.

    3. Choose database software (required version andoptions).

    4. Ensure that system requirements are met for all

    chosen elements.

    5. Plan configuration parameters to be set before,

    during, and after the installation.

    6. Plan security and access.

    7. Plan backup and recovery mechanisms.

  • 8/14/2019 Less02 Installation Mb

    8/262-8 Copyright 2005, Oracle. All rights reserved.

    Planning and Executing DBA Projects:

    Quiz

    As a DBA:

    1. You must be able to install and configuremany different types of databases.

    2. You should be aware of upcoming projects.

    3. You do not need to understand the businessrequirements for a database.

    4. You should always compare your plannedand actual results.

    5. You do not need to plan for databaserecovery, because you have anuninterrupted power supply.

    6. You do not need to plan for security,because your users are reliable people.

    True/False

    True/False

    True/False

    True/False

    True/False

    True/False

  • 8/14/2019 Less02 Installation Mb

    9/262-9 Copyright 2005, Oracle. All rights reserved.

    System Requirements

    Memory requirements: 1 GB for the instance with Database Control

    Disk space requirements:

    1.5 GB of swap space

    400 MB of disk space in the /tmp directory Between 1.5 GB and 3.5 GB for the Oracle software

    1.2 GB for the preconfigured database (optional)

    2.4 GB for the flash recovery

    area (optional)

    Operating system: Seedocumentation.

  • 8/14/2019 Less02 Installation Mb

    10/262-10 Copyright 2005, Oracle. All rights reserved.

    Checking 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

  • 8/14/2019 Less02 Installation Mb

    11/262-11 Copyright 2005, Oracle. All rights reserved.

    Optimal Flexible Architecture (OFA)

    OFA is designed to:

    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

  • 8/14/2019 Less02 Installation Mb

    12/262-12 Copyright 2005, Oracle. All rights reserved.

    Using Optimal Flexible Architecture

    Naming mount points:

    /u01

    /disk01

    Naming directories: /u01/app/oracle

    /u01/app/applmgr

    Naming files:

    Control files:control

    n

    .ctl Redo log files: redon.log

    Data files: tn.dbf

  • 8/14/2019 Less02 Installation Mb

    13/262-13 Copyright 2005, Oracle. All rights reserved.

    Using Optimal Flexible Architecture

    Full Notes Page

  • 8/14/2019 Less02 Installation Mb

    14/262-14 Copyright 2005, Oracle. All rights reserved.

    Setting Environment Variables

    ORACLE_BASE: The base of the Oracle directorystructure for OFA

    ORACLE_HOME: The directory containing the Oraclesoftware

    ORACLE_SID: The initial instance name (ORCL bydefault)

    NLS_LANG: The language, territory, and clientcharacter set settings

  • 8/14/2019 Less02 Installation Mb

    15/262-15 Copyright 2005, Oracle. All rights reserved.

    Setting Environment Variables

    Full Notes Page

  • 8/14/2019 Less02 Installation Mb

    16/262-16 Copyright 2005, Oracle. All rights reserved.

    Oracle Universal Installer (OUI)

  • 8/14/2019 Less02 Installation Mb

    17/262-17 Copyright 2005, Oracle. All rights reserved.

    Installing the Oracle Software

  • 8/14/2019 Less02 Installation Mb

    18/262-18 Copyright 2005, Oracle. All rights reserved.

    Database Configuration Options

  • 8/14/2019 Less02 Installation Mb

    19/262-19 Copyright 2005, Oracle. All rights reserved.

    Configuration Assistants

  • 8/14/2019 Less02 Installation Mb

    20/262-20 Copyright 2005, Oracle. All rights reserved.

    Password Management

    A

    B

    C

  • 8/14/2019 Less02 Installation Mb

    21/262-21 Copyright 2005, Oracle. All rights reserved.

    Completing Your Installation

  • 8/14/2019 Less02 Installation Mb

    22/262-22 Copyright 2005, Oracle. All rights reserved.

    Advanced Installation Options

    Database storage options:

    File system

    Automatic Storage Management

    Raw devices Database management options:

    Enterprise Manager Grid Control

    Enterprise Manager Database Control

    Database backup and recovery options

    E-mail notification options

    Cluster Ready Services

    Cloning

  • 8/14/2019 Less02 Installation Mb

    23/262-23 Copyright 2005, Oracle. All rights reserved.

    Installation 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 alreadyexist.

    2. Prepare a response file based on file templatesthat are delivered with the Oracle software.

    3. Record a response file:.runInstaller record -destinationFile

    4. Run OUI in silent or suppressed mode.

    5. If required, run NetCA and DBCA in silent mode.

  • 8/14/2019 Less02 Installation Mb

    24/262-24 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 appropriatedocumentation

    Perform preinstallation tasks, such as checking

    system requirements

    Install software by using OUI

    Create a database with the OUI configuration

    assistant

  • 8/14/2019 Less02 Installation Mb

    25/262-25 Copyright 2005, Oracle. All rights reserved.

    Practice Overview:

    Installing the Oracle Software

    This practice covers the following topics:

    Installing the Oracle software by using OUI

    Creating a default starter database named ORCL

    Unlocking the HRschemaNote: Completing this practice is critical for

    all the following practice sessions.

  • 8/14/2019 Less02 Installation Mb

    26/26