Ignite-UX backuping Raw devices

 
SOLVED
Go to solution
Pablo Fraire
New Member

Ignite-UX backuping Raw devices

We had 2 servers runing HP-UX 11.00 with
B5725AA B.2.6.358 Ignite-UX.
We upgraded one to HP-UX 11.11 with
B5725AA B.5.4.50 Ignite-UX

On the original configuration we used to make make_recovery to cloning and backing up all the system and database (Informix) configuracion without problem. Here is the log.

********
Started - Tue Feb 14 09:00:01 2006
********
/opt/ignite/bin/make_recovery -A -v -i-C -d /dev/rmt/0m
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d -v
"/opt/ignite/bin/save_config" -f "/var/opt/ignite/recovery/config.recover" "vg00" >> "/var/opt/ignite/logs/makrec.log1" 2>&1
/usr/sbin/vgcfgbackup "vg00" >> /var/opt/ignite/logs/makrec.log1 2>&1
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
/usr/sbin/swlist -X /opt/ignite/lib/sd_opts -l product > "/var/tmp/makrec.lasttmp"
"/opt/ignite/bin/instl_adm" -T -f "/var/opt/ignite/recovery/config.recover" >> /var/opt/ignite/logs/makrec.log1 2>&1
"/opt/ignite/bin/make_medialif" -v -f "/var/opt/ignite/recovery/config.recover" -l "/var/tmp/uxinstlf.recovery" -C "HP-UX System Recovery" >> /var/opt/ignite
/logs/makrec.log1 2>&1
Result of make_medialif located in: /var/tmp/uxinstlf.recovery
Release is: B.11.00
Configuration is: "HP-UX System Recovery"

volume ISL10 data size 281239 directory size 3 06/02/14 09:20:01
filename type start size implement created
===============================================================
ISL -12800 16 240 0 06/02/14 09:20:01
AUTO -12289 256 1 0 06/02/14 09:20:01
INDEX BIN 264 1 0 06/02/14 09:20:01
CONFIG BIN 272 31 0 06/02/14 09:20:02
HPUX -12928 304 800 0 06/02/14 09:20:02
INSTALL -12290 1104 34080 0 06/02/14 09:20:07
INSTALLFS -12290 35184 31744 0 06/02/14 09:20:10
FWWKAR BIN 66928 1 0 06/02/14 09:20:10
INSTCMDS BIN 66936 10931 0 06/02/14 09:20:11
SYSCMDS BIN 77872 54322 0 06/02/14 09:20:16
SCRIPTS BIN 132200 41 0 06/02/14 09:20:17
/opt/ignite/bin/instl_adm -F "/var/tmp/uxinstlf.recovery" -f "/var/tmp/tmp_cfg_file" >> /var/opt/ignite/logs/makrec.log1 2>&1
/usr/bin/dd if="/var/tmp/uxinstlf.recovery" of="/dev/rmt/0mn" bs=2k >> /var/opt/ignite/logs/makrec.log1 2>&1
16530+1 records in
16530+1 records out
Creating archive.
/usr/bin/sed 's/^.//' "/var/opt/ignite/recovery/arch.include" | /usr/bin/sort -u |grep -v -e "^var/adm/crash" -e "^etc/xtab" -e "^etc/rmtab" >>"/var/tmp/a
rch.include.1"

********
If the system is recovered using this tape,
this will be the last message seen in the
recovered log file.

********

********
Completed - Tue Feb 14 10:04:08 2006
********


On the new configuration the raw devices where the database is stored aren´t included and the log looks like this:

********
Started - Fri Feb 10 15:11:35 2006
********
/opt/ignite/bin/make_recovery -A -v -i-C -d /dev/rmt/0m
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d -v
"/opt/ignite/bin/save_config" -f "/var/opt/ignite/recovery/config.recover" "vg00" >> "/var/opt/ignite/logs/makrec.log1" 2>&1
save_config: warning - /dev/vg00/ifmx1 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx2 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx3 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx4 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx5 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx6 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx7 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx8 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx9 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx10 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx11 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx12 has unknown type of filesystem on it
/usr/sbin/vgcfgbackup "vg00" >> /var/opt/ignite/logs/makrec.log1 2>&1
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
/usr/sbin/swlist -X /opt/ignite/lib/sd_opts -l product > "/var/tmp/makrec.lasttmp"
"/opt/ignite/bin/instl_adm" -T -f "/var/opt/ignite/recovery/config.recover" >> /var/opt/ignite/logs/makrec.log1 2>&1
"/opt/ignite/bin/make_medialif" -v -a -f "/var/opt/ignite/recovery/config.recover" -l "/var/tmp/uxinstlf.recovery" -C "HP-UX
System Recovery" >> /var/opt/ignite/logs/makrec.log1 2>&1
Result of make_medialif located in: /var/tmp/uxinstlf.recovery
Release is: B.11.11
Configuration is: "HP-UX System Recovery"

Can´t I backup those raw devices anymore with Ignite?
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Ignite-UX backuping Raw devices

Shalom,

make_tape_recovery which you should be using does correctly back up raw devices.

Whether the data is useful or not depends on the application reading it. I've made this work with Software AG adabas and oracle.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: Ignite-UX backuping Raw devices

The make_tape_recovery Steven refers to is available in the newer releases of Ignite:

http://www.docs.hp.com/en/IUX/

I would suggest you download and install a newer version (swremove the old first) and then use it to rebuild your system, moving your data into a separate VG that is backed up by conventional methods. I would not trust Ignite to backup my Informix database.


Pete

Pete
Pablo Fraire
New Member

Re: Ignite-UX backuping Raw devices

Steven: I tried with the make_tape_recovery's standard instalation (as it came from the DVD) and it ask me for a pax patch PHCO_28414 and then informs me that my tape is ...

ERROR: This is not a no rewind device file.
ERROR: Check tape device failed.

So I´ll install the last versión as Pete recomends (I hope it'll include all patches an dependencies).

By the way wy is it failling the tape chek?, this is the one I have.

# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 10/12/5.0.0 stape CLAIMED DEVICE HP C1537A


Thanks;
Pablo
Pete Randall
Outstanding Contributor

Re: Ignite-UX backuping Raw devices

The tape check is saying that you have not specified the "no rewind" device file: /dev/rmt/1mn, for example. It has to have the "n" on the end.


Pete

Pete
Pablo Fraire
New Member

Re: Ignite-UX backuping Raw devices

Thanks, Pete.
Anyway, it doesn't work.

This is the command I used:
/opt/ignite/bin/make_tape_recovery -A -I -v -a /dev/rmt/0mn

This is the log.

======= 02/16/06 10:06:10 SAT Started /opt/ignite/bin/make_tape_recovery.
(Thu Feb 16 10:06:10 SAT 2006)
@(#) Ignite-UX Revision C.6.6.93
@(#) net_recovery (opt) $Revision: 10.750 $

* Testing for necessary pax patch.
* Passed pax tests.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/0mn

* Number of Archives to Save = 2

* Pax type = tar


In? dsk/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c2t6d0 /dev/dsk/c2t5d0 /dev/dsk/c2t4d0 /dev/dsk/c2t3d0
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2
/dev/vg00/lvol4 /tmp 2
/dev/vg00/lvol5 /home 2
/dev/vg00/lvol6 /opt 2
/dev/vg00/lvol7 /usr 2
/dev/vg00/lvol8 /var 2
/dev/vg00/lvol9 /usr/informix 2
/dev/vg00/lvol10 /home/norm 2
/dev/vg00/ifmx1
/dev/vg00/ifmx2
/dev/vg00/ifmx3
/dev/vg00/ifmx4
/dev/vg00/ifmx5
/dev/vg00/ifmx6
/dev/vg00/ifmx7
/dev/vg00/ifmx8
/dev/vg00/ifmx9
/dev/vg00/ifmx10
/dev/vg00/ifmx11
/dev/vg00/ifmx12
* Checking Versions of Ignite-UX filesets

* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2006-02-16,10:06/system_cfg vg00
save_config: warning - /dev/vg00/ifmx1 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx2 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx3 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx4 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx5 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx6 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx7 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx8 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx9 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx10 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx11 has unknown type of filesystem on it
save_config: warning - /dev/vg00/ifmx12 has unknown type of filesystem on it
* 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

* Creating Control Configuration.
* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/lbin/make_arch_config -c
/var/opt/ignite/recovery/2006-02-16,10:06/archive_cfg -g
/var/opt/ignite/recovery/2006-02-16,10:06/flist -n 2006-02-16,10:06 -r
pa -b 64 -d Recovery\ Archive -t 1 -i 2 -m t
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
* Writing boot LIF to tape
50428+0 records in
50428+0 records out
* Complete writing boot LIF onto tape.
* /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
local -n 2006-02-16,10:06 -m t -w
/var/opt/ignite/recovery/2006-02-16,10:06/recovery.log -u -R -g
/var/opt/ignite/recovery/2006-02-16,10:06/flist -a 2739940

* Preparing to create a system archive.

* Archiving contents of normet5 via tar image to local device/dev/rmt/0mn.
* Creation of system archive complete.
NOTE: The following files are in the list of files that were on the
system, but they are no longer present. These files are not
included in the backup:
/home/norm/trafico/datos/Z/ACD2/ts.pbxxx.acd2.we1
/home/norm/trafico/datos/Z/ACD4/ts.pbxxx.acd4.we1
/home/norm/trafico/datos/Z/ALG1/ts.pbxxx.alg1.we1
/home/norm/trafico/datos/Z/ARG1/ts.pbxxx.arg1.we1
/home/norm/trafico/datos/Z/ARG1/ok.txt
/home/norm/trafico/datos/Z/ARG1/ts.gosxx.arg1.we1
/home/norm/trafico/datos/Z/ARR8/ts.pbxxx.arr8.we1
/home/norm/trafico/datos/Z/ARR8/ok.txt
/home/norm/trafico/datos/Z/ARR8/ts.gosxx.arr8.we1
/home/norm/trafico/datos/Z/BEV9/ts.pbxxx.bev9.we1
/home/norm/trafico/datos/Z/BEV9/ok.txt
/home/norm/trafico/datos/Z/BEV9/ts.gosxx.bev9.we1
/home/norm/trafico/datos/Z/CDR2/ts.pbxxx.cdr2.we1
/home/norm/trafico/datos/Z/CDR2/ok.txt
/home/norm/trafico/datos/Z/CEN9/ok.txt
/home/norm/trafico/datos/Z/SFS8/ts.gosxx.sfs8.we1
/home/norm/trafico/datos/Z/SFS8/proc.txt
/home/norm/trafico/datos/Z/SSJ9/ts.gosxx.ssj9.we1
/var/stm/data/tools/monitor/MON_RESTART_IN_PROGRESS

NOTE: Could not read the /etc/resolv.conf file.

======= 02/16/06 11:09:34 SAT make_tape_recovery completed successfully!


But informix raw filesystems' internal information is not backuped.
I hadn't problem durinrg the restoration, but informix can't run without that information.

Any other idea?
Are right the make_tape_command options?

Thanks,
Pablo
Pablo Fraire
New Member

Re: Ignite-UX backuping Raw devices

Finally I got the job done.
It had me two steps instead of one like in HP-UX 10.20.

make_tape_recovery, first
archive 0 level informix

And then restore both in the new HW.

Thank you both.