Operating System - HP-UX
1751860 Members
5312 Online
108782 Solutions
New Discussion

Re: Ignite - Any Way Of Only Backing Up vg00?

 
PHSC
Frequent Advisor

Ignite - Any Way Of Only Backing Up vg00?

Greetings

 

In prep for a HPUX upgrade i'm trying to do a HPUX backup.  The backup fails as two of the volume groups are version 2.1 and Ignite can not back these up.  Server Info below:

 

ia64 hp server rx3600

HPUX11i-BOE                   B.11.31.0809

 

IGNITE                        C.7.18.63      HP-UX Installation Utilities (Ignite-UX)
Ignite-UX-11-31     C.7.18.63      HP-UX Installation Utilities forInstalling 11.31 Systems

 

lvmadm -l
--- Version 1.0 volume groups ---
VG Name /dev/vg00
PV Name /dev/disk/disk3_p2
 
--- Version 2.1 volume groups ---
VG Name /dev/vg01
PV Name /dev/disk/disk12
        /dev/disk/disk16
 
VG Name /dev/vg02
PV Name /dev/disk/disk13
        /dev/disk/disk14
        /dev/disk/disk15
        /dev/disk/disk17
        /dev/disk/disk18
        /dev/disk/disk19

 

time make_tape_recovery -A
       * Creating local directories for configuration files and archive.
 
=======  06/19/14 11:09:18 BST  Started make_tape_recovery. (Thu Jun 19
         11:09:18 BST 2014)
         @(#)Ignite-UX Revision C.7.18.63
         @(#)ignite/net_recovery (opt) Revision:
         /branches/IUX_RA1403/ignite/src@86261 Last Modified: 2014-01-31
         17:15:38 +0530 (Fri, 31 Jan 2014)
 
       * Checking Versions of Ignite-UX filesets
       * Scanning system for IO devices...
WARNING: SIOC_VPD_INQUIRY ioctl failed to retrieve data for control device
         0/7/1/0.0x7.0x0: Invalid argument.
       * Boot device is: 0/4/1/0.0xb11032b4a28a213.0x0
       * Creating System Configuration.
       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2014-06-19,11:09/system_cfg vg00 vg01
System is configured with one or more LVM volume groups having volume group vers
ion 2.0 or 2.1. These volume groups must either be excluded from selection or co
nverted to volume group version 2.2 using vgversion command.
 
Below is the list of LVM volume groups with volume group versions 2.0 or 2.1:
vg01
 
save_config: Error - Unable to save the hardware configuration of the system.
ERROR:   /opt/ignite/bin/save_config failed
 
=======  06/19/14 11:09:29 BST  make_tape_recovery completed unsuccessfully

 

SO.......

 

Does any one know how to stop the make_tape_recovery from attempting to backup vg01 & vg02 and ONLY backup vg00?  I've tried a simple "make_tape_recovery" and it does the backup, but it is very quick and reports:

 

""The volume group /dev/vg00 will be only partially included in the
   System Recovery Archive.  This means that not all files and
   directories on this volume group will be restored when the archive is
   installed."""

 

I don't fancy having to restore a partial vg00 and hoping for the best...

 

Is the only option is to run the "vgversion" command?

 

Thanks

3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Ignite - Any Way Of Only Backing Up vg00?

The typical make_tape_recovery command I use is:

 

# make_tape_recovery -I -a /dev/rmt/0mn -x inc_entire=vg00

 

This should back up only VG00.

PHSC
Frequent Advisor

Re: Ignite - Any Way Of Only Backing Up vg00?

*  Greetings Patrick.  HMm, I tried that and got the exact same error:

 

System is configured with one or more LVM volume groups having volume group version 2.0 or 2.1. These volume groups must either be excluded from selection or converted to volume group version 2.2 using vgversion command.
 
Below is the list of LVM volume groups with volume group versions 2.0 or 2.1:
vg01
 
save_config: Error - Unable to save the hardware configuration of the system.
ERROR:   /opt/ignite/bin/save_config failed

 

*  Looking in /etc/fstab, there are three non root VGs:

 

/dev/vg01/u01 /u01 vxfs delaylog,largefiles 0 2
/dev/vg02/u02 /u02 vxfs delaylog,largefiles 0 2
/dev/vg01/u03 /u03 vxfs delaylog,largefiles 0 2

 

*  I've tried to take out these three VGs and ran:

 

make_tape_recovery -x inc_entire=vg00 -x exclude=/u01 -x exclude=/u02 -x exclude=/u03 -l -v -a /dev/rmt/0mn

 

*  This time the HPUX backup worked...but it was quick and reported that not all of vg00 was backed up..?

 

       Creating local directories for configuration files and archive.
 
=======  06/19/14 15:03:15 BST  Started make_tape_recovery. (Thu Jun 19
         15:03:15 BST 2014)
         @(#)Ignite-UX Revision C.7.18.63
         @(#)ignite/net_recovery (opt) Revision:
         /branches/IUX_RA1403/ignite/src@86261 Last Modified: 2014-01-31
         17:15:38 +0530 (Fri, 31 Jan 2014)
 
NOTE:    Detected entries in the defaults file at
         /var/opt/ignite/recovery/defaults.
 
       * Checking Versions of Ignite-UX filesets
       * Scanning system for IO devices...
WARNING: SIOC_VPD_INQUIRY ioctl failed to retrieve data for control device
         0/7/1/0.0x7.0x0: Invalid argument.
       * Boot device is: 0/4/1/0.0xb11032b4a28a213.0x0
       * Creating System Configuration.
WARNING: The volume group /dev/vg00 will be only partially included in the
         System Recovery Archive.  This means that not all files and
         directories on this volume group will be restored when the archive is
         installed.  This message can be suppressed using the "-P s" option for
         make_tape_recovery. See make_tape_recovery(1M) for more details.
 
       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2014-06-19,15:03/system_cfg vg00
       * Backing Up Volume Group /dev/vg00
       * /usr/sbin/vgcfgbackup /dev/vg00
       * Creating Map Files for Volume Group /dev/vg00
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00
 
       * Backing Up Volume Group /dev/vg01
       * /usr/sbin/vgcfgbackup /dev/vg01
       * Creating Map Files for Volume Group /dev/vg01
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg01.mapfile /dev/vg01
 
       * Backing Up Volume Group /dev/vg02
       * /usr/sbin/vgcfgbackup /dev/vg02
       * Creating Map Files for Volume Group /dev/vg02
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg02.mapfile /dev/vg02
 
       * Creating Control Configuration.
       * Creating Archive File List
       * Creating Archive Configuration
 
       * /opt/ignite/lbin/make_arch_config -c
         /var/opt/ignite/recovery/2014-06-19,15:03/archive_cfg -g
         /var/opt/ignite/recovery/2014-06-19,15:03/flist -n 2014-06-19,15:03 -r
         ipf -b 64 -d Recovery\ Archive -t 22 -i 1 -m t
       * Saving the information about archive to
         /var/opt/ignite/recovery/previews
       * Creating The Tape Archive
WARNING: You are about to create an Itanium-based recovery tape.  If this
         system does NOT support direct tape boot, you will need to perform
         "two-step media recovery" where the boot media (CD or DVD) has the
         same version of Ignite-UX as the version on this tape.
NOTE:    File: /var/tmp/tmp_cfg_file is not world-readable, this may cause
         clients to fail to read it during an installation.
NOTE:    File: /var/opt/ignite/tmp/24735/cfg is not world-readable, this may
         cause clients to fail to read it during an installation.
NOTE:    File: /var/opt/ignite/tmp/24735/IINSTALLFS is not world-readable, this
         may cause clients to fail to read it during an installation.
       * /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
         local -n 2014-06-19,15:03 -m t -w
         /var/opt/ignite/recovery/2014-06-19,15:03/recovery.log -u -R -g
         /var/opt/ignite/recovery/2014-06-19,15:03/flist -a 10536650
 
       * Preparing to create a system archive.
 
       * Archiving contents of pinot via tar image to local device /dev/rmt/0mn.
       * Creation of system archive complete.
 
       * Archive created and rewind the tape to beginning of tape.
 
       * Cleaning up old configuration file directories
 
=======  06/19/14 15:11:51 BST  make_tape_recovery completed with warnings

 

*  So, perhaps this is as good a HPUX back as I will get.

 

Bill Hassell
Honored Contributor

Re: Ignite - Any Way Of Only Backing Up vg00?

Is there any reason that you can't convert to VG 2.2?

The other choice is to vgexport the version 2 VGs, run the Ignite backup then vgimport the VGs.

 

Hopefully HP will upgrade Ignite to handle the latest VG versions.



Bill Hassell, sysadmin