HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
s
set_parms(1M) set_parms(1M)
ip_address Allows the user to set or change the primary IP address of the system. An IP address
change will require a system reboot to take effect. Edits the
/etc/hosts file to associ-
ate the new IP address with the current hostname. First boot: also lets the user pick the
lan interface to set up for this and subsequent networking functions. Non-first boot: In
multiple lan systems, it assumes that the IP address is being changed for the lowest num-
bered IP address/Lan Interface Card data set in the
/etc/rc.config.d/netconf
file.
addl_netwrk Allows the user to set the subnet mask, which defines the network and local portions of a
network address, the default routing gateway, and define access to the Domain Name
System (DNS) and Network Information Service (NIS). A reboot is required for every-
thing to take effect in the non-first-boot case.
set_parms and Ignite-UX/Cold Install
After "cold installing" HP-UX from a CD, or using Ignite-UX to install HP-UX, the file
/tmp/install.vars
is generally left on the system. This file is used to communicate to
set_parms
hostname and networking information that was used during the installation, in case the user wants to
use any of these parameters as final system parameters. In particular,
set_parms uses as defaults the
shell-style variables in this file that begin with
INST_. For example, INST_LAN_DEV indicates which
LAN interface was used during a network cold install. This is the LAN interface that
set_parms will
configure. In general,
set_parms first looks in the system configuration files in the
/etc/rc.config.d directory for default information, then in
/tmp/install.vars.
If Ignite-UX is installed on your system, see the manual pages for ignite (5) and instl_adm (4). In particu-
lar, look at instl_adm (4) for descriptions of the is_net_info_temporary, run_setparms , and final variables.
Native Language Support (NLS):
set_parms supports all of the standard HP supplied languages. In first boot situations, the language
set_parms uses will be dictated by either geocustoms(1M) or the LANG variable as set in
/etc/rc.config.d/LANG
. Geocustoms , if called by set_parms, allows the user to pick both a sys-
tem set up language (the language of the system administrator setting up the system, to use in the user
interface) and a system default language (the language of the end user).
set_parms uses the system
set up language as picked within geocustoms, unless the system default language is set to be an Asian
language. In this case, it will use the Asian language, (from the file /etc/rc.config.d/LANG
), since
geocustoms itself does not provide an Asian language user interface.
Interaction with auto_parms and geocustoms
During the boot-up sequence,
/sbin/rc always invokes auto_parms, which in turn detects the first
boot situation and the need to run geocustoms (independent conditions) and calls set_parms if either or
both of these conditions are true. set_parms first sets up an X-windows environment (if the system
console is on a graphics display), and then calls geocustoms if necessary. After geocustoms (if called) is
finished, and in a first boot situation, set_parms starts its interface and, based on user input, may call
back into auto_parms to obtain and set up the management of a DHCP lease. After this has been done,
and after set_parms completes its other system set-up actions, control passes back to /sbin/rc which
completes the boot-up sequence utilizing the newly created system data.
EXAMPLES
See
/sbin/rc for invocation context in the first boot case.
FILES
/sbin/set_parms
The main driver program.
/sbin/set_parms.util
Common subroutines used by set_parms and the sub-area programs.
/sbin/set_parms.d/
Directory which holds all of the sub-area programs called by set_parms. set_parms runs these
in sorted order.
/sbin/ch_hostname.d/
Directory containing the hostname-change programs defined by the user. These are standalone pro-
grams run, in sorted order, by set_parms when setting or changing the hostname.
/tmp/install.vars
File set by Ignite-UX/Cold Install which contains networking and other system information used
Section 1M−−758 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003