Oracle Parallel Server Getting Started
Release 8.0.4 for Windows NT

A55925-01

Library

Product

Contents

Index

Prev Next

3
Performing Pre-Installation Tasks

This chapter describes required pre-installation tasks.

Specific topics discussed are:

Raw Partition Overview

Because no true distributed file system support exists on Windows NT, the mechanism Oracle uses to allow nodes running different instances to access shared disks is to bypass the NT file system by using raw partitions. The shared disks are then a collection of unformatted raw devices.

Raw Partition

A raw partition is a portion of a physical disk that is accessed at the lowest possible level. I/O to a raw partition offers approximately a 5% to 10% performance improvement over I/O to a partition with a file system on it.

A raw partition is created when an extended partition is created and logical drives are assigned to it without applying any formatting. The Windows NT Disk Administrator application allows you to create an extended partition on a physical drive.

Extended Partition

An extended partition points to raw space on the disk that can be assigned multiple logical drives for the database files. An extended partition avoids the four-partition limit by allowing you to define large numbers of logical drives to accommodate applications using Oracle8 Enterprise Edition. Logical partitions can then be given symbolic link names to free up drive letters. We create an extended partition in this chapter and link the drive letters to symbolic link names in Chapter 5, "Configuring Oracle Parallel Server".

The Disk Administrator window shown below shows four disks, two of the disks having an extended partition:

Figure 3-1 Disk Administrator

This disk....   Contains...  

Disk 0  

a primary partition  

Disk 1  

an extended partition with six logical drives and 246 MB of free space  

Disk 2  

an extended partition with three logical drives and 1146 MB of free space  

Disk 3  

an unformatted partition  


Note:

You can tell whether a partition is formatted or unformatted by the direction of the diagonal lines. A formatted partition's lines display from top left to the bottom (\\), and an uninitialized partition's lines display from top right to the bottom (//).

 

Disk Definition

Windows NT defines each disk drive found at startup with the following naming convention:

\Device\Harddiskm\Partitionn

where m is the number of the physical drive, and n is a drive number (logical drive number) as shown in the Disk Administrator's window (in Figure 3-1).

The first logical drive (E:) defined on the second physical drive in the section "Step 2: Create Logical Drives In an Extended Partition" has the following entry:

\Device\Harddisk1\Partition1

The first logical drive on a system (normally the C drive) has the following entry:

\Device\Harddisk0\Partition1

Partition0 has special meaning in that it has access to the whole disk.

Raw Partition Definition

Raw partitions are of two types:

Step 1: Create an Extended Partition

Only one extended partition can be created per disk. You can use the free space in the extended partition to create multiple logical drives or use all or part of it when creating volume sets or other kinds of volumes for fault-tolerance purposes.

To create an extended partition:

  1. Shut down all nodes except the primary node.

  1. On the primary node, choose Start > Programs > Administrative Tools > Disk Administrator.

    The Disk Administrator window appears:

    Note the lines display diagonally from top right to the bottom left, indicating unpartitioned devices.

  2. Select an area of free space in an extended partition on a disk that is on the shared disk subsystem by clicking the mouse.

    Oracle recommends you use the entire disk.

  3. Choose Create Extended... from the Partition menu.

    The Disk Administrator displays the minimum and maximum sizes for the extended partition:

  4. Use the default maximum size, and then click OK.


    Note:

    Changes you have made are not saved until you choose Commit Changes Now Commit Changes Now from the Partition menu or quit the Disk Administrator.

     

    The extended partition is created.

    Note the lines now display diagonally from top left to bottom right, indicating the partition is an extended partition.

Step 2: Create Logical Drives In an Extended Partition

After an extended drive is created, you must assign logical drives to it. Logical drives are assigned letters of the alphabet.

To create logical drives in an extended partition:

  1. On the primary node, select an area of free space in an extended partition by clicking the mouse on it.

  1. Choose Create from the Partition menu.

    The Disk Administrator window displays the minimum and maximum sizes for the logical drive:

  2. Enter the size of the logical drive, then click OK.

    The size is dependent on how large you want your log files and data files to be. Add 2MB to this size for overhead. If you plan on using the default database OPS.SQL creation script (to be used later) located in ORACLE_HOME\OPS to create your database later, 300 MB is more than enough.

    Additional Information:

    See "Step 7: Create an Oracle Parallel Server Database" in Chapter 5, "Configuring Oracle Parallel Server", for more information about OPS.SQL.

     

  3. Repeat Steps 1-3 until you have nine logical drives.


    ATTENTION:

    A two-node cluster requires 9 drives, and each additional node requires 2 additional drives to accommodate log files.

     

  4. Choose Commit Changes Now from the Partition menu.

    A confirmation dialog appears, informing you changes have been made to the disk.

  5. Click Yes to acknowledge the message.

    A dialog box appears, informing you the disks have been updated successfully.

  6. Click OK.

  7. Choose Close from the Partition menu.

  8. Reboot all of the other nodes.

  9. Choose Start > Programs > Administrative Tools > Disk Administrator on all the nodes.

    On all nodes except the primary node, a dialog box appears, informing you the disk configuration has been detected. If you do not see this dialog box, it does not mean the disk configuration has not changed.

  10. Click OK.

    The extended partition and the logical partitions are now seen by all of the nodes.


    Note:

    The hard disks that access the shared area may be different from node to node. The logical drives, however, that reside on the hard disks must be identical on all nodes.

     

    For example, Node 1 may look like:

    Figure 3-2 Node 1 Logical Partitions

    Node 2 may look like:

    Figure 3-3 Node 2 Logical Partitions

On Node 1, the logical drive E is defined as \Device\Harddisk1\Partition1. On Node 2, it is defined as \Device\Harddisk2\Partition1. Even though these map to different disks, they map to the same space on the shared disk.

Step 3: Unassign Drive Letters

To free up other drive letters for other purposes, such as mapping network drives, it is important to also unassign the drive letters from the logical partitions on each partition. Oracle Parallel Server does not need to access a partition through a drive letter


Note:

A two-node cluster requires 9 logical drives, for example, with drive letters E through M. Each additional node requires two additional drives to accommodate the log files.

 


Note:

If your disks have been previously configured, the logical drives may already be unassigned. If this the case, you can skip to Step 6 of this procedure.

 

To unassign drive letters:

  1. On each node, select a logical partition.

  1. Choose Assign Drive Letter from the Tools menu

    The Assign Drive Letter dialog box appears:

  2. Choose Do not assign a driver letter and click OK.

    A confirmation dialog box appears.

  3. Click Yes to confirm change.

  4. Repeat Steps 1-4 for each logical drive on each node.

  5. For each node in the cluster, write down the hard disk number(s) and the number of the partition (starting at 1) for that drive.


    Note:

    The hard disks that access the shared area may be different from node to node. The logical drives, however, that reside on the hard disks must be identical from node to node.

     

    Oracle Corporation recommends using a worksheet similar to the one below:

      Node 1   Node 2   Node 3   Node 4  

    Hard Diskx  

    Partitions x-x  

    Partitions x-x  

    Partitions x-x  

    Partitions x-x  

    Hard Diskx  

    Partitions x-x  

    Partitions x-x  

    Partitions x-x  

    Partitions x-x  

    For example, the worksheet for the Disk Administrator windows shown in Figure 3-2 and Figure 3-3 of this chapter would look like:

      Node 1   Node 2  

    Hard Disk1  

    Partitions 1-6  

    n/a  

    Hard Disk2  

    Partitions 1-3  

    Partitions 1-6  

    Hard Disk3  

    n/a  

    Partitions 1-3  

  6. Choose Close from the Partition menu on all nodes.

    The Disk Administrator application exits.

  7. Continue to Chapter 4, "Installing Oracle Parallel Server".




Prev

Next
Oracle
Copyright © 1997 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index