Things to Do for New HP Workstations


Edit /etc/rc.config/d/netconf with the correct network paramters.

Should look something like this:

HOSTNAME="volt"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=128.135.152.239
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=128.135.152.1
ROUTE_COUNT[0]=""
ROUTE_ARGS[0]=""

Edit /etc/hosts with the loopback line, the name of the host and the gateway

Boot into single mode

boot pri
Interact with ISL? Y
ISL> hpux -is

Resize the following logical volumes:

/usr
lvextend -L 5000 /dev/vg00/lvol7
extendfs /dev/vg00/lvol7

/var
lvextend -L 5000 /dev/vg00/lvol8
extendfs /dev/vg00/lvol8

/opt
lvextend -L 1500 /dev/vg00/lvol6
extendfs /dev/vg00/lvol6

/tmp
lvextend -L 2500 /dev/vg00/lvol4
extendfs /dev/vg00/lvol4

Create /etc/resolv.conf
domain uchicago.edu
nameserver 128.135.4.2
nameserver 128.135.12.73

Shut off automounter in /etc/rc.config.d/nfsconf

Add second disk to vg00 using sam

Install all software in /net/sw/swdepot--making new depots is a shortcut

swcopy -s /net/sw/swdepot/ping-4.3-sd-11.00.depot ping @ /tmp/depot
Repeat above line for each software package

Make hosts.allow, hosts.deny, hosts and edit /etc/inetd.conf with tcpd info

Set up /var/adm/bd

/etc/TIMEZONE should be TZ => CST6CDT

Install patches in /tmp/depot on one of the other machines

Apply Tuned Parameters -- EE Engineering Workstation 64-bit Kernet (new 10/99)

/etc/PATH

/etc/fstab

ssh setup
ssh-keygen -t rsa1 -> /usr/local/etc/openssh/ssh_host_key
ssh-keygen -t dsa -> /usr/local/etc/openssh/ssh_host_dsa_key
ssh-keygen -t rsa -> /usr/local/etc/openssh/ssh_host_rsa_key

Xerox printer
In /net/sw/downloads/HPUXDocuPrintXpxxInstall, run
setup install /opt

Then, run /opt/Xerox/xpxx/xpadmin and set everything up

Mentor Graphics Printers
Copy /etc/lp/mgc to new machine
Copy /usr/spool/lp/models/[A-D]* to new machine
lpshut
lpadmin -pA -i/usr/spool/lp/model/A -v/dev/null run for each printer
lpsched
enable A run for each printer
accept A run for each printer

ln -s /usr/local/bin/scp /usr/bin/scp or scp won't work properly

Edit /etc/rc.config.d/desktop and add DTPRTSVR=LP (or dtmail can't print)

Copy /etc/passwd, /etc/group and make all necessary links in /net