Skip Headers
Oracle® Database Installation Guide
10g Release 2 (10.2) for Microsoft Windows Itanium (64-Bit)

Part Number B14317-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

3 Installing Oracle Database

This chapter covers the following topics:

3.1 Preinstallation Considerations for Installing Oracle Database

The Oracle Database software is available on installation media or you can download it from the Oracle Technology Network (OTN) Web site. In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install the software. However, you can also use Oracle Universal Installer without the GUI by supplying a response file with silent or noninteractive mode.

Note:

Windows Server 2008 and Windows Server 2008 R2 require Administrator privileges at the command prompt.

Complete the requirements described in Chapter 2, "Oracle Database Preinstallation Requirements" and "Reviewing Component-Specific Installation Guidelines" before you begin the installation.

Next, consider the following issues:

3.1.1 Installation Considerations on Windows Server 2008 and Windows Server 2008 R2

Following are the installation considerations on Windows Server 2008 and Windows Server 2008 R2:

  • Open a command prompt with Administrator privileges.

  • Use the separate installation media available for Windows Server 2008 and Windows Server 2008 R2.

3.1.2 Performing Multiple Oracle Database Installations

If you must perform multiple installations of Oracle Database, then you may want to use either of the following methods to install Oracle Database:

  • Response files: At each node, you run Oracle Universal Installer from the command line using silent or noninteractive mode and you supply a response file to provide information Oracle Universal Installer needs. The response file is a text file containing the settings you normally enter in the Oracle Universal Installer GUI dialog boxes.

  • Cloning the Oracle home of an existing Oracle Database installation: With this method, you install one instance of Oracle Database, and then clone its Oracle home for each additional installation.

3.1.3 Installing onto Systems That Already Have Oracle Components

See Also:

  • "Upgrade Considerations" before running Oracle Universal Installer

  • "Pre-Installation Tasks for Installing Oracle Real Applications Clusters on Windows-Based Systems" in Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide before running Oracle Universal Installer

Follow these steps when other components exist on your computer:

  1. Log on as a member of the Administrators group for the computer on which you want to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. Delete the ORACLE_HOME environment variable if it exists. See the Microsoft online help for more information about deleting environment variables.

    Note:

    The ORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.
  3. Back up any databases you must upgrade. Review "Upgrade Considerations".

  4. If you are installing in an existing Oracle Database 10g release 2 (10.2) home, stop all Oracle services.

    If any Oracle services (their names begin with Ora) exist and have the status Started, then stop them. In particular, ensure that all Oracle listener services are stopped.

    See Also:

    Your Microsoft online help for more information about stopping services

3.1.4 Installing with Minimum Memory Requirements

Installations of Oracle Database on computers with 1 GB of RAM and 2 GB of virtual memory have the following limitations:

  • Computers with 256 MB of memory cannot run Oracle Database Upgrade Assistant, Oracle Database Configuration Assistant, or Oracle Net Services Configuration Assistant during an Oracle Universal Installer installation session.

  • Depending on how many applications are being run on the computer, you must further increase the paging file size or reduce the size of the System Global Area (SGA) if you run out of virtual memory. If temporary files and the paging file are both stored on the same physical drive, the space requirements for one may limit the size of another. If your system has limited free space, first install the Oracle Database software. After the installation is finished, create a database with Oracle Database Configuration Assistant.

Do not install the database on computer systems that barely meet the minimum memory and virtual memory requirements, 256 MB and 512 MB respectively. Depending on the installation type you choose, follow these guidelines:

  • Select Basic Installation and deselect Create Starter Database.

  • Select Advanced Installation, select Do not create a starter database from the Select Database Configuration window.

  • Select Advanced Installation, select the Custom installation type from the Select Installation Type window, and select No on the Create Database window when prompted to create the database.

  • Cancel Oracle Database Configuration Assistant from the Configuration Assistants window.

After installation, run the appropriate configuration assistant for your needs:

  • To create a new database, run Oracle Database Configuration Assistant. From the Start menu, select Programs, then Oracle - HOME_NAME, then Configuration and Migration Tools, then Database Configuration Assistant.

  • To upgrade an existing database, run Oracle Database Upgrade Assistant. From the Start menu, select Programs, then Oracle - HOME_NAME, then Configuration and Migration Tools, then Database Upgrade Assistant.

3.2 Reviewing Component-Specific Installation Guidelines

Review the following guidelines before starting Oracle Universal Installer:

3.3 Accessing the Installation Software

The Oracle Database software is available on installation media, or you can download it from the Oracle Technology Network (OTN) Web site. You can access and install Oracle Database by using the following scenarios:

3.3.1 Installing from a Remote DVD Drive

If the computer where you want to install Oracle Database does not have a DVD drive, then you can perform the installation from a remote DVD drive. You must complete the following steps:

3.3.1.1 Step 1: On the Remote Computer, Share the DVD Drive

To use the remote DVD drive it must allow shared access. To set this up, perform these steps on the remote computer that has the DVD drive:

  1. Log in to the remote computer as an Administrator user.

  2. Start Windows Explorer.

  3. Right-click the DVD drive letter and select Sharing (or Sharing and Security).

  4. Click the Sharing tab and do the following:

    1. Select Share this folder.

    2. In Share name, give it a share name such as dvd. You use this name when you map the DVD drive on the local computer. Under "Step 2: On the Local Computer, Map the DVD Drive" see Step d under Step 1.

    3. Click Permissions. You need at least read permission for the user who will be accessing the drive to install Oracle Database.

    4. Click OK when you are finished.

  5. Insert the Oracle Database installation media into the DVD drive.

3.3.1.2 Step 2: On the Local Computer, Map the DVD Drive

Perform these steps on the local computer to map a remote DVD drive and to run Oracle Universal Installer from the mapped drive:

  1. Map the remote DVD drive.

    1. Start Windows Explorer on the local computer.

    2. From the Tools menu, select Map Network Drive to display the Map Network Drive dialog box.

    3. Select a drive letter to use for the remote DVD drive.

    4. In Folder, enter the location of the remote DVD drive using the following format:

      \\remote_hostname\share_name
      

      where:

      • remote_hostname is the name of the remote computer with the DVD drive.

      • share_name is the share name that you entered in Step 4 of the previous procedure. For example:

        \\computer2\dvd
        
    5. If you must connect to the remote computer as a different user, then click different user name, and enter the user name.

    6. Click Finish.

  2. Run Oracle Universal Installer from the mapped DVD drive.

  3. Go to the "Installing the Oracle Database Software" section.

3.3.2 Installing on Remote Computers Through Remote Access Software

If you want to install and run Oracle Database on a remote computer (that is, the remote computer has the hard drive and runs Oracle Database components), but you do not have physical access to the computer, you still can perform the installation on the remote computer if it is running remote access software such as VNC or Symantec pcAnywhere. You also need the remote access software running on your local computer.

You can install Oracle Database on the remote computer in one of two ways:

  • If you have copied the contents of the Oracle Database DVD to a hard drive, you can install the software from the hard drive.

  • You can insert the DVD into a drive on your local computer, and install the software from the DVD.

3.3.2.1 Installing on Remote Computers from a Hard Drive

If you have copied the contents of the Oracle Database DVD to a hard drive, you can install the software from the hard drive.

To install the software on a remote computer from a hard drive:

  1. Ensure that the remote access software is installed and running on the remote and local computers.

  2. Share the hard drive that contains the Oracle Database DVD.

  3. On the remote computer, map a drive letter to the shared hard drive. You use the remote access software to do this on the remote computer.

  4. Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared hard drive.

  5. Go to the "Installing the Oracle Database Software" section.

3.3.2.2 Installing on Remote Computers from a Remote DVD Drive

You can insert the DVD into a drive on your local computer, and install from the DVD.

To install the software on a remote computer from a remote DVD drive:

  1. Ensure that the remote access software is installed and running on the remote and local computers.

  2. On the local computer, share the DVD drive.

    On the remote computer, map a drive letter to the shared DVD drive. You use the remote access software to do this on the remote computer.

    These steps are described in the "Installing from a Remote DVD Drive" section.

  3. Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared DVD drive.

  4. Go to the "Installing the Oracle Database Software" section.

3.3.3 Downloading Oracle Software from the Oracle Technology Network Web Site

You can download the installation files from the Oracle Technology Network (OTN) and extract them on your hard disk.

To download the installation files:

  1. Use a browser to access the Oracle Technology Network software download page:

    http://www.oracle.com/technology/software/
    
  2. Navigate to each of the download pages for the product to install.

  3. On each download page, identify the required disk space by adding the file sizes for each required file. The file sizes are listed next to the file names.

  4. Select a file system with enough free space to store and expand the files. In most cases, the available disk space must be at least twice the size of each compressed file.

  5. On the file system that you just selected, create a parent directory for each product you plan to install, for example OraDB10g, to hold the installation directories.

  6. Download all of the installation files to the directories that you just created.

  7. Verify that the files you downloaded are the same size as the corresponding files on Oracle Technology Network.

  8. Extract the files in each directory that you just created.

  9. After you have extracted the required installation files, see the "Installing the Oracle Database Software" section.

3.3.4 Copying the Oracle Database Software to a Hard Disk

To copy the contents of the installation media to a hard disk:

  1. Create a directory on your hard drive. For example:

    c:\> install\database
    
  2. Copy the contents of the installation media to the directory that you just created.

  3. After you have copied all of the required installation files, see the "Installing the Oracle Database Software" section.

3.4 Installing the Oracle Database Software

In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install Oracle Database. The instructions in this section explain how to run the Oracle Universal Installer GUI to perform most database installations.

See Also:

To install the Oracle Database software:

  1. Log on as a member of the Administrators group to the computer on which to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. If you are installing Oracle Database on a computer with multiple homes or multiple aliases, use System in the Control Panel to create the ORACLE_HOSTNAME system environment variable. Set this variable to point to the host name of the computer on which you are installing Oracle Database.

  3. Insert Oracle Database installation media and navigate to the database directory. Alternatively, navigate to the directory where you downloaded or copied the installation files.

    Use the same installation media to install Oracle Database on all supported Windows platforms.

  4. Double-click setup.exe to start Oracle Universal Installer.

  5. In the Welcome window, select either Basic Installation or Advanced Installation, and then answer the prompts as needed.

    See Also:

    "Oracle Database Installation Methods" for more information about the Basic and Advanced installation methods

    The subsequent windows that appear, which are listed in Table 3-1, depend on the installation method you have chosen. The order in which the windows appear depends on the options you select.

  6. Follow these guidelines to complete the installation:

    • Do not install Oracle Database 10g Release 2 (10.2) software into an existing Oracle home that contains Oracle9i or earlier software.

    • Follow the instructions displayed in the Oracle Universal Installer windows. If you need additional information, click Help.

    • When prompted for a password, follow these guidelines:

      • Make the password be between 8 and 30 characters long.

      • Use the database character set for the password's characters, which can include the underscore (_), dollar ($), and pound sign (#) characters.

      • Do not start passwords with a numeral.

      • Do not use a user name for a password.

      • Do not use Oracle reserved words for the password.

      • Do not use change_on_install for the SYS account password.

      • Do not use manager for the SYSTEM account password.

      • Do not use sysman for the SYSMAN account password.

      • Do not use dbsnmp for the DBSNMP account password.

      • If you choose to use the same password for all the accounts, do not use change_on_install, manager, sysman, or dbsnmp as a password.

      • Have the password include at least 1 alphabetic, 1 numeric, and 1 punctuation mark character

      • Do not use simple or obvious words, such as welcome, account, database, and user for the password.

      Note:

      You must remember the passwords that you specify.
    • Do not modify the Java Runtime Environment (JRE) except by using a patch provided by Oracle Support Services. Oracle Universal Installer automatically installs the Oracle-supplied version of the JRE. This version is required to run Oracle Universal Installer and several Oracle assistants.

    • If you encounter errors while installing the software, see Appendix F for information about troubleshooting.

    • If you chose an installation type that runs Oracle Database Configuration Assistant and Oracle Net Configuration Assistant in interactive mode, you must provide detailed information about configuring your database and network.

      If you need assistance when using the Oracle Database Configuration Assistant or Oracle Net Configuration Assistant in interactive mode, click Help on any window.

      Note:

      If you chose a default installation, Oracle Database Configuration Assistant and Oracle Net Configuration Assistant do not run interactively.
  7. When the configuration tools finish, click Exit, then click Yes to exit from Oracle Universal Installer.

  8. When Oracle Enterprise Manager Database Control opens a Web browser, enter the user name and password you created during the installation.

    You can log in as SYS, SYSTEM, or SYSMAN. If you log in as SYS, then you must connect as SYSDBA. Enter the password you specified for the account during installation.

  9. Optionally, delete the OraInstalldate_time directory to remove the temporary files that were created during the installation process. The OraInstalldate_time directory holds about 45 MB of files. This directory is created in the location set by the TEMP environment variable setting.

    Restarting your computer also removes the OraInstalldate_time directory.

  10. See Chapter 4, "Oracle Database Postinstallation Tasks" for information about tasks that you must complete after you have installed Oracle Database.

Table 3-1 Oracle Universal Installer Windows

Window Recommended Action

Select Installation Method

Select one of the following, then click Next:

  • Basic Installation: Lets you quickly install Oracle Database using minimal input. It installs the software and optionally creates a general-purpose database using the information that you specify on this window.

  • Advanced Installation: Lets you perform more complex installations, such as creating individual passwords for different accounts, creating specific types of starter databases (for example, for transaction processing or data warehouse systems), using different language groups, specifying e-mail notifications, and so on.

Select Installation Type

Select Enterprise Edition, Standard Edition, Personal Edition, or Custom. Click Next.

Specify Home Details

In the Destination section, accept the default values or enter the Oracle home name and directory path in which to install Oracle components. The directory path should not contain spaces.

Click Next.

Available Product Components

If you selected Custom for the Installation Type, this window appears. Select from the list and click Next. To learn more about each component, position the mouse over the component name.

Product-specific Prerequisite Checks

This window checks that your system meets the minimum requirements for the installation. Click Next.

Upgrade an Existing Database

If you have a previous updatable version of Oracle Database or Automatic Storage Management (ASM) installed, this window appears. For in-place database installations where Automatic Storage Management is running, ASM is upgraded automatically.

Click Yes to upgrade or No if not. If you click Yes, the Summary window appears next.

For more information about upgrades, see Oracle Database Upgrade Guide.

Select Configuration Option

Select one of the following:

  • Create a database: Select this option if you are creating a database using the following types: General purpose, Transaction processing, and Data warehousing. The Advanced option lets you perform a custom installation.

  • Configure Automatic Storage Management (ASM): Select this option to create an Automatic Storage Management instance only. To create an ASM instance, you must provide an ASM SYS Password. After you provide this password, Oracle Universal Installer lets you create an ASM disk group. After you complete this Oracle Universal Installer session, you can run it again to install and configure multiple Oracle databases that uses ASM.

  • Install database Software only: Select this option to install the database software only but not create a database or configure Automatic Storage Management.

Select ASM Management Option

If you selected Configure Automatic Storage Management (ASM) from the Select Configuration Option window, and if you have Oracle Enterprise Manager 10g Grid Control installed, this window appears. Select Yes or No, depending on whether you want to use Grid Control to manage Automatic Storage Management. If you select Yes, then select from the list of Enterprise Management agents to use.

Configure Automatic Storage Management

If you selected Configure Automatic Storage Management (ASM) from the Select Configuration Option window, this window appears. Enter the disk group name. The disk group list shows both candidate and member disks; you can click Show Candidates or Show All to filter their display. Then, select theredundancy level and member disks for the disk group.

For Redundancy Level, choose one of the following. If you do not choose a redundancy level, the disk group defaults to normal redundancy.

  • High: With this option, the contents of the disk group are three-way mirrored by default. To create a disk group with high redundancy, you must specify at least three failure groups (a minimum of three devices).

  • Normal: In a normal redundancy level, by default the data files of the disk group are two-way mirrored and the control files are three-way mirrored. You can choose to create certain files that are three-way mirrored or not mirrored. To create a disk group with normal redundancy, you must specify at least two failure groups (a minimum of two devices) for two-way mirroring.

  • External: If you select this option, Automatic Storage Management does not mirror the contents of the disk group. Choose this redundancy level when the disk group contains devices, such as RAID devices, that provide their own data protection; or your use of the database does not require uninterrupted access to data, for example, in a development environment where you have a suitable backup strategy.

Select Database Configuration

Select the database configuration that best meets your needs: General Purpose, Transaction Processing, Data Warehouse, or Advanced.

See the online Help provided by either Oracle Universal Installer or Oracle Database Configuration Assistant for a description of these preconfigured database types.

Click Next.

Specify Database Configuration Options

Specify the following information, then click Next:

Database Naming

Specify the Global Database Name using the following syntax:

database_name.domain

where:

  • database_name is the name of the database. It can contain no more than 30 characters (alphanumeric, underscore (_), dollar ($) , and pound (#)).

  • domain is the domain used for the database. It can contain no more than 128 characters (alphanumeric, underscore (_), and pound (#)), inclusive of all periods.

For example:

sales.us.mycompany.com

When you enter the Global Database Name, Oracle Universal Installer automatically populates the SID field with the database name, but you can change this SID to another name. The SID can have no more than 64 characters (alphanumeric, dollar ($), and pound (#)).

Database Character Set

Determine how character data is encoded in the database. The default is based on the operating system language. Select Unicode (AL32UTF8) to store multiple languages. See Oracle Database Globalization Support Guide for information about choosing a character set.

Database Examples

Choose this option to create the EXAMPLE tablespace that contains the Sample Schemas (optional, but recommended).

Select Database Management Option

Select one of the following, then click Next:

  • Use Grid Control for Database Management if you have Oracle Enterprise Manager installed.

  • Use Database Control for Database Management. Optionally, select Enable Email Notifications and then enter the outgoing SMTP server and e-mail address.

Specify Database File Storage Option

Select one of the following, then click Next.

  • File System: Specify the database file location.

  • Automatic Storage Management (ASM)

Specify Backup and Recovery Options

Select one of the following, then click Next.

  • Do not enable Automated backups

  • Enable Automated Backups: Specify the recovery area storage location and backup job credentials

Specify Database Schema Passwords

Enter and confirm passwords for the privileged database accounts, then click Next.

Note: Optionally, you can use the same password for all accounts. However, Oracle recommends that you specify a different password for each account. You must remember the passwords that you specify.

Summary

Review the information displayed, then click Install.

Install

The Install window displays status information while the product is being installed.

Configuration Assistants

The Configuration Assistants window displays status information for the configuration assistants that configure the software and create a database.

After Oracle Database Configuration Assistant finishes, review the information about the window. Make a note of the following information:

  • Enterprise Manager URL

  • Database creation log file location

  • Global Database Name

  • System Identifier (SID)

  • Server parameter file name and location

Click OK to continue or click Password Management to unlock accounts and set passwords.

End of Installation

The configuration assistants configure several Web-based applications, including Oracle Enterprise Manager Database Control. This window displays the URLs configured for these applications. Make a note of the URLs used.

The port numbers used in these URLs are recorded in the following file:

ORACLE_BASE\ORACLE_HOME\install\portlist.ini

To exit from Oracle Universal Installer, click Exit, then click Yes. Oracle Enterprise Manager Database Control displays in a Web browser.


3.5 Installing Automatic Storage Management

Follow the procedures in this section to install and configure Automatic Storage Management (ASM), and to install Oracle Database so that it can use ASM. If you do not plan to use Automatic Storage Management, use the procedure in "Installing the Oracle Database Software" to install Oracle Database.

This section covers the following topics:

3.5.1 Step 1: Reviewing Automatic Storage Management Installation Considerations

When you install Automatic Storage Management, follow these guidelines:

  • Before you begin the installation, ensure that you have completed the steps in "Preparing Disk Groups for an Automatic Storage Management Installation" to prepare a disk partition to use for the ASM disk groups.

  • Oracle recommends that you install Automatic Storage Management into its own Oracle home, regardless of whether you plan to have one or multiple database instances. Installing Automatic Storage Management into its own Oracle home helps ensure higher availability and manageability.

    With separate Oracle homes, you can upgrade Automatic Storage Management and databases independently, and you can deinstall database software without impacting the Automatic Storage Management instance. Ensure that the Automatic Storage Management instance version is the same or later than the Oracle Database version.

    If an Automatic Storage Management instance does not exist and you select the Oracle Universal Installer option to install and configure Automatic Storage Management only, Oracle Universal Installer installs Automatic Storage Management in its own Oracle home.

  • Each computer that has one or more Oracle Database instances that use Automatic Storage Management must have one ASM instance. For example, if a computer has two Oracle Database instances that use ASM, you only need one ASM instance for that computer, to manage the two database instances that use ASM.

  • When you install Automatic Storage Management, Oracle Database Configuration Assistant creates a separate server parameter file (SPFILE) and password file for the Automatic Storage Management instance.

3.5.2 Step 2: Creating the ASM Instance and ASM Disk Groups

The following steps explain how to create an ASM instance and an ASM disk group for storing the Oracle database files. You can create multiple disk groups for the ASM instance to manage, if you want. If you plan to use ASM for backup and recovery operations, Oracle recommends that you create a separate disk group for this purpose.

To install an ASM instance and configure its disk groups:

  1. Log on as a member of the Administrators group to the computer on which to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. Insert Oracle Database installation media and navigate to the database directory. Alternatively, navigate to the directory where you downloaded or copied the installation files. Double-click setup.exe to start Oracle Universal Installer.

    Use the same installation media to install Oracle Database on all supported Windows platforms.

  3. In the Welcome window, select Advanced Installation and click Next.

    See Also:

    Table 3-1 for a detailed description of the windows used in this procedure
  4. In the Select Installation Type window, select either Enterprise Edition, Standard Edition, or Personal Edition, and then click Next.

  5. In the Specify Home Details window, enter an Automatic Storage Management-specific name and directory location for the ASM instance.

    For example, you could change OraDB10g_home1 to OraDB10g+asm for the ASM home, and DRIVE_LETTER:\oracle\product\10.2.0\db_1 to DRIVE_LETTER:\oracle\product\10.2.0\asm.

  6. Click Next.

  7. In the Product-Specific Prerequisite Checks window, check for and correct any errors that may have occurred when Oracle Universal Installer checked your system. Then click Next.

  8. In the Select Configuration Option window, select Configure Automatic Storage Management (ASM) and then specify and confirm the ASM SYS password. Then click Next.

  9. In the Configure Automatic Storage Management window, enter the following settings:

    This window lets you create the disk groups to use with the ASM instance. You must have an available partition to create disk groups.

    • Disk Group Name: Enter a name for the disk group.

    • Redundancy: Select one of the following choices to set the redundancy level for the disks within the disk group. If you do not specify a redundancy level, the disk group defaults to normal redundancy.

      • High: With this option, the contents of the disk group are three-way mirrored by default. To create a disk group with high redundancy, you must specify at least three failure groups (a minimum of three devices).

      • Normal: In a normal redundancy level, by default the data files of the disk group are two-way mirrored and the control files are three-way mirrored. You can choose to create certain files that are three-way mirrored or not mirrored. To create a disk group with normal redundancy, you must specify at least two failure groups (a minimum of two devices) for two-way mirroring.

      • External: If you select this option, Automatic Storage Management does not mirror the contents of the disk group. Choose this redundancy level when the disk group contains devices, such as RAID devices, that provide their own data protection; or your use of the database does not require uninterrupted access to data, for example, in a development environment where you have a suitable backup strategy.

    • Add Disks: Click Stamp Disks to start the asmtoolg GUI tool. In the asmtool operation dialog box, select Add or change label, and then click Next. From the list, select the disks to use for the disk group. To select multiple disks, hold down the Control key and click to pick individual disks, or hold down the Shift key to select disks in a group. To use a specific prefix for this disk group, select Generate stamps with this prefix and enter a name. Click Next, and in the next window, click Finish.

      After you click Finish, the Configure Automatic Storage Management window returns, with the disks you selected in the Add Disks list. From this list, select the disks you want to include in the disk group. To filter the display of disks, you can select Change Disk Discovery Path and enter a wildcard subset. For example, to list all disks ending with ORCLDISKDATA from 0 to 3, you enter \\.\ORCLDISKDATA[0–3].

  10. Click Next.

  11. In the Install window, check the installed contents, and then click Install.

  12. To create another disk group for this instance, run Oracle Database Configuration Assistant and select the Configure Automatic Storage Management option.

At this stage, subsequent databases that you create are able to use Automatic Storage Management. If you have databases that were created before you installed ASM, you now can migrate them to ASM by using the Enterprise Manager Migrate Database wizard. This wizard is available in Enterprise Manager Grid Control or Database Control. Alternatively, you can use Oracle Database Recovery Manager (RMAN) to perform the migration.

See Also:

  • Enterprise Manager Migrate Database wizard online Help instructions on how to migrate an existing Oracle database to Automatic Storage Management

  • Oracle Database Backup and Recovery Advanced User's Guide for information about migrating an existing Oracle database to Automatic Storage Management using Oracle Database Recovery Manager.

3.5.3 Step 3: Installing Oracle Database to Use with Automatic Storage Management

After you have created the ASM instance and ASM disk groups, you are ready to create a database instance that can use Automatic Storage Management.

  1. Log on as a member of the Administrators group to the computer on which to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. If you are installing Oracle Database on a computer with multiple home or multiple aliases, use System in the Control Panel to create the ORACLE_HOSTNAME system environment variable. Set this variable to point to the host name of the computer on which you are installing Oracle Database.

  3. Start Oracle Universal Installer.

  4. In the Welcome window, select Advanced Installation and click Next.

    See Also:

    Table 3-1 for a detailed description of the windows used in this procedure
  5. In the Select Installation Type window, select from the installation types (Enterprise Edition, Standard Edition, Personal Edition, or Custom), and then click Next.

  6. In the Specify Home Details window, select a different Oracle home from the home used for Automatic Storage Management.

  7. If you selected the Custom installation type, select from the products to install.

  8. In the Product-Specific Prerequisite Checks window, check for and correct any errors that may have occurred when Oracle Universal Installer checked your system. Then, click Next.

  9. In the Select Configuration Option window, select Create a Database.

  10. In the Select Database Configuration window, select from the database types displayed and click Next.

  11. In the Specify Database Configuration Options window, enter the following settings and then click Next.

    • Database Naming: Enter a name for the database.

    • Database Character Set: Select the database character set to use. The default offered is based on the character set that your operating system uses.

    • Database Examples: Select this option to create the EXAMPLE tablespace, which contains sample schemas. (Optional, but recommended)

  12. In the Select Database Management Option window, select either Use Grid Control for Database Management if you have Oracle Enterprise Manager installed, or if you do not have Enterprise Manager, select Use Database Control for Database Management. Optionally, select Enable Email Notifications and then enter the outgoing SMTP server and e-mail address. Then, click Next.

    After you complete the installation, you can use either of these utilities to manage the Automatic Storage Management instance.

  13. In the Specify Database Storage Option window, select Automatic Storage Management (ASM) and click Next.

  14. In the Specify Backup and Recovery Options window, select the following:

    • Enable Automated Backups: Select this option, and then select Automatic Storage Management.

    • Backup Job Credentials: Enter the user name and password of the person responsible for managing backups.

  15. Click Next.

  16. In the Select ASM Disk Group window, select the ASM disk group that you created in "Step 2: Creating the ASM Instance and ASM Disk Groups" for recovery and backups.

    If the ASM disks that you selected do not provide enough space, the Configure Storage Management window appears so that you can select additional disks as needed. As you select the disks, the Required Storage Space area adjusts the sizes displayed. Ideally, the Additional Space Needed value is a negative number.

  17. Click Next.

  18. In the Specify Database Schema Passwords window, enter and confirm passwords for the privileged database accounts, then click Next.

  19. In the Summary window, check that the contents to be installed are correct, and then click Install.

3.5.4 Step 4: Testing the Automatic Storage Management Installation

To test the Automatic Storage Management installation, try logging on to the ASM instance by using SQL*Plus or iSQL*Plus.

Follow these steps:

  1. In the Services Control Panel, ensure that the OracleASMService+ASM service has started.

  2. Open a Windows command prompt and temporarily set the ORACLE_HOME and ORACLE_SID to point to your ASM instance.

    For example, if the ASM SID, which is named +ASM, is located in the asm directory under the ORACLE_BASE directory, you would enter commands similar to the following:

    SYSTEM_DRIVE:\> set ORACLE_SID = +ASM
    SYSTEM_DRIVE:\> set ORACLE_HOME = c:\oracle\product\10.2.0\asm
    
  3. From the same Windows command prompt session, connect to the ASM instance as the SYS user with SYSDBA privilege and start the instance if necessary:

    SYSTEM_DRIVE:\> sqlplus sys/SYS_password as sysdba
    SQL> STARTUP
    
  4. Enter the following command to view the existing disk groups, their redundancy level, and the amount of free disk space in each one:

    SQL> SELECT NAME,TYPE,TOTAL_MB,FREE_MB FROM V$ASM_DISKGROUP;
    

See Also:

  • Oracle Database Utilities for more information about the asmcmd utility

  • "Managing Automatic Storage Management" for other tools that you can use to manage ASM

  • Oracle Database Administrator's Guide for a more detailed description of Automatic Storage Management

3.6 Cloning an Oracle Home

You can copy an existing Oracle home and then configure it for a new environment. This process is called cloning. If you are performing multiple Oracle Database installations, you may want to use this method to create each new Oracle home, because copying files from an existing Oracle Database installation takes less time than creating a new version of them. This method is also useful if the Oracle home that you are cloning has had patches applied to it. When you clone an Oracle home, the new Oracle home has the patch updates.

Note:

In addition to cloning an Oracle home, you can clone individual Oracle databases, by using Enterprise Manager Database Control. Oracle Database Administrator's Guide covers cloning Oracle databases in detail and cloning Oracle homes.

To clone an Oracle home:

  1. Ensure that the Oracle Database installation whose home you want to clone has been successful.

    You can check the success of the installation by reviewing the installActionsdate_time.log file for the installation session, which is normally located in the c:\Program Files\Oracle\Inventory\logs directory.

    If you have installed patches, you can check their status by running the following commands at a command prompt:

    c:\ORACLE_BASE\ORACLE_HOME\OPatch> set ORACLE_HOME = ORACLE_HOME_using_patch
    c:\ORACLE_BASE\ORACLE_HOME\OPatch> opatch lsinventory
    
  2. Stop the Oracle-related services on this computer.

    You can stop Oracle services by using one of the following methods:

    • Oracle Administration Assistant for Windows: From the Start menu, select Programs, then Oracle - HOME_NAME, then Configuration and Migration Tools, then Administrative Assistant for Windows.

    • Microsoft Windows Services utility: From the Start menu, select Programs, then Administrative Tools, then Services. Right-click any service that begins with Oracle, and then from the menu, select Stop.

  3. Create a ZIP file with the Oracle home (but not Oracle base) directory, selecting the Save full path info option.

    For example, if the source Oracle installation is in c:\oracle\product\10.2.0\db_1, you would zip the db_1 directory, leaving out the admin, flash_recovery_area, and oradata directories that are under 10.2.0. These directories are created in the target installation later on when you create a new database there.

  4. Copy the ZIP file to the root directory of the target computer.

  5. Extract the ZIP file contents, selecting the Use folder names option.

  6. Repeat Steps 4 and 5 for each computer where you want to clone the Oracle home, unless the Oracle home is on a shared storage device.

  7. In the source Oracle home, restart the services that you stopped in Step 2.

  8. On the target computer, cd to the unzipped Oracle home directory, and perform the following steps:

    1. Remove the *.ora files that are present in unzipped ORACLE_BASE\ORACLE_HOME\network\admin directory, such as listener.ora, sqlnet.ora, and tnsnames.ora.

    2. From the oui\bin directory, run Oracle Universal Installer in clone mode for the unzipped Oracle home. Use the following syntax:

      c:\ORACLE_BASE\ORACLE_HOME\oui\bin> setup.exe -silent -clone ORACLE_HOME="target location" ORACLE_HOME_NAME="unique_name_on node" [-responseFile full_directory_path]
      

      For example:

      c:\ORACLE_BASE\ORACLE_HOME\oui\bin> setup.exe -silent -clone ORACLE_HOME="c:\oracle\product\10.2.0\db_1" ORACLE_HOME_NAME="db_1"
      

      The -responseFile parameter is optional. You can supply clone-time parameters on the command line or by using the response file named on the command line.

    Oracle Universal Installer starts, and then records the cloning actions in the cloneActionstimestamp.log file. This log file is normally located in c:\Program Files\Oracle\Inventory\logs.

  9. To create a new database for the newly cloned Oracle home, run Oracle Database Configuration Assistant.

    To start Oracle Database Configuration Assistant, select Start, then Programs, then Oracle - HOME_NAME, then Configuration and Migration Tools, and then Database Configuration Assistant.

  10. To configure connection information for the new database, run Net Configuration Assistant.

    To start Net Configuration Assistant, select Start, then Programs, then Oracle - HOME_NAME, then Configuration and Migration Tools, and then Net Configuration Assistant.

See Also:

  • Oracle Database Administrator's Guide for information about cloning Oracle homes and Oracle databases

  • Oracle Universal Installer and OPatch User's Guide for additional information about cloning an Oracle home