Operating System - HP-UX
1753808 Members
7586 Online
108805 Solutions
New Discussion юеВ

learning to recover from system failure

 
SOLVED
Go to solution
JUN-Chan
Occasional Advisor

learning to recover from system failure

hi,
i have created the system recovery tape using the command make_tape_recovery n i would like to know how am i goin to use this tape to recover from system failure?? from wat i know is insert the tape to tape drive, reboot the system, interrupt the process....but i dunno wats the exact command i need to use such as redirect to the tape drive....i'm using HP-UX 11.0
9 REPLIES 9
T G Manikandan
Honored Contributor

Re: learning to recover from system failure

Interupt the boot prosess.
At prompt enter:-

main>sea

find the path to tape drive


sea>bo alt

The prompts which follow this will be understandable.


Thanks
T G Manikandan
Honored Contributor

Re: learning to recover from system failure

Michael Tully
Honored Contributor

Re: learning to recover from system failure

One of the best ways to make sure that you have the hardware path of your tape drive for when you interrupt the boot process is to have a copy of your 'ioscan' output beforehand. So when you you use the 'SEA' option after you have stopped the boot process, you will know which is the tape drive.
Anyone for a Mutiny ?
JUN-Chan
Occasional Advisor

Re: learning to recover from system failure

hi , wats the ioscan command i should use to determine the tape drive device?? thanks in advance
Michael Tully
Honored Contributor

Re: learning to recover from system failure

Just for the tape drives on your system:

# ioscan -fnkC tape
Anyone for a Mutiny ?
JUN-Chan
Occasional Advisor

Re: learning to recover from system failure

so let say my tape drive path is /dev/rmt/0m,
at prompt i should enter
main>bo alt /dev/rmt/0m
then it will lead thru the installation process without any intervention, is it correct?? Jx to make sure is correct, thanx in advance.
Bill McNAMARA_1
Honored Contributor
Solution

Re: learning to recover from system failure

no BO HW path
device files are only accessible when hp-ux has booted and mounted /

example (with disks but same applies for tape)

root @ cactus / # ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/1.15.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 1 0/0/2/1.15.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c3t15d0 /dev/rdsk/c3t15d0


The 0/0/1/1.15.0 correspons to disk with dev file /dev/dsk/c1t15d0

The BCH > PA command will return effectively the same as setboot:
root @ cactus / # setboot
Primary bootpath : 0/0/1/1.15.0
Alternate bootpath : 0/0/2/1.15.0

Autoboot is ON (enabled)
Autosearch is ON (enabled)

if I do
BCH> BO PRI
I boot from 0/0/1/1.15.0

It is the exact same as doing
BCH> BO 0/0/1/1.15.0


If I do BO ALT
it is the same as BO 0/0/2/1.15.0

If I do BO 0/0/2/1.2.3
If will attempt to boot from the device with the HW path 0/0/2/1.2.3

I have no idea what this is unless I have an ioscan -fnk

the BCH> SEA
will potentiall return all bootable devices (hardware)
if 0/0/2/1.2.3 is not amongst them, I possibly will not be able to boot from it.

If you've got an ignite server, you can
BO LAN.192.168.1.100 INSTALL
for example.

Think of the BCH like the BIOS of a PC selecting the boot sevices.. It is completely OS independant.

Later,
Bill
It works for me (tm)
JUN-Chan
Occasional Advisor

Re: learning to recover from system failure

thanks a lot bill!!
Rory R Hammond
Trusted Contributor

Re: learning to recover from system failure

At the prompt ISL prompt
(the tape has to be inserted) do:
SEA IPL

The system will show you all the bootable devices. (it can take awhile)
for example on one of my machines

it will assoiate

P1 8/4.5 etc
P2 8/0.5 etc

The "P" value associated with sequential access media.
When set you can than
bo P1
or
bo P2
or
whatever device you want to use.
Rory
There are a 100 ways to do things and 97 of them are right