|
Oracle® Real Application Clusters Installation and Configuration Guide
10g Release 1 (10.1) for AIX-Based Systems, Apple Mac OS X, hp HP-UX, hp Tru64 UNIX, Linux, Solaris Operating System, and Windows Platforms Part No. B10766-08 |
|
![]() Previous |
![]() Next |
This chapter describes the tasks that you must complete before you start the Oracle Universal Installer to install RAC on Windows-based systems. The chapter includes following topics:
|
See Also: Oracle Real Application Clusters Quick Installation Guide for Oracle Database Standard Edition for Windows for Oracle Database Standard Edition for Windows for step-by-step installation instructions of RAC Standard Edition on a two-node cluster with no Oracle software previously installed. |
The following sections list the system requirements for Oracle Database 10g. Some individual components also have requirements that must be satisfied before installation.
Table 8-1 lists the software requirements for Oracle Database 10g Real Application Clusters.
Table 8-1 Software Requirements
If you are currently running a cluster version of Oracle on an operating system version that is no longer supported, such as Windows NT Server 4.0, then you must first upgrade your operating system before upgrading to Oracle Database 10g Real Application Clusters.
The following hardware components are required for Oracle Database:
RAM: 512 MB for 32-bit systems, 1GB for 64-bit systems
Virtual memory: double the amount of RAM on 32-bit systems, 512 MB for 64-bit systems
Hard disk space: See Table 8-2
Temp disk space: 100 MB for 32-bit systems, 140 MB for 64-bit systems
Video adapter: 256 color
Processor: 400 MHz minimum for Windows 32-bit, Itanium 2 or higher for Windows 64-bit
This section lists space requirements for both the Enterprise and Standard Editions of Oracle Database 10g RAC. Oracle recommends installing Oracle components on Oracle Cluster File Systems (OCFS).
The space requirements listed in this section are more accurate than the hard disk values reported by the Oracle Universal Installer Summary screen. The Summary screen does not include accurate values for disk space, the space required to create a database (over 700 MB), 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 8-2 lists the hard disk space requirements, including space for the starter database.
Perform the pre-installation steps described in this section to setup up the shared disk raw partitions for OCFS. Windows refers to raw partitions as logical drives. If you need more information about creating partitions, refer to the Windows online help from within the disk administration tools.
Run Windows Disk Management from one node to create an extended partition. Use a basic disk: dynamic disks are not supported.
Note that the Globally Unique Identifier (GUID) Partition Type (GPT), available on 64-bit systems, is not supported for OCFS. You must use the Master Boot Record (MBR) partition style.
Create at least two partitions: one for the Oracle home and one for the Oracle database files.
You do not need to create a partition for the voting disk if you plan to use CFS. CFS stores the voting device in a file.
The number of partitions used for CFS affects performance. Therefore, you should create the minimum number of partitions needed for the CFS option you choose.
To create the required partitions, perform the following steps:
From one of the existing nodes of the cluster, run the Windows disk administration tool as follows:
Navigate to Start > Settings > Control Panel > Administrative Tools > Computer Management
Expand the Storage folder to Disk Management. Use a basic disk with a Master Boot Record (MBR) partition style as an extended partition for creating partitions.
Right click inside an unallocated part of an extended partition and choose Create Logical Drive. A wizard presents pages for configuring the logical drive. Select the select logical drive radio button and click Next.
Enter the size that you want for the partition and click Next.
Choose the option "Do not assign a drive letter or path", click Next, and then choose the option "Do not format this partition". Click Finish on the last page of the wizard.
Repeat steps 2 through 4 for the second and any additional partitions. An optimal configuration is one partition for the Oracle home and one partition for Oracle database files.
If you are preparing drives on a Windows 2003 or on a 64-bit system, then you should restart all nodes in the cluster after you have created the logical drives.
Check all nodes in the cluster to ensure that the partitions are visible on all the nodes and to ensure that none of the Oracle partitions have drive letters assigned. If any partitions have drive letters assigned, then remove them by performing these steps:
Right-click the partition in the Windows disk administration tool
Select "Change Drive Letters and Paths..." from the menu
Click Remove in the "Change Drive Letter and Paths" window
To ensure that the system meets these requirements, follow these steps:
Determine the physical RAM size. For a computer using Windows 2000, for example, open System in the control panel and select 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.
Determine the size of the configured swap space (also known as paging file size). For a computer using Windows 2000, for example, open System in the control panel, select the Advanced tab, and click Performance Options.
If necessary, refer to your operating system documentation for information about how to configure additional swap space.
Determine the amount of free disk space on the system. For a computer using Windows 2000, for example, open My Computer, right-click the drive where the Oracle software is to be installed, and choose Properties.
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.
On Windows 32-bit systems, you require 100 MB of disk space available in the temp directory, and on Windows 64-bit systems, you require 140 MB of temp disk space. If you do not have sufficient space, then first delete all unnecessary files. If the temp disk space is still less than the required amount, then set the TEMP or TMP environment variable to point to a different hard drive. For a computer using Windows 2000, for example, open the System control panel, select the Advanced tab, and click Environment Variables.
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 the following URL:
You must register online before using OracleMetaLink. After logging in, select Certify & Availability from the left-hand column. From the Product Lifecycle page, select the Certifications button. Other Product Lifecycle options include Product Availability, Desupport Notices, and Alerts.
The following sections list the following certification information:
The following Web browsers are supported for iSQL*Plus and Oracle Enterprise Manager Database Control:
Netscape Navigator 7.0 and higher
Microsoft Internet Explorer 5.5, 6.0, and higher with service pack 1
Mozilla version 1.3.1 and higher
On 64-bit systems only, Microsoft Internet Explorer 6.0 with service pack 2 Web browser
This section contains these topics:
Windows 2000 and Windows Server 2003 include a Telnet Service that enables remote users to log on to the operating system and run console programs using the command line. Oracle supports the use of database command line utilities such as sqlplus, export, import and sqlldr using this feature, but does not support the database GUI tools such as Oracle Universal Installer, Database Configuration Assistant, and Oracle Net Configuration Assistant.
|
Note: Ensure that the Telnet service is started on the Services control panel. |
Oracle Database 10g Real Application Clusters supports Terminal Services on Windows 2000 and Windows Server 2003. However, installation of Oracle components from a remote Terminal Services Client on to a Windows server that is running a Terminal Server service is only supported for 32-bit systems. If you encounter problems with the installation through Terminal Server on 32-bit systems, then Oracle recommends connecting to the Terminal Services console session of the server (using mstsc\console). On 64-bit systems, start all configuration tools from the Terminal Server console and not from the Terminal Services Client.
Platform-specific support information is as follows:
Windows 2000: Oracle supports installing, configuring, and running Oracle Database from a remote Terminal Services Client.
Windows Server 2003: You can configure Windows Server 2003 to use Terminal Services in Remote Desktop for Administration Mode or Terminal Server Mode.
The following products and features are not supported with Windows Terminal Services:
Oracle Connection Manager
Oracle Object Link Manager
Oracle Services for Microsoft Transaction Server
Server Management (SRVM)
|
See Also:
|
Check that you have the networking hardware and internet protocol (IP) addresses required for an Oracle Real Application Clusters installation.
|
Note: For the most up-to-date information about supported network protocols and hardware for RAC installations, refer to the Certify pages on the OracleMetaLink Web site:
|
Each node in the cluster must meet the following requirements:
Each node must have at least two network adapters; one for the public network interface and one for the private network interface (the interconnect).
The private and public network interface names must be different from each other.
Network interfaces names may not contain multi-byte or unicode characters or the character . (dot or period).
Interface names are case sensitive. If the interface names are not identical with respect to case, then the VIP functionality can fail.
The private network interface name must be the same on all nodes.
The public network interface name must be the same on all nodes.
The public interface must be listed first in the ipconfig list.
Oracle supports the TCP/IP protocol for the public and private networks.
Before starting the installation, you must identify or obtain the following IP addresses for each node:
An IP address and an associated host name registered in the domain name service (DNS) for each public network interface
One unused virtual IP address and an associated virtual host name registered in DNS that you will configure for the primary public network interface
The virtual IP address must be in the same subnet as the associated public interface. After installation, you can configure clients to use the virtual host name or IP address. If a node fails, its virtual IP address fails over to another node.
A private IP address and optional host name for each private interface
Oracle recommends that you use private network IP addresses for these interfaces, for example: 10.*.*.* or 192.168.*.*. You can use the %SystemRoot%\system32\drivers\etc\hosts file on each node to associate private host names with private IP addresses.
For example, in a two node cluster where each node has one public and one private interface, you might have the following host names and IP addresses:
| Host Name | Type | IP Address | Registered In |
|---|---|---|---|
| rac1.mydomain.com | Public | 143.46.43.100 | DNS |
| rac2.mydomain.com | Public | 143.46.43.101 | DNS |
| rac1-vip.mydomain.com | Virtual | 143.46.43.104 | DNS |
| rac2-vip.mydomain.com | Virtual | 143.46.43.105 | DNS |
| rac1-priv | Private | 10.0.0.1 |
%SystemRoot%\system32\drivers\etc\hosts |
| rac2-priv | Private | 10.0.0.2 |
%SystemRoot%\system32\drivers\etc\hosts |
To verify that each node meets the requirements, follow these steps:
If necessary, install the network adapters for the public and private networks and configure them with either public or private IP addresses.
Register the host names and IP addresses for the public network interfaces in DNS.
For each node, register one virtual host name and IP address in DNS.
For each private interface on every node, add a line similar to the following to the %SystemRoot%\system32\drivers\etc\hosts file on all nodes, specifying the private IP address and associated private host name:
10.0.0.1 rac1-priv
If you need to change a network interface name, follow these steps:
Depending on your system architecture, complete the first step as follows:
On a Windows 32-bit system, navigate to Start > Settings > Control Panel > Network and Dial-up Connections
On a Windows 64-bit system, navigate to Start > Settings > Control Panel > Network Connections
Right click the icon of the network interface for which you need to change the name
Select Rename
Enter and save the new name
To ensure that your public interface appears first in your ipconfig list, follow these steps:
Depending on your system architecture, complete the first step as follows:
On a Windows 32-bit system, navigate to Start > Settings > Control Panel > Network and Dial-up Connections
On a Windows 64-bit system, navigate to Start > Settings > Control Panel > Network Connections
In the Advanced menu, click Advanced Settings...
If the public interface name is not the first name listed under the Adapters and Bindings tab, then select it and click the arrow to move it to the top of list
Click OK to save the setting and then exit network setup dialog
This section contains these topics:
As a first step in configuring your disk storage for RAC, you must disable operating system write caching on all disks that will be used to share data between nodes in your cluster. To disable operating system write caching, perform these steps:
Navigate to Start > Settings > Control Panel > Administrative Tools > Computer Management > Device Manager > Disk drives
Expand the Disk drives hive and double-click the first drive listed
Under the Disk Properties tab for the selected drive, uncheck the option that enables the write cache
Double-click each of the other drives listed in the Disk drives hive and disable the write cache as described in the previous step
|
Caution: Any disks that you use to store files, including database files, that will be shared between nodes, must have operating system write caching disabled. You should not disable write caching provided by a storage vendor to improve storage performance. |
On Windows 2003 only, a second requirement is to enable the disk automount feature by performing the following steps on all nodes of your cluster:
Enable the disk automount feature by entering the automount enable command and confirming its successful execution as follows:
DISKPART> automount enable Automatic mounting of new volumes enabled.
Type exit to terminate the Diskpart session
When you have prepared all the cluster nodes in your Windows 2003 system as described in the previous steps, restart all of the nodes.
The remainder of this section describes the storage options for storing Oracle datafiles and optionally, Oracle database recovery files. After you choose the storage method that you want to use for each file type, refer to the following sections for information about configuring the required storage.
|
Note: You do not have to use the same storage option for each type of file except for Oracle Real Application Clusters Standard Edition installations. For Standard Edition databases, you must use Automatic Storage Management (ASM) for your database file storage. |
Choosing a Storage Option for Oracle Datafiles
If you want to create a database during the installation, you must choose one of the following storage options for the datafiles:
Cluster file system
Automatic Storage Management
Raw Devices
Choosing a Storage Option for Oracle Database Recovery Files
Additionally, 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):
Cluster 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 datafiles.
Configuring Disk Storage
For more information about these options, refer to the "Storage Considerations for Installing Oracle Database 10g Real Application Clusters" section. For information about how to configure disk storage before you start the installation, refer to one of the following sections depending on your choice:
To use a cluster file system for database or recovery file storage, refer to the "Creating Directories for Oracle Datafiles or Recovery Files" section.
To use ASM for database or recovery file storage, refer to the "Configuring Disks for Automatic Storage Management" section.
To use raw devices for database file storage, refer to the "Configuring Raw Partitions" section.
If you decide to place the Oracle database or recovery files on a cluster file system, use the following guidelines when deciding where to place them.
Guidelines for Placing Oracle Datafiles on a File System
If you decide to place the Oracle datafiles on a cluster file system, use the following guidelines when deciding where to place them:
You can choose either a single cluster file system or more than one cluster file system to store the datafiles:
If you want to use a single cluster file system, choose a cluster file system on a physical device that is dedicated to the database.
For best performance and reliability, choose a 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 cluster file system, choose cluster file systems on separate physical devices that are dedicated to the database.
This method enables you to distribute physical I/O and create separate control files on different devices for increased reliability. It also enables you to fully implement the OFA guidelines. 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 cluster file system (or systems) that you choose must have at least 3 GB of free disk space.
For production databases, you must estimate the disk space requirement depending on the use you want to make of the database.
For optimum performance, the cluster 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 appropriate for RAC 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 choose to place the Oracle recovery files on a cluster file system, use the following guidelines when deciding where to place them:
To prevent disk failure from making both the datafiles and the recovery files unavailable, place the recovery files on a cluster file system on a different physical disk from the datafiles.
|
Note: Alternatively use an ASM disk group with a normal or high redundancy level for either or both file types. |
The cluster file system that you choose should have at least 3 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 to specify a different value.
For more information about sizing the flash recovery area, refer to Oracle Backup and Recovery Basics.
The default location suggested by Oracle Universal Installer for the recovery area directory is a subdirectory of the Oracle base directory. However, this default location is not appropriate for RAC production databases.
|
Note: You must complete this procedure only if you want to place the Oracle database or recovery files on a separate cluster file system to the Oracle base directory. |
To create directories for the Oracle database or recovery files on separate cluster file systems to the Oracle base directory, follow these steps:
Use Windows Explorer to determine the free disk space on the file system.
From the display, identify the file systems that you want to use:
| File Type | File System Requirements |
|---|---|
| Datafiles | Choose either:
|
| Recovery files | Choose a cluster file system with at least 3 GB of free disk space. |
If you are using the same cluster file system for more than one type of file, add the disk space requirements for each type to determine the total disk space requirement.
Note the names of the directories for the file systems that you identified.
If you also want to use ASM or raw devices for storage, refer to one of the following sections:
Otherwise refer to the Stop Existing Oracle Services section.
This section describes how to configure disks for use with ASM. Before you configure the disks, you must determine the number of disks and the amount of free disk space that you require.
The following sections describe how to identify the requirements and configure the disks:
To identify the storage requirements for using ASM, you must determine how many devices and the amount of free disk space that you require for your ASM disk groups. In addition to the ASM files, CRS requires two key files that must be located in logical drives on the shared disks: one for a voting disk that requires 20 MB of storage, and one for the Oracle Cluster Registry that requires100 MB of storage.
To configure the ASM disk space, follow these steps:
Determine whether you want to use ASM for Oracle datafiles, recovery files, or both.
|
Note: You do not have to use the same storage mechanism for datafiles and recovery files. Datafiles can be placed on ASM while the recovery area can be on a file system. |
If you enable automated backups during the installation, you can choose ASM 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 Database Configuration Assistant in interactive mode, by choosing the Advanced database configuration option for example, you can decide whether you want to use the same ASM disk group for datafiles and recovery files, or you can choose to use different disk groups for each file type.
The same choice is available to you if you use Database Configuration Assistant after the installation to create a database.
If you select an installation type that runs Database Configuration Assistant in non-interactive mode, you must use the same ASM disk group for datafiles and recovery files.
Choose the ASM redundancy level that you want to use for the ASM disk group.
The redundancy level that you choose for the ASM 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, 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 ASM 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, ASM uses two-way mirroring by default, to increase performance and reliability. A normal redundancy disk group requires a minimum of two disk devices (or two failure groups). 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, ASM 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.
Determine the total amount of disk space that you require for the datafiles 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 | Datafiles | 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 existing ASM instance exists 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 section describes how to identify existing disk groups and determine the free disk space that they contain.
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 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 enable 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. |
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. ASM expects each disk group device to be on a separate physical disk.
Although you can specify a logical volume as a device in an ASM disk group, Oracle does not recommend their use. Logical volume managers can hide the physical disk architecture, preventing ASM from optimizing I/O across the physical devices.
For information about completing this task, refer to the "Configuring Disks for ASM" section.
If you want to use ASM as the storage option for either database or recovery files, and an ASM disk group already exists, you have the following choices, depending on the installation method that you select:
If you select an installation method that runs 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 Database Configuration Assistant after the installation to create a database.
If you select an installation type that runs Database Configuration Assistant in non-interactive mode, you should choose an existing disk group for the new database; you cannot create a new disk group.
|
Note: The ASM instance that manages the existing disk group can be running in a different Oracle home directory. |
To determine whether a particular ASM disk group exists, or to determine whether there is sufficient disk space in a disk group, you can use Oracle Enterprise Manager. Alternatively, you can use the following procedure:
Check the Services Control Panel for the OracleASMService+ASMn service, where n is the node number.
Temporarily set the ORACLE_SID and ORACLE_HOME environment variables to specify the appropriate values for the ASM instance that you want to use.
Connect to the ASM instance as the SYS user with AS SYSDBA privilege and start the instance if necessary:
C:\>ORACLE_BASE\ORACLE_HOME\bin\sqlplus "SYS/SYS_password as SYSDBA" SQL> STARTUP
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;
From the output, identify a disk group with the appropriate redundancy level and note the free space that it contains.
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. |
Automatic Storage Management (ASM) with RAC is supported on Windows 2000 and Windows Server 2003. You must use basic disks for your ASM storage, dynamic disks are not supported. To use ASM with direct attached storage (DAS) or storage area network (SAN) storage, the disks must be stamped with a header by asmtool or asmtoolg (GUI version).
In order to use a DAS or SAN disk in ASM, the disk must have a partition table. Oracle recommends creating exactly one partition for each disk containing the entire disk. Use Microsoft Computer Management or the command line tool diskpart to create the partition. Once the partitions have been created, unassign the drive letters and run asmtoolg or asmtool. These tools associate meaningful, persistent names with disks to facilitate using those disks with ASM. ASM uses disk strings to more easily operate on groups of disks at once, so the names created by asmtool make this easier than using Windows drive letters.
All disk names created by asmtool begin with the prefix ORCLDISK for identification purposes. They can be used as raw devices in the ASM instance by specifying a name \\.\ORCLDISKn.
|
See Also: "Assigning Logical Names or Drive Letters, or Mounting Directories" for more information about usingdiskpart to create a partition
|
Using asmtoolg
asmtoolg is a graphical interface for creating ASM device names. Use asmtoolg to add, change, delete, and examine the devices available for use in ASM.
|
Note: Use theasmtool command line to create an empty file. See the "Using asmtool (command line)" section.
|
To add or change disk stamps:
Double-click asmtoolg.
Select the Add or change label option, then click Next.
asmtoolg will show the devices available on the system. Unrecognized disks are labeled as "Candidate device", raw device files as "Oracle raw device file", stamped ASM disks as "Stamped ASM disk", and unstamped ASM 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 ASM disks and cannot be selected. In addition Microsoft Dynamic disks are not available for use as ASM disks.
On the Stamp Disks screen, select the disks to stamp.
For ease of use, ASM 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 ASM link name is ORCLDISKDATA0.
You can also specify the stamps of individual devices.
Optionally, select a disk to edit the individual stamp (ASM link name).
Click Next.
Click Finish.
To delete disk stamps:
Select the Delete labels option., then click Next.
The delete option is only available if disks exist with stamps. The delete screen shows all stamped ASM disks.
On the Delete Stamps screen, select the disks to unstamp.
Click Next.
Click Finish.
Using asmtool (command line)
asmtool 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 ASM stamp, then you must specify the -force option.
|
asmtool -add [-force] \Device\Harddisk1\Partition1 ORCLDISKASM0\Device\Harddisk2\Partition1 ORCLDISKASM1... |
-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 ASM stamp, then you must specify the -force option.
|
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. |
asmtool -delete ORCLDISKASM0 ORCLDISKASM1... |
-create
|
Creates an empty file. |
asmtool -create path_to_file size_in_megabytes |
|
Note: For-add, -addprefix, and -delete, asmtool will notify any ASM instances on the local machine and other nodes in the cluster, if available, to rescan the available disks.
|
This section contains the following topics:
Creating Partitions and Logical Drives
To create and configure 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:
Windows 2000 and Windows Server 2003 provide Disk Management snap-in
To access this tool, type diskmgmt.msc at the command prompt or navigate to Start >Programs > Administrative Tools > Computer Management. Then select the Disk Management node in the Storage tree.
Windows Server 2003 provides a command line tool to manage disks.
To access this tool, type diskpart.exe at the command prompt.
|
Note: Diskpart.exe for Windows 2000 is part of Windows 2000 Resource Kit. To download this tool, consult Microsoft documentation on the Microsoft Web site
|
|
See Also: The online help or documentation for the administration tool you are using |
Assigning Logical Names or Drive Letters, or Mounting Directories
After creating volumes, assign logical names or drive letters, or mount them on directories for use by Oracle. Use the Windows graphical interface or the command line to create a mounted drive or assign a drive letter to the partition, logical drive or volume. Names can be assigned to partitions using Oracle Object Link Manager.
The following example uses the diskpart tool to create a 32 MB partition on disk 100 and to assign the drive letter B to the partition. In this example, diskpart.exe is the command line tool for managing disks.
c:\> diskpart.exe diskpart> select disk 100 diskpart> create partition primary size=32 diskpart> assign letter=B
Optionally, mount the partition on an NTFS folder instead of assigning a drive letter:
diskpart> assign mount=C:\mnt\raw_1
|
Note: You cannot use partitions defined on disks with primary partitions, as shown in the preceding examples, for storage defined while running the Oracle Universal Installer to install Cluster Ready Services as described in Chapter 10, "Installing Cluster Ready Services on Windows". |
Creating Raw Logical Volumes in a New Disk Group
To create the required raw logical volumes in a new disk group, follow these steps:
Choose a name for the database that you want to create.
Create the logical volumes listed in the following table. You must create these volumes in order to install an Oracle database.
To create the other required logical volumes, using the command-line interface, enter a command similar to the following:
c:\> diskpart.exe DISKPART> select disk diskn DISKPART> create partition primary size=sizen DISKPART> assign mount=folder
In this example:
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 Megabytes
folder is the absolute path to the NTFS where the partitions is mounted.
The following example shows a sample command to create 500 MB partition on disk 5 for the SYSAUX tablespace of a database named test:
c:\> diskpart.exe DISKPART> select disk 5 DISKPART> create partition primary size=500 DISKPART> assign mount=D:\oracle\product\10.1.0\oradata\test\test_sysaux_500m
Create the DBCA Raw Device Mapping File
|
Note: You must complete this procedure only if you are using raw devices for database files. You do not specify the raw devices for the Oracle CRS files in the DBCA raw device mapping file. |
To enable Database Configuration Assistant (DBCA) to identify the appropriate raw partition symbolic links for each database file, you must create a raw device mapping file, as follows:
Set the ORACLE_BASE environment variable to specify the Oracle base directory that you identified or created previously, as in this example:
C:\>set ORACLE_BASE = E:\oracle
Create a database subdirectory under the Oracle base directory as in this example:
C:\>mkdir E:\oracle\dbname
where dbname is the name of the database that you chose previously.
Change directory to the %ORACLE_BASE%\dbname directory.
Using any text editor, create a file called conf.txt. The file should have the following characteristics:
Each line in the file must have the following format:
database_object_identifier = symbolic link name
For your RAC database, the file must specify one automatic undo tablespace datafile (undotbsn) and two redo log files (redon_1, redon_2) for each instance where n is the instance number.
Specify at least two control files (control1, control2).
The following example shows a sample mapping file for a two-instance RAC cluster:
system=\\\\.\\dbname_SYSTEM sysaux=\\\\.\\dbname_SYSAUX spfile=\\\\.\\dbname_SPFILE users=\\\\.\\dbname_USERS temp=\\\\.\\dbname_TEMP undotbs1=\\\\.\\dbname_UNDOTBS1 undotbs2=\\\\.\\dbname_UNDOTBS2 control1=\\\\.\\dbname_CONTROL1 control2=\\\\.\\dbname_CONTROL2 redo1_1=\\\\.\\dbname_REDO1_1 redo1_2=\\\\.\\dbname_REDO1_2 redo2_1=\\\\.\\dbname_REDO2_1 redo2_2=\\\\.\\dbname_REDO2_2 example=\\\\.\\dbname_EXAMPLE
|
Note: After you complete your CRS installation, runCRS_home\bin\GUIOracleObjectManager.exe to create persistent symbolic links to the corresponding raw partitions.
|
Save the file and note the file name that you specified.
You may optionally set an environment variable, DBCA_RAW_CONFIG, to specify the full path to this file. For the Oracle base defined in Step 1, you would use the following command:
C:\>set DBCA_RAW_CONFIG=E:\oracle\dbname\conf.txt
|
Attention: If you are installing additional Oracle Database components in an existing Oracle home, stop all processes running in the Oracle home. |
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.
To stop an Oracle service, perform one of the following procedures:
Using the GUI:
Navigate to Start > Settings > Control Panel > Administrative Tools > Services
Right click the service you want to stop
Click Stop
Using command line, enter the command:
C:\>net stop service
where service is the name of the service you want to stop
Satisfy hardware and software requirements to 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 (provided on the installation media). Enterprise User Security also requires an LDAP directory.
|
See Also: Oracle Advanced Security Administrator's Guide |
All Oracle Enterprise Manager products must be of the same release. Older versions of Enterprise Manager are not supported with the current release.
|
Note: All Oracle Enterprise Manager products, except Oracle Enterprise Manager Database Control and the Enterprise Manager Java Console, are released on the Enterprise Manager Grid Control installation media. Enterprise Manager Database Control is available on the Oracle Database installation media and Enterprise Manager Java Console is available on the Oracle Client installation media. |
|
See Also: Oracle Enterprise Manager Grid Control Installation and Basic Configuration available on the Enterprise Manager Grid Control installation media |
If you use OCFS or ASM for your database files, then your database will be created with Oracle-managed files by default. You may also elect to use Oracle-managed files if you choose the Custom installation type or the Advanced database creation option. 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 in order to enable Oracle Managed Files.
|
See Also: "Using Oracle-Managed Files" in Oracle Database Administrator's Guide |
Oracle transparent gateways are only supported on 32-bit systems.This section contains these gateway topics:
Oracle Transparent Gateway Supported Configurations
Table 8-3 provides gateway configurations tested by Oracle at the time of this document release. Oracle continually updates supported gateway configurations. For the latest supported configuration information, visit the following Web site
Table 8-3 Supported Software for Oracle Transparent Gateway Components
| Oracle Transparent Gateway | Requirement |
|---|---|
| Oracle Transparent Gateway for Microsoft SQL Server | Microsoft SQL Server Version 7.0 or SQL Server 2000
Microsoft SQL Server ODBC Drivers |
| Oracle Transparent Gateway for Sybase | Sybase Server, version 12.0, or 12.5 is required. If Sybase Server is not on the same computer as the gateway, then the version of Sybase Open client library certified for your Sybase Server is required. |
| Oracle Transparent Gateway for Teradata | Teradata V2R.03.00.02 or V2R.04.00.0115
NCR Teradata ODBC Driver version 02.08.00.00 |
| Oracle Transparent Gateway for IBM DRDA | See Oracle Transparent Gateway for DRDA Installation and User's Guide for details. |
| Oracle Procedural Gateway for APPC | See Oracle Procedural Gateway for APPC Installation and Configuration Guide for details. |
Oracle Transparent Gateway System Requirements
Table 8-4 lists the system requirements for Oracle Transparent Gateways for Microsoft SQL Server, Sybase, and Teradata. Each Oracle Transparent Gateway has the same memory, networking, and disk space requirements.
|
See Also: Oracle Transparent Gateway for DRDA Installation and User's Guide and Oracle Procedural Gateway for APPC Installation and Configuration Guide for system requirements for the IBM DRDA and APPC gatewaysThese guides are available on the Oracle Database installation media. |
Table 8-4 System Requirements for Oracle Transparent Gateways
| Requirement | Value |
|---|---|
| Disk Space | 200 MB of additional disk space. |
| Memory | 26 MB of real memory is recommended to support the gateway. The total real memory requirement for the concurrent use of the gateway also depends on these factors:
|
| Oracle Networking | Oracle Net Services and Oracle Protocol Support for Named Pipes or TCP/IP must be installed on the Oracle database computer and the gateway computer. The Oracle Net Services components are included on the Oracle Database installation media. |