2 Oracle Database Preinstallation Requirements

This chapter describes the the following installation requirements for an x64-bit Windows installation of Oracle Database:

Oracle Database Hardware Requirements

This section describes hardware component and hard disk space requirements.

Hardware Component Requirements

The following hardware components are required for Oracle Database:

Table 2-1 Hardware Requirements

Requirement Value

Physical memory (RAM)

512 MB minimum, 2 GB recommended

On Windows Vista and Windows Server 2008, the minimum requirement is 1 GB.

Virtual memory

Double the amount of RAM

Disk space

Total: 2.57 GB

See Table 2-2 for details.

Video adapter

256 colors

Processor

AMD64, or Intel Extended Memory 64 Technology (EM64T)


Hard Disk Space Requirements

This section lists system requirements for Windows platforms that use the NT File System (NTFS) file systems. Oracle recommends installing Oracle components on NTFS. NTFS allows for strong security of database files, trace files, incident data, and so on, stored in Oracle home.

The NTFS system requirements listed in this section are more accurate than the hard disk values reported by the Oracle Universal Installer Summary window. The Summary window does not include accurate values for disk space, the space required to create a database, or the size of compressed files that are expanded on the hard drive.

The hard disk requirements for Oracle Database components include 32 MB required to install Java Runtime Environment (JRE) and Oracle Universal Installer on the partition where the operating system is installed. If sufficient space is not detected, installation fails and an error message appears.

Table 2-2 lists the space requirements for NTFS, including requirement for the starter database. The starter database requires 720 MB of disk space.

Table 2-2 Disk Space Requirements for NTFS

Installation Type TEMP Space SYSTEM_DRIVE:\Program Files\Oracle Oracle Home Data Files * Total

Basic Installation

125 MB

100 MB

1.3 GB

1.05 GB

2.57 GB

Advanced Installation: Enterprise Edition

125 MB

100 MB

1.3 GB **

1.05 GB **

2.57 GB **

Advanced Installation: Standard Edition

125 MB

100 MB

1.3 GB **

1.05 GB **

2.57 GB **

Advanced Installation: Personal Edition

125 MB

100 MB

1.3 GB **

1.05 GB **

2.57 GB **


* Refers to the contents of the admin, flash_recovery_area, and oradata directories in the ORACLE_BASE directory.

** This size can be higher depending on the installation options selected, such as languages or additional components. If you choose to install Oracle Database with automated backups enabled, include at least 2 GB extra for data file disk space.

See Also:

"NTFS File System and Windows Registry Permissions" in Oracle Database Platform Guide for Microsoft Windows (x64)

Verifying Hardware Requirements

To ensure that the system meets these requirements, follow these steps:

  1. Determine the physical RAM size. For a computer using Windows 2003, for example, double-click System in the Windows Control Panel and click the General tab. If the size of the physical RAM installed in the system is less than the required size, then you must install more memory before continuing.

  2. Determine the size of the configured virtual memory (also known as paging file size). For a computer using Windows 2003, for example, double-click System in the Control Panel, click the Advanced tab, and click Settings in the Performance section. Then click the Advanced tab. The virtual memory is listed in the Virtual Memory section.

    If necessary, see your operating system documentation for information about how to configure additional virtual memory.

  3. Determine the amount of free disk space on the system. For a computer using Windows 2003, for example, double-click My Computer, right-click the drive where the Oracle software is to be installed, and select Properties.

  4. Determine the amount of disk space available in the temp directory. This is equivalent to the total amount of free disk space, minus what will be needed for the Oracle software to be installed.

    If there is less than 125 MB of disk space available in the temp directory, then first delete all unnecessary files. If the temp disk space is still less than 125 MB, then set the TEMP or TMP environment variable to point to a different hard drive. For a computer using Windows 2003, for example, double-click System in the Control Panel, click the Advanced tab, and click Environment Variables.

Oracle Database Software Requirements

Table 2-3 lists the software requirements for Oracle Database.

Table 2-3 Software Requirements

Requirement Value

System Architecture

Processor: AMD64, or Intel Extended Memory 64 Technology (EM64T)

Note: Oracle provides 32-bit (x86), 64-bit (Itanium), and 64-bit (x64) versions of Oracle Database for Microsoft Windows. Oracle certifies the 32-bit Oracle Database client on 64-bit Windows (x64). For additional information, visit OracleMetaLink at:

https://metalink.oracle.com

Operating System

Oracle Database for Windows x64 is supported on the following operating systems:

  • Windows Server 2003, Standard x64 Edition

  • Windows Server 2003, Enterprise x64 Edition

  • Windows Server 2003, Datacenter x64 Edition

  • Windows XP Professional x64 Edition

  • Windows Vista x64, Service Pack 1 - Business, Enterprise, and Ultimate editions

  • Windows Server 2008 x64 - Standard, Enterprise, Datacenter, Web, Standard without Hyper-V, Enterprise without Hyper-V, and Datacenter without Hyper-V editions

    The specific operating system components that are not supported are Windows Server 2008 x64 Hyper-V and Server Core.

Windows Multilingual User Interface Pack is supported on Windows Server 2003, Windows XP Professional, Windows Vista and Windows Server 2008.

Compiler

The following components are supported with the Windows 2003 Microsoft Platform SDK or later compiler and Intel compiler 8.1:

  • Oracle C++ Call Interface

  • Oracle Call Interface

  • External callouts

  • PL/SQL native compilation

  • Pro*C

  • XDK

Pro*COBOL is supported with Net Express 5.0 from 10.2.0.4 release on Windows x64.

GNU Compiler Collection (GCC) and Object Oriented COBOL (OOCOBOL) specifications are not supported.

Network Protocol

The Oracle Net foundation layer uses Oracle protocol support to communicate with the following industry-standard network protocols:

  • TCP/IP

  • TCP/IP with SSL

  • Named Pipes

Oracle Database Client

If you plan to connect to Oracle Database 10g release 2 (10.2) from a release of Oracle Database Client that is earlier than 10g release 2 (10.2), you will not be able to do so if the following conditions exist:

  • Oracle Database Client is running on the same computer as Oracle Database 10g release 2 (10.2).

  • Microsoft Windows Terminal Services is not running on the same computer as Oracle Database Client. Typically, Terminal Services is installed and configured with Microsoft Windows 2003, but on Windows XP or Windows Vista, it may not be installed or enabled.

  • Oracle Database Client is version 8.0, 9.0–9.2.0.6, or 10.1–10.1.0.3.

  • Oracle Database Client is not running as Administrator.

To remedy this problem, upgrade Oracle Database Client by using the latest Oracle Database Family patchset (9.2.0.7, or 10.1.0.4 or later). You can download the patchset from the Patches and Updates section of OracleMetaLink at:

https://metalink.oracle.com

Oracle Database Hardware and Software Certification

The platform-specific hardware and software requirements included in this installation guide were current at the time this guide was published. However, because new platforms and operating system software versions might be certified after this guide is published, review the certification matrix on the OracleMetaLink Web site for the most up-to-date list of certified hardware platforms and operating system versions. This Web site also provides compatible client and database versions, patches, and workaround information for bugs. The OracleMetaLink Web site is available at:

https://metalink.oracle.com/

You must register online before using OracleMetaLink. After logging in, click Certify & Availability from the left-hand column. From the Product Lifecycle page, click the Certifications button. Other Product Lifecycle options include Product Availability, Desupport Notices, and Alerts.

The following sections provide certification information:

Windows Telnet Services Support

Windows 2003 and Windows XP include a Telnet Service that allows remote users to log on to the operating system and run console programs using the command line, in the same way that they do on UNIX. Oracle supports the use of command line utilities, such as SQL*Plus, Export, Import, and SQL*Loader, using this feature, but does not support their GUI tools.

Note:

Ensure that the Telnet service is started on the Windows Services utility.

Windows Terminal Services and Remote Desktop Support

Oracle supports installing, configuring, and running Oracle Database through Terminal Services on Windows 2003, Windows XP, Windows Vista, and Windows Server 2008. If you encounter problems with the installation through Terminal Server, Oracle recommends that you try connecting to the Terminal Services console session of the server (using mstsc/console).

You can configure Windows 2003 to use Terminal Services in Remote Desktop for Administration Mode or Terminal Server Mode. For Windows XP and Windows Vista, the Remote Desktop is only available in Single User Mode. You can have multiple Remote Desktop sessions on Windows Server 2008.

See Also:

Components Supported on Windows x64 Operating Systems

All Oracle Database components are supported on Windows x64 operating systems with the following exceptions:

  • Oracle Enterprise Manager Grid Control media

    A 64-bit Windows version of Oracle Enterprise Manager Grid Control is not available in this release.

  • Oracle Enterprise Manager Grid Control Agent 10g Release 3 (10.2.0.3) is not supported on Windows Server 2008.

  • Oracle Database Lite is not supported on Windows Vista 64-bit and Windows Server 2008 64-bit.

  • DCE Adapter Support

  • Entrust PKI Support

  • GNU Compiler Collection (GCC)

  • Generic Connectivity

  • Oracle Messaging Gateway

  • Oracle Enterprise Integration Gateways, which include the following:

    • Oracle Procedural Gateway for APPC

    • Oracle Transparent Gateway for IBM DRDA

  • Oracle Open Gateways, which include the following:

    • Oracle Transparent Gateway for Sybase

    • Oracle Transparent Gateway for Teradata

    • Oracle Transparent Gateway for Microsoft SQL Server

    These are supported only on Windows XP.

  • Oracle HTML DB (Now called Oracle Application Express)

  • Oracle Real Application Clusters, including Cluster File System and Server Management are not supported on Windows XP and Windows Vista.

  • Business Components for Java (BC4J)

  • Oracle Clusterware

  • nCipher Accelerator Support

  • Oracle Enterprise Manager Java Console

  • CyberSafe Adapter Support

  • Oracle Migration Workbench

    You can execute Oracle Migration Workbench from a 32-bit Windows environment to migrate third-party databases, as supported by release 9.2.0.2.1 or later, to an Oracle Database 10g Release 2 (10.2) database installed on a 64-bit Windows computer.

  • Oracle Fail Safe Server

    Oracle Fail Safe Manager Console is supported on Windows XP but not on Windows Vista.

  • Oracle HTTP Server

  • Oracle Objects for OLE

  • Oracle Workflow Builder

  • Oracle Workflow

  • Java Server Pages

Additional 32-Bit Components Supporting Windows Vista x64 and Windows Server 2008 x64

32-bit Oracle Data Access Components (ODAC) 10.2.0.2.21 support Microsoft Windows Vista x64 and Windows Server 2008 x64.

The following two components must first be installed through ODAC 10.2.0.2.21 before they can be upgraded by Oracle Database 10g Release 2 (10.2.0.4):

  • Oracle Data Provider for .NET 2.0 (ODP.NET)

  • Oracle Database Extensions for .NET 2.0 (ODE)

They provide support for .NET Framework 2.0 and higher, and Microsoft Visual Studio 2005. These components were released after the original Oracle Database 10g Release 2 (10.2.0.1), that is the reason they require ODAC installation.

ODAC 10.2.0.2.21 is available for download from Oracle Technology Network:

http://www.oracle.com/technology/software/tech/windows/odpnet/index.html

See the installation instructions linked from the download web page for more information.

64-Bit Oracle .NET Components

64-bit Oracle Data Access Components (ODAC) 10.2.0.3 for Windows x64 are not supported on Windows Vista x64 and Windows Server 2008 x64. 64-bit Oracle Data Provider for .NET and 64-bit Oracle Database Extensions for .NET are supported on these two operating systems beginning with Oracle Database 10g Release 2 (10.2.0.4.0) for Microsoft Windows Vista x64 and Microsoft Windows Server 2008 x64.

Oracle Services for Microsoft Transaction Server Support

Microsoft introduced Agile Recovery to the Distributed Transaction Coordinator (DTC) with Windows Vista and Windows Server 2008. Oracle Services for Microsoft Transaction Server 10.2.0.4 and higher, with the exception of 11.1.0.6, support the new DTC when the minimum operating system level is Windows Vista with Service Pack 1 or Windows Server 2008.

Agile recovery permits "in-doubt" Microsoft Distributed Transaction Coordinator (MSDTC) transaction outcomes on one node of a mid-tier Windows cluster to be queried through the MSDTCs on other participating cluster nodes. It only applies to Windows machines in a mid-tier clustered environment.

Web Browser Support

The following Web browsers are supported for iSQL*Plus and Oracle Enterprise Manager Database Control:

  • Netscape Navigator 7.2 and later

  • Microsoft Internet Explorer 6.0 (Microsoft Internet Explorer 7.0 on Windows Vista)

  • Mozilla version 1.7 and later

  • Safari 1.2

  • Firefox 1.0.4

Oracle Database Network Topics

Typically, the computer on which you want to install Oracle Database is connected to the network, has local storage to contain the Oracle Database installation, has a display monitor, and has a media drive.

This section describes how to install Oracle Database on computers that do not meet the typical scenario. It covers the following topics:

Installing Oracle Database on DHCP Computers

Dynamic Host Configuration Protocol (DHCP) assigns dynamic IP addresses on a network. Dynamic addressing allows a computer to have a different IP address each time it connects to the network. In some cases, the IP address can change while the computer is still connected. You can have a mixture of static and dynamic IP addressing in a DHCP system.

In a DHCP setup, the software tracks IP addresses, which simplifies network administration. This lets you add a new computer to the network without having to manually assign that computer a unique IP address. However, before installing Oracle Database onto a computer that uses the DHCP protocol, you need to install a loopback adapter to assign a local IP address to that computer.

Installing Oracle Database on Computers with Multiple IP Addresses

You can install Oracle Database on a computer that has multiple IP addresses, also known as a multihomed computer. Typically, a multihomed computer has multiple network cards. Each IP address is associated with a host name; additionally, you can set up aliases for the host name. By default, Oracle Universal Installer uses the ORACLE_HOSTNAME environment variable setting to find the host name. If ORACLE_HOSTNAME is not set and you are installing on a computer that has multiple network cards, Oracle Universal Installer determines the host name by using the first name in the hosts file, typically located in SYSTEM_DRIVE:\WINDOWS\system32\drivers\etc on Windows 2003 and Windows XP.

Clients must be able to access the computer using this host name, or using aliases for this host name. To check, ping the host name from the client computers using the short name (host name only) and the full name (host name and domain name). Both must work.

Setting the ORACLE_HOSTNAME Environment Variable

To set the ORACLE_HOSTNAME environment variable:

  1. Display System in the Windows Control Panel.

  2. In the System Properties dialog box, click Advanced.

  3. In the Advanced tab, click Environment Variables.

  4. In the Environment Variables dialog box, under System Variables, click New.

  5. In the New System Variable dialog box, enter the following information:

    • Variable name: ORACLE_HOSTNAME

    • Variable value: The host name of the computer that you want to use.

  6. Click OK, then in the Environment Variables dialog box, click OK.

  7. Click OK in the Environment Variables dialog box, then in the System Properties dialog box, click OK.

Installing Oracle Database on Computers with Multiple Aliases

A computer with multiple aliases is registered with the naming service under a single IP but with multiple aliases. The naming service resolves any of those aliases to the same computer. Before installing Oracle Database on such a computer, set the ORACLE_HOSTNAME environment variable to the computer whose host name you want to use.

Installing Oracle Database on Non-Networked Computers

You can install Oracle Database on a non-networked computer. If the computer, such as a laptop, is configured for DHCP and you plan to connect the computer to the network after the Oracle Database installation, perform these steps before you install Oracle Database on the non-networked computer.

  1. Install a loopback adapter on the computer.

    The loopback adapter and local IP address simulate a networked computer. If you connect the computer to the network, Oracle Database still uses the local IP and host name.

  2. Ping the computer from itself, using only the host name and using the fully qualified name, which should be in the etc\host file.

    For example, if you installed a loopback adapter on a computer called mycomputer on the mydomain.com domain, check the following:

    SYSTEM_DRIVE\> ping mycomputer                Ping itself using just the hostname.
    Reply from 10.10.10.10                    Returns local IP.
    SYSTEM_DRIVE:\> ping mycomputer.mydomain.com   Ping using a fully qualified name.
    Reply from 10.10.10.10                    Returns local IP.
    

    Note:

    When you ping a computer from itself, the ping command should return the local IP address (the IP address of the loopback adapter).

    If the ping command fails, contact your network administrator.

Connecting the Computer to the Network after Installation

If you connect the computer to a network after installation, the Oracle Database instance on your computer can work with other instances on the network. Remember that you must have installed a loopback adapter on your computer. Your computer can use a static IP or DHCP, depending on the network to which you are connected.

Installing a Loopback Adapter

When you install a loopback adapter, the loopback adapter assigns a local IP address for your computer. After you install a loopback adapter on your computer, you have at least two network adapters on your computer: your own network adapter and the loopback adapter. Oracle Database needs to have Windows using the loopback adapter as the primary adapter.

The primary adapter is determined by the order in which you installed the adapters: it is the last adapter installed. If you install additional network adapters after you install the loopback adapter, you need to deinstall the loopback adapter and reinstall it.

A loopback adapter is required if:

This section covers the following topics:

Checking if a Loopback Adapter Is Installed on Your Computer

To check if a loopback adapter is installed on your computer, run the ipconfig /all command:

SYSTEM_DRIVE:\> ipconfig /all

If there is a loopback adapter installed, you would see a section that lists the values for the loopback adapter. For example:

Ethernet adapter Local Area Connection 2:
  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : Microsoft Loopback Adapter
  Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
  DHCP Enabled. . . . . . . . . . . : Yes
  Autoconfiguration Enabled . . . . : Yes
  Autoconfiguration IP Address. . . : 169.254.25.129
  Subnet Mask . . . . . . . . . . . : 255.255.0.0

Installing a Loopback Adapter on Windows 2003 or Windows XP

To install a loopback adapter on Windows 2003or Windows XP:

  1. Open the Windows Control Panel.

  2. Double-click Add Hardware to start the Add Hardware wizard.

  3. In the Welcome window, click Next.

  4. In the Is the hardware connected? window, select Yes, I have already connected the hardware, and click Next.

  5. In the The following hardware is already installed on your computer window, in the list of installed hardware, select Add a new hardware device, and click Next.

  6. In the The wizard can help you install other hardware window, select Install the hardware that I manually select from a list, and click Next.

  7. From the list of hardware types, select the type of hardware you are installing window, select Network adapters, and click Next.

  8. In the Select Network Adapter window, make the following selections:

    • Manufacturer: Select Microsoft.

    • Network Adapter: Select Microsoft Loopback Adapter.

  9. Click Next.

  10. In the The wizard is ready to install your hardware window, click Next.

  11. In the Completing the Add Hardware Wizard window, click Finish.

  12. If you are using Windows 2003, restart your computer.

  13. Right-click My Network Places on the desktop and choose Properties. This displays the Network Connections Control Panel.

  14. Right-click the connection that was just created. This is usually named "Local Area Connection 2". Choose Properties.

  15. On the General tab, select Internet Protocol (TCP/IP), and click Properties.

  16. In the Properties dialog box, click Use the following IP address and do the following:

    1. IP Address: Enter a non-routable IP for the loopback adapter. Oracle recommends the following non-routable addresses:

      • 192.168.x.x (x is any value between 0 and 255)

      • 10.10.10.10

    2. Subnet mask: Enter 255.255.255.0 for 192.68.x.x.

      Enter 255.0.0.0 for 10.10.10.10.

    3. Record the values you entered, which you will need later in this procedure.

    4. Leave all other fields empty.

    5. Click OK.

  17. Click OK.

  18. Close Network Connections.

  19. Restart the computer.

  20. Add a line to the SYSTEM_DRIVE:\WINDOWS\system32\drivers\etc\hosts file with the following format, after the localhost line:

    IP_address   hostname.domainname   hostname
    

    where:

    • IP_address is the non-routable IP address you entered in step 16.

    • hostname is the name of the computer.

    • domainname is the name of the domain.

    For example:

    10.10.10.10   mycomputer.mydomain.com   mycomputer
    
  21. Check the network configuration:

    1. Open System in the Control Panel, and select the Computer Name tab. In Full computer name, make sure you see the host name and the domain name, for example, sales.us.mycompany.com.

    2. Click Change. In Computer name, you should see the hostname, and in Full computer name, you should see the host name and domain name. Using the previous example, the host name would be sales and the domain would be us.mycompany.com.

    3. Click More. In Primary DNS suffix of this computer, you should see the domain name, for example, us.mycompany.com.

Installing a Loopback Adapter on Windows Vista and Windows Server 2008

To install a loopback adapter on Windows Vista or Windows Server 2008:

  1. Open the Windows Control Panel.

  2. Double-click Add Hardware to start the Add Hardware wizard.

  3. In the Welcome window, click Next.

  4. In the The wizard can help you install other hardware window, select Install the hardware that I manually select from a list, and click Next.

  5. From the list of hardware types, select the type of hardware you are installing window, select Network adapters, and click Next.

  6. In the Select Network Adapter window, make the following selections:

    • Manufacturer: Select Microsoft.

    • Network Adapter: Select Microsoft Loopback Adapter.

  7. Click Next.

  8. In the The wizard is ready to install your hardware window, click Next.

  9. In the Completing the Add Hardware Wizard window, click Finish.

The remaining steps are same as given for Windows XP.

Removing a Loopback Adapter

To remove a loopback adapter:

  1. Display System in the Windows Control Panel.

  2. In the Hardware tab, click Device Manager.

  3. In the Device Manager window, expand Network adapters. You should see Microsoft Loopback Adapter.

  4. Right-click Microsoft Loopback Adapter and select Uninstall.

  5. Click OK.

Individual Component Requirements

This section contains these topics:

Configuring Disk Storage for Oracle Data Files and Recovery Files

This section describes the storage options for storing Oracle data files and, optionally, Oracle database recovery files. After you choose the storage method that you want to use for each file type, use the following sections to configure the required storage:

Note:

You do not have to use the same storage option for each type of file.

Choosing a Storage Option for Oracle Data Files

If you want to create a database during the installation, you must choose one of the following storage options for the data files:

  • File system

  • Automatic Storage Management

Choosing a Storage Option for Oracle Database Recovery Files

If you want to enable automated backups during the installation, you must choose one of the following storage options for recovery files (the flash recovery area):

  • File system

  • Automatic Storage Management

The storage option that you choose for recovery files can be the same as or different to the option you choose for the data files.

Configuring Disk Storage

For more information about these options, see the "Database Storage Options" section. For information about how to configure disk storage before you start the installation, see one of the following sections depending on your choice:

Creating Directories for Oracle Data Files or Recovery Files

If you decide to place the Oracle database or recovery files on a file system, use the following guidelines when deciding where to place them:

Guidelines for Placing Oracle Data Files on a File System

  • You can choose either a single file system or more than one file system to store the data files:

    • If you want to use a single file system, choose a file system on a physical device that is dedicated to the database.

      For best performance and reliability, choose a redundant array of independent disks (RAID) device or a logical volume on more than one physical device and implement the stripe and mirror everything (SAME) methodology.

    • If you want to use more than one file system, choose file systems on separate physical devices that are dedicated to the database.

      Select this method to distribute physical I/O and create separate control files on different devices for increased reliability. It also enables full implementation of the Optimal Flexible Architecture guidelines described in Appendix B, "Optimal Flexible Architecture". You must choose either the Advanced database creation option or the Custom installation type during the installation to implement this method.

  • If you intend to create a preconfigured database during the installation, the file system (or file systems) that you choose must have at least 950 MB of free disk space.

    For production databases, you must estimate the disk space requirement depending how you plan to use database.

  • For optimum performance, the file systems that you choose should be on physical devices that are used only by the database.

  • The default location suggested by Oracle Universal Installer for the database file directory is a subdirectory of the Oracle base directory. However, this default location is not recommended for production databases.

Guidelines for Placing Oracle Recovery Files on a File System

Note:

You must choose a location for recovery files only if you intend to enable automated backups during the installation.

If you place the Oracle recovery files on a file system, use the following guidelines when deciding where to place them:

  • To prevent disk failure from making both the data files and the recovery files unavailable, place the recovery files in a file system on a different physical disk from the data files.

    Note:

    Alternatively, for both data files and recovery files, use an Automatic Storage Management disk group.
  • The file system that you choose should have at least 2 GB of free disk space.

    The disk space requirement is the default disk quota configured for the flash recovery area (specified by the DB_RECOVERY_FILE_DEST_SIZE initialization parameter).

    If you choose the Custom installation type or the Advanced database configuration option, you can specify a different disk quota value. After you create the database, you can also use Oracle Enterprise Manager Database Control to specify a different value.

    See Also:

    Oracle Backup and Recovery Basics for more information about the flash recovery area
  • The default location suggested by Oracle Universal Installer for the database file directory is a subdirectory of the Oracle base directory. However, this default location is not recommended for production databases.

Creating Required Directories

Note:

You must complete this procedure only if you want to place the Oracle database or recovery files on a separate file system from the Oracle base directory.

To create directories for the Oracle database or recovery files on separate file systems from the Oracle base directory, follow these steps:

  1. Use Windows Explorer to determine the free disk space on the file system.

  2. From the display, identify the file systems that you want to use:

    File Type File System Requirements
    Data files Choose either:
    • A single file system with at least 950 MB of free disk space.

    • Two or more file systems with at least 950 MB of free disk space in total.

    Recovery files Choose a file system with at least 2 GB of free disk space.

    If you are using the same file system for more than one type of file, add the disk space requirements for each type to determine the total disk space requirement.

  3. Note the names of the directories for the file systems that you identified.

  4. If you also want to use Automatic Storage Management, refer to "Preparing Disk Groups for an Automatic Storage Management Installation" for instructions. Otherwise see the "Stopping Existing Oracle Services" section.

Preparing Disk Groups for an Automatic Storage Management Installation

If you plan to use Automatic Storage Management (ASM) to manage database files for your databases, use the procedures in this section to prepare disk groups before you install an Automatic Storage Management instance.

This section covers the following topics:

General Steps for Preparing Disk Groups for an ASM Installation

You will follow these general steps to configure Automatic Storage Management:

  1. Identify your site's storage requirements.

  2. Optionally, use an existing Automatic Storage Management disk group.

  3. If you are creating a new Automatic Storage Management disk group, create partitions for direct attached storage (DAS) or storage area network (SAN) disks.

  4. Use one of the following methods to complete the Automatic Storage Management configuration:

    • If you plan to install Oracle Database using interactive mode, Oracle Universal Installer prompts you for the Automatic Storage Management disk configuration information during the installation.

    • If you plan to install Oracle Database using silent or noninteractive mode, you will need to manually configure the disks before performing the installation.

Step 1: Identifying Storage Requirements for Automatic Storage Management

To identify the storage requirements for using Automatic Storage Management, you must determine how many devices and the amount of free disk space that you require. To complete this task, follow these steps:

  1. Determine whether you want to use Automatic Storage Management for Oracle data files, recovery files, or both.

    Note:

    You do not have to use the same storage mechanism for data file and recovery files. One storage mechanism can use the file system while the other uses Automatic Storage Management. If you plan to use Automatic Storage Management for both data files and recovery files, you should create separate ASM disk groups for the data files and the recovery files.

    If you plan to enable automated backups during the installation, you can choose Automatic Storage Management as the storage mechanism for recovery files by specifying an ASM disk group for the flash recovery area. Depending how you choose to create a database during the installation, you have the following options:

    • If you select an installation method that runs Oracle Database Configuration Assistant in interactive mode, by choosing the Advanced database configuration option for example, then you can decide whether you want to use the same ASM disk group for data files and recovery files, or you can choose to use different disk groups for each file type. Ideally, you should create separate ASM disk groups for data files and recovery files.

      The same choice is available to you if you use Oracle Database Configuration Assistant after the installation to create a database.

    • If you select an installation type that runs Oracle Database Configuration Assistant in noninteractive mode, then you must use the same ASM disk group for data files and recovery files.

  2. Decide on the Automatic Storage Management redundancy level that you want to use for each Automatic Storage Management disk group you will create.

    The redundancy level that you choose for the Automatic Storage Management disk group determines how ASM mirrors files in the disk group and determines the number of disks and amount of disk space that you require. The redundancy levels are as follows:

    • External redundancy

      An external redundancy disk group requires a minimum of one disk device. The effective disk space in an external redundancy disk group is the sum of the disk space in all of its devices.

      Because Automatic Storage Management does not mirror data in an external redundancy disk group, Oracle recommends that you use only RAID or similar devices that provide their own data protection mechanisms as disk devices in this type of disk group.

    • Normal redundancy

      In a normal redundancy disk group, by default Automatic Storage Management uses two-way mirroring for data files and three-way mirroring for control files, to increase performance and reliability. Alternatively, you can use two-way mirroring or no mirroring. A normal redundancy disk group requires a minimum of two failure groups (or two disk devices) if you are using two-way mirroring. The effective disk space in a normal redundancy disk group is half the sum of the disk space in all of its devices.

      For most installations, Oracle recommends that you use normal redundancy disk groups.

    • High redundancy

      In a high redundancy disk group, Automatic Storage Management uses three-way mirroring to increase performance and provide the highest level of reliability. A high redundancy disk group requires a minimum of three disk devices (or three failure groups). The effective disk space in a high redundancy disk group is one-third the sum of the disk space in all of its devices.

      While high redundancy disk groups do provide a high level of data protection, you must consider the higher cost of additional storage devices before deciding to use this redundancy level.

  3. Determine the total amount of disk space that you require for the data files and recovery files.

    Use the following table to determine the minimum number of disks and the minimum disk space requirements for the installation:

    Redundancy Level Minimum Number of Disks Data Files Recovery FIles Both File Types
    External 1 1.15 GB 2.3 GB 3.45 GB
    Normal 2 2.3 GB 4.6 GB 6.9 GB
    High 3 3.45 GB 6.9 GB 10.35 GB

    If an ASM instance is already on the system, you can use an existing disk group to meet these storage requirements. If necessary, you can add disks to an existing disk group during the installation.

    The following step describes how to identify existing disk groups and determine the free disk space that they contain.

  4. Optionally identify failure groups for the ASM disk group devices.

    Note:

    You need to complete this step only if you intend to use an installation method that runs Oracle Database Configuration Assistant in interactive mode, for example, if you intend to choose the Custom installation type or the Advanced database configuration option. Other installation types do not allow you to specify failure groups.

    If you intend to use a normal or high redundancy disk group, you can further protect your database against hardware failure by associating a set of disk devices in a custom failure group. By default, each device comprises its own failure group. However, if two disk devices in a normal redundancy disk group are attached to the same SCSI controller, the disk group becomes unavailable if the controller fails. The controller in this example is a single point of failure.

    To avoid failures of this type, you could use two SCSI controllers, each with two disks, and define a failure group for the disks attached to each controller. This configuration would enable the disk group to tolerate the failure of one SCSI controller.

    Note:

    If you define custom failure groups, you must specify a minimum of two failure groups for normal redundancy disk groups and three failure groups for high redundancy disk groups.
  5. If you are sure that a suitable disk group does not exist on the system, install or identify appropriate disk devices to add to a new disk group. Use the following guidelines when identifying appropriate disk devices:

    • All of the devices in an ASM disk group should be the same size and have the same performance characteristics.

    • Do not specify more than one partition on a single physical disk as a disk group device. Automatic Storage Management expects each disk group device to be on a separate physical disk.

    • Although you can specify a logical volume as a device in an Automatic Storage Management disk group, Oracle does not recommend their use. Logical volume managers can hide the physical disk architecture, preventing Automatic Storage Management from optimizing I/O across the physical devices.

    See Also:

    "Step 4: Manually Configuring Disks for Automatic Storage Management" for information about completing this task

Step 2 (Optional): Using an Existing Automatic Storage Management Disk Group

If you want to use Automatic Storage Management as the storage option for either database or recovery files, and an existing Automatic Storage Management disk group exists, you have the following choices, depending on the installation method that you select:

  • If you select an installation method that runs Oracle Database Configuration Assistant in interactive mode, by choosing the Advanced database configuration option for example, you can decide whether you want to create a new disk group or use an existing one.

    The same choice is available to you if you use Oracle Database Configuration Assistant after the installation to create a database.

  • If you select an installation type that runs Oracle Database Configuration Assistant in noninteractive mode, you must choose an existing disk group for the new database. You cannot create a new disk group. However, you can add disk devices to an existing disk group if it has insufficient free space for your requirements.

Note:

The Automatic Storage Management instance that manages the existing disk group can be running in a different Oracle home directory.

To determine whether an existing ASM disk group exists, or to determine whether there is sufficient disk space in a disk group, you can use Oracle Enterprise Manager Database Control. Alternatively, you can use the following procedure:

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

  2. Open a Windows command prompt and temporarily set the ORACLE_SID environment variable to specify the appropriate value for the ASM instance that you want to use.

    For example, if the ASM SID, which is named +ASM, is located in the asm directory, you would enter the following setting:

    SYSTEM_DRIVE:\> set ORACLE_SID = +ASM
    
  3. Connect to the ASM instance as the SYS user with the 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;
    
  5. From the output, identify a disk group with the appropriate redundancy level and note the free space that it contains.

  6. If necessary, install, or identify the additional disk devices required to meet the storage requirements listed in the previous section.

    Note:

    If you are adding devices to an existing disk group, Oracle recommends that you use devices that have the same size and performance characteristics as the existing devices in that disk group.

Step 3: Creating DAS or SAN Disk Partitions for an ASM Instance

In order to use a DAS or SAN disk in Automatic Storage Management, the disk must have a partition table. Oracle recommends creating exactly one partition for each disk containing the entire disk.

Note:

You can use any physical disk for Automatic Storage Management, as long as it is partitioned. You cannot use NAS or Microsoft dynamic disks, however.

This section covers the following topics.

Step 1: Enabling Disk Automounting for Windows Server 2003 and Windows Server 2008

Before you can configure partitions or logical drives on Windows Server 2003 and Windows Server 2008, you must enable disk automounting. Enable disk automounting when using:

  • Disk partitions on both single-instance and Oracle Real Application Clusters (Oracle RAC) installations

  • Cluster file system for Oracle Real Application Clusters

  • Oracle Clusterware

  • Raw partitions for a single-node database installation

  • Primary or logical partitions for Automatic Storage Management (ASM)

To enable automounting:

  1. Enter the following commands at a command prompt:

    SYSTEM_DRIVE:\> diskpart
    DISKPART> automount enable
    DISKPART> exit
    
  2. Restart your computer.

Step 2: Creating the Disk Partitions

To create disk partitions, use the disk administration tools provided by the operating system or third party vendors. The following administration tools are provided by the operating system:

  • The graphical user interface Disk Management snap-in to manage disks.

    To access this tool, type diskmgmt.msc at the command prompt. Alternatively, from the Start menu, select Programs, then Administrative Tools, then Computer Management. Then select the Disk Management node in the Storage tree.

    On Windows Vista and Windows Server 2008, create primary partitions and logical drives in extended partitions by right-clicking in the unallocated space for the disk and selecting the New Simple Volume option. To create a raw device, select Do not assign a drive letter or drive path. To mount the raw device, assign and remove a drive letter. Do not use spanned volumes or striped volumes. These options will convert the volume to a dynamic disk. Automatic Storage Management does not support dynamic disks.

  • The command line tool diskpart.exe, which lets you create primary partitions, extended partitions, and logical drives.

    diskpart.exe is included with the Windows 2003, Windows XP, Windows Vista, and Windows Server 2008 operating systems.

    To access this tool, enter diskpart.exe at the command prompt. The syntax for using diskpart.exe for the procedures in this section is as follows:

    SYSTEM_DRIVE:\> diskpart
    DISKPART> select disk diskn
    DISKPART> create partition primary | extended | logical size=sizen
    DISKPART> 
    

    where:

    • diskpart.exe is the command line tool for managing disks.

    • diskn is the disk number where the partitions are created.

    • sizen is the size of the partition, for example 500 represents 500 MB.

See Also:

The online help or documentation for the administration tool you are using

You can enter the diskpart.exe commands directly at the command line; alternatively, you can enter the commands in a text file, and then run diskpart /s using this file as a script.

For example, to create the disk partitions on Disk 5 and assign them each a size:

DISKPART> select disk 5
DISKPART> create partition primary size=500
DISKPART> ... 
DISKPART> create partition primary size=800

If you prefer to use logical drives, you can create an extended partition and then assign the logical drives within it. For example:

DISKPART> create partition extended
DISKPART> create partition logical size=500
DISKPART> create partition logical size=700

Step 4: Manually Configuring Disks for Automatic Storage Management

To use Automatic Storage Management with direct attached storage (DAS) or storage area network (SAN) storage, the disks must be stamped with a header. If you install Oracle Database in interactive mode, Oracle Universal Installer configures the disks' headers during the installation process. However, if you plan to install Oracle Database in noninteractive mode, you need to manually configure the disks before installation by using either asmtoolg (GUI version) or asmtool (command-line version). You can also use these tools to reconfigure the disks later on after installation. The asmtoolg and asmtool utilities only work on partitioned disks—you cannot use Automatic Storage Management on unpartitioned disks.

The asmtoolg and asmtool tools associate meaningful, persistent names with disks to facilitate using those disks with Automatic Storage Management. Automatic Storage Management uses disk strings to more easily operate on groups of disks at once, so the names that asmtoolg or asmtool creates make this easier than using Windows drive letters.

All disk names created by asmtoolg or asmtool begin with the prefix ORCLDISK followed by a user-defined prefix (the default is DATA) and a disk number for identification purposes. You can use them as raw devices in the Automatic Storage Management instance by specifying a name \\.\ORCLDISKprefixn where prefix can be either DATA or a value you supply, and n represents the disk number.

Using the asmtoolg Tool (Graphical User Interface)

The asmtoolg tool is a graphical interface for creating device names. Use asmtoolg to add, change, delete, and examine the devices available for use in Automatic Storage Management.

To add or change disk stamps:

  1. In the installation media labeled Oracle Database 10g Release 2 (10.2), navigate to database\asmtool and double-click asmtoolg.

    If Oracle Database is already installed, go to ORACLE_BASE\ORACLE_HOME\bin and double-click asmtoolg.

  2. Select the Add or change label option, then click Next.

    The asmtoolg tool will show the devices available on the system. Unrecognized disks are labeled as "Candidate device", raw device files as "Oracle raw device file", stamped Automatic Storage Management disks as "Stamped ASM disk", and unstamped Automatic Storage Management disks as "Unstamped ASM disks." The tool also shows disks that are recognized by Windows as a file system (such as NTFS). These are not available for use as disks and cannot be selected. In addition, Microsoft Dynamic disks are not available for use as ASM disks.

    If necessary, follow the steps under "Step 3: Creating DAS or SAN Disk Partitions for an ASM Instance" to create a disk partition for the ASM instance.

  3. In the Stamp Disks window, select the disks to stamp.

    Automatic Storage Management can generate unique stamps for all of the devices selected for a given prefix. The stamps are generated by concatenating a number with the prefix specified. For example, if the prefix is DATA, then the first Automatic Storage Management link name is ORCLDISKDATA0.

    You can also specify the stamps of individual devices.

  4. Optionally, select a disk to edit the individual stamp (Automatic Storage Management link name).

  5. Click Next.

  6. Click Finish.

To delete disk stamps:

  1. Select the Delete labels option, then click Next.

    The delete option is only available if disks exist with stamps. The delete window shows all stamped Automatic Storage Management disks.

  2. In the Delete Stamps window, select the disks to unstamp.

  3. Click Next.

  4. Click Finish.

Using the asmtool Utility (Command Line)

The asmtool utility is a command-line interface for stamping disks. It has the following options:

Option                  Description Example
-add Adds or changes stamps. You must specify the hard disk, partition, and new stamp name. If the disk is a raw device or has an existing Automatic Storage Management stamp, then you must specify the -force option. Also sets ASM instances to rescan the available disks.

If you need to partition a disk, follow the procedures under "Step 3: Creating DAS or SAN Disk Partitions for an ASM Instance".

asmtool -add [-force]
\Device\Harddisk1\Partition1 ORCLDISKASM0
\Device\Harddisk2\Partition1 ORCLDISKASM2...
-addprefix Adds or changes stamps using a common prefix to generate stamps automatically. The stamps are generated by concatenating a number with the prefix specified. If the disk is a raw device or has an existing Automatic Storage Management stamp, then you must specify the -force option. Also sets ASM instances to rescan the available disks
asmtool -addprefix ORCLDISKASM [-force]
\Device\Harddisk1\Partition1
\Device\Harddisk2\Partition1...
-list List available disks. The stamp, windows device name, and disk size in megabytes are shown. Some disks may be file systems, and cannot be stamped. If the disk is a raw device or has an existing ASM stamp, then you must specify the -force option.
asmtool -list [-force]
-delete Removes existing stamps from disks. Also sets ASM instances to rescan the available disks
asmtool -delete ORCLDISKASM0 ORCLDISKASM1...

Stopping Existing Oracle Services

Note:

If you are installing additional Oracle Database components in an existing Oracle home, stop all processes running in the Oracle home. You must complete this task to enable Oracle Universal Installer to relink certain executables and libraries.

If you choose to create a database during the installation, most installation types configure and start a default Oracle Net listener using TCP/IP port 1521 and the IPC key value EXTPROC. However, if an existing Oracle Net listener process is using the same port or key value, Oracle Universal Installer can only configure the new listener; it cannot start it. To ensure that the new listener process starts during the installation, you must shut down any existing listeners before starting Oracle Universal Installer.

Oracle Advanced Security Requirements

Satisfy hardware and software requirements so that you can use authentication support with Oracle components. Some Oracle Advanced Security components can use a Lightweight Directory Access Protocol (LDAP) directory such as Oracle Internet Directory.

See Also:

Oracle Database Advanced Security Administrator's Guide

Oracle-Managed Files Requirements

If you choose the Custom installation type or the Advanced database creation option, you can use the Oracle-managed files feature with the new database. If you use this feature, you need only specify the database object name instead of file names when creating or deleting database files. Configuration procedures are required to enable Oracle Managed Files.

See Also:

"Using Oracle-Managed Files" in Oracle Database Administrator's Guide

Oracle Real Application Clusters

If you plan to install Oracle Real Application Clusters, you must first install Oracle Clusterware.

See Also:

Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for your platform, available on the Oracle Clusterware installation media