HP-UX: Installation Process

Posted on May 4, 2009

0


HP-UX is a UNIX variant developed by Hewlett-Packard Company; IBM AIX and Solaris are other variants of UNIX developed by IBM and Sun Microsystems companies respectively. Today, HP-UX is running on both PA-RISC and Itanium based platform, i.e. HP Integrity rx and rp series.

HP-UX installation may be carried out using DVD installation or network installation. This post describes the network installation process of an HP-UX operating system on HP Integrity rx2660. Usually it takes hours to install an HP-UX system depending on the number of package and how fast the LAN speed is.

NOTICE: Some lines are removed for clarity.

Immediately after a successful lanboot (usually called PXE in Linux), HP-UX bootloader will start executing.

@(#) HP-UX IA64 Network Bootstrap Program Revision x.x
Downloading HPUX bootloader
Starting HPUX bootloader
Obtaining size of fpswa.efi   (x bytes)
Downloading file  fpswa.efi   (x bytes)

(C) Copyright 1999-2008 Hewlett-Packard Development Company, L.P. All rights reserved.

HP-UX Boot Loader for IPF  --  Revision x.xxx

Booting from Lan
Obtaining size of AUTO   (21 bytes)
Downloading file  AUTO   (21 bytes)
Press Any Key to interrupt Autoboot
AUTO ==> hpux IINSTALL
Seconds left till autoboot -   0
AUTOBOOTING...Obtaining size of IINSTALL   (x bytes)
Downloading file  IINSTALL   (x bytes)
Obtaining size of IINSTALLFS   (x bytes)
Downloading file  IINSTALLFS   (x bytes)
loading ram disk file (IINSTALLFS).
.....................................................................................................................
 (complete)

Launching IINSTALL
SIZE: Text:xK + Data:xK + BSS:xK = Total:xK
Console is on Serial Device - via PCDP
Booting kernel...

Loaded ACPI revision x.x tables.

Memory Class Setup
-------------------------------------------------------------------------
Class     Physmem              Lockmem              Swapmem
-------------------------------------------------------------------------
System :  11668 MB             11668 MB             11668 MB
Kernel :  11668 MB             11668 MB             11668 MB
User   :  10797 MB             9571 MB              9609 MB
-------------------------------------------------------------------------

...

    System Console is on the Built-In Serial Interface
igelan0: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/0
igelan1: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/1
AF_INET socket/streams output daemon running, pid 35

...

Memory Information:
    physical page size = 4096 bytes, logical page size = 4096 bytes
    Physical: 12561300 Kbytes, lockable: 9804724 Kbytes, available: 10800800 Kbytes

       * Preparing to execute init...
=======  04/29/09 11:09:53 EDT  HP-UX Installation Initialization.
         @(#)Ignite-UX Revision C.x.x.xxx
         @(#)ignite/launch (opt) Revision: ?
       * Configuring RAM filesystems...
       * Scanning system for IO devices...
       * Boot device is: 0/1/2/0
       * Setting keyboard language.

It goes straight to the language selection.

A USB interface has been detected on this system.
In order to use a keyboard on this interface, you must specify
a language mapping which will be used by X windows and
the Internal Terminal Emulator (ITE).
The characters "1234567890" will appear as "!@#$^&*()"
on keyboards that use the shift key to type a number.
Your choice will be stored in the file /etc/kbdlang

 1) USB_PS2_DIN_Belgian                  2) USB_PS2_DIN_Belgian_Euro
 3) USB_PS2_DIN_Danish                   4) USB_PS2_DIN_Danish_Euro
 5) USB_PS2_DIN_Euro_Spanish             6) USB_PS2_DIN_Euro_Spanish_Euro
 7) USB_PS2_DIN_French                   8 ) USB_PS2_DIN_French_Euro
 9) USB_PS2_DIN_German                  10) USB_PS2_DIN_German_Euro
11) USB_PS2_DIN_Italian                 12) USB_PS2_DIN_Italian_Euro
13) USB_PS2_DIN_JIS_109                 14) USB_PS2_DIN_Korean
15) USB_PS2_DIN_Norwegian               16) USB_PS2_DIN_Norwegian_Euro
17) USB_PS2_DIN_S_Chinese               18) USB_PS2_DIN_Swedish
19) USB_PS2_DIN_Swedish_Euro            20) USB_PS2_DIN_Swiss_French2_Euro
21) USB_PS2_DIN_Swiss_German2           22) USB_PS2_DIN_Swiss_German2_Euro
23) USB_PS2_DIN_T_Chinese               24) USB_PS2_DIN_UK_English
25) USB_PS2_DIN_UK_English_Euro         26) USB_PS2_DIN_US_English
27) USB_PS2_DIN_US_English_Euro

Enter the number of the language you want: 26

It goes to the installation menu.

                         Welcome to Ignite-UX!

  Use the  key to navigate between fields, and the arrow keys
  within fields.  Use the  key to select an item.
  Use the  or  to pop-up a choices list.  If the
  menus are not clear, select the "Help" item for more information.

  Hardware Summary:         System Model: ia64 hp server rx2660
  +----------------------+---------------+--------------------+[ Scan Again  ]
  | Disks: 2  (   67.8GB)| Floppies: 0   | LAN cards:   4     |
  | CD/DVDs:        1    | Tapes:    0   | Memory:    12266Mb |
  | Graphics Ports: 2    | IO Buses: 6   | CPUs:        4     |[ H/W Details ]
  +----------------------+---------------+--------------------+

                       [      Install HP-UX       ]

                   [   Run an Expert Recovery Shell   ]

                       [    Advanced Options      ]

          [  Reboot  ]                              [  Help  ]

After selecting `Install HP-UX`, it asks for the user interface option.

                        User Interface and Media Options

   This screen lets you pick from options that will determine if an
   Ignite-UX server is used, and your user interface preference.

 User Interface Options:
   [   ]  Guided Installation   (very basic installs - deprecated mode)
   [ * ]  Advanced Installation (recommended for disk and filesystem management)
   [   ]  No user interface - setup basic networking, use defaults and go
   [   ]  Remote graphical interface running on the Ignite-UX server

   Hint: If you need to make LVM size changes, or want to set the
         final networking parameters during the install, you will
         need to use the Advanced mode (or remote graphical interface).

   [   OK   ]                  [ Cancel ]                         [  Help  ]

In this example, I show the `Advanced Installation` mode. It will then requests for the lan port, from which the installation will be carried out.

                            LAN Interface Selection

    More than one network interface was detected on the system.  You
    will need to select the interface to enable.  Only one interface
    can be enabled, and it must be the one connected to the network
    that can be used in contacting the install and/or SD servers.

    Use the  and/or arrow keys to move to the desired LAN device
    to enable, then press .

       HW Path    Interface   Station Address  Description
       ----------------------------------------------------------

     [ 0/1/2/0     lan0     0x0017A4990D8B   HP_PCI-X_1000Base-T_Dual-port_ ]

     [ 0/1/2/1     lan1     0x0017A4990D8A   HP_PCI-X_1000Base-T_Dual-port_ ]

And then, it immediately displays the network configuration. The network configuration will be automatically filled in if a DHCP server presents in the network. Vice versa, the user requires to fill in the static network configuration in the absence of DHCP server.

                             NETWORK CONFIGURATION

                                  This system's hostname: xyang

  Internet protocol address (eg. 15.2.56.1) of this host: 172.20.132.5

       Default gateway routing internet protocol address: 172.20.132.1

       The subnet mask (eg. 255.255.248.0 or 0xfffff800): 255.255.254.0

               IP address of the Ignite-UX server system: 172.20.132.2

          Is this networking information only temporary?  [ No  ]

   [   OK   ]                  [ Cancel ]                         [  Help  ]

The next step is the installation configuration. The user can define what kind of HP-UX environment he wants to install, e.g. (in older version) MCOE – Mission Critical Operating Environment and (in the latest version) DC-OE – Data Center Operating Environment. The user can also define the installation disk, files system, swap size, root password, time zone, etc. Additionally, the user is able to add or remove software packages, which are going to be installed. In short, I usually press `Go!` in this step to get the default package of the operating environment.

+                           /opt/ignite/bin/      ()                           +
¦                                                                              ¦
¦ +-------++----------++--------++-------------++----------+                   ¦
¦ ¦ Basic ¦¦ Software ¦¦ System ¦¦ File System ¦¦ Advanced ¦                   ¦
¦ ¦       \-------------------------------------------------------------------+¦
¦ ¦                                                                           ¦¦
¦ ¦ Configurations:  [ HP-UX DC-OE              ->] [ Description...  ]       ¦¦
¦ ¦                                                                           ¦¦
¦ ¦ Environments:    [ HP-UX Data Center Operatin ->] (HP-UX B.11.31)         ¦¦
¦ ¦                                                                           ¦¦
¦ ¦ [ Root Disk  ] HP_LOGICAL_VOLUME, 0/3/0/0/0/0.0x0.0x400>                  ¦¦
¦ ¦                                                                           ¦¦
¦ ¦ File System:     [ Logical Volume Manager (LVM) with VxFS  ->]            ¦¦
¦ ¦                                                                           ¦¦
¦ ¦ [ Root Swap (MB)... ] 4096      Physical Memory (RAM) =  12266 MB         ¦¦
¦ ¦                                                                           ¦¦
¦ ¦ [  Languages...   ] English           [ Keyboards...  ] [ Additional...  ]¦¦
¦ ¦                                                                           ¦¦
¦ +---------------------------------------------------------------------------+¦
¦      [ Show Summary...  ]                          [ Reset Configuration ]   ¦
¦------------------------------------------------------------------------------¦
¦ [  Go!   ]                       [ Cancel ]                       [  Help  ] ¦
+------------------------------------------------------------------------------+

The installation process starts immediately after pressing the `Go!` button. This is the time when I usually grab cups of tea and coffee.

       * Loading configuration utility...
       * Beginning installation from source: 172.20.132.2
=======  04/29/09 11:14:10 EDT  Starting system configuration...
       * Configure_Disks:  Begin
       * Will install B.11.31 onto this system.
       * Using LVM for disk 0/3/0/0/0/0.0x0.0x4000000000000000 (disk2_p2),
         group: vg00
       * Creating LVM physical volume "/dev/rdisk/disk2_p2"
         (0/3/0/0/0/0.0x0.0x4000000000000000).
       * 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" (/tmp).
       * Creating logical volume "vg00/lvol5" (/home).
       * Creating logical volume "vg00/lvol6" (/opt).
       * Creating logical volume "vg00/lvol7" (/usr).
       * Creating logical volume "vg00/lvol8" (/var).
       * Extending logical volume "vg00/lvol1" (/stand).
       * Extending logical volume "vg00/lvol2" (swap_dump).
       * Extending logical volume "vg00/lvol3" (/).
       * Extending logical volume "vg00/lvol4" (/tmp).
       * Extending logical volume "vg00/lvol5" (/home).
       * Extending logical volume "vg00/lvol6" (/opt).
       * Extending logical volume "vg00/lvol7" (/usr).
       * Extending logical volume "vg00/lvol8" (/var).
       * Making VxFS filesystem for "/stand", (/dev/vg00/rlvol1).
       * Making VxFS filesystem for "/", (/dev/vg00/rlvol3).
       * Making VxFS filesystem for "/tmp", (/dev/vg00/rlvol4).
       * Making VxFS filesystem for "/home", (/dev/vg00/rlvol5).
       * Making VxFS filesystem for "/opt", (/dev/vg00/rlvol6).
       * Making VxFS filesystem for "/usr", (/dev/vg00/rlvol7).
       * Making VxFS filesystem for "/var", (/dev/vg00/rlvol8).
       * Configure_Disks:  Complete
       * Download_mini-system:  Begin
...
NOTE:    More information may be found in the Software Manager logfile using
         the command "swm job log -v 000001".

=======  04/29/09 12:15:26 EDT  Software Install - Saving State and Exiting
         (Pending Reboot) (user=root)  (jobid=000001)

       * Software installation of this source (HP-UX Core Software) is
         complete.
       * Loading_software:  Complete
=======  04/29/09 12:15:33 EDT  Building the new kernel.
       * Build_Kernel:  Begin
       * Building a new kernel using the command: "/usr/sbin/mk_kernel -f -o
         /stand/vmunix".
       * The currently running configuration has been imported from
         '/stand/system'.
       * Build_Kernel:  Complete
       * Boot_From_Client_Disk:  Begin
=======  04/29/09 12:16:06 EDT  Rebooting machine as expected.
NOTE:    Rebooting system.

sync'ing disks (0 buffers to flush):
 0 fcache pages still dirty
 0 buffers not flushed
 0 buffers still dirty

Closing open logical volumes...
Done

After a completion of a successful installation procedure, the system will automatically reboot, perform self-configuration and display `successful` message. And then… reboot the system again.

=======  04/29/09 12:28:55 EDT  Installation complete: Successful

#     #
 #   #    #   #    ##    #    #   ####
  # #      # #    #  #   ##   #  #    #
   #        #    #    #  # #  #  #
  # #       #    ######  #  # #  #  ###
 #   #      #    #    #  #   ##  #    #
#     #     #    #    #  #    #   ####

####### #    #
#     # #   #
#     # #  #
#     # ###
#     # #  #
#     # #   #
####### #    #

NOTE:    Rebooting system.

sync'ing disks (0 buffers to flush):
 0 fcache pages still dirty
 0 buffers not flushed
 0 buffers still dirty

Closing open logical volumes...
Done

Now, the system is usable and the root user will receive the first e-mail on the system. Who sent the e-mail? Hmm… Only God knows. *Kidding*

(C) Copyright 1999-2008 Hewlett-Packard Development Company, L.P.               All rights reserved

HP-UX Boot Loader for IPF  --  Revision x.xxx

Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix
Seconds left till autoboot -   0
AUTOBOOTING...> System Memory = 12267 MB

Launching /stand/vmunix
SIZE: Text:xK + Data:xK + BSS:xK = Total:xK
Console is on Serial Device - via PCDP
Booting kernel...

Loaded ACPI revision x.x tables.
Using /stand/ext_ioconfig

Memory Class Setup
-------------------------------------------------------------------------
Class     Physmem              Lockmem              Swapmem
-------------------------------------------------------------------------
System :  11668 MB             11668 MB             11668 MB
Kernel :  11668 MB             11668 MB             11668 MB
User   :  10844 MB             9614 MB              9652 MB
-------------------------------------------------------------------------

...

     HP-UX Start-up in progress
     __________________________

     Configure system crash dumps ................................ OK
     Removing old vxvm files ..................................... OK
     Mount file systems .......................................... OK
     Remounting Root File System ................................. OK
     Setting hostname ............................................ OK
     Start containment subsystem configuration ................... OK

...

The system is ready.

GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login: root
Please wait...checking for disk quotas
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.

Confidential computer software. Valid license from HP required for
possession, use or copying.  Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.

You have mail.

#
Advertisements
Tagged:
Posted in: Technology