Arusha Project
Sidai (policy)
Sidai how-to, etc.
 
How to..., etc.
User environment
Disk configuration
OS installs
HPUX11 install
Solaris install
Red Hat Linux install
post OS-install
Pre OS-reinstall
ARK boot
user accounts
Compiling/Linking
Distributing password files
Package proto-hosts
Logfile management
Log analysis
Scripting
Version wrapper
Version wrapper
Backups/archiving
Backups/tapeless: rationale
Backups/tapeless: design
Hostname change
Magic keystrokes
Booting tricks
Dead machine!
Root passwords
Removable media
ClearCase install
ClearCase admin
Logical Volume tricks
HP Mirror/UX
Mailman
VNC
 
Hosted by
SourceForge.net Logo

Sidai team: notes on installing HP-UX 11

These are notes about installing HP-UX 11 from scratch. Reading these notes is no substitute for (a) reading the documentation, or (b) knowing what you're doing :-)

Before you install HP-UX11...

Perhaps review our list of things to save before an OS reinstall...

Doing this stuff with an Ignite-UX server is strongly recommended. Here are our notes on setting up a server...

Booting into an HP-UX11 install

Normally, you poke at a client machine from the Ignite-UX server. Ignite-UX will take care of tipping the client over and bringing it up to a ready-to-install state.

If the client is dead/down/at-its-PROM-monitor-prompt, you tell it to get in touch with the Ignite-UX server; coming out of a fresh boot:

  • Press a key to interrupt the graphics console question.
  • Press another key to interrupt the ``boot from default device'' thing.
  • Type (modern HP box...): boot lan.10.1.2.3 install, except use the IP address of your Ignite-UX server instead of 10.1.2.3.

If you have no Ignite-UX server and you want to boot from the `HP-UX 11.00 Core OS Install/Update/Recovery' CD; do

  • Press a key to interrupt the graphics console question.
  • Press another key to interrupt the ``boot from default device'' thing.
  • Type sea and wait for it to come back and tell you what your CD-ROM device is called. Assuming it is P3, type: boot p3.

Basic HP-UX11 install

  • Picking a keyboard: Ours are of the types PS2_DIN_{UK,US}_English(_Euro)?. Dollar key means `US'; pound key means `UK'; Euro key means `add _Euro'.

  • User interface options: Use the `Remote Installation' on the Ignite-UX server; before I had such a server, I picked `Advanced Installation'.

  • `Basic' tab:

    You seem to get 64-bit HP-UX 11 if the machine will support it and 32-bit if not. Fair enough; we'll go with that.

    Swap: for 512M machine, I did 1024M swap; for 1G machine, I did 1536M swap.

    Under `Additional...': For a machine with two+ small disks (< 4GB), I put all disks in root volume group; striped those disks in the root VG.

    In all cases, I did `NO' for `save patched files'.

    We also do 'Disable DHCP', because we don't use it.

  • `Software' tab: nothing to do.

  • `System' tab:

    Hostname and IP address as you would expect.

    Put in our standard DNS servers.

    Put in our standard NTP server.

  • `File system' tab:

    See disk configuration page... In particular, do account for special disk-hogging system software (e.g. Ignite-UX) that might go on the box.

    Under `Additional Tasks'->`Advanced FS Params', set `Largefiles' to YES for the /._disk1 partition.

  • `Advanced' tab: nothing to do.

After all of that, press `Go!'

Patching up an HP-UX11 install

We would normally update a ``raw'' HP-UX with a ``Quality Pak'' of patches, then a ``General Release'' bundle of patches...

Assuming you've got a ``Support Plus'' CD with both bundles on it, you will need to register those patch depots:

% sudo mount /dev/cdrom /cdrom
% sudo swreg -l depot -v /cdrom/QPK1100
% sudo swreg -l depot -v /cdrom/XSWGR1100

Then swinstall.

Selecting the patches to install [using info from Marlou Everson, from an hpux-admin post]:

If you are doing a patch bundle then you do not do 'Match what target has'. You do 'patch_match_target=true'.

To do it interactively, you select 'Manage Patch Selection'.

  • If you want any old patch that applies to the machine (the default), just click `OK'.

  • If you only want patches for software that you already have on your machine, then tick 'Automatically select patches for software installed on the target.' You also need to untick the box that says `Automatically select patches for software to be installed'.

    Note 1: slow.

    Note 2: may not be the best idea, as it precludes new tools getting patched onto your machine.

Finally: it can be confusing to see what patches get marked for install. It may look like it hasn't selected any (e.g. ``0 of 367 selected''), but it is lying.

Adding `Diagnostics' an HP-UX11 install

HP is fairly keen that you should install `Online Diagnostics' on all machines; with modern amounts of disk space, there is little reason not to.

The `depot' is on the `HP-UX Support Plus': /cdrom/DIAGNOSTICS/B.11.00. I install the whole OnlineDiag blob -- you don't have much by trying to whittle it down.

Diagnostics do have some patches-you-ought-to-have implications; see the README file. It `should' come right with the patching activity mentioned above...

Initial site friendliness

See this doc.

Adding a disk

Adding a disk (VxFS): if it's of any size, you'll probably need to play with the "physical extent size". As in USAH (3rd ed, p 145), I had to use 16MB.

Adding a disk with SAM: `Disk Devices' -> select the disk -> 'Configure, with LVM' -> 'into a new volume group' (name: `vg01', or something boring); 'Modify default volume-group options' -> change 'physical extent size' to 16MB (as described above) -> 'Define new logical volumes' -- use that add a /._disk2 (or whatever).

Setting up friendly device names

If the machine has a CD-ROM drive, arrange for `mount /dev/cdrom /cdrom' to work:
% ls /dev/dsk/c*
/dev/dsk/c0t5d0  /dev/dsk/c0t6d0  /dev/dsk/c1t2d0
% ln -s /dev/dsk/c1t2d0 /dev/cdrom
% mkdir /cdrom
% chmod 555 /cdrom
# try it:
% mount /dev/cdrom /cdrom

Setting up an Ignite-UX server

If you are building a machine to be an Ignite-UX server, you need extra space in /opt and /var. At least one of our disk configurations shows how we did this...

Get the bits (tarball) from HP's Ignite-UX page.

They do issue tarballs with the same name but with newer stuff, so it may be worth ``refreshing'' your tarball from time to time.

To install Ignite-UX downloads:

swinstall -s <absolute path of downloaded file> \*
Example:
     ignite_all.tar downloaded to /var/tmp
     swinstall -s /var/tmp/ignite_all.tar \*
Get stuff off of the HP-UX11 Core CD and into an ignitable depot:
mount /dev/cdrom /cdrom # if not done yet

cd /opt/ignite/bin
./make_depots -d /._disk1/sys/ignite-depots/hpux11-core \
	      -s /cdrom
Make an Ignite-UX config for that:
mkdir /._disk1/sys/ignite-data

./make_config -s /._disk1/sys/ignite-depots/hpux11-core \
              -c /._disk1/sys/ignite-data/hpux11-core-cfg
Add the config to the index for release B.11.00
./manage_index -a -r B.11.00 -f /._disk1/sys/ignite-data/hpux11-core-cfg
Look in the /var/opt/ignite/INDEX file to see that it's here...

Make sure that /._disk1/sys/... can go out via tftp and by NFS. That means entries in the `tftpd' line in /etc/inetd.conf.

Register the SD depot:

   swreg -l depot /._disk1/sys/ignite-depots/hpux11-core
Not sure about this part: So that the client will be able to chat to the SD thingy on the server:
   swacl -l host -M user:root@host005:rt


© The Arusha Project, 2000-2003; team: sidai; c/o partain@users.sourceforge.net; revision 1.11, 2004-05-26.