Using Serviceguard Extension for RAC, 6th Edition, April 2008

to add additional disks to the volume group, specifying the appropriate physical volume
name for each PV link.
Repeat the entire procedure for each distinct volume group you wish to create. For
ease of system administration, you may wish to use different volume groups to separate
logs from data and control files.
NOTE: The default maximum number of volume groups in HP-UX is 10. If you intend
to create enough new volume groups that the total exceeds ten, you must increase the
maxvgs system parameter and then re-build the HP-UX kernel. Use SAM and select
the Kernel Configuration area, then choose Configurable Parameters.
Maxvgs appears on the list.
Creating Logical Volumes for RAC on Disk Arrays
After you create volume groups and add PV links to them, you define logical volumes
for data, logs, and control files. The following are some examples:
# lvcreate -n ops1log1.log -L 4 /dev/vg_ops
# lvcreate -n opsctl1.ctl -L 4 /dev/vg_ops
# lvcreate -n system.dbf -L 28 /dev/vg_ops
# lvcreate -n opsdata1.dbf -L 1000 /dev/vg_ops
Oracle Demo Database Files
The following set of files is required for the Oracle demo database, which can be created
during the installation process.
Table 2-1 Required Oracle File Names for Demo Database
Oracle File
Size (MB)*
Raw Logical Volume Path NameLV Size
(MB)
Logical Volume Name
110
/dev/vg_ops/ropsctl1.ctl
118
opsctl1.ctl
110
/dev/vg_ops/ropsctl2.ctl
118
opsctl2.ctl
110
/dev/vg_ops/ropsctl3.ctl
118
opsctl3.ctl
120
/dev/vg_ops/rops1log1.log
128
ops1log1.log
120
/dev/vg_ops/rops1log2.log
128
ops1log2.log
120
/dev/vg_ops/rops1log3.log
128
ops1log3.log
120
/dev/vg_ops/rops2log1.log
128
ops2log1.log
120
/dev/vg_ops/rops2log2.log
128
ops2log2.log
120
/dev/vg_ops/rops2log3.log
128
ops2log3.log
400
/dev/vg_ops/ropssystem.dbf
408
opssystem.dbf
Creating a Storage Infrastructure with LVM 61