[alias]

M1 = host1.example.com:10011

C1 = host4.example.com:10021

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.14 schema-reload.pl (Reload schema files dynamically)

Manually reloads the schema files used by the 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-Drootdn { -wpassword -w - -jfilename } [ -dschema_directory ] [ -v ]

Options

Table 7-33 schema-reload.pl options

Option

Description

-d

Gives the full path to the directory where the schema file is located. If this is not specified, the

schema_directory script uses the default schema directory,

/etc/opt/dirsrv/slapd-instance_name/schema.

 

IMPORTANT:

 

If schema files are not in the default directory, then the Directory Server will not use them the

 

next time it restarts unless the schema-reload.plscript is run again.

-Drootdn

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-rootattribute under cn=config.

-jfilename

The name of the file containing the password.

-v

Verbose mode.

-wpassword

The password associated with the user DN.

-w -

Prompts for the password associated with the user DN.

7.4.15 verify-db.pl (Check for corrupt databases)

Verifies the backend database files. If the server crashes because of a corrupted database, this script can be used to verify the integrity of the different database files to help isolate any problems.

7.4 Perl scripts 237

Page 237
Image 237
HP UX Identity Security Software manual Schema-reload.pl Reload schema files dynamically, schema-reload.pl options