25.01.2013 Views

Oracle Database Oracle Clusterware Installation Guide for HP-UX

Oracle Database Oracle Clusterware Installation Guide for HP-UX

Oracle Database Oracle Clusterware Installation Guide for HP-UX

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Disks <strong>for</strong> <strong>Database</strong> Files on Raw Devices<br />

4. If the ioscan command does not display device name in<strong>for</strong>mation <strong>for</strong> a device<br />

that you want to use, then enter the following command to install the special<br />

device files <strong>for</strong> any new devices:<br />

# /usr/sbin/insf -e<br />

5. For each disk that you want to use, enter the following command on any node to<br />

verify that it is not already part of an LVM volume group:<br />

# /sbin/pvdisplay /dev/dsk/cxtydz<br />

If this command displays volume group in<strong>for</strong>mation, then the disk is already part<br />

of a volume group. The disks that you choose must not be part of an LVM volume<br />

group.<br />

Note: If you are using different volume management software, <strong>for</strong><br />

example VERITAS Volume Manager, then refer to the appropriate<br />

documentation <strong>for</strong> in<strong>for</strong>mation about verifying that a disk is not in<br />

use.<br />

6. If the ioscan command shows different device names <strong>for</strong> the same device on any<br />

node, then:<br />

a. Change directory to the /dev/rdsk directory.<br />

b. Enter the following command to list the raw disk device names and their<br />

associated major and minor numbers:<br />

# ls -la<br />

The output from this command is similar to the following <strong>for</strong> each disk device:<br />

crw-r--r-- 1 bin sys 188 0x032000 Nov 4 2003 c3t2d0<br />

In this example, 188 is the device major number and 0x32000 is the device<br />

minor number.<br />

c. Enter the following command to create a new device file <strong>for</strong> the disk that you<br />

want to use, specifying the same major and minor number as the existing<br />

device file:<br />

Note: <strong>Oracle</strong> recommends that you use the alternative device file<br />

names shown in the previous table.<br />

# mknod ora_ocr_raw_256m c 188 0x032000<br />

d. Repeat these steps on each node, specifying the correct major and minor<br />

numbers <strong>for</strong> the new device files on each node.<br />

7. Enter commands similar to the following on every node to change the owner,<br />

group, and permissions on the character raw device file <strong>for</strong> each disk device that<br />

you want to use:<br />

Configuring <strong>Oracle</strong> Real Application Clusters Storage 5-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!