Operating System - HP-UX
1833784 Members
2229 Online
110063 Solutions
New Discussion

Restore from tape requires an ignite-server!

 
SOLVED
Go to solution
CPHVF-U Guard
Advisor

Restore from tape requires an ignite-server!

I've made a recoverytape with the following command:
make_tape_recovery -A -a /dev/rmt/1mn -d "comment" -v

When I try to restore from the tape, the program tell me I need an Ignite-server to restore.

Some of the output from make_tape_recovery:
* Testing pax for needed patch
* Passed pax tests.
* Recovery Archive Description = ""
* Recovery Archive Location = /dev/rmt/0mn
* Number of Archives to Save = 2
In? dsk/vg name minor# Ass. dsk/mnt
2 v /dev/vg00 0x00 /dev/dsk/c1t6d0
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2
/dev/vg00/lvol4 /opt 2
/dev/vg00/lvol5 /tmp 2
/dev/vg00/lvol6 /usr 2
/dev/vg00/lvol7 /var 2
No errors ...

As I understand, the whole VG (vg00) is included. Why can't I restore from tape?

System information:
model: 9000/800/N4000-55
OS: HP-UX 11.00
SW:
B5725AA, B3.4.115, HP-UX Inst.Util. (Ignite-UX)
Ignite-UX-11-00, B.3.4.115, HPUX Inst. Util. for Inst. 11.00 Systems
QPK1100, sep01
XSWGR1100, nov1999
XSWHWCR1100, sep01
13 REPLIES 13
harry d brown jr
Honored Contributor

Re: Restore from tape requires an ignite-server!

Did you make this tape on another machine? What was the error message? What kind of tape drive are you using?

live free or die
harry
Live Free or Die
John Bolene
Honored Contributor

Re: Restore from tape requires an ignite-server!

Some tape drives cannot be booted from, but it sounds like you get farther than that.

Like Harry asks, are you doing the restore on the same machine you saved from?

A server is not needed to restore from tape.

I have restored from tape hundreds of times.

It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
harry d brown jr
Honored Contributor

Re: Restore from tape requires an ignite-server!

cphvfu,

Is your machine on a network?

live free or die
harry
Live Free or Die
CPHVF-U Guard
Advisor

Re: Restore from tape requires an ignite-server!

Hi,

Thanks for the answers so far.

I've seen the error on two machines.
The tape is created on the same machine.

I am creating some test-tapes to verify the error, so the following is from memory:

# make_tape_recovery -A -a /dev/rmt/[01]mn -d "bla" -v
# shutdown -r 0
press to interrupt ...
boot
interact with IPL: No
... press in 10 sec.... ()
I select install..
Then I get a screen with 3 choices:
1. Install from media (??)
2. Networked (something)
3. Install from server
(default is 3)

I try to select 1.
Then I get an error saying I need an Ignite-server

I hope this make a little sense for you.

Tomorrow I will post the correct messages.

/Kristain.
CPHVF-U Guard
Advisor

Re: Restore from tape requires an ignite-server!

The machines are connetced to a network,
but we don't use an Igniteserver yet.

The tapedrive is DDS-2 (C1533A)

The make_tape_recovery should be correct, right?
I only have one VG: vg00.

The output from make_tape_recovery looks allright to me.
(including all files in vg00)
Patrick Wallek
Honored Contributor

Re: Restore from tape requires an ignite-server!

Try this command instead and see if it makes any difference:

make_tape_recovery -a /dev/rmt/?mn -I -v -x inc_entire=vg00

This will still include your entire vg00, so no worries there.
CPHVF-U Guard
Advisor

Re: Restore from tape requires an ignite-server!

Here is what I exactly do:

# /opt/ignite/bin/make_tape_recovery -A -a /dev/rmt/0mn -d "" -v

(I run it from a script)
(Do you want the output from cmd?)
It looks OK to me, vg00 is fully included.

# shutdown -r 0

> boot 0/0/1/0.3
Interact with IPL> n
Booting
Boot IO Dependent code (IODC) rev 1
HARD booted
ISL rev A.00.43 Apr 12, 2000
ISL Booting hpux (;0):INSTALL
Boot
: tape(0/0/1/0.3.0.0.0.0.0;0):WINSTALL

some info; no swap, no dump, memory ...
.. Ignite-UX rev. B.3.4.115
.. install/init (opt) $Revision

scanning system for IO devices ..
.. querying disk device ... 1 line pr. disk

!! I think it said an error here ...
!! error .. ignite ... line ?? in ??

Recovery tape created from system on
(Press any key)

Then I get:
[x] Install
[ ] run recovery cmd
[ ] advanced

I choose install, and get:
[ ] Media only installation
[ ] Media with network enabled
[x] Ignite-UX server based installation

I choose media only installation and get:
Cannot switch to local media source - it is not a complete Ignite-UX source. You will need to use an Ignite-UX server.
(press any key to continue.)

I will try to break when I see the error.
I will write back.

Regards, Kristian.
CPHVF-U Guard
Advisor

Re: Restore from tape requires an ignite-server!

The error I tracked is:

... Querying disk device: ....

ERROR: "/var/opt/ignite/INDEX", line 2: syntax error
ERROR: Problems were encountered while parsing config file:
"/var/opt/ignite/INDEX".
ERROR: Could not parse file: /var/opt/ignite/INDEX

NOTE: Default source has INSTCMDS but no INDEX file
NOTE: Default (boot) source does not appear to be a valid (or complete) install source, switching source to Network

^B

Locate and look at the INDEX-file created by make_tape_recovery.

Run the make_tape_recovery without -d ""
(on an other tape)

Any suggestions?

/Kristian.
CPHVF-U Guard
Advisor

Re: Restore from tape requires an ignite-server!

I found the error:

If I create a tape with:
# /opt/ignite/bin/make_tape_recovery -A -a /dev/rmt/0mn -d "" -v
it dosen't work.
The tape is created, but when I try to restore I get the error described above about "/var/opt/ignite/INDEX"

If I do
# /opt/ignite/bin/make_tape_recovery -A -a /dev/rmt/0mn -d "comment" -v
everything is all right.

So -d "" breaks the tape.

Would you consider that a bug?
Should I report it to HP?

/Kristian.
harry d brown jr
Honored Contributor
Solution

Re: Restore from tape requires an ignite-server!

I'd say 80-20. 80% bug, 20% user error. "-d" is optional and defaults to "Recovery Archive", and by replacing it with a null, it's hard to predict the outcome.

live free or die
harry
Live Free or Die
Sandip Ghosh
Honored Contributor

Re: Restore from tape requires an ignite-server!

Actually -d is for redirecting the output to some other device other than /dev/rmt/0m. Because by default it is taking /dev/rmt/0m

Sandip
Good Luck!!!
Patrick Wallek
Honored Contributor

Re: Restore from tape requires an ignite-server!

The '-d' option to make_tape_recovery is only really useful if you are going to be using the Ignite GUI and selecting the tape from there, otherwise you will never see what you put for the -d.

Excerpt from make_tape_recovery man page:

"This description will be displayed when choosing the archive as a configuration from the Ignite-UX Graphical User Interface."

If you want a title that you can see when you boot from the tape try using the '-t' option:

"-t tape_title_string - Specifies a custom message that will be displayed to the user during a recovery from the tape. This may be useful to help identify the tape. The default title that will be written to the tape is of the form: "Recovery tape created from system: on " "

Here is the full command that I have scripted on all my systems:

/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -t "Make recovery of UPR system `uname -n` on `date`" -v -x inc_entire=vg00

The -t string I use executes a 'uname -n' and a 'date' command so that my title string looks like:
Make recovery of UPR system scrooge on Thu Feb 7 09:05:34 CST 2002

CPHVF-U Guard
Advisor

Re: Restore from tape requires an ignite-server!

That "Graphical User Interface" is actualy also the TUI when running on console.

I use "-d" because the script also handles backup to an Ignite-UX server instead of tape.

I've changed the script. If my "$COMMENT" is empty I don't use '-d "$COMMENT"'

Thx. a lot.

/Kristian.