|
» |
|
|
|
| | |
This section has procedures for booting and shutting down
HP-UX on cell-based HP servers and a procedure for adding HP-UX to the boot
options list on HP Integrity servers. HP-UX Support for Cell Local Memory | |
On servers based on the HP sx1000 chipset or HP sx2000
chipset, each cell has a cell local memory (CLM) parameter, which determines
how firmware interleaves memory residing on the cell. To check CLM configuration details from an OS, use Partition
Manager or the parstatus command. For example, the parstatus
-V -c# command and parstatus -V
-p# command report the CLM amount requested
and CLM amount allocated for the specified cell (-c#,
where # is the cell number) or the specified nPartition
(-p#, where # is
the nPartition number). To check CLM configuration details from the EFI Shell on
a cell-based HP Integrity server, use the info mem command.
If the amount of "NonInterleaved Memory" reported is less than 512 MB then
no CLM is configured for any cells in the nPartition (and the indicated amount
of noninterleaved memory is used by system firmware). If the info
mem command reports more than 512 MB of noninterleaved memory then
use use Partition Manager or the parstatus command to confirm
the CLM configuration details. To set the CLM configuration, use Partition Manager or
the parmodify command. Adding HP-UX to the Boot Options List | |
This section describes how to add an HP-UX entry to the
system boot options list. You can add the \EFI\HPUX\HPUX.EFI loader
to the boot options list from the EFI Shell or EFI Boot Configuration menu
(or in some versions of EFI, the Boot Option Maintenance menu). | | | | | NOTE: On HP Integrity servers, the operating system installer
automatically adds an entry to the boot options list. | | | | |
Procedure 5-6 Adding an HP-UX Boot Option This procedure adds an HP-UX item to the boot options list
from the EFI Shell. To add an HP-UX boot option when logged in to HP-UX use
the setboot command. For details refer to the setboot(1M) manpage. Access the EFI
Shell environment. Log in to the management processor
and enter CO to access the system console. When accessing the console, confirm that you are at the
EFI Boot Manager menu (the main EFI menu). If at another EFI menu, select
the Exit option from the sub-menus until you return to
the screen with the EFI Boot Manager heading. From the EFI Boot Manager menu, select the EFI
Shell menu option to access the EFI Shell environment. 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. The full path for the HP-UX loader is \EFI\HPUX\HPUX.EFI and
it should be on the device you are accessing. At the EFI Shell
environment, use the bcfg command to manage the boot options
list. The bcfg command includes
the following options for managing the boot options list: bcfg boot dump —
Display all items in the boot options list for the system. bcfg boot rm # —
Remove the item number specified by # from the boot
options list. bcfg boot mv #a #b —
Move the item number specified by #a to the position
specified by #b in the boot options list. bcfg boot add # file.efi "Description" — Add a new boot option to the position in the boot options list
specified by #. The new boot option references file.efi and
is listed with the title specified by Description. For example, bcfg boot add 1 \EFI\HPUX\HPUX.EFI
"HP-UX 11i"adds an HP-UX 11i item as the first entry in the boot
options list.
See the help bcfg command for details. Exit the console
and management processor interfaces if you are finished using them. To exit the EFI environment press ^B (Control-B);
this exits the system console and returns to the management processor Main
Menu. To exit the management processor, type X at the Main
Menu.
Booting HP-UX | |
This section covers the following methods of booting HP-UX: Refer to “Shutting Down HP-UX” for
details on shutting down the HP-UX OS. This section describes how to boot HP-UX on cell-based
HP 9000 servers and cell-based HP Integrity servers. On HP 9000 servers, to boot HP-UX
refer to “HP-UX Booting (BCH Menu)”. On HP Integrity servers, to boot
HP-UX use either of the following procedures:
Procedure 5-7 HP-UX Booting (BCH Menu) From the BCH Menu, use the BOOT command
to boot the HP-UX OS. The BCH Menu is available only on HP 9000 servers. Access the BCH
Main Menu for the nPartition on which you want to boot HP-UX. Log in to the management processor (MP) and enter CO to
access the Console list. Choose the nPartition console. When accessing the
console, confirm that you are at the BCH Main Menu (the Main
Menu: Enter command or menu> prompt). If you are at a
BCH menu other than the Main Menu, then enter MA to return
to the BCH Main Menu. Choose which
device you want to boot. From the BCH Main Menu,
use the PATH command to list any boot path variable settings.
The primary (PRI) boot path normally is set to the main boot device for the
nPartition. You also can use the SEARCH command to find
and list potentially bootable devices for the nPartition. Main Menu: Enter command or menu > PATH
Primary Boot Path: 0/0/2/0/0.13
0/0/2/0/0.d (hex)
HA Alternate Boot Path: 0/0/2/0/0.14
0/0/2/0/0.e (hex)
Alternate Boot Path: 0/0/2/0/0.0
0/0/2/0/0.0 (hex)
Main Menu: Enter command or menu > |
Boot the device
using the BOOT command from the BCH interface. You can issue the BOOT command in any
of the following ways: BOOT Issuing the BOOT command
with no arguments boots the device at the primary (PRI) boot path. BOOT bootvariable This command boots the device indicated by the specified boot path,
where bootvariable is the PRI, HAA, or ALT boot path. For example, BOOT PRI boots the primary boot path. BOOT LAN INSTALL or BOOT
LAN.ip-address INSTALL The BOOT...
INSTALL commands boot HP-UX from the default HP-UX install server
or from the server specified by ip-address. BOOT path This command boots the device at the specified path.
You can specify the path in HP-UX hardware path notation
(for example, 0/0/2/0/0.13) or in path label format (for example, P0 or P1)
. If you specify the path in path label format,
then path refers to a device path reported by the last SEARCH command.
After you issue the BOOT command, the
BCH interface prompts you to specify whether you want to stop at the ISL prompt. To boot the /stand/vmunix HP-UX kernel
from the device without stopping at the ISL prompt, enter n to
automatically proceed past ISL and execute the contents of the AUTO file
on the chosen device. (By default the AUTO file is configured
to load /stand/vmunix.) Main Menu: Enter command or menu > BOOT PRI
Primary Boot Path: 0/0/1/0/0.15
Do you wish to stop at the ISL prompt prior to booting? (y/n) >> n
ISL booting hpux
Boot
: disk(0/0/1/0/0.15.0.0.0.0.0;0)/stand/vmunix |
To boot an HP-UX kernel other than /stand/vmunix,
or to boot HP-UX in single-user or LVM-maintenance mode, stop at the ISL prompt
and specify the appropriate arguments to the hpux loader. Exit the console
and management processor interfaces if you are finished using them. To exit the BCH environment, press ^B (Control-B);
this exits the nPartition console and returns to the management processor
Main Menu. To exit the management processor, type X at
the Main Menu.
Procedure 5-8 HP-UX Booting (EFI Boot Manager) From the EFI Boot Manager menu, choose an item from the
boot options list to boot HP-UX using that boot option. The EFI Boot Manager
is available only on HP Integrity servers. Refer to “ACPI Configuration for HP-UX Must Be default” for
required configuration details. Access the EFI
Boot Manager menu for the nPartition on which you want to boot HP-UX. Log in to the management processor (MP) and enter CO to
access the Console list. Choose the nPartition console. When accessing the console, confirm that you are at the
EFI Boot Manager menu (the main EFI menu). If you are at another EFI menu,
choose the Exit option from the submenus until you return
to the screen with the EFI Boot Manager heading. At the EFI Boot
Manager menu, choose an item from the boot options list. Each
item in the boot options list references a specific boot device and provides
a specific set of boot options or arguments to be used when booting the device. Press Enter to
initiate booting using the chosen boot option. Exit the console
and management processor interfaces if you are finished using them. To exit the EFI environment, press ^B (Control-B);
this exits the nPartition console and returns to the management processor
Main Menu. To exit the management processor, type X at
the Main Menu.
Procedure 5-9 HP-UX Booting (EFI Shell) From the EFI Shell environment, to boot HP-UX on a device
first access the EFI System Partition (for example fs0:)
for the root device and then enter HPUX to initiate
the loader. The EFI Shell is available only on HP Integrity servers. Refer to “ACPI Configuration for HP-UX Must Be default” for
required configuration details. Access the EFI
Shell environment for the nPartition on which you want to boot HP-UX. Log in to the management processor (MP) and enter CO to
access the Console list. Choose the nPartition console. When accessing the console, confirm that you are at the
EFI Boot Manager menu (the main EFI menu). If you are at another EFI menu,
choose the Exit option from the submenus until you return
to the screen with the EFI Boot Manager heading. From the EFI Boot Manager menu, choose the EFI
Shell menu option to access the EFI Shell environment. At the EFI Shell
environment, issue the acpiconfig command to list the current
ACPI configuration for the local nPartition. On cell-based
HP Integrity servers, to boot the HP-UX OS an nPartition must have its ACPI
configuration value set to default. If the acpiconfig value
is not set to default, then HP-UX cannot
boot; in this situation you must reconfigure acpiconfig or
booting will be interrupted with a panic when launching the HP-UX kernel. To set the ACPI configuration for HP-UX: At the EFI Shell
interface enter the acpiconfig default command, and then
enter the reset command for the nPartition to reboot with
the proper (default) configuration for HP-UX. 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. 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. The file system number can change each time it is mapped
(for example, when the nPartition boots, or when the map -r command
is issued). 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 and
when initiated it references the \EFI\HPUX\AUTO file
and proceeds to boot HP-UX using the default boot behavior specified in the AUTO file. You are given 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
return you to the EFI Shell). To boot the HP-UX OS, 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)/Scsi(Pun8,Lun0)/HD(Part1,Sig72550000)
blk0 : Acpi(000222F0,269)/Pci(0|0)/Scsi(Pun8,Lun0)
blk1 : Acpi(000222F0,269)/Pci(0|0)/Scsi(Pun8,Lun0)/HD(Part1,Sig72550000)
blk2 : Acpi(000222F0,269)/Pci(0|0)/Scsi(Pun8,Lun0)/HD(Part2,Sig72550000)
blk3 : Acpi(000222F0,2A8)/Pci(0|0)/Scsi(Pun8,Lun0)
blk4 : Acpi(000222F0,2A8)/Pci(0|1)/Scsi(Pun2,Lun0)
Shell> fs0:
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 |
Exit the console
and management processor interfaces if you are finished using them. To exit the EFI environment, press ^B (Control-B);
this exits the nPartition console and returns to the management processor
Main Menu. To exit the management processor, type X at
the Main Menu.
Single-User Mode HP-UX BootingThis section describes how to boot HP-UX in single-user
mode on cell-based HP 9000 servers and cell-based HP Integrity servers. Procedure 5-10 Single-User Mode HP-UX Booting (BCH Menu) From the BCH Menu, you can boot HP-UX in single-user mode
by issuing the BOOT command, stopping at the ISL interface,
and issuing hpux loader options. The BCH Menu is available
only on HP 9000 servers. Access the BCH
Main Menu for the nPartition on which you want to boot HP-UX in single-user
mode. Log in to the management processor (MP) and
enter CO to access the Console list. Choose the nPartition
console. When accessing the console, confirm that you are at the BCH Main
Menu (the Main Menu: Enter command or menu> prompt).
If you are at a BCH menu other than the Main Menu, then enter MA to
return to the BCH Main Menu. Boot the desired
device using the BOOT command at the BCH interface,
and specify that the nPartition stop at the ISL prompt prior to booting (reply y to
the "stop at the ISL prompt" question). Main Menu: Enter command or menu > BOOT 0/0/2/0/0.13
BCH Directed Boot Path: 0/0/2/0/0.13
Do you wish to stop at the ISL prompt prior to booting? (y/n) >> y
Initializing boot Device.
....
ISL Revision A.00.42 JUN 19, 1999
ISL> |
From the ISL
prompt, issue the appropriate Secondary System Loader (hpux)
command to boot the HP-UX kernel in the desired mode. Use
the hpux loader to specify the boot mode options and to
specify which kernel (such as: /stand/vmunix) to boot
on the nPartition. To boot HP-UX in single-user mode: ISL> hpux -is boot /stand/vmunix To boot HP-UX at the default run
level: ISL> hpux boot /stand/vmunix
To exit the ISL prompt and return to the BCH interface,
issue the EXIT command instead of specifying one of the hpux loader
commands. Refer to the hpux(1M) manpage for a detailed list of hpux loader
options. Example 5-1 Single-User HP-UX Boot ISL Revision A.00.42 JUN 19, 1999
ISL> hpux -is /stand/vmunix
Boot
: disk(0/0/2/0/0.13.0.0.0.0.0;0)/stand/vmunix
8241152 + 1736704 + 1402336 start 0x21a0e8
....
INIT: Overriding default level with level 's'
INIT: SINGLE USER MODE
INIT: Running /sbin/sh
# |
Exit the console
and management processor interfaces if you are finished using them. To exit the BCH environment, press ^B (Control-B);
this exits the nPartition console and returns to the management processor
Main Menu. To exit the management processor, type X at
the Main Menu.
Procedure 5-11 Single-User Mode HP-UX Booting (EFI Shell) From the EFI Shell environment, boot in single-user mode
by stopping the boot process at the HPUX.EFI interface
(the HP-UX Boot Loader prompt, HPUX>)
entering the boot -is vmunix command. The EFI Shell is
available only on HP Integrity servers. Refer to “ACPI Configuration for HP-UX Must Be default” for
required configuration details. Access the EFI
Shell environment for the nPartition on which you want to boot HP-UX in single-user
mode. Log in to the management processor (MP) and
enter CO to access the Console list. Choose the nPartition
console. When accessing the console, confirm that you are at the
EFI Boot Manager menu (the main EFI menu). If you are at another EFI menu,
choose the Exit option from the submenus until you return
to the screen with the EFI Boot Manager heading. From the EFI Boot Manager menu, choose the EFI
Shell menu option to access the EFI Shell environment. Access the EFI
System Partition (fsX: where X is
the file system number) for the device from which you want to boot HP-UX. When accessing
the EFI System Partition for the desired boot device, issue the HPUX command
to initiate the \EFI\HPUX\HPUX.EFI loader on the device
you are accessing. Boot to the HP-UX
Boot Loader prompt (HPUX>) by pressing
any key within the 10 seconds given for interrupting the HP-UX boot process.
You will use the HPUX.EFI loader to boot HP-UX in single-user
mode in the next step. After you press any key, the HPUX.EFI interface
(the HP-UX Boot Loader prompt, HPUX>)
is provided. For help using the HPUX.EFI loader,
enter the help command. To return to the EFI Shell, enter exit. 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 ]
Type 'help' for help
HPUX> |
At the HPUX.EFI interface
(the HP-UX Boot Loader prompt, HPUX>)
enter the boot -is vmunix command to boot HP-UX (the /stand/vmunix kernel)
in single-user (-is) mode. HPUX> boot -is vmunix
> System Memory = 4063 MB
loading section 0
................................................... (complete)
loading section 1
........ (complete)
loading symbol table
loading System Directory(boot.sys) to MFS
....
loading MFSFILES Directory(bootfs) to MFS
......
Launching /stand/vmunix
SIZE: Text:25953K + Data:3715K + BSS:3637K = Total:33306K
Console is on a Serial Device
Booting kernel... |
Exit the console
and management processor interfaces if you are finished using them. To exit the EFI environment, press ^B (Control-B);
this exits the nPartition console and returns to the management processor
Main Menu. To exit the management processor, type X at
the Main Menu.
LVM-Maintenance Mode HP-UX BootingThis section describes how to boot HP-UX in LVM-maintenance
mode on cell-based HP 9000 servers and cell-based HP Integrity servers. Procedure 5-12 LVM-Maintenance Mode HP-UX Booting (BCH Menu) From the BCH Menu, you can boot HP-UX in LVM-maintenance
mode by issuing the BOOT command, stopping at the ISL
interface, and issuing hpux loader options. The BCH Menu
is available only on HP 9000 servers. Access the BCH
Main Menu for the nPartition on which you want to boot HP-UX in LVM-maintenance
mode. Log in to the management processor (MP) and
enter CO to access the Console list. Choose the nPartition
console. When accessing the console, confirm that you are at the BCH Main
Menu (the Main Menu: Enter command or menu> prompt).
If you are at a BCH menu other than the Main Menu, then enter MA to
return to the BCH Main Menu. Boot the desired
device using the BOOT command at the BCH interface,
and specify that the nPartition stop at the ISL prompt prior to booting (reply y to
the "stop at the ISL prompt" question). From the ISL
prompt, issue the appropriate Secondary System Loader (hpux)
command to boot the HP-UX kernel in the desired mode. To
boot HP-UX in LVM-maintenance mode: ISL> hpux -lm boot /stand/vmunix Exit the console
and management processor interfaces if you are finished using them. To exit the BCH environment, press ^B (Control-B);
this exits the nPartition console and returns to the management processor
Main Menu. To exit the management processor, type X at
the Main Menu.
Procedure 5-13 LVM-Maintenance Mode HP-UX Booting (EFI Shell) From the EFI Shell environment, boot in LVM-maintenance
mode by stopping the boot process at the HPUX.EFI interface
(the HP-UX Boot Loader prompt, HPUX>)
entering the boot -lm vmunix command. The EFI Shell is
available only on HP Integrity servers. Refer to “ACPI Configuration for HP-UX Must Be default” for
required configuration details. Access the EFI
Shell environment for the nPartition on which you want to boot HP-UX in LVM-maintenance
mode. Log in to the management processor (MP) and
enter CO to access the Console list. Choose the nPartition
console. When accessing the console, confirm that you are at the
EFI Boot Manager menu (the main EFI menu). If you are at another EFI menu,
choose the Exit option from the submenus until you return
to the screen with the EFI Boot Manager heading. From the EFI Boot Manager menu, choose the EFI
Shell menu option to access the EFI Shell environment. Access the EFI
System Partition (fsX: where X is
the file system number) for the device from which you want to boot HP-UX. When accessing
the EFI System Partition for the desired boot device, issue the HPUX command
to initiate the \EFI\HPUX\HPUX.EFI loader on the device
you are accessing. Type any key
within the 10 seconds given for interrupting the HP-UX boot process. This
stops the boot process at the HPUX.EFI interface
(the HP-UX Boot Loader prompt, HPUX>). At the HPUX.EFI interface,
enter the boot -lm vmunix command to boot HP-UX (the /stand/vmunix kernel)
in LVM-maintenance (-lm) mode. Exit the console
and management processor interfaces if you are finished using them. To exit the EFI environment, press ^B (Control-B);
this exits the nPartition console and returns to the management processor
Main Menu. To exit the management processor, type X at
the Main Menu.
Shutting Down HP-UX | |
When HP-UX is running on an nPartition, you can shut down
HP-UX using the shutdown command. On nPartitions you have the following options when shutting
down HP-UX:
To shut down HP-UX and reboot an nPartition: shutdown
-r On cell-based HP Integrity servers, the shutdown
-r command is equivalent to the shutdown -R command. To shut down HP-UX and halt an nPartition: shutdown
-h On cell-based HP Integrity servers, the shutdown
-h command is equivalent to the shutdown -R -H command. To perform a reboot for reconfig of an nPartition: shutdown
-R To hold an nPartition at a shutdown for reconfig state: shutdown
-R -H
For details refer to the shutdown(1M) manpage. Procedure 5-14 Shutting Down HP-UX From the HP-UX command line, issue the shutdown command
to shut down the HP-UX OS. Log in to HP-UX
running on the nPartition that you want to shut down. You
should log in to the MP for the server and use the Console menu to access
the system console. Accessing the console through the MP enables you to maintain
console access to the system after HP-UX has shut down. Issue the shutdown command
with the appropriate command-line options. The command-line
options you specify dictate the way in which HP-UX is shut down, whether the
nPartition is rebooted, and whether any nPartition configuration changes (adding
or removing cells) take place. Use the following list to choose an HP-UX shutdown option
for your nPartition: Shut down HP-UX and halt the nPartition. On HP 9000 servers only, issue the shutdown
-h command to shut down and halt the nPartition. This leaves the
nPartition and all its cells in an active state after HP-UX shuts down and
halts. To reboot a halted nPartition, you must reset the nPartition
using the RS command at the GSP command menu. On cell-based HP Integrity servers, the shutdown
-h command puts an nPartition into the shutdown for reconfig state;
for details refer to the discussion of shutdown -R -H in
this list. Shut down HP-UX and reboot the nPartition. Issue the shutdown -r command to
shut down and reboot the nPartition. On cell-based HP Integrity servers, the shutdown
-r command is equivalent to the shutdown -R command. Perform a reboot for reconfig of
the nPartition. Issue the HP-UX shutdown
-R command to perform a reboot for reconfig. This shuts down HP-UX, reconfigures the nPartition if needed,
and reboots the nPartition. Reboot the nPartition and put it
into the shutdown for reconfig state. Use the HP-UX shutdown
-R -H command to hold the nPartition in the shutdown for reconfig
state. This leaves the nPartition and all its cells in an inactive
state (the nPartition can be reconfigured remotely), unless the normal behavior
has been modified. For details on changing OS halt behavior on rx8620 and
rx7620 servers, refer to “ACPI Softpowerdown Configuration—OS Shutdown Behavior”. To reboot the nPartition, you must do so manually by using
the BO command at the management processor Command menu.
If HP-UX is halted on the nPartition, thus not allowing
you to use the shutdown command, you can reboot or reset
the nPartition by issuing commands from the management processor Command menu.
|