Creating and administering disk groups 213

Backing up and restoring disk group configuration data

For more information about how to use vxdctl, refer to the vxdctl(1M) manual page.

Backing up and restoring disk group configuration data

The disk group configuration backup and restoration feature allows you to back up and restore all configuration data for disk groups, and for VxVM objects such as volumes that are configured within the disk groups. The vxconfigbackupd daemon monitors changes to the VxVM configuration and automatically records any configuration changes that occur. Two utilities, vxconfigbackup and vxconfigrestore, are provided for backing up and restoring a VxVM configuration for a disk group.

For information on backing up and restoring disk group configurations, see the “Backing Up and Restoring Disk Group Configurations” chapter in the Veritas Volume Manager Troubleshooting Guide, and the vxconfigbackup(1M) and vxconfigrestore(1M) manual pages.

Using vxnotify to monitor configuration changes

You can use the vxnotify utility to display events relating to disk and configuration changes that are managed by the vxconfigd configuration daemon. If vxnotify is running on a system where the VxVM clustering feature is active, it displays events that are related to changes in the cluster state of the system on which it is running. The vxnotify utility displays the requested event types until you kill it, until it has received a specified number of events, or until a specified period of time has elapsed.

Examples of configuration events that can be detected include disabling and enabling of controllers, paths and DMP nodes, RAID-5 volumes entering degraded mode, detachment of disks, plexes and volumes, and nodes joining and leaving a cluster.

For example, the following vxnotify command displays information about all disk, plex, and volume detachments as they occur:

#vxnotify -f

The following command provides information about cluster configuration changes, including the import and deport of shared disk groups:

#vxnotify -s -i

For more information about the vxnotify utility, and the types of configuration events that it can report, see the vxnotify(1M) manual page.