Creating VxVM Disk Groups

Run the following procedure to create VxVM Disk Groups

1.Initialize disks to be used with VxVM by running the vxdisksetup command only on the primary system.

#/etc/vx/bin/vxdisksetup -i c5t0d0

2.Create the disk group to be used with the vxdg command only on the primary system.

#vxdg init logdata c5t0d0

3.Verify the configuration.

#vxdg list

4.Use the vxassist command to create the volume.

#vxassist -g logdata make logfile 2048m

5.Verify the configuration.

#vxprint -g logdata

6.Make the filesystem.

#newfs -F vxfs /dev/vx/rdsk/logdata/logfile

7.Create a directory to mount the volume group.

#mkdir /logs

8.Mount the disk group.

#mount /dev/vx/dsk/logdata/logfile /logs

9.Check if file system exits, then unmount the file system.

#umount /logs

Installing and Configuring an application in the primary site

Install the application at the primary site in a non replicated disk and configure it to run such that the data is stored in the replicated disks. The installed application and its resources such as volume groups , file system mount points must be configured as a Serviceguard package as explained in the section “Configuring the Continentalclusters primary and recovery packages” (page 15).

Installing and configuring a redundant copy of the application in the recovery site

Install the application at the secondary site and configure it to use the same replicated disks as in the previous step. Then configure the application and its resources as a Serviceguard package.

Configuring the Continentalclusters primary and recovery packages

The packages can be created using any modules supported by HP Serviceguard.

For example, for Oracle application, the Serviceguard Oracle toolkit can be used to create the primary and recovery packages in Continentalclusters.

Continentalclusters supports the following pre-integrated physical replication solutions:

Continuous Access P9000 and XP

Continuous Access EVA

EMC Symmetrix Remote Data Facility

3PAR Remote Copy

Installing and Configuring an application in the primary site 15

Page 15
Image 15
HP Serviceguard Metrocluster manual Creating VxVM Disk Groups