HP Serviceguard Extension for RAC (SGeRAC) manual Displaying the Logical Volume Infrastructure

Models: Serviceguard Extension for RAC (SGeRAC)

1 155
Download 155 pages 6.14 Kb
Page 46
Image 46

Table 1 Required Oracle File Names for Demo Database (continued)

Logical Volume Name

LV Size

Raw Logical Volume Path Name

Oracle File

 

(MB)

 

Size (MB)*

opsdata2.dbf

208

/dev/vg_rac/ropsdata2.dbf

200

opsdata3.dbf

208

/dev/vg_rac/ropsdata3.dbf

200

opsspfile1.ora

5

/dev/vg_rac/ropsspfile1.ora

5

pwdfile.ora

5

/dev/vg_rac/rpwdfile.ora

5

opsundotbs1.dbf

508

/dev/vg_rac/ropsundotbs1.log

500

opsundotbs2.dbf

508

/dev/vg_rac/ropsundotbs2.log

500

example1.dbf

168

/dev/vg_rac/ropsexample1.dbf

160

The size of the logical volume is larger than the Oracle file size because Oracle needs extra space to allocate a header in addition to the file's actual data capacity.

Create these files if you wish to build the demo database. The three logical volumes at the bottom of the table are included as additional data files, that you can create as needed, supplying the appropriate sizes. If your naming conventions require, you can include the Oracle SID and/or the database name to distinguish files for different instances and different databases. If you are using the ORACLE_BASE directory structure, create symbolic links to the ORACLE_BASE files from the appropriate directory. Example:

#ln -s /dev/vg_rac/ropsctl1.ctl/u01/ORACLE/db001/ctrl01_1.ctl

After creating these files, set the owner to oracle and the group to dba with a file mode of 660. The logical volumes are now available on the primary node, and the raw logical volume names can now be used by the Oracle DBA.

Displaying the Logical Volume Infrastructure

To display the volume group, use the vgdisplay command:

#vgdisplay -v /dev/vg_rac

Exporting the Logical Volume Infrastructure

Before the Oracle volume groups can be shared, their configuration data must be exported to other nodes in the cluster. This is done either in Serviceguard Manager or by using HP-UX commands, as shown in the following sections.

All volume and file system related functions are in the Disks and File Systems (fsweb) tool that is also a plugin for the HP-UX System Management Homepage (HP SMH). It can be launched from the HP SMH. Serviceguard Manager provides a link to fsweb tool and launches the fsweb tool for all disk and file system (LVM) related configurations. For CVM/CFS related configurations, the fsweb tool launches the Veritas Enterprise Administrator (VEA) tool.

NOTE: Serviceguard Manager is the graphical user interface for Serviceguard. It is available as a “plug-in” to the System Management Homepage (SMH). SMH is a web-based graphical user interface (GUI) that replaces SAM as the system administration GUI as of HP-UX 11i v3 (but, you can run the SAM terminal interface). See “Using SAM” in the latest edition of the Managing Serviceguard user’s guide.

Exporting with LVM Commands

Use the following commands to set up the same volume group on another cluster node. In this example, the commands set up a new volume group on a system known as ftsys10. This volume group holds the same physical volume that was created on a configuration node known as ftsys9.

To set up the volume group on ftsys10 (and other nodes), use the following steps:

46 Serviceguard Configuration for Oracle 10g, 11gR1, or 11gR2 RAC

Page 46
Image 46
HP Serviceguard Extension for RAC (SGeRAC) manual Displaying the Logical Volume Infrastructure, Exporting with LVM Commands