Jump to content

HP-UX: Difference between revisions

From Smithnet Wiki
No edit summary
 
(73 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Hardware ==
== Software ==
 
Other software archive:
* [https://archive.org/details/ftp-hpux-connect-org-uk HP Connect]
 
HP-UX
* 10.20 32-bit from version ACE9912
* 11.00 64-bit from version ACE9911
** [https://archive.org/details/hp-ux11i11.0 HP-UX 11i (11.0)]
* 11i v1 (11.11)
** Released: Dec 2000
** Advanced Security: Introduced robust security features, including Access Control Lists (ACLs) for fine-grained permissions, IPFilter (a built-in firewall), and PAM (Pluggable Authentication Modules) for integration with Kerberos.
** Added Operating Environments:
*** Foundation (FOE) - base networking, and basic system management.
*** Enterprise (EOE) - "full stack": adds advanced network services, enterprise management tools, and performance monitoring
*** Mission Critical (MCOE) - adds high-availability (Serviceguard) support, advanced storage management, and enterprise-grade security.
*** Technical (TOE) - FOE plus graphics/technical compute libraries and development toolsets.
*** Technical Computing [https://web.archive.org/web/20050219161856/http://docs.hp.com/en/B3920-90091/ch04s01.html Operating Environment] (TCOE) for workstations
*** Minimal Technical Operating Environment (MTOE) for workstations
** Last Patches: "December 2009 Gold QPK bundle" (GOLDQPK11i-11.11.0912)
** [https://archive.org/details/hp-ux-11i-version-1-mission-critical-operating-environment-sept-2005 HP-UX 11i v1 (11.11) Misson Critical Environment (Sept 2005)]
** [https://archive.org/download/hpux-11iv1-support_plus_2004-2007/HPUX11iv1_SuppPlus-2007-06.iso HP-UX 11i v1 Support Plus June 2007]
** [https://archive.org/details/hp-ux-11i-version-1-application-software-june-2006 HP-UX 11i v1 Application Software (June 2006)]
* 11i v2 (11.23)
** First PA-RISC release in Sep 2004, Operating Environment Update Release (OEUR) in May 2005
** Adds IPv6 support
** [https://archive.org/details/hpux-11i-v2 hpux-11i-v2] Mission Critical Operating Environment (MCOE) B7994
** Support Pack: Jun 2008
 
== Boot ==
 
=== Processor Dependent Code ===
 
Interrupt PDC boot process by keyboard in 10s, to enter Boot Console Handler (BCH):
 
To show current options and help, and get to main menu:
display
help
main
 
Show boot path:
path
 
Boot from primary or alternative paths:
boot PRI
boot ALT
 
Search for boot devices:
search
 
Search for IPL devices:
search ipl
 
Boot from one of the paths above with Path Number:
boot P1
 
Set primary boot path to SCSI ID 6:
path pri P2
 
Enter configuration menu:
configuration
 
Show/change monitor configuration:
monitor list


* Vizualize C3000 (9000/785/C3000)
Show/change time configuration:
* 400 MHz PA-RISC PA-8500
time
* 512 MB (4 of 8 slots, max 8 GB)
* fx6 4554B Graphics Card ([https://en.wikipedia.org/wiki/VESA_Plug_and_Display EVC] Output)
* Firmware 5.0, ISL A.00.43
* Space for 2 SCSI-3 (Ultra 160) Disks
* Original Disk: 9.1 GB 10kRPM Seagate ST3920LC
* Supports HP-UX 11.11 (11i v1)


Note: with no keyboard, boots with first serial interface as console (9600-8N1)
Enter information menu:
information


== Software ==
Enter service menu:
service
 
=== Initial System Loader ===
 
Once a boot command is sucessful, the ISL is read from disk, and can be interacted with if chosen. Run Offline Diagnostics Environment (ODE):
ode
 
Or the HP-UX Secondary System Loader which starts the HP-UX kernel (vmunix):
hpux
 
possibly with flags  for single user, maintenance, or a custom kernel:
hpux –is
hpux –lm
hpux (;0)/stand/vmunix.prev


See also [https://nixdoc.net/man-pages/HP-UX/ here].
When booting off CD-ROM to install:
hpux (;0):INSTALL


* [https://archive.org/details/hp-ux11i11.0 HP-UX Installation (March 2001)] with patches
See help for more.
* [https://archive.org/details/hp-ux-11i-version-1-mission-critical-operating-environment-sept-2005 Misson Critical Environment (Sept 2005)]
* [https://archive.org/details/hp-ux-11i-version-1-application-software-june-2006 Application Software (June 2006)]
* [https://archive.org/details/ftp-hpux-connect-org-uk HP Connect]


== Installation ==
== Installation ==


* HP-UX 11i Operating Environment March 2003 (2 CDs)
* Choose LVM with VxFS for workstation use
 
Typical disk partitioning:
 
{| class="wikitable"
!Volume
!HP-UX 11i V1
!HP-UX 11i V2
|-
|/stand||384 MB||384 MB
|-
|/||512 MB||1024 MB
|-
|/tmp||256 MB||256 MB
|-
|/home||16384 MB||16384 MB
|-
|/var||1024 MB||8192 MB
|-
|/usr||4096 MB||16384 MB
|-
|/opt||8192 MB||8192 MB
|}


== Support Plus ==
== Support Plus ==
Line 29: Line 121:
  mkdir /cdrom
  mkdir /cdrom
  ioscan -fnC disk
  ioscan -fnC disk
  mount -r /dev/dsk/c1t2d0 /cdrom
  mount -F cdfs -o ro -r /dev/dsk/c0t0d0 /cdrom


See documents:
See documents:
  * /cdrom/USRGUIDE.PDF
  * /cdrom/USRGUIDE.PDF
  * /cdrom/TEXT_FILES
  * /cdrom/TEXT_FILES
== Administration ==
See also:
* [https://www.justsomestuff.co.uk/wiki/doku.php/hpux/hpux_index some docs]
* [https://nixdoc.net/man-pages/HP-UX/ nixdoc].
=== Hardware ===
If new devices are not detected:
cd /dev
insf -e
Show all devices:
ioscan -f
Scan for disks:
/usr/sbin/ioscan -d sdisk
Scan for a floppy drive:
ioscan -fnC floppy
which should produce a device file like "/dev/floppy/c0t1d0".
Format a floppy (1.44 MB) for use with HFS and mount filesystem:
mediainit -f 16 /dev/rfloppy/c0t1d0
newfs -F hfs /dev/rfloppy/c0t1d0
mount /dev/rfloppy/c0t1d0 /floppy
Here, 16 is the format type listed in the floppy command's man page. Use 26 for 1.6 MB.
Access MS-DOS formatted files (disks cannot be formatted in HP-UX) with:
dosls /dev/rfloppy/c0t1d0:/somedir
doscp /tmp/somefile.txt /dev/rfloppy/c0t1d0:/
=== Desktop ===
Enable/disable auto-start:
/usr/dt/bin/dtconfig -e
/usr/dt/bin/dtconfig -d
Control which X servers to start:
/etc/dt/config/Xservers
Errors:
/var/dt/Xerrors
=== Networking ===
Show network interfaces:
lanscan -i
ifconfig lan0
Configuration files for IPv4 / IPv6:
* /etc/rc.config.d/netconf
* /etc/rc.config.d/netconf-ipv6
=== Disks ===
Show physical disk info:
ioscan -funC disk
=== Software ===
Show software bundles:
swlist -i
Show software in CD mounted in /cdrom:
swlist -s /cdrom
Add "-i" to stop swinstall trying to open the X version. Assumes hpterm/xterm codes.
swinstall -i -s /cdrom B9007AA
Remove:
swremove B3901BA
=== Compilers ===
From 11.23 Apps disc:
* B3899BA / HP C/ANSI C Developer's Bundle (700)
** ANSI C compiler, headers, runtime libs
* B9007AA / HP C/aC++ Developer's Bundle
* B3911DB / HP aC++ Compiler (S700)
** C++ compiler, runtime libs but not std lib headers
* B3901BA / HP C++ Standard Components
** Stdlib headers, C++ STL
** S800 only, can't use on S700: need B3901AA.
* B3907DB / HP Fortran 90 Compiler and associated products (S700) for HP-UX 11.31
* B6061AA / HP MLIB Math Software Library for HP-UX 11.23
* HPDesktopDev / HP-UX Desktop Developer's Toolkit
=== Other ===

Latest revision as of 17:28, 31 July 2026

Software

Other software archive:

HP-UX

  • 10.20 32-bit from version ACE9912
  • 11.00 64-bit from version ACE9911
  • 11i v1 (11.11)
    • Released: Dec 2000
    • Advanced Security: Introduced robust security features, including Access Control Lists (ACLs) for fine-grained permissions, IPFilter (a built-in firewall), and PAM (Pluggable Authentication Modules) for integration with Kerberos.
    • Added Operating Environments:
      • Foundation (FOE) - base networking, and basic system management.
      • Enterprise (EOE) - "full stack": adds advanced network services, enterprise management tools, and performance monitoring
      • Mission Critical (MCOE) - adds high-availability (Serviceguard) support, advanced storage management, and enterprise-grade security.
      • Technical (TOE) - FOE plus graphics/technical compute libraries and development toolsets.
      • Technical Computing Operating Environment (TCOE) for workstations
      • Minimal Technical Operating Environment (MTOE) for workstations
    • Last Patches: "December 2009 Gold QPK bundle" (GOLDQPK11i-11.11.0912)
    • HP-UX 11i v1 (11.11) Misson Critical Environment (Sept 2005)
    • HP-UX 11i v1 Support Plus June 2007
    • HP-UX 11i v1 Application Software (June 2006)
  • 11i v2 (11.23)
    • First PA-RISC release in Sep 2004, Operating Environment Update Release (OEUR) in May 2005
    • Adds IPv6 support
    • hpux-11i-v2 Mission Critical Operating Environment (MCOE) B7994
    • Support Pack: Jun 2008

Boot

Processor Dependent Code

Interrupt PDC boot process by keyboard in 10s, to enter Boot Console Handler (BCH):

To show current options and help, and get to main menu:

display
help
main

Show boot path:

path

Boot from primary or alternative paths:

boot PRI
boot ALT

Search for boot devices:

search

Search for IPL devices:

search ipl

Boot from one of the paths above with Path Number:

boot P1

Set primary boot path to SCSI ID 6:

path pri P2

Enter configuration menu:

configuration

Show/change monitor configuration:

monitor list

Show/change time configuration:

time

Enter information menu:

information

Enter service menu:

service

Initial System Loader

Once a boot command is sucessful, the ISL is read from disk, and can be interacted with if chosen. Run Offline Diagnostics Environment (ODE):

ode

Or the HP-UX Secondary System Loader which starts the HP-UX kernel (vmunix):

hpux

possibly with flags for single user, maintenance, or a custom kernel:

hpux –is
hpux –lm
hpux (;0)/stand/vmunix.prev

When booting off CD-ROM to install:

hpux (;0):INSTALL

See help for more.

Installation

  • Choose LVM with VxFS for workstation use

Typical disk partitioning:

Volume HP-UX 11i V1 HP-UX 11i V2
/stand 384 MB 384 MB
/ 512 MB 1024 MB
/tmp 256 MB 256 MB
/home 16384 MB 16384 MB
/var 1024 MB 8192 MB
/usr 4096 MB 16384 MB
/opt 8192 MB 8192 MB

Support Plus

mkdir /cdrom
ioscan -fnC disk
mount -F cdfs -o ro -r /dev/dsk/c0t0d0 /cdrom

See documents:

* /cdrom/USRGUIDE.PDF
* /cdrom/TEXT_FILES

Administration

See also:

Hardware

If new devices are not detected:

cd /dev
insf -e

Show all devices:

ioscan -f

Scan for disks:

/usr/sbin/ioscan -d sdisk

Scan for a floppy drive:

ioscan -fnC floppy

which should produce a device file like "/dev/floppy/c0t1d0".

Format a floppy (1.44 MB) for use with HFS and mount filesystem:

mediainit -f 16 /dev/rfloppy/c0t1d0
newfs -F hfs /dev/rfloppy/c0t1d0
mount /dev/rfloppy/c0t1d0 /floppy

Here, 16 is the format type listed in the floppy command's man page. Use 26 for 1.6 MB.

Access MS-DOS formatted files (disks cannot be formatted in HP-UX) with:

dosls /dev/rfloppy/c0t1d0:/somedir
doscp /tmp/somefile.txt /dev/rfloppy/c0t1d0:/

Desktop

Enable/disable auto-start:

/usr/dt/bin/dtconfig -e
/usr/dt/bin/dtconfig -d

Control which X servers to start:

/etc/dt/config/Xservers

Errors:

/var/dt/Xerrors

Networking

Show network interfaces:

lanscan -i
ifconfig lan0

Configuration files for IPv4 / IPv6:

  • /etc/rc.config.d/netconf
  • /etc/rc.config.d/netconf-ipv6

Disks

Show physical disk info:

ioscan -funC disk

Software

Show software bundles:

swlist -i

Show software in CD mounted in /cdrom:

swlist -s /cdrom

Add "-i" to stop swinstall trying to open the X version. Assumes hpterm/xterm codes.

swinstall -i -s /cdrom B9007AA

Remove:

swremove B3901BA

Compilers

From 11.23 Apps disc:

  • B3899BA / HP C/ANSI C Developer's Bundle (700)
    • ANSI C compiler, headers, runtime libs
  • B9007AA / HP C/aC++ Developer's Bundle
  • B3911DB / HP aC++ Compiler (S700)
    • C++ compiler, runtime libs but not std lib headers
  • B3901BA / HP C++ Standard Components
    • Stdlib headers, C++ STL
    • S800 only, can't use on S700: need B3901AA.
  • B3907DB / HP Fortran 90 Compiler and associated products (S700) for HP-UX 11.31
  • B6061AA / HP MLIB Math Software Library for HP-UX 11.23
  • HPDesktopDev / HP-UX Desktop Developer's Toolkit

Other