Tips for configuring HP-UX 10.2

From: Bill Sparkman at W-AR-ARH
Date: 1/15/97 11:30AM
Subject: HP 10.20

     
WHAT:  Unique Configuration Steps in 10.20
     
DESCRIPTION: Notes for configuring workstations in the Alaska Region
     
SUPPORTING INFORMATION: man pages: switch, nslookup, resolver, sendmail
     
Preliminary Testing indicates:
All of our Korn shell scripts and ARONET applications run without modification. 
The main problems to look for are coding the full path to system objects.
The path may change in 10.20.  As long as you don't code paths at all and 
simply count on the $PATH environment variable being set correctly this 
problem is avoided.  At this time all applications are being maintained with 
X11R5 and Motif 1.2.  We have decided to stay here until the next X evolution 
and not use R6 libraries...
     
NEW /etc CONFIG FILE:
10.20 allows you to configure how dns and /etc/hosts interact.  This 
is done by creating the /etc/nsswitch.conf file.  The file we use is: 
hosts:          dns [TRYAGAIN=continue NOTFOUND=continue] files 
services:       files
protocols:      files
networks:       files
rpc:            files
netgroup:       files
     
By default network processes would also be looking to see if nis is 
configured.  Our config drops nis out of the polling process.
     
CHANGE FOR /etc/resolv.conf
You must add a search sequence so that system name matches with and without the 
subnet name will be found.  It states that to many entries on the search path 
may cause long delays.  By just having the local domain and the "WAN" domain
as entries we emulate how names were resolved under 9.x. 
domain aaa.bbb.ccc
search aaa.bbb.ccc bbb.ccc
nameserver 123.123.123.123
     
CHANGES FOR STANDARD PATH
add /sbin:/usr/sbin:/usr/dt/bin
     
CHANGES FOR STANDARD MANPATH
add /usr/dt/man
     
BOOTUP
  During startup, programs are started by /sbin/rc, a set of non-configurable
scripts in /sbin/init.d/* starts the programs. Configuration parameters are 
set by editing /etc/rc.config.d/* files.  We have used these procedures to 
created a method to start DataDistribution on arhdata.  The parts are:
    /etc/rc.config.d/dd     Resource file (DD=1) == start DataDistribution 
    /etc/init.d/dd          Script to start or stop DD on startup/shutdown 
    /etc/rc3.d/S200dd       Link to /etc/init.d/dd Fl Name indicates boot order. 
    /etc/rc2.d/K200dd       Link to /etc/init.d/dd Fl Name indicates shut order. 
    /apps/dd/dd.rc          Our old rc script with slight modifications.
     
  A copy of /etc/rc.config.d/dd & /etc/init.d/dd should be maintained in
/apps/dd just in case an update of the OS removes or replaces the 
"non-configurable" files.  Hopefully HP will never use dd for a subsystem name.
  A shortcut would be to link /etc/rc3.d/S200dd to /apps/dd/dd.rc.
     
CHANGES FOR MAIL
The configuration file and aliases file now exist in /etc/mail.  DO NOT overlay 
them with HPUX 9xx files.  They are different.  For aliases I grabbed all our 
groups and appended them to the HPUX 10 file.  I used sendmail.cf without any 
changes.
     
      ____________________________________________________________
     / National Weather Service - Alaska Region                   \ 
     |                               _____ ______  ______   ____  | 
     | Bill Sparkman                 ____ / ____/ /__ __/  / __ \ | 
     | 222 W 7th Ave  #23            ___ / /___     //    / /_/_/ | 
     | Anchorage, AK 99513-7575      __ /___  /    //    / __ /   | 
     |                               _ ____/ /  __//__  / /_/ \   | 
     |  Phone: (907) 271-5130        ./_____/  /_____/ /______/   | 
     |    Fax: (907) 271-3711        Systems Integration Branch   | 
     | E-Mail: Bill.Sparkman@noaa.gov                             | 
     \____________________________________________________________/