NIO CommKit Host Interface Installation and System Administration Manual

4-5
Administering the CommKit Software and the STREAMS Listener
Automating Startup on HP-UX
Automating Startup on HP-UX
Your system startup configuration is defined in the /etc/rc.config.d/dkit file.
The /etc/rc.config.d/dkit file consists of various entries defining the
arguments used by the startup script, /sbin/init.d/dkit, and the dkitrc
program. (In the rest of this section, the term dkit file refers to the /etc/
rc.config.d/dkit file, not the /sbin/init.d/dkit startup script.)
By default, the /etc/rc.config.d/dkit file starts the CommKit server from the
first Datakit interface board. If you have more than one board, or more than
one channel group per board, you need to modify the configuration defined
in the dkit file. You make changes to the dkit file to control which CommKit
boards or channel groups are started.
The dkit file contains up to 8 configuration entries, with up to 13 lines for
each entry. The lines in an entry are grouped by an index and are numbered
starting at 0. You can make changes to the dkit file to control the startup of
Datakit servers and listeners. A typical entry might look like either of these:
DKINTERFACE[0]=0 # interface
START_DKSERVER[0]=1 # 1 = start DK server
START_LISTENER[0]=1 # 1 = start listener
DKSRVNAME[0]="default" # DK server name (default is
hostname
)
DKSRVCHAN[0]= # server channel
DKSRVLOG[0]=/var/opt/dk/log/dksrvlogc# dksrvlog path
DKSRVTAB[0]= # dksrvtab path
DKUIDTAB[0]= # dkuidtab
DKVERBOSE[0]= # verbose level (default 6)
DKROPTION[0]= # if non-null adds -r option
DKEXPANDENV[0]= # if non-null adds -e option
DKSECURELOG[0]= # if non-null adds -s option
DKCHANSPERINTF[0]= # channels per interface for dkdaemon
---------------------------------------------
DKINTERFACE[1]=1 # interface
START_DKSERVER[1]=1 # 1 = start DK server
START_LISTENER[1]=1 # 1 = start listener
DKSRVNAME[1]="default" # DK server name(default is
hostname1
)
DKSRVCHAN[1]= # server channel
DKSRVLOG[1]=/var/opt/dk/log/dksrvlog1# dksrvlog path
DKSRVTAB[1]= # dksrvtab path
DKUIDTAB[1]= # dkuidtab
DKVERBOSE[1]= # verbose level (default 6)
DKROPTION[1]= # if non-null adds -r option
DKEXPANDENV[1]= # if non-null adds -e option
DKSECURELOG[1]= # if non-null adds -s option
DKCHANSPERINTF[1]= # channels per interface for dkdaemon