Sidai team: notes on installing HP-UX 11These 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 installNormally, 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:
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
Basic HP-UX11 install
After all of that, press `Go!' Patching up an HP-UX11 installWe 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'.
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 installHP 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 friendlinessSee this doc.Adding a diskAdding 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 namesIf 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 serverIf 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 /cdromMake 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-cfgLook 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-coreNot 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 |