vxddladm addforeign

212

Creating and administering disk groups

Managing the configuration daemon in VxVM

To create a disk group with a previous version, specify the -Tversion option to the vxdg init command.

For example, to create a disk group with version 120 that can be imported by a system running VxVM 4.1, use the following command:

#vxdg -T 120 init newdg newdg01=c0t3d0

This creates a disk group, newdg, which can be imported by Veritas Volume Manager 4.1. Note that while this disk group can be imported on the VxVM 4.1 system, attempts to use features from Veritas Volume Manager 5.0 will fail.

Managing the configuration daemon in VxVM

The VxVM configuration daemon (vxconfigd) provides the interface between VxVM commands and the kernel device drivers. vxconfigd handles configuration change requests from VxVM utilities, communicates the change requests to the VxVM kernel, and modifies configuration information stored on disk. vxconfigd also initializes VxVM when the system is booted.

The vxdctl command is the command-line interface to the vxconfigd daemon. You can use vxdctl to:

Control the operation of the vxconfigd daemon.

Change the system-wide definition of the default disk group.

Note: In VxVM 4.0 and later releases, disk access records are no longer stored in the /etc/vx/volboot file. Non-persistent disk access records are created by scanning the disks at system startup. Persistent disk access records for simple and nopriv disks are permanently stored in the /etc/vx/darecs file in the root file system. The vxconfigd daemon reads the contents of this file to locate the disks and the configuration databases for their disk groups. (The /etc/vx/ darecs file is also used to store definitions of foreign devices that are not autoconfigurable. Such entries may be added by using the

command. See the vxddladm(1M) manual page for more information.)

You can also use vxdctl to:

Reconfigure the DMP database to include disk devices newly attached to, or removed from the system.

Create DMP device nodes in the directories /dev/vx/dmp and /dev/vx/ rdmp.

Update the DMP database with changes in path type for active/passive disk arrays. Use the utilities provided by the disk-array vendor to change the path type between primary and secondary.

Page 211
Image 211
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Managing the configuration daemon in VxVM