or the raw (character) device file /dev/vx/rdsk/logdata/log_files. Verify the configuration with the following command:

vxprint -g logdata

The output of this command is shown in the following example:

TY

NAME

ASSOC

KSTATE

LENGTH PLOFFS

STATE

TUTILO PUTILO

v

logdata

fsgen

ENABLED

1024000

ACTIVE

 

pl

logdata-01 system

ENABLED

1024000

ACTIVE

 

NOTE: The specific commands for creating mirrored and multi-path storage using VxVM are described in the Veritas Volume Manager Reference Guide.

Creating File Systems

If your installation uses file systems, create them next.

NOTE: You can create file systems by means of the cmpreparestg (1m) command. See “Using Easy Deployment Commands to Configure the Cluster” (page 162) for more information. If you use cmpreparestg, you can skip the following steps, but it is a good idea to read them so that you understand what cmpreparestg does for you.

Use the following commands to create a file system for mounting on the logical volume just created:

1.Create the file system on the newly created volume: newfs -F vxfs /dev/vx/rdsk/logdata/log_files

2.Create a directory to mount the volume: mkdir /logs

3.Mount the volume:

mount /dev/vx/dsk/logdata/log_files /logs

4.Check to make sure the file system is present, then unmount the file system: umount /logs

Deporting Disk Groups

After creating the disk groups that are to be used by Serviceguard packages, use the following command with each disk group to allow the disk group to be deported by the package control script on other cluster nodes:

vxdg deport <DiskGroupName>

where <DiskGroupName> is the name of the disk group that will be activated by the control script.

When all disk groups have been deported, you must issue the following command on all cluster nodes to allow them to access the disk groups:

vxdctl enable

Re-Importing Disk Groups

After deporting disk groups, they are not available for use on the node until they are imported again either by a package control script or with a vxdg import command. If you need to import a disk group manually for maintenance or other purposes, you import it, start up all its logical volumes, and mount file systems as in the following example:

vxdg import dg_01

vxvol -g dg_01 startall

mount /dev/vx/dsk/dg_01/myvol /mountpoint

Preparing Your Systems 185

Page 185
Image 185
HP Serviceguard manual Deporting Disk Groups, Re-Importing Disk Groups