Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

booting from backup kernel

SOLVED
Go to solution
himacs
Super Advisor

booting from backup kernel

Hi Admin,

I have a small query on booting with kernel backup.My server is B.11.23 integrity server.

In integrity server to go to single user mode
we have to interrupt the boot, we will get HPUX> prompt and we have to type boot -is vmunix

eg :
HPUX>boot -is vmunix

Actually i had posted the same doubt in my one of the thread.But i got answer that like below..

ISL>hpux -is --->I think this is for PA-RISC servers.

NOw please tell me how to boot my INTEGRITY server with backup kernel.

HPUX>boot /stand/kernekbkp--> is this correct?

regards
himacs
13 REPLIES
Prashanth Waugh
Esteemed Contributor

Re: booting from backup kernel

Hi,

ISL> hpux /stand/vmunix.old

Regards
Prashant
For success, attitude is equally as important as ability
himacs
Super Advisor

Re: booting from backup kernel

Hi Prashant,

Thanx for the response.

But this is for pa-risc or integrity..?

regards
himacs
Prashanth Waugh
Esteemed Contributor

Re: booting from backup kernel

Hi ,
for integrity server

HPUX> boot vmunix.prev

Regards
prashant
For success, attitude is equally as important as ability
OldSchool
Honored Contributor

Re: booting from backup kernel

You need to get into the EFI Shell. Procedure is here:

http://docs.hp.com/en/B2355-90950/ch05s01.html#bjabiggf

select the link for : If you are booting an HP Integrity Server see â Booting HP-UX on HP Integrity Servers: Details and Variationsâ , and look at the section 5-2 and "Booting from an Alternate Kernel File"

and, yes, the "ISL" stuff is all PA-RISC related.
himacs
Super Advisor

Re: booting from backup kernel

Hi Old school,

Thanx for the response..

actuaully i use kconfig -s to take the kernel backup.It saves all the kernel parameters in .

Can i boot the server with backup kernel ?

boot /stand/

Is it appropriate way or any other commands used?

regards
himacs
Suraj K Sankari
Honored Contributor

Re: booting from backup kernel

Hi,

Booting HP-UX (EFI Shell)
From the EFI Shell environment, boot HP-UX on a device by first accessing the EFI System
Partition (for example fs0:) for the root device, then entering HPUX to initiate the loader.
1. Access the EFI Shell environment for the server on which you want to boot HP-UX.
Log in to the iLO for Integrity and enter CO to choose the system console.
Confirm that you are at the EFI Boot Manager menu (the main EFI menu) when accessing
the console. If you are at another EFI menu, select Exit from the submenus until you return
to the screen with the EFI Boot Manager heading.
From the EFI Boot Manager menu, select EFI Shell to access the EFI Shell environment.
The EFI Shell displays all the files systems and block devices available.
2. At the EFI Shell environment, issue the map command to list all currently mapped bootable
devices.
The bootable file systems of interest typically are listed as fs0:, fs1:, and so on.
3. Access the EFI System Partition (fsX: where X is the file system number) for the device
from which you want to boot HP-UX.
For example, enter fs2: to access the EFI System Partition for the bootable file system
number 2. The EFI Shell prompt changes to reflect the file system currently accessed.
NOTE: The file system number might change each time it is mapped (for example, when
the server boots, or when you issue the map -r command).
4. When accessing the EFI System Partition for the desired boot device, issue the HPUX command
to initiate the HPUX.EFI loader on the device you are accessing.
The full path for the loader is \EFI\HPUX\HPUX.EFI. When initiated, the loader references
the \EFI\HPUX\AUTO file and proceeds to boot HP-UX using the default boot behavior
specified in the AUTO file.
You have 10 seconds to interrupt the automatic booting of the default boot behavior. Pressing
any key during this 10 second period stops the HP-UX boot process and enables you to
interact with the HPUX.EFI loader. To exit the loader (the HPUX> prompt) enter exit
(this returns you to the EFI Shell).
To boot the HP-UX operating system, do not type anything during the 10 second period
given for stopping at the HPUX.EFI loader.
Shell> map
Device mapping table
fs0 : Acpi(000222F0,269)/Pci(0|0)/(Pun8,Lun0)/HD(Part1,Sig72550000)
blk0 : Acpi(000222F0,269)/Pci(0|0)/(Pun8,Lun0)
blk1 : Acpi(000222F0,269)/Pci(0|0)/(Pun8,Lun0)/HD(Part1,Sig72550000)
blk2 : Acpi(000222F0,269)/Pci(0|0)/(Pun8,Lun0)/HD(Part2,Sig72550000)
blk3 : Acpi(000222F0,2A8)/Pci(0|0)/(Pun8,Lun0)
blk4 : Acpi(000222F0,2A8)/Pci(0|1)/(Pun2,Lun0)
Shell> fs0:
Booting and Shutting Down HP-UX 79
fs0:\> hpux
(c) Copyright 1990-2002, Hewlett Packard Company.
All rights reserved
HP-UX Boot Loader for IA64 Revision 1.723
Press Any Key to interrupt Autoboot
\efi\hpux\AUTO ==> boot vmunix
Seconds left till autoboot - 9

[User Types A Key to Stop the HP-UX Boot Process and Access the HPUX.EFI Loader ]

HPUX>
HPUX> boot vmunix.prev

for more info see the link below
http://docs.hp.com/en/AD217-9015B-ed8/AD217-9015B-ed8.pdf


Suraj
himacs
Super Advisor

Re: booting from backup kernel

HI Suraj,

Thanx for the reply..

Please tell me which command can be used to take the kernel backup or how to take kernel backup..?
The command i used kconfig -s

Is that correct?

regards
himacs






















Raj D.
Honored Contributor
Solution

Re: booting from backup kernel

Himacs,
Since you have taken a backup , and want to boot from that kernel.

At HPUX prompt you can use the below command:
(Remember the "backp_kernelname" is the directory name that you specified with kconfig -s command: )

HPUX> boot /stand/backp_kernelname/vmunix



Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Hakki Aydin Ucar
Honored Contributor

Re: booting from backup kernel

The system automatically saves the currently running configuration to backup immediately before making any requested change to the configuration. in EFI:

hpux -tm

OR,

issue the following command at the HP-UX prompt :

HPUX> boot initial_11iv3
himacs
Super Advisor

Re: booting from backup kernel

Hi Hakki,

>>hpux -tm

OR,

issue the following command at the HP-UX prompt :

>>HPUX> boot initial_11iv3


Plz explain me whats above command does..

regards
himacs
Suraj K Sankari
Honored Contributor

Re: booting from backup kernel

Hi,
>>Please tell me which command can be used to take the kernel backup or how to take kernel backup..?

you can simply copy the vmunix like
cp vmunix vmunix.prev

so that u can remember u r backup kernel file name that is vmunix.prev

Suraj
Hakki Aydin Ucar
Honored Contributor

Re: booting from backup kernel

Don Morris_1
Honored Contributor

Re: booting from backup kernel

Yes, boot /stand/backup_config or boot /stand/backup_config/vmunix is the right approach.

On v2 and later -- do *not* just "cp vmunix vmunix.prev" (I know you said you did the right thing and used kconfig to back up the configuration... but I really want to drive this point home to those replying). The vmunix binary is not enough on v2 and later -- you must have the matching configuration data (KRS, etc.).