Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Configuring OPS Clusters with MC/LockManager: > Chapter 4 Planning and Documenting and OPS Cluster

Shared Logical Volume Planning

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Storage capacity for the Oracle database must be provided in the form of logical volumes located in shared volume groups. The Oracle software requires an Oracle control file, several log files for each Oracle instance, and files for the database itself. For all these files, OPS uses HP-UX raw logical volumes, which are located in volume groups that are shared between the nodes in the cluster. High availability is achieved by using high availability disk arrays in RAID modes. The logical units of storage on the arrays are accessed from each node through multiple physical volume links (PV links, also known as alternate links), which provide redundant paths to each unit of storage.

The following paragraphs show how to plan appropriate volume groups, PV links, and logical volumes for your OPS demo database, which is created by the Oracle installer software. If you do not wish to install the demo database, use the same worksheets to define an appropriate set of volume groups, physical volume groups, and logical volumes for your development or production system.

NOTE: If you are planning to run packages, you will need to plan a volume group infrastructure for those volume groups that will be used by packages. These volume groups must be separate from volume groups that contain the OPS files. The basic methodology for planning volume groups for packages is the same as for shared volumes, but there are a few differences to note. Please see the section “Package Configuration Planning” for details.

Planning Volume Groups

You should plan the number of OPS volume groups based on the availability of disk resources and on your desire to subdivide your disk resources for ease of maintenance or for other reasons. Although most of the examples shown in this section use a single volume group, /dev/vg_ops, you may wish to create more than one volume group. For example, you may want to use one volume group per tablespace.

The default number of volume groups allowed is 10. If your planned configuration will exceed this number, you need to change the MAX_VGS parameter in the /stand/system file. For the changed parameter to take effect, you need to re-build the kernel and reboot the system. See the Managing Systems and Workgroups (B2355-90157) manual for information on changing kernel parameters.

Planning Physical Volumes and PV Links

In order to create a volume group, you must identify the physical volumes that will hold its data. To do this, examine the list of disks in the output of the ioscan -fnC disk command (attached to the hardware worksheet). Assuming you have a disk array attached to each node with two different busses, identify which LUNs to be used for OPS are connected to which different I/O bus. Assign all the disks from one bus to one set of PV links, and assign all the disks from the other bus to a second set of PV links. Do this for each node.

Planning Logical Volumes

A single volume group can hold up to 255 logical volumes, and the largest logical volume that can be employed as a raw file for OPS data is 4 GB. Thus, if your data is larger than 4 GB, you must use more than one logical volume. However, you may use as many as 255 logical volumes per volume group, even when the total size of your data is much less than 4 GB. For the OPS configuration, define enough logical volumes in appropriate sizes for the data and logs you need.

Physical Volumes and PV Links Worksheet

Fill out the OPS Physical Volume worksheet for each node to assist in adding the correct physical volumes to particular volume groups in the vgcreate command. Figure 4-3 “OPS Physical Volume Worksheet” is a sample worksheet filled out. Refer to the appendix, "Appendix E “Blank Planning Worksheets ”" for samples of blank worksheets. Make as many copies as you need. Fill out the worksheet and keep it for future reference.

Figure 4-3 OPS Physical Volume Worksheet

OPS PHYSICAL VOLUME WORKSHEET                  	 	 Page ___ of ____
============================================================================
Volume Group Name: ____/dev/vg_ops1_________________________________
                             PV Link 1             PV Link2
 
Physical Volume Name:_______/dev/dsk/c1t2d0______/dev/dsk/c2t2d0______node 1
 
Physical Volume Name:_______/dev/dsk/c1t3d0______/dev/dsk/c2t3d0______node 2
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Volume Group Name: ____/dev/vg_ops2______________________________________
 
                             PV Link 1              PV Link2
 
Physical Volume Name: ___/dev/dsk/c3t2d0________/dev/dsk/c4t2d0______node 1
 
Physical Volume Name: ___/dev/dsk/c3t3d0________/dev/dsk/c4t3d0______node 2
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: _____________________________________________________
 
Physical Volume Name: ______________________________________________________

Logical Volume Planning Worksheet

Fill out the Logical Volume worksheet to provide logical volume names for OPS logical volumes that you will create with the lvcreate command. The Oracle DBA and the HP-UX system administrator should prepare this worksheet together. Create entries for shared volumes only. For each logical volume, enter the full pathname of the raw logical volume device file. Be sure to include the desired size in MB. Figure 4-4 “Logical Volume Worksheet” is a sample worksheet filled out. Refer to the appendix, "Appendix E “Blank Planning Worksheets ”" for samples of blank worksheets. Make as many copies as you need. Fill out the worksheet and keep it for future reference.

Figure 4-4 Logical Volume Worksheet

OPS LOGICAL VOLUME WORKSHEET                   		Page ___ of ____
===============================================================================
                              RAW LOGICAL VOLUME NAME          SIZE (MB)
 
   Oracle Control File 1:  ___/dev/vg_ops/ropsctl1.ctl_____________1____________
 
   Oracle Control File 2:  ___/dev/vg_ops/ropsctl2.ctl_____________1____________
 
   Oracle Control File 3:  ___/dev/vg_ops/ropsctl3.ctl_____________1____________
 
   Instance 1 Redo Log 1:  ___/dev/vg_ops/rops1log1.log____________1____________
 
   Instance 1 Redo Log 2:  ___/dev/vg_ops/rops1log2.log____________1____________
 
   Instance 1 Redo Log 3:  ___/dev/vg_ops/rops1log3.log____________1____________
 
   Instance 1 Redo Log:    _____________________________________________________
 
   Instance 1 Redo Log:    _____________________________________________________
 
   Instance 2 Redo Log 1:  ___/dev/vg_ops/rops2log1.log____________1____________
 
   Instance 2 Redo Log 2:  ___/dev/vg_ops/rops2log2.log____________1____________
 
   Instance 2 Redo Log 3:  ___/dev/vg_ops/rops2log3.log____________1____________
 
   Instance 2 Redo Log:    _____________________________________________________
 
   Instance 2 Redo Log:    _____________________________________________________
 
   Data: System            ___/dev/vg_ops/rsystem.dbf______________25___________
 
   Data: Rollback          ___/dev/vg_ops/rrollback.dbf____________4____________
 
   Data: Temp              ___/dev/vg_ops/rtemp.dbf________________1____________
 
   Data: Users             ___/dev/vg_ops/rusers.dbf_______________1____________
 
   Data: Tools             ___/dev/vg_ops/rtools.dbf_______________15___________
 
   Data: User data         ___/dev/vg_ops/opsdata1.dbf_____________200__________
 
   Data: User data         ___/dev/vg_ops/opsdata2.dbf_____________200__________
 
   Data: User data         ___/dev/vg_ops/opsdata3.dbf_____________200__________
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1999 Hewlett-Packard Development Company, L.P.