Jump to content

HP-UX: Difference between revisions

From Smithnet Wiki
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Hardware ==
* Vizualize [https://www.openpa.net/systems/hp-visualize_b1000_c3000_c3600.html C3000] (9000/785/C3000)
* 400 MHz PA-RISC PA-8500
* 512 MB (4 of 8 slots, max 8 GB)
* HP Visualize FX6 (A4554B) Graphics Card ([https://en.wikipedia.org/wiki/VESA_Enhanced_Video_Connector EVC] aka P&D-A Output) (with A4560A texture accelerator)
** Initially driving: 1280x1024@75Hz, compatible with 1600x1200 @75 Hz
* Firmware 5.0, ISL A.00.43
* Liteon CDROM LTN485S -> Samsung CDRW/DVD SM-352B
* Space for 2 SCSI-3 (Ultra 160) Disks
* Disk:
** Original: Seagate ST3920LC (9.1 GB, 10 k RPM, U160) / Fujitsu MAN3184MC (18 GB, 10 k RPM, U160)
** Upgraded: Fujitsu (73 GB, 10 k RPM, U320)
* Supports HP-UX
** 10.20 32-bit from version ACE9912
** 11.00 64-bit from version ACE9911
** 11i v1 (11.11)
*** 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
** 11i v2 (11.23) unofficially; except graphics
Note: with no keyboard, boots with first serial interface as console (9600-8N1)
== Software ==
== Software ==
OS Installation images:
* [https://archive.org/details/hp-ux11i11.0 HP-UX 11i (11.0)]
* [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/details/hp-ux-11i-version-1-application-software-june-2006 HP-UX 11i v1 Application Software (June 2006)]
* [https://archive.org/details/hpux-11i-v2 HP-UX 11i v2 (11.23)]


Other software archive:
Other software archive:
* [https://archive.org/details/ftp-hpux-connect-org-uk HP Connect]
* [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 ==
== Boot ==
Line 98: Line 93:
== Installation ==
== Installation ==


TBC
* 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 104: Line 121:
  mkdir /cdrom
  mkdir /cdrom
  ioscan -fnC disk
  ioscan -fnC disk
  mount -F cdfs -o ro -r /dev/dsk/c1t2d0 /cdrom
  mount -F cdfs -o ro -r /dev/dsk/c0t0d0 /cdrom


See documents:
See documents:
Line 133: Line 150:
which should produce a device file like "/dev/floppy/c0t1d0".
which should produce a device file like "/dev/floppy/c0t1d0".


Format a floppy:
Format a floppy (1.44 MB) for use with HFS and mount filesystem:
  mediainit -f 16 /dev/floppy/c0t1d0
  mediainit -f 16 /dev/rfloppy/c0t1d0
newfs -F hfs /dev/rfloppy/c0t1d0
mount /dev/rfloppy/c0t1d0 /floppy


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


Read/write data to device file with tar, or access DOS formatted files with:
Access MS-DOS formatted files (disks cannot be formatted in HP-UX) with:
* dosls
dosls /dev/rfloppy/c0t1d0:/somedir
* doscp
doscp /tmp/somefile.txt /dev/rfloppy/c0t1d0:/


=== Desktop ===
=== Desktop ===
Line 173: Line 192:
Show software bundles:
Show software bundles:
  swlist -i
  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 ===
=== 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