Manual Page Result
0
Command: jdbmod | Section: 8 | Source: Digital UNIX | File: jdbmod.8.gz
jdbmod(8) System Manager's Manual jdbmod(8)
NAME
jdbmod - Adds, modifies, or deletes data in the DHCP dynamic databases.
SYNOPSIS
/usr/sbin/jdbmod [-d] [-e] [-f character] [-l|-n]
[-o] [-w] filename...
FLAGS
Loads the data of a particular record even though the lease has ex-
pired. The default is not to load such records. Use this option with
care: the server may have re-leased the expired addresses to a new
client since the data was dumped. Deletes the records whose keys are
implied by the input file(s). The key fields are the hardware type and
address and the subnet containing the IP address. Uses character as
the field separator. The default is |. Loads lease information only.
Do not load names. The default is to load both. Loads name informa-
tion only. Only loads records owner by this server. Allows existing
records to be overwritten. The default mode is to forbid the update if
the record already exists in the database.
DESCRIPTION
The jdbmod command modifies the databases used by joind to store infor-
mation on client IP address leases and dynamic names. The jdbmod com-
mand allows the user to load preassigned hardware-IP address combina-
tions for those clients requiring infinite leases. Each record to be
loaded is terminated by a newline, and the fields within each record
delimited by default with the pipe (|) character, although this may be
changed with the -f command line option. Date fields may either be ex-
pressed in Universal Coordinated Time (UCT), which is the number of
seconds since 00:00 01/01/1970 GMT, or in a variety of formats more
easily understood by liveware (for example, Mon Jan 09 1995 10:00 and
01/09/1995 10:00:00)
The fields within the data file(s) to be loaded are as follows: MAC ad-
dress MAC address type MAC address length (octets) IP address Start of
lease Lease expiration Time when lease may be extended Time when host
last renewed or acquired this lease IP address of server "owning" the
lease Hostname (without domain) Domain name
RESTRICTIONS
Because the database used by join does not support multi-user concur-
rency, applications that write to it lock the entire database. This
means that you cannot use jdbmod while joind is running. The converse
is also true.
The jdbmod command keys its data entry from the MAC address/ subnet IP
address tuple, replacing the record (in overwrite mode) if it already
exists or adding the record if it does not. However, it does not check
whether the resulting IP address has already been taken by another
client. Before loading a file you must ensure that no IP address con-
flicts exist either internal to the file itself or to the existing
database.
FILES
RELATED INFORMATION
Commands: jdbdump(8), joind(8) delim off
jdbmod(8)