NIO CommKit Host Interface Installation and System Administration Manual
3-32
Control Tables (from AT&T 255-110-127)
dkdotab
dkdotab
Use this section as an aid in the editing of /etc/opt/dk/dkdotab. Refer also to
the dkdotab(4) manual page.
The CommKit Host Interface software package includes a sample dkdotab
file found in the directory /etc/opt/dk. Edit the same file to reflect your own
community of interest.
Within a typical network, it is not always possible to support the same or all
of a set of commands on all of the hosts in the data switch network. The
CommKit Host Interface software allows execution of a given command
from a remote host.
The dkdo command allows emulation of commands on a host requiring
facilities not present on the local host. When executing a command on a
local host that does not support the given command, dkdo searches the
/etc/opt/dk/dkdotab file for the remote host on which the command should be
executed. dkdo then places a call through the data switch network to the
host that supports the specified command. It sends any input files and argu-
ments to the remote system, executes the command there, and brings back
any output files. The input files are placed in a new directory in /tmp on the
remote host, and any output files created as a result of execution of the com-
mand are brought back to the local host on the command’s completion. The
input files in /tmp are removed after the command is executed. The function
of the dkdo command is controlled by a dkdotab control table that, unless
specified, defaults to the /etc/opt/dk/dkdotab file. This file describes where
commands are to be executed and the format of the arguments passed to
these commands.
Each dkdotab table entry is presented as follows:
command system flags options files
The table consists of one or more lines, each with five tab-separated fields as
shown above. Each time the command dkdo is executed, it scans this
dkdotab file for the first match with the command requested. If a match is
found, the remaining fields indicate:
system the host on which the command should be executed