programming4us
programming4us
ENTERPRISE

Booting on HP 9000 Servers (part 4) - HPUX Secondary System Loader (hpux)

9/26/2012 7:32:41 PM
The hpux utility manages loading the HP-UX kernel and gives control to the kernel. ISL can have hpux run an “autoexecute” file, or commands can be given interactively. In most situations, you just want to automatically boot the system, however, in this example so far, I decided to interact with IPL in the interest of looking at some of the functionality in ISL. I proceed with the boot process by simply issuing the HPUX utility name, as shown in the following example:
ISL> hpux

Boot
: disk(0/0/0/3/0.6.0.0.0.0.0;0)/stand/vmunix
10739712 + 2048000 + 4545792 start 0x1fdf68


gate64: sysvec_vaddr = 0xc0002000 for 2 pages
NOTICE: autofs_link(): File system was registered at index 3.
NOTICE: cachefs_link(): File system was registered at index 5.
NOTICE: nfs3_link(): File system was registered at index 6.

    System Console is on the Built-In Serial Interface
igelan0: INITIALIZING HP A6794-60001 PCI 1000Base-T at hardware path 0/0/8/1/0/4
/0
igelan1: INITIALIZING HP A9784-60001 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
at hardware path 0/0/10/1/0/6/0
igelan2: INITIALIZING HP A9784-60001 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
at hardware path 0/0/12/1/0/6/0
Logical volume 64, 0x3 configured as ROOT
Logical volume 64, 0x2 configured as SWAP
Logical volume 64, 0x2 configured as DUMP
    Swap device table:  (start & size given in 512-byte blocks)
        entry 0 - major is 64, minor is 0x2; start = 0, size = 8388608
Starting the STREAMS daemons-phase 1
Checking root file system.
file system is clean - log replay is not required
Root check done.
Create STCP device files
Starting the STREAMS daemons-phase 2
          $Revision: vmunix:    vw: -proj    selectors: CUPI80_BL2000_1108 -c 'V
w for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000_1108'  Wed
Nov  8 19:24:56 PST 2000 $
Memory Information:
   physical page size = 4096 bytes, logical page size = 4096 bytes
   Physical: 8360960 Kbytes, lockable: 6429056 Kbytes, available: 7385176 Kbytes

/sbin/ioinitrc:
insf: Installing special files for ipmi instance 1 address 0/6
/sbin/krs_sysinit:


/sbin/bcheckrc:
Checking for LVM volume groups and Activating (if any exist)
Volume group "/dev/vg00" has been successfully changed.
Activated volume group
Volume group "/dev/vg01" has been successfully changed.
Resynchronized volume group /dev/vg00
vxfs fsck: sanity check: root file system OK (mounted read/write)
Checking hfs file systems
/sbin/fsclean: /dev/vg00/lvol1 (mounted) ok
HFS file systems are OK, not running fsck
Checking vxfs file systems
/dev/vg00/lvol8 :
vxfs fsck: sanity check: /dev/vg00/lvol8 OK
/dev/vg01/lvol1 :
vxfs fsck: sanity check: /dev/vg01/lvol1 OK
/dev/vg01/lvol2 :
vxfs fsck: sanity check: /dev/vg01/lvol2 OK
/dev/vg01/lvol3 :
vxfs fsck: sanity check: /dev/vg01/lvol3 OK
/dev/vg01/lvol4 :
vxfs fsck: sanity check: /dev/vg01/lvol4 OK
/dev/vg00/lvol3 :
vxfs fsck: sanity check: root file system OK (mounted read/write)
/dev/vg00/lvol4 :
vxfs fsck: sanity check: /dev/vg00/lvol4 OK
/dev/vg00/lvol5 :
vxfs fsck: sanity check: /dev/vg00/lvol5 OK
/dev/vg00/lvol6 :
Resynchronized volume group /dev/vg01
vxfs fsck: sanity check: /dev/vg00/lvol6 OK
/dev/vg00/lvol7 :
vxfs fsck: sanity check: /dev/vg00/lvol7 OK

Cleaning /etc/ptmp...
(c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(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-2000 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.


                           RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.

                           Hewlett-Packard Company
                           3000 Hanover Street
                           Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).

/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)



     HP-UX Start-up in progress                                        Status
     __________________________                                        ______

     Configure system crash dumps .................................... [ OK ]
     VxVM device node check .......................................... [ OK ]
     VxVM general startup ............................................ [ OK ]
     VxVM reconfiguration recovery ................................... [ OK ]
     Mount file systems .............................................. [ OK ]
     Update kernel and loadable modules .............................. [N/A ]
     Initialize loadable modules ..................................... [ OK ]
     Setting hostname ................................................ [ OK ]
     Start Kernel Logging facility ................................... [N/A ]
     Set privilege group ............................................. [N/A ]
     Display date .................................................... [N/A ]
     Copy processor logs to /var/tombstones .......................... [ OK ]
     Save system crash dump if needed ................................ [N/A ]
     Enable auxiliary swap space ..................................... [ OK ]
     Start syncer daemon ............................................. [ OK ]
                 .
                 .
                 .

The system is ready.

GenericSysName [HP Release B.11.11] (see /etc/issue)


					  

I abbreviated this listing where the three dots appear before the Console Login: prompt.

There are several volumes on an external HP storage unit on which fsck is run to perform a sanity check. 

I can issue with the HPUX utility. Table 4 shows examples of some common HPUX utility booting options.

Table 4. hpux Examples
Command (All at ISL> Prompt)Comments
Automatic BootNo interaction - autoboot sequence.
hpux -isBrings up system at run level s for single user mode.
hpuxDefault boot sequence from autoexecute, normally, object file is /stand/vmuinx.
hpux vmunix.testBoots object file vmunix.test.
hpux (52.5.0.0) /stand/vmunixBoots from /stand/vmunix on the disk at the path 52.5.0.0.
hpux lan(32) /stand/vmunixBoots from LAN.
hpux -vGets HP-UX version numbers.
hpux ll /standLists contents of /stand on root disk.

The part of the boot that takes place after the hpux command is issued is in four parts:

  1. HP-UX initializes the system hardware and devices - The HP-UX kernel locates and initializes system hardware such as memory, I/O busses and devices, and so on. Kernel device drivers are associated with I/O devices at this time. You see many messages fly-by on the system console as this process is taking place.

  2. HP-UX kernel data structures are created and initialized - Many tables for system processes and memory, file systems, and so on are created. You also see the status of this part of the boot on the system console.

  3. HP-UX searches for the root file system - The base file system contains critical system files and is usually found on the disk from which HP-UX boots. Many commands are run as part of this process.

  4. HP-UX starts the init process called /sbin/init - The init process, which has an ID of one, starts all other processes on the system. The init process reads /etc/inittab for direction.

I encourage you to issue some of the PDC, ISL, and hpux utility commands covered earlier, especially those that do not modify your system in any way but only provide information about the system.

Other  
  •  Developing the SAP Data Center : Rack Planning for Data Center Resources
  •  Engaging the SAP Solution Stack Vendors : Selecting Your SAP Solution Stack Partners, Executing the SAP Infrastructure Planning Sessions
  •  Visual Studio Team System 2008 : Command Line (part 2)
  •  Visual Studio Team System 2008 : Command Line (part 1)
  •  System Center Configuration Manager 2007 : Configuration Manager Network Communications (part 4) - Site-to-Site Communications - Tuning Status Message Replication
  •  System Center Configuration Manager 2007 : Configuration Manager Network Communications (part 3) - Site-to-Site Communications - Configuring Senders, Configuring Sender Addresses
  •  System Center Configuration Manager 2007 : Configuration Manager Network Communications (part 2) - Client-to-Server Communications
  •  System Center Configuration Manager 2007 : Configuration Manager Network Communications (part 1) - Intrasite Server Communications
  •  External Drive Western Digital My Book Thunderbolt Duo
  •  IP Camera Eyespy247 EXT+ - Cloud-Based Home And Office Video-Monitoring System
  •  
    Video
    PS4 game trailer XBox One game trailer
    WiiU game trailer 3ds game trailer
    Top 10 Video Game
    -   Minecraft Mods - MAD PACK #10 'NETHER DOOM!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Minecraft Mods - MAD PACK #9 'KING SLIME!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Minecraft Mods - MAD PACK #2 'LAVA LOBBERS!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Minecraft Mods - MAD PACK #3 'OBSIDIAN LONGSWORD!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Total War: Warhammer [PC] Demigryph Trailer
    -   Minecraft | MINIONS MOVIE MOD! (Despicable Me, Minions Movie)
    -   Minecraft | Crazy Craft 3.0 - Ep 3! "TITANS ATTACK"
    -   Minecraft | Crazy Craft 3.0 - Ep 2! "THIEVING FROM THE CRAZIES"
    -   Minecraft | MORPH HIDE AND SEEK - Minions Despicable Me Mod
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 92 "IS JOE DEAD?!"
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 93 "JEDI STRIKE BACK"
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 94 "TATOOINE PLANET DESTRUCTION"
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 95 "TATOOINE CAPTIVES"
    -   Hitman [PS4/XOne/PC] Alpha Gameplay Trailer
    -   Satellite Reign [PC] Release Date Trailer
    programming4us
     
     
    programming4us