Red Hat 8.1 Installationsanleitung Seite 39

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 67
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 38
3.1.5. Monitoring Replication from Admin Express
Admin Express has an option to monitor replication status in real-time, meaning that it shows the number
of updates, times the most recent updates were sent, error and success messages, replication
schedule, the replicated directory suffix, and other information. Unlike other ways of checking replication
status, the Admin Express Replication Status page shows the real-time status of replication,
including updates in progress, current changes sequence numbers, and the lag between when a change
is made on the supplier and when that change is sent to the consumer.
Monitoring replication is set up using a simple configuration file which specifies which server to monitor
and what supplier and consumer replicas to include in the status page.
When trying to monitor replication status through Admin Express, remember two things:
The Replication Status page is only available for supplier servers. (It can be opened for other
types of replicas; there's just no information available and has the message The server is not a
master or it has no replication agreement.)
The configuration file must be in a directory that is accessible to Admin Server, and the file must be
readable by the Admin Server user. By default, the user is nobody.
The user is set in the console.conf file. To check the user, use grep to return the value:
grep \^User /etc/dirsrv/admin-serv/console.conf
The configuration file should be readable by the Admin Server user and no other users, so consider
resetting the permissions on the file:
chmod 0400 filename
To view in-progress status of replication in Admin Express:
1. Create a configuration file. T he configuration file lists all of the servers to monitor for replication,
giving their hostname, port, the bind credentials to use, and then optional settings for aliases and
time lag colors.
#Configuration File for Monitoring Replication Via Admin Express
[connection] Required. Gives the server host, port, supplier bind DN, and
password.
host1.example.com:389:cn=replication manager:mypassword
host2.example.com:3891:cn=replication manager:altpassword
[alias] Optional. Gives a friendly-name alias to the servers and consumers.
M1 = host1.exam ple.com :389
M2 = host2.example.com:3891
C1 = host3.exam ple.com :3892
C2 = host4.exam ple.com:3890
[color] Optional. Sets the color for the time lag boxes.
0 = #ccffcc
5 = #FFFFCC
60 = #FFCCCC
The configuration file must be in a directory that is accessible to the Admin Server, and the file
must be readable by the Admin Server user. By default, the user is nobody.
The user is set in the console.conf file. To check the user, use grep to return the value:
Red Hat Directory Server 8.1 Using the Admin Server
36
Seitenansicht 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 66 67

Kommentare zu diesen Handbüchern

Keine Kommentare