HP XP Array Manager Software User Manual

Page 27

Advertising
background image

vgcreate vgdata /dev/dsk/c4t0d1 /dev/dsk/c4t0d2

vgcreate vglog /dev/dsk/c4t0d3 /dev/dsk/c4t0d4

lvcreate -r n -m 1 -L 12 -n control01.ctl vgdata

lvcreate -r n -m 1 -L 12 -n control02.ctl vgdata

lvcreate -r n -m 1 -L 500 -n system01.dbf vgdata

lvcreate -r n -m 1 -L 500 -n log01.log vglog

lvcreate -r n -m 1 -L 500 -n log02.log vglog

chown oracle:oinstall /dev/vgdata/r*

chown oracle:oinstall /dev/vglog/r*

Logical volumes are created with Bad Block Relocation turned off. Bad Block Relocation is not
supported in Database Validator by using the lvcreate –r n option.

3.

Use lvmlbainfo to display the user data area for each disk array logical devices.
Note: For HP-UX 11i v3 and later, use the LVM command pvdisplay -l instead of the lvmlbainfo
utility.
This utility is part of the swinstall lvmlbainfo.depot software package. To install the lvmlbainfo
utility, copy the lvmlbainfo.depot to /var/tmp and execute the following HP-UX command:
swinstall –s /var/tmp/lvmlbainfo.depot \*

# pvdisplay -d /dev/disk/disk990

--- Physical volumes ---

PV Name /dev/disk/disk990

VG Name /dev/hpvm

PV Status available

Allocatable yes

VGDA 2

Cur LV 1

PE Size (Mbytes) 32

Total PE 2187

Free PE 1707

Allocated PE 480

Stale PE 0

IO Timeout (Seconds) default

Autoswitch On

Data Start 1024

Data End 71664640

Boot Disk no

Relocated Blocks 0

Proactive Polling On

Note: The pvdisplay returned the information in the physical block address and should be multi-
plied by 2.
In this case, the user data area is LBA 2048 to LBA 4802559. To protect only the user data area
in the volume group, use the numbers from the lvmlbainfo command output for the raidvchkset
–vs
bsize slba elba option when enabling integrity checking on devices.
Note: Pvdisplay returns the information in physical block address and should be multiplied by
two (2).

4.

Create an Oracle database using the LVM volumes and then shut down the database.

5.

Verify or set the Oracle initialization parameter in the init.ora file:
db_block_checksum = true
Check Oracle initialization parameter db_block_size value in the init.ora file. This value determines
the XP RAID Manager raidvchkset –vs bsize option.

XP24000/XP20000 Database Validator User's Guide

27

Advertising