Arhiva
Sun Java System Directory Server 7.0 tips: Retro changelog and the attributes of the deleted entry
Although I always had high level of respect for the documentation of the Sun products, I have to say that sometimes it was the root of an issue by not describing it well. Namely, it’s retro changelog plug-in has a feature of logging a set of attributes for the deleted entry, but it does not really explain anything more then just how to enable it. How to use it on the other hand came up as an issue for our developers…
Sun Java System Directory Server 5.2 CLI tips: Fractional replication
Fractional replication could be useful if you want to expose only a small set of the attributes to the wider audience. Apart from that it can significantly cut down the size of the database which makes it easier to fit in the memory of the 32-bit systems.
This article uses the existing supplier-consumer setup as a basis and converts it to the fractional replication mode. In the article which describes the supplier-consumer setup you would find the detailed explanation for the replication agreement attribute values to which we refer in this article under signs < and >.
Sun Java System Directory Server 5.2 CLI Tips: enabling Supplier-Consumer replication
Although I have published an article with a very similar content it does not cover another common use-case. Namely, I have wrote how to setup a multi-master replication but now I will describe another case which is single-master replication (one supplier and one consumer). This case is very similar to the MMR but simpler.
Sun Java System Directory Server 5.2 CLI tips: disabling a replication agreement
In case you are to perform an upgrade, a useful thing to have is a CLI way to disable and enable a replication agreement. Here’s how to do it:
- create a LDIF file named disableAgreement.ldif which would modify the replication agreement:
dn: cn=AGREEMENT_NAME, cn=replica, cn=SUFFIX, cn=mapping tree, cn=config
changetype: modify
add: ds5AgreementEnable
ds5AgreementEnable: off
- import the file:
ldapmodify -h HOST -p PORT -D rootDN -w password -f disableAgreement.ldif
To enable it:
- create a new file, enableAgreement.ldif with the following contents:
dn: cn=AGREEMENT_NAME, cn=replica, cn=SUFFIX, cn=mapping tree, cn=config
changetype: modify
replace: ds5AgreementEnable
ds5AgreementEnable: on
- import the file
ldapmodify -h HOST -p PORT -D rootDN -w password -f disableAgreement.ldif
Sun Java System Directory Server 5.2 CLI tips: adding a new suffix
Two years ago I have started a series of articles regarding manipulating Sun Java System Directory Server 5.2 from the command line. This article continues the series and describes the process of adding a new suffix and database to the installation via LDIF. Pročitaj više…


Poslednji komentari