IUX - Booting and Installing HP-UX

From Wiki-UX.info
Jump to: navigation, search

Boot console decision tree[edit]

  • What is the hardware platform of your Ignite-UX client? [ PA-RISC | Itanium ]
  • What is your server architecture?
  • What is the model of your server?

Boot console decision tree

Required information[edit]

  • Is the Ignite-UX client running?
  • Are client and server on the same subnet?
  • Does your firmware supports dbprofile feature? To check if the firmware supports dbprofile you have to run the dbprofile command at the EFI shell prompt
  • What is your default network speed? Use "lanadmin -x <PPA>" to determine the network speed. The PPA acronymoun stands for Physical Point of Attachment, where lan0 is ppa=0; lan1 is ppa=1, etc.
# lanadmin -x 0
Speed = 100 Full-Duplex.
Autonegotiation = On.

HP 9000 (PA-RISC)[edit]

1. Interrupt the boot sequence.

Once the server is booting up, system will display a message indicating user has 10 second to interrupt the normal boot sequence. It will be done pressing any key.

This is how BCH looks like:

Processor is booting from the first available device.
 
To discontinue, press any key within 10 seconds.
 
Boot terminated.
 
 
---- Main Menu ---------------------------------------------------------------
 
     Command                           Description
     -------                           -----------
     BOot [PRI|ALT|<path>]             Boot from specified path
     PAth [PRI|ALT] [<path>]           Display or modify a path
     SEArch [DIsplay|IPL] [<path>]     Search for boot devices
 
     COnfiguration menu                Displays or sets boot values
     INformation menu                  Displays hardware information
     SERvice menu                      Displays service commands
 
     DIsplay                           Redisplay the current menu
     HElp [<menu>|<command>]           Display help for menu or command
     RESET                             Restart the system
----

2. Boot the client by entering the "bo lan.#.#.#.#" command line at its console ("#.#.#.#" corresponds to the Ignite-UX server’s IP address):

firmware prompt> bo lan.16.90.192.143 install

3. A message output will be displayed asking if ISL interaction is required. Type 'no' to interact with ISL.

Do you want interact with ISL (y /n)? no

4. Now let's give some time to the server boot procces, until the prompt for the log to the system appears.

Integrity (Itanium)[edit]

1.You are in the EFI Boot Manager screen Is there an option that will boot from the network that matches what you need? if yes go to step 7. if no then: Do you see the "Boot option maintenance menu" among them. Move with the "tab key" until you highlight the option "Boot option maintenance menu", and hit the "enter key"


EFI Boot Manager ver 1.10 [14.60]

Please select a boot option


    HP-UX Primary Boot: 0/2/2/0.0.0.0
    EFI Shell [Built-in]
    Boot option maintenance menu
    Security/Password Menu

Use ^ and v to change option(s). Use Enter to select an option>

2.You will see "EFI Boot Maintenance Manager" on top of the screen along with its version. After this you will see 10 options in the menu. Move with the "tab key" until you highlight the second option "Add a Boot Option", and hit the "enter key".

EFI Boot Maintenance Manager ver 1.10 [14.60]

Main Menu. Select an Operation

        Boot from a File
        Add a Boot Option
        Delete Boot Option(s)
        Change Boot Order

        Manage BootNext setting
        Set Auto Boot TimeOut

        Select Active Console Output Devices
        Select Active Console Input Devices
        Select Active Standard Error Devices
        Cold Reset
        Exit

3.You will see a screen with the "Add a Boot Option" header. There your system will list all your available booting options. Move with the "tab key" until you highlight the lan card from which you would like to boot.

Add a Boot Option. Select a Volume
 Removable Media Boot[Acpi(HWP0002,0)/Pci(2|0)/Ata(Primary,Master)]
 Load File [EFI Shell [Built-in]]
 Load File [Acpi(HWP0002,0)/Pci(3|0)/Mac(00306E1E4ED4)]
 Load File [Acpi(HWP0002,100)/Pci(2|0)/Mac(00306E1E3ED6)]
 Exit


  • NOTE: Not all lan cards support boot.

4.This screen will prompt you for a description for the new boot option. Press "N" to add the new boot option. After this:

  • A ->for an ASCII string for the name
  • U ->for an Unicode string for the name
  • N ->will go back to the previous menu
New BootOption Data. ASCII/Unicode strings only, with max of 240 characters
Enter BootOption Data Type [A-Ascii U-Unicode N-No BootOption] :   <-- A, U, N


5.This screen will prompt you for saving the changes to the firmware. type "Y" then hit the "enter key" for saving the new boot option.

Save changes to NVRAM [Y-Yes N-No]:       <-- Y|N

6.After saving the changes you will back to "Add a Boot Option" screen. Select the "Exit" option and hit the "Enter key"


Add a Boot Option. Select a Volume

 LAN1 [Acpi(HWP0002,0)/Pci(3|0)/Mac(00306E1E4ED4)]
 Removable Media Boot[Acpi(HWP0002,0)/Pci(2|0)/Ata(Primary,Master)]
 Load File [EFI Shell [Built-in]]
 Load File [Acpi(HWP0002,0)/Pci(3|0)/Mac(00306E1E4ED4)]
 Load File [Acpi(HWP0002,100)/Pci(2|0)/Mac(00306E1E3ED6)]
 Exit

7.You are in the EFI Boot Manager screen. Do you see the boot option, with the correct lan card from which you want to boot? If yes highlight the option with the "tab key" and select it with the "enter key"


EFI Boot Manager ver 1.10 [14.60]

Please select a boot option

    HP-UX Primary Boot: 0/2/2/0.0.0.0
    LAN1
    EFI Shell [Built-in]
    Boot option maintenance menu
    Security/Password Menu

Use ^ and v to change option(s). Use Enter to select an option>


Now you will see the booting process from the network.

Loading.: LAN1
Running LoadFile()

CLIENT IP: 10.1.52.128 MASK: 255.255.248. DHCP IP: 10.1.53.37
GATEWAY IP: 10.1.48.1
Running LoadFile()

Starting: LAN1

@(#) HP-UX IA64 Network Bootstrap Program Revision 1.0
Downloading HPUX bootloader
Starting HPUX bootloader
Downloading file fpswa.efi (371200 bytes)

(c) Copyright 1990-2001, Hewlett Packard Company.
All rights reserved

HP-UX Boot Loader for IA64 Revision 1.671

Booting from Lan
Downloading file AUTO (528 bytes)
Press Any Key to interrupt Autoboot
AUTO ==> boot IINSTALL
Seconds left till autoboot - 0
AUTOBOOTING...

Managing Speed and Duplexing of LAN Interfaces Executing Network Boots[edit]

1. Collect current [W|V|I]INSTALFS configuration

# instl_adm -d > /tmp/cfg.tmp

2. Add required driver clause.

( lan[].driver == "<driver>" )
{
_hp_lanadmin_args="-X 100FD"
}
  • Note: To determine the required driver in a running server:
# ioscan -fnkC lan
Class     I  H/W Path     Driver   S/W State   H/W Type     Description
========================================================================
lan       0  0/1/2/0      iether   CLAIMED     INTERFACE    HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core
lan       1  0/1/2/1      iether   CLAIMED     INTERFACE    HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core
lan       2  0/4/1/0/6/0  igelan   CLAIMED     INTERFACE    HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
-> /tmp/cfg.tmp
( lan[].driver == "iether" )
{
_hp_lanadmin_args="-X 100FD"
}

3. Commit the changes to [W|V|I]INSTALFS.

# instl_adm -f /tmp/cfg.tmp

4. Verify saved configuration.

# instl_adm -d
# instl_adm defaults:
# NOTE: Manual additions between the lines containing "instl_adm defaults"
#       and "end instl_adm defaults" will not be preserved.
server="16.90.48.71"
netmask[]="255.255.252.0"
route_gateway[0]="16.90.48.1"
route_destination[0]="default"
# end instl_adm defaults.
( lan[].driver == "iether" )
{
_hp_lanadmin_args="-X 100FD"
}

Here we have an example of how a correct booting | install will look like on both architectures[edit]

This is the first screen that gives the welcoming to the product[edit]

  • Please choose the install hp-ux option
Welcome to Ignite-UX!                                 
 
 
  Use the <tab> key to navigate between fields, and the arrow keys
  within fields.  Use the <return/enter> key to select an item.
  Use the <return/enter> or <space-bar> to pop-up a choices list.  If the
  menus are not clear, select the "Help" item for more information.
 
  Hardware Summary:         System Model: 9000/800/rp4440
  +----------------------+---------------+--------------------+[ Scan Again  ]
  | Disks: 6  (  203.5GB)| Floppies: 0   | LAN cards:   3     |
  | CD/DVDs:        1    | Tapes:    0   | Memory:     2046Mb |
  | Graphics Ports: 0    | IO Buses: 7   | CPUs:        2     |[ H/W Details ]
  +----------------------+---------------+--------------------+
 
                       [      Install HP-UX       ]
 
                   [   Run an Expert Recovery Shell   ]
 
                       [    Advanced Options      ]
 
 
          [  Reboot  ]                              [  Help  ]

This is the itool interface on the Basic tab in which can be set the initial configuration of the OS[edit]

/opt/ignite/bin/itool ()                            
                                                                                
  /-------\/----------\/--------\/-------------\/----------\                    
  | Basic || Software || System || File System || Advanced |                    
  |       \-------------------------------------------------------------------\ 
  |                                                                           | 
  | Configurations:  [ HP-UX B.11.11 Default    ->] [ Description...  ]       | 
  |                                                                           | 
  | Environments:    [ B.11.11_archive.gz (B.11.1 ->] (HP-UX B.11.11)         | 
  |                                                                           | 
  | [ Root Disk  ] HP_73.4GMAX3073NP, 0/2/1/0.6.0, 70007 MB                   | 
  |                                                                           | 
  | File System:     [ Logical Volume Manager (LVM) with VxFS  ->]            | 
  |                                                                           | 
  | [ Root Swap (MB)... ] 4096      Physical Memory (RAM) =  2046 MB          | 
  |                                                                           | 
  | [  Languages...   ] English           [ Keyboards...  ] [ Additional...  ]| 
  |                                                                           | 
  \---------------------------------------------------------------------------/ 
       [ Show Summary...  ]                          [ Reset Configuration ]    
 ------------------------------------------------------------------------------ 
  [  Go!   ]                       [ Cancel ]                       [  Help  ]

On this tab(file system) of the itool can be configured the parameters of the file system[edit]

  • Like sizes of logical volume, type of file system to be use, mount points....
/opt/ignite/bin/itool ()                            
                                                                                
  /-------\/----------\/--------\/-------------\/----------\                    
  | Basic || Software || System || File System || Advanced |                    
  /------------------------------/             \------------------------------\ 
  |    Mount Dir     Usage   Size(MB)  % Used  Group   S                      | 
  |  /---------------------------------------------------\                    | 
  |  | /tmp          VxFS    512       0       vg00    F ^ [ Add     ]        | 
  |  | /usr          VxFS    6192      19      vg00    F | [ Modify  ]        | 
  |  | /var          VxFS    6192      12      vg00    F v [ Remove  ]        | 
  |  \<                                      ----------->/                    | 
  |                                                                           | 
  |  Usage:  [ VxFS       ->]   Group:  [ vg00 ->]   Mount Dir:  /tmp         | 
  |                                                                           | 
  |  Size:  [ Fixed MB       ->]  512      Avail: 45952 MB                    | 
  |                                                                           | 
  |  [ Add/Remove Disks  ]    [  ---- Additional Tasks ----   ->]             | 
  |                                                                           | 
  \---------------------------------------------------------------------------/ 
       [ Show Summary...  ]                          [ Reset Configuration ]    
 ------------------------------------------------------------------------------ 
  [  Go!   ]                       [ Cancel ]                       [  Help  ]
  • When it's finish the editing of the parameters on the itool please select with the tab key the "Go!" option continue

Now the actual instalation begins[edit]

* Loading configuration utility...
       * Beginning installation from source: /dev/dsk/c4t0d0
=======  05/02/08 15:52:56 EDT  Starting system configuration...
       * Configure_Disks:  Begin
       * Will install B.11.11 onto this system.
       * Creating LVM physical volume "/dev/rdsk/c2t6d0" (0/2/1/0.6.0).
       * Creating volume group "vg00".
       * Creating logical volume "vg00/lvol1" (/stand).
       * Creating logical volume "vg00/lvol2" (swap_dump).
       * Creating logical volume "vg00/lvol3" (/).
       * Creating logical volume "vg00/lvol4" (/opt).
       * Creating logical volume "vg00/lvol5" (/tmp).
       * Creating logical volume "vg00/lvol6" (/usr).
       * Creating logical volume "vg00/lvol7" (/var).
       * Creating logical volume "vg00/lvol8" (/home).
       * Extending logical volume "vg00/lvol1" (/stand).
       * Extending logical volume "vg00/lvol2" (swap_dump).
       * Extending logical volume "vg00/lvol3" (/).
       * Extending logical volume "vg00/lvol4" (/opt).
       * Extending logical volume "vg00/lvol6" (/usr).

 * Run_SD_Configure_Scripts:  Complete
       * Run_Postconfigure_Scripts:  Begin
       * Applying the networking information.
       * Creating the manifest.
       * Run all specified post-configure scripts.
       * Executing: 
         "/var/adm/sw/products/EMS-KRMonitor/KRMON-RUN/iux_postconfig".
       * Executing user specified script: 
         "/opt/ignite/data/scripts/os_arch_post_c".
       * Run_Postconfigure_Scripts:  Complete
=======  05/02/08 16:05:21 EDT  Installation complete: Successful
 
 
####### #    #
#     # #   #
#     # #  #
#     # ###
#     # #  #
#     # #   #
####### #    #
  • And it's finished successfully

Reference[edit]

  • Decision Tree When Configuring a Server for Booting PA-RISC Systems 5992-3336, pp 38, fig 2.6
  • Decision Tree When Configuring a Server for Booting Itanium-Based Systems 5992-3336, pp 40, fig 2.7

Return to Ignite-UX_Handbook