installing oracle10as rel2

Upload: hish1951

Post on 14-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Installing Oracle10AS Rel2

    1/36

    DBA Tips Archive for Oracle

    Installing Oracle10gAS Release 2 - (Windows)

    by Jeff Hunter, Sr. Database Administrator

    Contents

    Overview1.

    Installation Types2.

    Server Configuration3.Downloading the Software4.

    Infrastructure Install5.

    Midtier Install6.

    Overview

    This article provides the basic steps and instructions for installing Oracle10gAS on the Microsoft

    Windows operating environment. Please keep in mind that this article should not be considered asubstitution for completing reading and understanding the official installation guide and release

    notes from Oracle.

    Installation Types

    As with Oracle9iAS, you have four installation types for Oracle10gAS:

    J2EE and Web Cache:

    The J2EE and Web Cache is the smallest of the three installation types and

    includes the Oracle HTTP Server (OHS), Oracle Containers for Java (OC4J), and

    the Web Cache components. The components included with this type of

    installation are considered the base components for all of the midtier and will be

    included in all other installation types. This type of installation can function as a

    standalone J2EE server or can be included within an infrastructure instance's

    farm. It is important to understand that a J2EE and Web Cache installation does

    not require an infrastructure configuration. When used as a standalone J2EE

    server, however, you will have to resort to manual configuration and

    management. If you elect to include this type of installation as a member of afarm, the instance can be configured using the Oracle Enterprise Manager

    Application Server Control.

    Portal and Wireless:

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    2/36

    This type of installation will include all components of a J2EE and Web Cache

    installation plus the Portal and Wireless components. Unlike the J2EE and Web

    Cache installation type, a Portal and Wireless installation type requires access to

    Oracle's Identity Management and the metadata repository within an

    infrastructure instance. It is required to have an infrastructure instance installed

    and configured before performing a Portal and Wireless installation.

    Business Intelligence and Forms:

    This is the largest installation type that includes all midtier components available

    in Oracle10gAS. The Business Intelligence and Forms installation type includes

    all components of a Portal and Wireless plus Oracle Application Discoverer,

    Personalization, Reports Services, and Oracle Forms components. Just like the

    Portal and Wireless installation type, this type of installation requires access to

    Oracle's Identity Management and the metadata repository within an

    infrastructure instance.

    Infrastructure:

    An Infrastruction installation provides many capabilities to most of the midtier

    components that we have already discussed in the above installation types. In

    fact, a successful Infrastructure installation is required for two of the three types

    of midtier installation types. An Infrastructure installation provides access to

    Oracle's Internet Directory (OID), Identity Management, and the metadata

    repository for all midtier components.

    When planning the installation of Oracle10gAS you must first determine if you

    are going to need an Infrastructure. If you are going to be performing either a

    Portal and Wireless installation or a Business Intelligence and Forms installation,

    then you have no choice; you must install and configure an Infrastructureinstance. If you are going to only perform a J2EE and Web Cache installation,

    then the Infrastructure instance is optional. If an Infrastructure installation is

    going to be used, then it must be installed, configured, and running before

    attempting the midtier installation types.

    For the purpose of this article, I will be installing and configuring aBusiness Intelligence and

    Forms installation type as well as the requiredInfrastructure installation. Both instances will be

    installed on the same MS Windows server.

    Server Configuration

    As already mentioned, I will be performing aBusiness Intelligence and Forms installation type as

    well as the requiredInfrastructure installation. Both instances will be installed on the same MS

    Windows server. Before detailing the tasks required for installing both instances, let's first look at

    the hardware and operating environment we will be using:

    Server Configuration

    Server Hardware

    Dell Dimension 8200 Series (400MHz FSB)

    Intel Pentium 4 CPU 1.8 GHz1.5 Gb Total Memory

    60 GB Hard Drive

    Operating System Windows XP Professional / SP 1

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    3/36

    ORACLE_BASE C:\oracle

    ORACLE_HOME (Infrastructure)Name: 10gASInfrastructure

    Location: C:\oracle\10gASInfra

    ORACLE_HOME (Business Intelligence and Forms)Name: 10gASMidtier

    Location: C:\oracle\10gASMidtier

    Downloading the Software

    It is now time to download and extract the Oracle Application Server 10gSoftware for Microsoft

    Windows. The software can be downloaded from Oracle's Technology Network web site

    otn.oracle.com.

    NOTE: If you do not currently have an account with Oracle OTN, you will need to create

    one. This is a FREE account!

    For this article, I will be downloading Oracle10gAS Enterprise Edition from the following:

    Oracle Application Server 10g (9.0.4)

    (Java, Standard, and Enterprise Edition)

    AS10gNT_Disk1.zip - (472,288,995 bytes)

    AS10gNT_Disk2.zip - (389,998,160 bytes)

    AS10gNT_Disk3.zip - (468,236,935 bytes)

    Download and extract the above three files to a temporary directory. This will be the staging area

    where you will be installing Oracle10gAS from.

    After extracting the three files, you should now have three directories called "Disk1, Disk2 and

    Disk3" containing the Oracle10gAS installation files:

    /Disk1/Disk2/Disk3

    Infrastructure Install

    On Microsoft Windows, there are no environment variables that need to be configured before

    starting the install. The installation of all Oracle10gAS components use the familiar Oracle

    Universal Installer (OUI).

    To start the installation process, change to the directory Disk1 (from the extracted archive files in

    the previous section) and execute the setup.exe command:

    C:\OraInstall\Disk1> setup.exe

    Starting Oracle Universal Installer ...

    Checking requirements...

    Checking operating system version: must be 4.0, 5.0, 5.1 or 5.2.Actual 5.1 Passed

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    4/36

    Checking monitor: must be configured to display at least 256 colors.Actual 4294967296 PassedChecking swap space: must be greater than 1535 MB.Actual 2048MB Passed

    All requirements met.

    Preparing to launch Oracle Universal Installer fromC:\DOCUME~1\jhunter\LOCALS~1\Temp\OraInstall2004-09-21_11-44-53PM.Please wait ...

    After successfully starting the Oracle Universal Installer (OUI), you can follow through with the

    installation of the Infrastructure as shown in the following screen shots.

    Screen 1: - Welcome Screen

    Hit the button.

    Screen 2: - Specify File Locations

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    5/36

    Enter the Name and Location for the Infrastructure install and hit the button.

    Screen 3: - Select a Product to Install

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    6/36

    Select the "OracleAS Infrastructure 10g" option and hit the button.

    Screen 4: - Select Installation Type

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    7/36

    Select the "Identity Management and OracleAS Metadata Repository" option and hit

    the button.

    NOTE: After hitting the button on my installation, I was prompted with a dialog

    box indicating that several components are not certified for Windows XP. Since this is a

    testing server, I simply hit to continue with the installation.

    Screen 5: - Preview of Steps for Infrastructure Installation

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    8/36

    Review the steps that the OUI will perform when installing the Infrastructure and hit

    the button.

    Screen 6: - Select Configuration Options

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    9/36

    Select the components you want to configure. By default, the recommended

    components to configure are already checked. I leave the defaults and hit the

    button.

    Screen 7: - Specify Namespace in Internet Directory

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    10/36

    In most cases, you can leave this option set to its default. It will use the hostname and

    domain for your server. In my case, I wanted to override this and use a Custom

    Namespace ofidevelopment.info. Select your option and hit the button.

    Screen 8: - Database Identification

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    11/36

    This screen allows you to name the Oracle9i database (repository) that will be used to

    store metadata for the Infrastructure. Keep in mind that Oracle requires you to specify a

    domain name for the Global Database Name. I appended the idevelopment.infodomain name. You should select the appropriate domain name for your environment.

    Hit the button.

    Screen 9: - Set SYS and SYSTEM Passwords

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    12/36

    This screen requires you to enter a password to be used for the SYS and SYSTEM

    account for the repository database. Enter a valid password and hit the button.

    Screen 10: - Database File Location

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    13/36

    Enter the directory name where Oracle should put all database files, control files, and

    online redo log files for the repository database. I typically keep the default selection.

    Hit the button.

    Screen 11: - Database Character Set

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    14/36

    Enter the Character Set you would like to use for the repository database. I typically

    keep the default selection. Hit the button.

    Screen 12: - Specify Instance Name and ias_admin Password

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    15/36

    This is an important screen. Here you will provide the name of the Infrastructure

    instance and then provide a password for the ias_admin user id. In this example, I

    name the Infrastructure instance the same name as the OUI Name for this installationwhich is 10gASInfrastructure. Also, make sure to take note of the password you

    provide for the ias_admin user id. You will need this password for managing the

    Infrastructure instance. Hit the button.

    Screen 13: - Summary

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    16/36

    Review the summary screen and hit the button to begin the installation

    process.

    Installation Process

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    17/36

    The OUI provides a screen that allows you to monitor the installation process. This

    process can take a long time to complete depending on the speed of your server.

    Configuration Assistants

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    18/36

    Once the installation is complete, the OUI starts the configuration assistants used to set

    up the application server components. This process configures and deploys those

    components.

    End of Installation

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    19/36

    Once all of the configuration assistants have successfully completed, the OUI will

    display theEnd of Installation screen. At this point, you should take note of the server

    ports that have been configured to connect to the Infrastructure Instance and its OracleEnterprise Manager Application Server Control. The OUI will also log this port

    information to the ORACLE_HOME\Apache\Apache\setupinfo.txt file.

    You can point your browser to the addresses shown to login to the Infrastructure

    Instance and the Oracle Enterprise Manager Application Server Control. For my

    installation, I want to test both addresses by using the following:

    Infrastructure Instance

    http://bartman.idevelopment.info:7777

    Oracle Enterprise Manager Application Server Control

    http://bartman.idevelopment.info:1810

    Once you have verified that the Infrastructure Instance and the Oracle Enterprise

    Manager Application Server Control are working, you should go back to the OUIEnd

    of Installation screen and hit the button.

    Midtier Install

    After successfully installing, configuring and verifing the Infrastructure Instance installation, you

    are now ready to install the application server middle tier. We will be installing the largest of the

    three types of application server installs - theBusiness Intelligence and Forms installation type.

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    20/36

    Also in our configuration, we will be installing the application server middle tier on the same

    physical server as the Infrastructure instance.

    NOTE: Previous versions of Oracle Application Server required you to shut down the

    Oracle Enterprise Manager web site. This is no longer a requirement with Oracle10gAS.

    The application server installation process will install over a fully running infrastructure.

    In most cases, you can simply exit the OUI from the Infrastructure install and restart the

    installation process for the application server install.

    To start the installation process for the application server, change to the same Disk1 directory you

    used for the Infrastructure install and execute the setup.exe command:

    C:\OraInstall\Disk1> setup.exe

    Starting Oracle Universal Installer ...

    Checking requirements...

    Checking operating system version: must be 4.0, 5.0, 5.1 or 5.2.Actual 5.1 Passed

    Checking monitor: must be configured to display at least 256 colors.Actual 4294967296 PassedChecking swap space: must be greater than 1535 MB.Actual 2048MB Passed

    All requirements met.

    Preparing to launch Oracle Universal Installer fromC:\DOCUME~1\jhunter\LOCALS~1\Temp\OraInstall2004-09-22_13-09-52PM.Please wait ...

    After successfully starting the Oracle Universal Installer (OUI), you can follow through with the

    installation of the Application Server as shown in the following screen shots.

    Screen 1: - Welcome Screen

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    21/36

    Hit the button.

    Screen 2: - Specify File Locations

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    22/36

    Enter the Name and Location for the Application Server Midtier install and hit the

    button.

    Screen 3: - Select a Product to Install

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    23/36

    Select the "Oracle Application Server 10g" option and hit the button.

    Screen 4: - Select Installation Type

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    24/36

    Select the "Business Intelligence and Forms" option and hit the button.

    NOTE: After hitting the button on my installation, I was prompted with a dialogbox indicating that several components are not certified for Windows XP. Since this is a

    testing server, I simply hit to continue with the installation.

    Screen 5: - Preview of Steps for Middle Tier Installation

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    25/36

    Review the steps that the OUI will perform when installing the Application Server

    Middle Tier and hit the button.

    Screen 6: - Select Configuration Options

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    26/36

    Select the components you want to have configured for the Application Server Middle

    Tier after the installation is complete. None the options are selected by default. For this

    example, I will want to select to have every component configured by the OUI. Keep inmind that if you do not want to have the OUI configure any of options at the end of the

    installation, you can still manually configure them at any time. Hit the button.

    Screen 7: - Register with Oracle Internet Directory

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    27/36

    To register this instance with the Oracle Internet Directory (OID) that was configured in

    the Infrastucture instance, supply the hostname and port of the OID instance. Enter

    your options and hit the button.

    Screen 8: - Specify Login for Oracle Internet Directory

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    28/36

    The Super Username for Oracle Internet Directory should be cn=orcladmin while the

    password should be whatever you used for the ias_admin Hit the button.

    Screen 9: - Select OracleAS 10g Metadata Repository

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    29/36

    The Metadata Repository that was configured should be the only selection available in

    this screen. Ensure that it is selected and hit the button.

    Screen 10: - Provide Outgoing Mail Server Information

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    30/36

    Enter the the name of our outgoing Mail Server. This is required for configuring the

    Oracle Application Server Reports Service. Hit the button.

    Screen 11: - Specify Instance Name and ias_admin Password

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    31/36

    This is an important screen. Here you will provide the name of the Application Server

    Midtier Instance and then provide a password for the ias_admin user id. In this

    example, I name the Application Server Instance the same name as the OUI Name forthis installation which is 10gASMidtier. Also, make sure to take note of the password

    you provide for the ias_admin user id. You will need this password for managing the

    Application Server Middle Tier Instance. Hit the button.

    Screen 12: - Summary

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    32/36

    Review the summary screen and hit the button to begin the installation

    process.

    Installation Process

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    33/36

    The OUI provides a screen that allows you to monitor the installation process. This

    process can take a long time to complete depending on the speed of your server.

    Configuration Assistants

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    34/36

    Once the installation is complete, the OUI starts the configuration assistants used to set

    up the application server components. This process configures and deploys those

    components.

    End of Installation

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    35/36

    Once all of the configuration assistants have successfully completed, the OUI will

    display theEnd of Installation screen. At this point, you should take note of the server

    ports that have been configured to connect to the Application Server Middle TierInstance and its Oracle Enterprise Manager Application Server Control. The OUI will

    also log this port information to the ORACLE_HOME\Apache\Apache\setupinfo.txt

    file.

    You can point your browser to the addresses shown to login to the Infrastructure

    Instance and the Oracle Enterprise Manager Application Server Control. For my

    installation, I want to test both addresses by using the following:

    Application Server Middle Tier Instance

    http://bartman.idevelopment.info

    Oracle Enterprise Manager Application Server Control

    http://bartman.idevelopment.info:1812

    Once you have verified that the Application Server Middle Tier Instance and the Oracle

    Enterprise Manager Application Server Control are working, you should go back to the

    OUIEnd of Installation screen and hit the button.

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...

    f 36 29.11.2012. 9:06

  • 7/30/2019 Installing Oracle10AS Rel2

    36/36

    Copyright (c) 1998-2012 Jeffrey M. Hunter. All rights reserved.

    All articles, scripts and material located at the Internet address ofhttp://www.idevelopment.info is the copyright of Jeffrey M. Hunter and

    is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior,

    written permission. Application to host any of the material elsewhere can be made by contacting me [email protected].

    I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I

    disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I

    will in no case be liable for any monetary damages arising from such loss, damage or destruction.

    Last modified on

    Monday, 23-Jan-2006 09:01:07 EST

    Page Count: 26195

    ACLE - DBA Tips Corner http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gAS/...