rdc.1m (2010 09)

r
rdc(1M) rdc(1M)
interface Sends SIGUSR2 signal to ramd to recheck the interface configuration.
ramd periodi-
cally checks the kernel interface configuration for any changes. This command can be
used to force the daemon to check the interface status immediately. Currently, the
only valid argument for this command is
ram
, for checking on ramd.
By default,
ramd obtains its configuration information from the
/etc/ramd.conf
file. rdc maintains
many versions of the configuration file. The versions of the configuration file maintained by
rdc are as
follows:
/etc/ramd.conf.new
createconf command of rdc is used to create this configuration file.
/etc/ramd.conf.prev
When rdc must install a new configuration file using the
createconf command, the exist-
ing
/etc/ramd.conf
file is renamed as /etc/ramd.conf.prev
file.
/etc/ramd.conf.prev.old
When rdc creates a new configuration file, using the
createconf command, the existing
/etc/ramd.conf
, file is renamed as /etc/ramd.conf.prev
and the existing
/etc/ramd.conf.prev
is renamed as /etc/ramd.conf.prev.old
file.
Configuration File Commands
The following commands perform operations related to configuration files:
checkconf Checks /etc/ramd.conf for syntax errors. This is done after changes are made to
the configuration file and before reconfiguring the routing daemons. The system
administrator use this command to ensure that there are no syntax errors in the
configuration file, which can otherwise terminate the daemons on reconfiguration.
checknew Checks the /etc/ramd.conf.new
file for syntax errors.
newconf Renames the /etc/ramd.conf.new
file to /etc/ramd.conf, retaining the
older versions of the configuration files. This operation fails if
/etc/ramd.conf.new
does not exist.
backout Replaces the old configuration file /etc/ramd.conf.old
to /etc/ramd.conf.
This command fails, if the
/etc/ramd.conf.old
file does not exist or if the file
/etc/ramd.conf.old
is of zero length, or if the backout command deletes an
existing, non-zero length
/etc/ramd.conf.new
file.
BACKOUT Performs a backout operation even if the /etc/ramd.conf.new
file exists and is
of non-zero length.
modeconf Sets all configuration files to mode 664, owner root and group trusted non-root user.
This allows a trusted non-root user to modify the configuration files.
createconf Creates a new configuration file, /etc/ramd.conf.new
with zero length. The file
mode is set to 664, owner root and group trusted non-root user. This allows a trusted
non-root user to install a new configuration file.
Controlling Daemons
The following commands can be used to control the daemons:
start Starts ramd. The command returns an error if ramd is already running. It invokes
ramd and waits for the time period specified with -t option. A non-zero exit status is
returned, if an error is detected while executing the binary, or if a lock is not obtained
on the pid file within the specified wait time. Starting ramd invokes all the
configured protocols in the configuration file of ramd.
The following commands can be used to determine the current state of the daemon or to stop or restart
ramd and other IPv6 routing protocols.
running Determines if daemons are currently running. rdc exits with a zero status if the dae-
mon is running and with a non-zero value if the daemons are not running.
stop Stops the requested routing daemon gracefully. Stopping ramd stops all the dae-
mons.
restart Restarts the requested daemon. rdc reports an error, if there is a failure.
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010