HP-UX Installation Procedure
Operating System Installation
Sample Procedure for installation of
HP-UX 11i:
- Preparation Activities
- Identify swap needed - usually twice the amount of ram
- Identify local disks and their sizes (some file systems will be
local, some file systems will be external, such as san)
- Export existing filesystem information for san
- sam - disks and filesystems
- actions --> export
- map file name for each volume group
- create map file only
- may need to reboot to init level 3 so that the san device
will not be busy
- Copy character special files (ie pass through scsi)
- tar cvf passthru.tar sct1
- ftp these files to another location
- Save important files
- /etc/passwd
- /etc/hosts
- /etc/profile
- environment files
- start kill scripts
- terminfo files
- patches being stored on this server
- Boot from the Installation CD
- Put CD in drive
- Power on or reboot the server
- Interrupt the boot process (Processor is booting from the first
available device. To discontinue, press any key with 10 seconds)
- sea (search
for boot devices)
- In the list of devices, identify the cd-rom
- bo p# --> to boot from the cdrom
- If using a USB interface then select a language for the
keyboard mapping ( ie 26 - USB_PS2_DIN_US_ENGLISH).
- Text menu "Welcome to the HP-UX Installation/Recovery Process
- Install HP-UX <--
Select thie for installation
- Run a Recovery Shell
- Advanced Options
- Menu - User Interface and Media Options
- Select Media with Network
- Select Advanced Installation Options
- basic - ok
- software -> all
- system
- y - link to network
- n - dhcp
- hostname
- ip address
- subnet mask
- timezone (est5edt)
- root password
- gateway
- hop count
- network
- lan1 -> ipaddress/subnetmask (w.x.y.z/255.255.255.0)
- lan2 -> ipaddress/subnetmask (w.x.y.z/255.255.255.0)
- filesystem (identify local disks - VG00 and additional
storage, such as san)
- /stand 100 mb HFS vg=VG00 /stand=mp
- add/remove disks 0/0/2/0.6.0 lvm vg00,
0/0/2/1.6.0 lvm vg00
- /swap-dump fixed mb 16588 mb (should be 2X
physical ram)
- / 140 mb Vxfs
- /tmp 500 mb Vxfs
- /home <-- remove (not going to be used in this example)
- /opt 1gb Vxfs
- /var 2 gb Vxfs
- /usr 1.5 gb Vxfs
- Verify proper scsi id for hard disk (6 is the standard?)
- load support cd (HP UX 11.0 Support Plus Month - Year)
- Diagnostics and error logging
- Application Cds
- swinstall local cdrom
- Tachyon Drivers (fiber card)
- A5158A PCI Tachyon TL/TS Fibre
- PCI Lan Cards (requires reboot)
- A5230A 100BT/9000 PCI
- use proper ethernet speeds (ie 10mbs or 100mbs)
- use the proper ip addresses for each lan - this can be done
from sam
- OPK1100 -> Quality Pack (should be performed AFTER
Tachyon and PCI Lan)
- swinstall local cd
- source depot --> /cdrom/QSK1100
- Actions --> Match what target has
- Diagnostic Tools
- Depot path --> /cdrom/DIAGNOSTICS/B.11.00
- Select all 3 packages
- Actions --> Match what target has
- CVSdm_11_00_v10400.depot
- depot path --> /cdrom/hpux/CVSdm_11_00_v10400.depot
- Actions --> Match what target has
- SDM (requires reboot)
- ARM Discover (serial #s internal disk, storage array)
- armdsp
- ioscan|more to verify tachyon hw addresses (1/12/0/0.1.23 and
0/4/0/0.1.2.23
- swinstall b8861e_11_00.depot for JFS3.3
- cp vmunix ../Kernel/vmunix.bak
- cp -rp * ../Kernel/
- swinstall -x autoreboot = true -s
/tmp/jfs3.3/b8861e_11_00.depot B3929CA <-- analysis phase only
- swinstall -x autoreboot = true -s
/tmp/jfs3.3/b8861e_11_00.depot JFS
- Import the file system
- ioscan -fn > ioscan.XXXX
- armdsp <serial #>
- insf -eH 0/4/0/0.1.23.0.0.0
- insf -eH 0/4/0/0.1.23.0.0.1
- ftp map files from temporary server storage to this machine
- /tmp/vgmaps/XXXX <-- path to map file on remote
machine(exported pointers to data that is located on the san)
- Table of data the has the following headings:
<LUN><VG><Mapfile><Mount PT>
- Import Process - from sam
- LUN
- Volume Group
- Mapfile name
- Create/Modify Physical Volume - from sam
- Select disk
- Physical Volume name
- Mount the filesystems - from sam
- Restore the configuration files
- copy original files to *.orig (/etc/profile -->
/etc/profile.orig)
- extract tar files
- tar xvf /tmp/tar_files/xxx/tarfile.tar
- scsi pass through drivers
- cd /dev/sct1
- tar xvf /tmp/tar_files/xxx/passthru.tar
- insf -e --> re-creates the pass thru drivers
- reboot
- ioscan --> find out the device ids
- mknod <device id> c 203 0x0003000
- mknod c4t3d0 c 203 0x043000
Operating System Upgrade
update-ux