- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个主 LDAP 服务器 (openldap) 在需要退役的节点上运行。我有几个消费者节点对其进行同步。我已指定另一个节点(其中一个消费者)成为新的主节点,以便我可以解除旧的主节点。
我已将所有其他消费者更新为来自第二个主服务器的同步复制。
启发式地,将这个新服务器从消费者(从)“提升”到主服务器的过程是什么?
配置行在消费者中看起来像这样。
olcSyncrepl: {0}rid=312 provider="ldaps://<new master>/" type=refreshAndPersist interval="00:00:01:00" retry="60 30 300 +" searchbase="<base of tree>" bindmethod=sasl saslmech=gssapi keepalive=3540:10:3
最佳答案
好的,我找到了答案。来自 syncrepl documentation它说这个
The consumer also stores its replica state, which is the provider's contextCSN received as a synchronization cookie, in the contextCSN attribute of the suffix entry. The replica state maintained by a consumer server is used as the synchronization state indicator when it performs subsequent incremental synchronization with the provider server. It is also used as a provider-side synchronization state indicator when it functions as a secondary provider server in a cascading replication configuration. Since the consumer and provider state information are maintained in the same location within their respective databases, any consumer can be promoted to a provider (and vice versa) without any special actions.
关于ldap - 如何将 LDAP 副本提升为 master,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22939521/
我是一名优秀的程序员,十分优秀!