Jump to content

HP-UX: Difference between revisions

From Smithnet Wiki
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Hardware ==
== 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:
* [https://archive.org/details/ftp-hpux-connect-org-uk HP Connect]
 
== 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


* Vizualize C3000 (9000/785/C3000)
Search for boot devices:
* 400 MHz PA-RISC
search
* 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)
Search for IPL devices:
search ipl


== Software ==
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


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)
TBC


== Support Plus ==
== Support Plus ==
Line 29: Line 81:
  mkdir /cdrom
  mkdir /cdrom
  ioscan -fnC disk
  ioscan -fnC disk
  mount -r /dev/dsk/c1t2d0 /cdrom
  mount -F cdfs -o ro -r /dev/dsk/c1t2d0 /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:
mediainit -f 16 /dev/floppy/c0t1d0
where 16 is the format type listed in the floppy command's man page.
Read/write data to device file with tar, or access DOS formatted files with:
* dosls
* doscp
=== 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
=== Other ===

Latest revision as of 17:26, 3 July 2026

Software

OS Installation images:

Other software archive:

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

TBC

Support Plus

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

mediainit -f 16 /dev/floppy/c0t1d0

where 16 is the format type listed in the floppy command's man page.

Read/write data to device file with tar, or access DOS formatted files with:

  • dosls
  • doscp

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

Other