Pro Oracle Database 11g Administration

Free Pro Oracle Database 11g Administration by Darl Kuhn Page B

Book: Pro Oracle Database 11g Administration by Darl Kuhn Read Free Book Online
Authors: Darl Kuhn
Tags: Oracle DBA
media. You should do this for a couple of reasons: When you come back to a box a week, month, or year later, you’ll want to be able to easily find the installation media.

    Standard directory structures help you organize and understand quickly what has or hasn’t been installed on the box.
    Create a standard set of directories to contain the files used to install the Oracle software. I like to store the installation media in a directory such as /ora01/orainst and then create a subdirectory there for each version of the Oracle software that is installed on the box: $ mkdir -p /ora01/orainst/10.2.0.1
    $ mkdir -p /ora01/orainst/10.2.0.4
    7

    CHAPTER 1 ■ INSTALLING THE ORACLE BINARIES
    $ mkdir -p /ora01/orainst/11.2.0.1
    Now, move the installation files to the appropriate directory, and unzip them there: $ mv linux_11gR2_database_1of2.zip /ora01/orainst/11.2.0.1
    $ mv linux_11gR2_database_2of2.zip /ora01/orainst/11.2.0.1
    Use the unzip command for unbundling zipped files. The Oracle Database 11 g release 2 software is unzipped as shown:
    $ unzip linux_11gR2_database_1of2.zip
    $ unzip linux_11gR2_database_2of2.zip
    On some installations of Oracle, you may find that the distribution file is provided as a compressed cpio file. You can uncompress and unbundle the file with one command as follows: $ cat 10gr2_db_sol.cpio.gz | gunzip | cpio -idvm
    Step 5. Configure the Response File, and Run the Installer
    You can run the OUI in one of two modes: graphical or silent. Typically, DBAs use the graphical installer.
    However, I strongly prefer using the silent install option for the following reasons: Silent installs don’t require the availability of X Window System software.

    You avoid performance issues with remote graphical installs that can be extremely slow when trying to paint screens locally.

    Silent installs can be scripted and automated. This means every install can be performed with the same consistent standards regardless of which team member is performing the install (I even have the SA install the Oracle binaries this way).
    The key to performing a silent install is to use a response file. After unzipping the Oracle software, find the sample response files that Oracle provides:
    $ find . -name "*.rsp"
    Depending on the version of Oracle and the operating system platform, the names and number of response files that you find may be quite different. The next two subsections show two scenarios: an Oracle Database 10 g release 2 and an Oracle Database 11 g release 2 silent install.
    Oracle Database 10g Scenario
    A variety of default response files ship with the Oracle installation software. These files vary somewhat depending on the database version and operating system. For example, here are the response files provided in an Oracle Database 10 g release 2 (Solaris) environment: 8

    CHAPTER 1 ■ INSTALLING THE ORACLE BINARIES
    $ find . -name "*.rsp"
    ./response/emca.rsp
    ./response/custom.rsp
    ./response/enterprise.rsp
    ./response/dbca.rsp
    ./response/netca.rsp
    ./response/standard.rsp
    ./install/response/se.rsp
    ./install/response/pe.rsp
    ./install/response/ee.rsp
    ./inst.rsp
    Copy the enterprise.rsp file to the current working directory, and give it a different name (so that you always have the original to reference):
    $ cp response/enterprise.rsp inst.rsp
    Edit the inst.rsp file with an operating system utility such as vi, and provide values for the response file variables. Here are the minimal values you need to provide for a typical Oracle Database 10 g installation:
    RESPONSEFILE_VERSION=2.2.1.0.0
    # install group, I use dba, many others use oinstall
    UNIX_GROUP_NAME=dba
    FROM_LOCATION="/ora01/orainst/10.2.0.1/stage/products.xml"
    n_configurationOption=3
    s_nameForDBAGrp=dba
    s_nameForOPERGrp=dba
    ORACLE_HOME=/ora01/app/oracle/product/10.2.0.4/db_1
    ORACLE_HOME_NAME=OHOME10
    ■ Note Refer to the Oracle Universal Installer Guide available on Oracle’s OTN web site for a complete description of all response-file

Similar Books

Desperate Measures

David R. Morrell

Embrace the Wind

Charlotte Boyett-Compo

Texas

Sarah Hay

stargirl

Jerry Spinelli

Ninth Key

Meg Cabot

Chasing Kane

Andrea Randall

Attachments

Rainbow Rowell