How to use vxconfigbackup to capture specific diskgroup configurations

book

Article ID: 100020212

calendar_today

Updated On:

Resolution

This is an example on how  to backup only the rootdg configuration information and exclude other Diskgroups.
This is not a product defect and that the product is working as designed. We do not recommend to  modify in specific how our product backs up diskgroup configuration copies. These files are required for support to recover diskgroup/volume information in case the diskgroup configuration copy is corrupted for unknown or accidental reasons. If the files are no longer backedup for diskgroups then we will not be able to recover the diskgroup configuration information.  we do not recommend making these changes.
Nonetheless,if the change is required, then only  modify the /etc/vx/bin/vxconfigbackupscript.
To make this change, so that only the rootdg diskgroup configuration is stored under the/etc/vx/cbr/bk directory, modify the /etc/vx/bin/vxconfigbackup file, changing the line:
 
dgs=$*
to:
# dgs=$*
dgs=rootdg
--------------------------------------
 
Then stop and restart vxconfigbackup:
1.) Check for vxconfigbackup processes
#ps -ef | grep vxconfigbackup
2.) Kill the vxconfigbackup processes
#pkill vxconfigbackup
3.) Check for vxconfigbackup processes
#ps -ef | grep vxconfigbackup
4.) Start vxconfigbackup
#/lib/svc/method/vxvm-recover
5.) Check for vxconfigbackup processes
#ps -ef | grep vxconfigbackup
 
Now only the rootdg diskgroup configuration will be captured in the /etc/vx/cbr/bk directory.
 

 

Issue/Introduction

How to use vxconfigbackup to capture specific diskgroup configurations