RPC.LOCKD(8,C) AIX Commands Reference RPC.LOCKD(8,C)
-------------------------------------------------------------------------------
rpc.lockd
PURPOSE
rpc.lockd - network lock daemon.
SYNTAX
+----------------+
/etc/rpc.lockd ---| +------------+ |---|
+-| -t timeout |-+
| -g |
+------------+
Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.
DESCRIPTION
The rpc.lockd command processes lock requests that are either sent locally by
the kernel or remotely by another lock daemon. The rpc.lockd command forwards
lock requests for remote data to the server site's lock daemon through the
RPC/XDR package. The rpc.lockd command then requests the status monitor
daemon, rpc.statd for monitor service. The reply to the lock request will not
be sent to the kernel until the status daemon and the server site's lock daemon
have replied.
If either the status monitor or server site's lock daemon is unavailable, the
reply to a lock request for remote data is delayed until all daemons become
available.
When a server recovers, it waits for a grace period for all client site
rpc.lockds to submit reclaim requests. Client site rpc.lockds, on the other
hand, are notified by the statd of the server recovery and promptly resubmit
previously granted lock requests. If rpc.lockd fails to secure a previously
granted lock at the server site, the rpc.lockd command sends SIGLOST to a
process.
FLAGS
-t timeout
The rpc.lockd command uses timeout (seconds) as the interval instead of
the default value (15 second) to retransmit lock request to the remote
server.
-g graceperiod
The rpc.lockd command uses graceperiod (seconds) as the grace period
duration instead of the default value (45 seconds).
Processed November 8, 1990 RPC.LOCKD(8,C) 1
RPC.LOCKD(8,C) AIX Commands Reference RPC.LOCKD(8,C)
RELATED INFORMATION
See the following commands in the AIX Technical Reference: fcntl, lockf,
signal.
See the fcntl system call and the signal system call in the AIX Technical
Reference.
Processed November 8, 1990 RPC.LOCKD(8,C) 2