Syntax, Options, Repl-monitor.pl (monitors replication status) – Red Hat 8.1 User Manual

Page 234: Note, Table 7.32. repl-monitor.pl options, For more information on the perl script, see, Status)

Advertising
background image

database files, like cert8.db and key3.db, are not removed, so the remaining instance directory is
renamed removed.slapd-instance.

Syntax

rem ove-ds.pl [ -f ] -i instance_name

Options

Option

Parameter

Description

-f

Forces the removal of the
instance. This can be useful if
the instance is not running but
must be removed anyway.

-i

instance_name

The name of the instance to
remove.

7.4 .17. repl-monitor.pl (Monitors Replication Status)

Shows in-progress status of replication.

NOTE

repl-m onitor.pl is in the /usr/bin directory.

Syntax

repl-m onitor.pl [ -h host ] [ -p port ] [ -f configFile ] [ -u refreshUrl ] [ -t refreshInterval ] [
-r ] [ -v ]

Options

Table 7.32. repl-monitor.pl Options

Option

Description

-f configFile

Specifies the absolute path to the configuration
file, which defines the connection parameters
used to connect to LDAP servers to get
replication information. For more information about
the configuration file, see

Configuration File

Format

.

-h host

Specifies the initial replication supplier's host.
The default value is the current hostname.

-p port

Specifies the initial replication supplier's port. The
default value is 389.

-r

If specified, causes the routine to be entered
without printing the HTML header information.
This is suitable when making multiple calls to this
routine — such as specifying multiple, different,
unrelated supplier servers — and expecting a
single HTML output.

-t refreshInterval

Specifies the refresh interval in seconds. The
default value is 300 seconds. This option must
be used with the -u option.

-u refreshUrl

Specifies the refresh URL. The output HTML file
may invoke a CGI program periodically. If this CGI
program in turn calls this script, the effect is that
the output HTML file would automatically refresh
itself. This is useful for continuous monitoring.
See also the -t option. The script has been
integrated into Red Hat Administration Express,
so that the replication status can be monitored
through a web browser.

-v

Prints the version of this script.

234

Chapter 7. Command-Line Scripts

Advertising