CHPARM(8,C) AIX Commands Reference CHPARM(8,C)
-------------------------------------------------------------------------------
chparm
PURPOSE
Changes or examines system parameters.
SYNTAX
+----- nodename ------+ +-- /unix.std ---+
chparm ---| |---| |---|
+- nodename=newvalue -+ +- kernel-image -+
Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.
DESCRIPTION
The chparm command lets you change a system parameter or look at its current
setting. Currently, only the nodename parameter may be examined or changed.
The name assigned cannot be longer than eight characters. If you do not assign
a newvalue, chparm writes the current value of nodename to standard output.
The default kernel-image is /unix.std.
Changes affect the running system. Changing nodename causes the system to be
brought down and rebooted. When changing nodename, be sure all users on the
network are aware of this change and are logged off from that node. Inform the
users they should not change any of the system files mentioned below while this
operation is in progress.
Changing the nodename also changes the appropriate entries in the following
system files:
/etc/filesystems
/etc/fsmap
/etc/hosts
/etc/hosts.equiv
/etc/init.state
/etc/site
/etc/sitegroup
/etc/timesync/sitelist
Processed November 8, 1990 CHPARM(8,C) 1
CHPARM(8,C) AIX Commands Reference CHPARM(8,C)
/generic/dev/nodename
/generic/devs.linst
/local/ident
/local/ports
/local/rc.tcpip.local
/local/system
/local/unix.std
/usr/adm/uucp/Devices
/usr/adm/uucp/Spools
/usr/lib/INnet/connect.con
Note: Some of these files may not exist on your system configuration.
The following files, if they exist on your system configuration, should be
edited manually:
/etc/sites
/etc/resolv.conf
/local/named.local and other name daemon files that are created by the
system administrator.
EXAMPLES
1. To display the nodename of your system:
chparm nodename
This displays the nodename of /unix.std, which is a file containing the
kernel of the AIX operating system. This file is loaded and run when you
startup the computer.
2. To change the nodename of a system:
chparm nodename=COMP-CTR /unix.compctr
This changes the nodename of /unix.compctr to COMP-CTR. /unix.compctr is a
file that contains an alternate version of the operating system kernel.
This change requires that the system be restarted with the kernel image
specified on the command line.
Processed November 8, 1990 CHPARM(8,C) 2