
Chapter 7. Command-Line Scripts
314
C2 = host2.example.com:10022
[color]
0 = #ccffcc
5 = #FFFFCC
60 = #FFCCCC
A
shadow port
can be set in the replication monitor configuration file. For example:
host:port
=
shadowport:binddn:bindpwd:bindcert
When the replication monitor finds a replication agreement that uses the specified port, it will use the
shadow port to connect to retrieve statistics.
7.4.18. schema-reload.pl (Reload Schema Files Dynamically)
Manually reloads the schema files used by the Red Hat Directory Server instance either in the default
location or in user-specified locations.
To run this script, the server must be running. The script creates an entry in the directory that launches
this dynamic task.
Syntax
schema-reload.pl
-D
rootdn
{ -w
password
| -w - | -j
filename
} [ -d
schema_directory
] [ -
v ]
Options
Option
Description
-d
schema_directory
Gives the full path to the directory where the
schema file is located. If this is not specified, the
script uses the default schema directory,
/etc/
dirsrv/slapd-
instance_name
/schema
.
IMPORTANT
If schema files are not in the default
directory, then Directory Server will
not use them the next time it restarts
unless
schema-reload.pl
is run
again.
-D
rootdn
Gives the user DN with
root
permissions, such
as Directory Manager. The default is the DN of
the Directory Manager, which is read from the
nsslapd-root
attribute under
cn=config
.
-j
filename
The name of the file containing the password.
-v
Verbose mode.
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...