LFCS · Question #144
Which of the following steps should be followed when configuring a slave slapd server? (Choose THREE correct answers.)
The correct answer is B. Do not add a replogfile directive to slapd.conf. C. Add an updatedn directive to slapd.conf. E. Do not add a replica directive to slapd.conf. When configuring a slave OpenLDAP server for replication in a legacy slapd.conf setup, it's crucial to define the updatedn and to avoid master-specific directives like replica and replogfile.
Question
Options
- AAdd a replica directive to slapd.conf.
- BDo not add a replogfile directive to slapd.conf.
- CAdd an updatedn directive to slapd.conf.
- DAdd a replogfile directive to slapd.conf.
- EDo not add a replica directive to slapd.conf.
How the community answered
(44 responses)- A20% (9)
- B70% (31)
- D9% (4)
Why each option
When configuring a slave OpenLDAP server for replication in a legacy `slapd.conf` setup, it's crucial to define the `updatedn` and to avoid master-specific directives like `replica` and `replogfile`.
The `replica` directive is used on the master server to define its slaves, not on the slave server itself; including it on a slave is incorrect.
A `replogfile` directive is typically used on the master server to log changes for replication consumers (slaves), so it should not be added to a slave server's configuration.
The `updatedn` directive defines the distinguished name of the identity that the slave server uses to bind to the master server for updates, which is essential for the slave to receive replication data.
The `replogfile` directive is a master-side configuration option, enabling the master to track changes for replication; it is not configured on the slave server.
The `replica` directive is used on the master server to specify the replica consumers (slaves) that it will send updates to, so it should not be present in the configuration of a slave server itself.
Concept tested: OpenLDAP slave server configuration (slapd.conf)
Source: https://www.openldap.org/doc/admin24/replication.html
Topics
Community Discussion
No community discussion yet for this question.