Skip Headers
Oracle® Database Installation Guide
11g Release 2 (11.2) for Microsoft Windows

Part Number E10843-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

3 Oracle Grid Infrastructure

Note:

Grid Infrastructure is only available on 64-bit Windows.

The Oracle grid infrastructure for a standalone server is the Oracle software that provides system support for an Oracle database including volume management, file system, and automatic restart capabilities. If you plan to use Oracle Restart or Automatic Storage Management, you must install the grid infrastructure before installing your database. The grid infrastructure for a standalone server is the software that includes Oracle Restart and Automatic Storage Management, which provides the infrastructure for a standalone server in an enterprise grid architecture. Oracle combined the two infrastructure products into a single set of binaries that is installed as the grid infrastructure home. The grid infrastructure should be installed before installing Oracle Database 11g Release 2.

Automatic Storage Management is a volume manager and a file system for Oracle database files that supports single-instance Oracle Database and Oracle Real Application Clusters (Oracle RAC) configurations. Automatic Storage Management also supports a general purpose file system for your application needs including Oracle Database binaries. Automatic Storage Management is Oracle's recommended storage management solution that provides an alternative to conventional volume managers, file systems, and raw devices.

Oracle Restart improves the availability of your Oracle database by providing the following:

Note:

This chapter contains the following sections:

3.1 Requirements for Oracle Grid Infrastructure Installation

The system must meet the following requirements:

3.1.1 Memory Requirements

Grid Infrastructure requires at least 1 GB of RAM for installation.

3.1.2 Disk Space Requirements

The following are the disk space requirements for installing grid infrastructure:

At least 2 GB of disk space

The amount of disk space available in the %TEMP% directory is equivalent to the total amount of free disk space, minus what is required for the grid infrastructure to be installed.

If there is less than 1 GB free disk space available in the %TEMP% directory, then complete of the following steps:

  • Delete unnecessary files from the %TEMP% directory to meet the disk space requirement.

  • Set TEMP environment variable. Go to System Properties, then Environment Variables , "TEMP=C:\Temp\"

3.2 Oracle ACFS and Oracle ADVM Support

Oracle Automatic Storage Management Cluster File System (Oracle ACFS) extends Automatic Storage Management technology to support of all of your application data in both single host and cluster configurations. Oracle Automatic Storage Management Dynamic Volume Manager (Oracle ADVM) provides volume management services and a standard disk device driver interface to clients. Oracle Automatic Storage Management Cluster File System is layered on Automatic Storage Management through the Oracle Automatic Storage Management Dynamic Volume Manager interface.

Oracle Automatic Storage Management Cluster File System and Oracle Automatic Storage Management Dynamic Volume Manager are supported only on Windows Server 2003 64-bit.

Note:

Oracle recommends that Oracle data files are installed in Oracle ASM disk groups. Installing Oracle data files on an Oracle ACFS file system is not supported. Oracle ACFS can be used as an option only when Automatic Storage Management is configured.

See Also:

3.3 Migrating Existing Automatic Storage Management Instances

If you have an Automatic Storage Management installation from a previous release installed on your server, or in an existing Oracle grid infrastructure installation, you can use Oracle Automatic Storage Management Configuration Assistant to upgrade the existing Automatic Storage Management instance to 11g Release 2 (11.2), and subsequently configure disk groups, Automatic Storage Management volumes and Automatic Storage Management file systems.

Note:

You must first shut down all databases and applications using an existing Oracle Automatic Storage Management instance before upgrading it.

During installation, if you chose to use Oracle Automatic Storage Management and Oracle Automatic Storage Management Configuration Assistant detects that there is an earlier Oracle Automatic Storage Management version installed in another Oracle Automatic Storage Management home, then after installing the Oracle Automatic Storage Management 11g Release 2 (11.2) binaries, you can start Oracle Automatic Storage Management Configuration Assistant to upgrade the existing Oracle Automatic Storage Management instance. You can then choose to configure an Automatic Storage Management File System deployment by using the Automatic Storage Management Configuration Assistant to create an Oracle Automatic Storage Management Dynamic Volume and an Oracle Automatic Storage Management Cluster File System (Oracle ACFS).

3.4 Automatic Storage Management Installation Considerations

In previous releases, Oracle Automatic Storage Management (Oracle ASM) was installed as part of the Oracle Database installation. With Oracle Database 11g Release 2 (11.2), Automatic Storage Management is part of an Oracle grid infrastructure installation, either for a cluster, or for a standalone server.

If you want to upgrade an existing Automatic Storage Management installation, then you must upgrade Automatic Storage Management by running an Oracle grid infrastructure upgrade (upgrades of existing Automatic Storage Management installations). If you do not have Automatic Storage Management installed and you want to use Automatic Storage Management as your storage option, then you must complete an Oracle grid infrastructure installation before you start your Oracle Database installation.

You must run Oracle Automatic Storage Management Configuration Assistant for installing and configuring Oracle ASM instances, disk groups, volumes, and Oracle Automatic Storage Management Cluster File System (Oracle ACFS). In addition, you can use the ASMCA command-line interface as a non-GUI utility.

See Also:

Chapter 11, "Oracle ASM Configuration Assistant" in Oracle Database Storage Administrator's Guide for information on Oracle ASMCA

Apply the following guidelines when you install Oracle Automatic Storage Management:

3.5 Preparing Disks for an Automatic Storage Management Installation

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

This section covers the following topics:

Note:

Oracle does not recommend using identifiers for database object names that must be quoted. While these quoted identifiers may be valid as names in the SQL CREATE statement, such as CREATE DISKGROUP "1data" ..., the names may not be valid when using other tools that manage the database object.

3.5.1 General Steps for Configuring Automatic Storage Management

The following are the general steps to configure Automatic Storage Management:

  1. Identify your site's storage requirements.

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

  3. Use asmtool to stamp the disks before using them for Automatic Storage Management.

    See Also:

    "Step 4: Manually Configuring Disks for Automatic Storage Management" for more information about stamping the disks
  4. Configure the disks for use with Automatic Storage Management. You must provide the Automatic Storage Management disk configuration information during the grid infrastructure installation.

3.5.2 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 Oracle Database files and recovery files. You can use a file system for one file type and Automatic Storage Management for the other.

    If you choose to enable automated backups and you do not have a shared file system, then you must choose Automatic Storage Management for recovery file storage.

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

    • You can run Oracle Automatic Storage Management Configuration Assistant in interactive mode to create and configure the required disk groups.

      During the database installation, if you select an installation method that runs Database Configuration Assistant in interactive mode (Advanced Installation type), then you select the disk groups that you created using Oracle ASMCA.

      You have the option to use the disk groups you created using Oracle ASMCA both for database files and recovery files, or you can choose to use different disk groups for each file type. Ideally, you should create separate Automatic Storage Management disk groups for data files and for recovery files.

    • If you run Oracle ASMCA in noninteractive mode, then you must use the same Automatic Storage Management disk group for data files and recovery files. During the database installation (Typical Installation type), you select the same disk group for both data files and recovery files.

    See Also:

  2. Choose the Automatic Storage Management redundancy level for each Automatic Storage Management disk group you create.

    The redundancy level that you choose for the Automatic Storage Management disk group determines how Automatic Storage Management 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

      To optimize performance and reliability in a normal redundancy disk group, Automatic Storage Management uses two-way mirroring for data files and three-way mirroring for control files, by default. In addition, you can choose the mirroring characteristics for individual files in a disk group. 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.6 GB 2.95 GB 4.55 GB
    Normal 2 3.2 GB 5.90 GB 9.10 GB
    High 3 4.8 GB 8.85 GB 13.65 GB

    If an Automatic Storage Management 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 database installation.

  4. Optionally identify failure groups for the Automatic Storage Management disk group devices.

    Note:

    You must complete this step only if you intend to use an installation method that runs Oracle Automatic Storage Management Configuration Assistant in interactive mode, for example, if you intend to choose 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.

    For instance, 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 Automatic Storage Management disk group should be the same size and have the same performance characteristics.

    • Do not specify multiple partitions 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

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

3.5.3 Step 3: Creating DAS or SAN Disk Partitions for an Automatic Storage Management 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, if it is partitioned. However, you cannot use NAS or Microsoft dynamic disks.

This section covers the following topics.

Step 1: Enabling Disk Automounting

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

  • Disk partitions on both single-instance and Oracle RAC installations

  • Cluster file system for Oracle RAC

  • Oracle Clusterware

  • Raw partitions for a single-node database installation

  • Primary or logical partitions for Automatic Storage Management

To enable automounting:

  1. Enter the following commands at a command prompt:

    DRIVE_LETTER:\> 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, Windows 7, Windows Server 2008, and Windows Server 2008 R2, create primary partitions and logical drives in extended partitions by selecting the New Simple Volume option. To create a raw device, assign a drive letter and remove the letter after the partition is created. For other Windows, you must not assign the drive letter. You must select Do not format this partition to specify raw partition. Do not use spanned volumes or striped volumes. These options convert the volume to a dynamic disk. Automatic Storage Management does not support dynamic disks.

    For other Windows, create primary partitions by selecting the New Partition option. Create the logical drives by selecting the New Logical Drive option.

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

    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:

    DRIVE_LETTER:\> 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.

You cannot create more than four primary disk partitions per disk. If you need more, you can get around this limitation by creating three primary partitions and then creating the fourth partition as an extended partition with as many logical partitions within as you need.

For example, on Windows x86-based systems, 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 extended
DISKPART> create partition logical size=800
DISKPART> ...
DISKPART> create partition logical size=500
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

3.5.4 Step 4: Manually Configuring Disks for Automatic Storage Management

To use Automatic Storage Management with direct attached storage (DAS) or storage area network (SAN), the disks must be stamped with a header. If you install Oracle grid infrastructure in interactive mode, Oracle Universal Installer configures the disks' headers during the installation process. However, if you plan to install Oracle grid infrastructure in response file mode, you must 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.

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 Grid Infrastructure 11g Release 2 (11.2), from the media root, go to asmtool directory and double-click asmtoolg.exe.

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

    On Windows Vista and Windows Server 2008, if User Account Control is enabled, create a shortcut for the command prompt window on your desktop. An icon for that shortcut appears on the desktop. Right click the icon for the newly created shortcut, and specify "Run as administrator." When the command window opens, go to ORACLE_HOME\bin, and then type asmtoolg.

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

    The asmtoolg tool shows the devices available on the system. Unrecognized disks are labeled as "Candidate device", 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 Oracle Automatic Storage Management disks.

    If necessary, follow the steps under "Step 3: Creating DAS or SAN Disk Partitions for an Automatic Storage Management Instance" to create a disk partition for the Oracle Automatic Storage Management 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. On Windows Vista and Windows Server 2008, if User Account Control is enabled, then you can create a shortcut for the command prompt window on your desktop. An icon for that shortcut appears on the desktop. Right-click the icon for the newly created shortcut, and specify "Run as administrator." Then start asmtool.

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 Oracle Automatic Storage Management instances to rescan the available disks.

If you must partition a disk, then follow the procedures under "Step 3: Creating DAS or SAN Disk Partitions for an Automatic Storage Management 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 Oracle Automatic Storage Management 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 Oracle Automatic Storage Management stamp, then you must specify the -force option.
asmtool -list [-force]
-delete Removes existing stamps from disks. Also sets Oracle Automatic Storage Management instances to rescan the available disks
asmtool -delete ORCLDISKASM0 ORCLDISKASM1...

3.6 Installing and Configuring the Grid Infrastructure for a Standalone Server

If you install Oracle Restart and then create your database, the database is automatically added to the Oracle Restart configuration, and is then automatically restarted when required. However, if you install Oracle Restart on a host computer on which a database already exists, you must manually add the database, the listener, the Automatic Storage Management (Oracle ASM) instance, and other components to the Oracle Restart configuration.

Note:

Oracle Restart can accommodate multiple single-instance databases on a single host computer.

This section covers the following topics:

3.6.1 Installing Grid Infrastructure with a New Database Installation

Perform the following steps to install the grid infrastructure for a standalone server and then create a database that is managed by Oracle Restart. First install grid infrastructure, which installs Oracle Restart and Oracle Automatic Storage Management, then configure Oracle Automatic Storage Management with at least one disk group, and then install Oracle database that stores database files in Oracle Automatic Storage Management disk groups. Click the help button on the Oracle Universal Installer page for page level assistance.

To install grid infrastructure for a standalone server with a new database installation:

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

    Note:

    You must install grid infrastructure for a standalone server from the grid infrastructure media.
  2. The Select Installation Option screen appears. Select Install and Configure Grid Infrastructure for a Standalone Server option, to install and configure Oracle Restart and Oracle Automatic Storage Management for a single instance server. Click Next.

  3. On the Select Product Languages screen, select one or more languages. Move the languages from the Available Languages list to the Selected Languages list. Click Next.

  4. Create ASM Disk Group screen lists all the disks matching the default pattern, \\.\ORCLDISK.

    Click Change Disk Discovery Path to select any devices for use by Automatic Storage Management but are not listed. In the Change Disk Discovery Path window, enter a string to use to search for devices that Oracle Automatic Storage Management uses, such as \\.\ORCLDISK*, and then click OK.

    The Disk Group Name default is DATA. You can enter a new name for the disk group, or use the default name.

    Check with your system administrator to determine if the disks used by Automatic Storage Management are mirrored at the storage level. If so, select External for the redundancy. If the disks are not mirrored at the storage level, then choose Normal for the redundancy.

    Note:

    For normal redundancy, you require twice as much disk space to hold the same amount of data. For example, if your database is 100 GB, then you approximately require 200 GB of storage.

    After you have finished selecting the disks to be used by Oracle Automatic Storage Management, click Next.

  5. On the Specify ASM password screen, enter SYSASM password required to connect to the Oracle Automatic Storage Management instance. The Oracle Automatic Storage Management instance is managed by a privileged role called SYSASM, which grants full access to Oracle Automatic Storage Management disk groups. Oracle recommends that you create a less privileged user, ASMSNMP, with SYSDBA privileges to monitor the Oracle Automatic Storage Management instance.

    Enter password for the SYSASM and ASMSNMP user accounts. The passwords should be at least eight characters in length and include at least one alphabetic and one numeric character.

  6. On the Specify Installation Location screen, enter the following details and click Next:

    • Oracle base: Enter the directory location for Oracle base. Do not include spaces in the path name.

    • Software Location: This field is populated by default in concurrence with Oracle base location.

  7. Perform Prerequisite Checks screen, checks if the minimum system requirements are met to perform the database installation. If all the system requirements are met, then you are directed to the Summary screen. However, in a failed installation, you can review the error.

    To get a failed requirements list, click Show Failed. Click Fix & Check Again, if you want the installer to fix the problem and check the system requirements once more. If you click Check Again, then you can run the prerequisite check again to see if the minimum requirements are met to carry on with the database installation.

    Note:

    • The Fix & Check Again option generates a script that sets some system parameters to Oracle-recommended values. Oracle recommends that you do not modify the contents of this script.

    • To ignore all the errors and proceed with the database installation, check Ignore All option.

  8. Review contents of the Summary screen, click Finish.

    The setup screen displays the progress of a Oracle Restart installation.

  9. The Finish screen displays the installation status. Click Close to end the installation, then Yes to confirm you want to exit Oracle Universal Installer.

    If you encounter any problems, refer to the configuration log for information. The path to the configuration log is displayed on the Configuration Assistants window.

  10. If you want to create additional disk groups, then run Oracle Automatic Storage Management Configuration Assistant (ASMCA) utility. For example, you can create another disk group named RECOVERY to store the fast recovery area.

    Note:

    To check if the Oracle High Availability Service is installed properly, run crsctl check has command from Grid_home\bin directory. has is a service that is installed with Oracle Restart, which is responsible for starting software services like Automatic Storage Management.
  11. Install Oracle Database

    Because you have already installed Oracle Restart, Oracle Universal Installer automatically adds the database instance to the Oracle Restart configuration if you choose to create a database as part of the installation.

    See Also:

    "Installing the Oracle Database Software" for information about installing Oracle database

    Note:

    • If a new database is installed after a grid infrastructure installation, then the listener runs from the grid infrastructure home. Because Oracle Automatic Storage Management is installed as part of the grid infrastructure, the default listener is created and runs from the grid infrastructure home. If you perform a database installation, then the database uses the same listener created during the grid infrastructure installation.

    • If you are using Oracle Restart, then the default listener and any additional listeners must run from the grid infrastructure home.

3.6.2 Installing Grid Infrastructure for an Existing Database

Follow the high-level instructions in this section to install Oracle grid infrastructure and configure it for an existing Oracle database. Oracle Restart can only manage existing 11.2 resources and hence you can install Oracle grid infrastructure only for an existing 11.2 database. However, Oracle database releases before 11.2 can coexist on the same server without being managed by Oracle Restart.

To install Oracle Restart for an Existing database:

  • On the same host computer as the database, use Oracle Universal Installer to install the grid infrastructure, and select Install and Configure Grid Infrastructure for a Standalone Server as the installation option.

    The grid infrastructure components are installed in a separate Oracle home.

    Refer to "Installing Grid Infrastructure with a New Database Installation" section for detailed instructions.

  • Use the SRVCTL utility to add the database, the listener, the Oracle Automatic Storage Management instance, all Oracle Automatic Storage Management disk groups, and any database services to the Oracle Restart configuration.

    See Also:

    Oracle Database Administrator's Guide for more information about SRVCTL commands for Oracle Restart

3.7 Modifying Oracle Grid Infrastructure Binaries After Installation

After installation, you must first stop the Oracle Restart stack to modify the software installed in your Grid home. For example, to apply a one-off patch or modify any of the DLLs used by Oracle Restart or Oracle ASM, you must follow these steps to stop and restart the Oracle Restart stack.

Caution:

To put the changes you make to the Oracle grid infrastructure home into effect, you must shut down all executables that run in the Grid home directory and then restart them. In addition, shut down any applications that use Oracle shared libraries or DLL files in the Grid home.

Prepare the Oracle grid infrastructure home for modification using the following procedure:

  1. Log in using a member of the Administrators group and change directory to the path Grid_home\bin, where Grid_home is the path to the Oracle grid infrastructure home.

  2. Shut down the Oracle Restart stack using the following command:

    DRIVE_LETTER:\Grid_home\bin> crsctl stop has -f
    
  3. After the Oracle Restart stack is completely shut down, perform the updates to the software installed in the Grid home.

  4. Use the following command to restart the Oracle Restart stack:

    DRIVE_LETTER:\Grid_home\bin> crsctl start has
    

3.8 Manually Configuring Oracle Automatic Storage Management Disk Groups

The Oracle Automatic Storage Management Configuration Assistant utility creates a new Oracle Automatic Storage Management instance if there is no Oracle Automatic Storage Management instance currently configured on this computer. After installing the Grid Infrastructure for a standalone server, you can also use Oracle Automatic Storage Management Configuration Assistant to create and configure disk groups, Oracle Automatic Storage Management Dynamic Volume Manager and Oracle Automatic Storage Management Cluster File System. If you want to create additional disk groups or manually configure Oracle Automatic Storage Management disks, then you can run the Oracle Automatic Storage Management Configuration Assistant as follows:

DRIVE_LETTER:\> cd ORACLE_HOME\bin
DRIVE_LETTER:\> asmca.bat

See Also:

Oracle Database Storage Administrator's Guide for further information about Oracle Automatic Storage Management Configuration Assistant

3.9 Testing the Oracle Automatic Storage Management Installation

To test the Oracle Automatic Storage Management installation:

  1. Use SQL*Plus to connect to the Oracle Automatic Storage Management instance as the SYS user with SYSASM privilege and start the instance if necessary:

    DRIVE_LETTER:\>sqlplus /nolog
    SQL> CONNECT SYS as SYSASM
    Enter password: SYS_password 
    SQL> STARTUP
    
  2. 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: