documentation:2.1:changeconfbackend

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:changeconfbackend [2019/01/15 15:55] (current)
Line 1: Line 1:
 +====== How to change configuration backend ======
 +
 +LemonLDAP::NG provides a script to change configuration backend easily keeping history. It is set in LemonLDAP::NG utilities directory (''convertConfig'').
 +
 +===== How it works =====
 +
 +The ''convertConfig'' utility reads 2 LL::NG configuration files (''lemonldap-ng.ini''):
 +  * **Current**: to extract all configuration history
 +  * **New**: to write all configuration history
 +
 +===== Let's go =====
 +
 +  * Prepare your new lemonldap-ng.ini file
 +  * Configure your new backend (create SQL database,...)
 +  * Launch that:
 +<code shell>
 +convertConfig --current=/etc/lemonldap-ng/lemonldap-ng.ini --new=/new/lemonldap-ng.ini
 +</code>
 +  * Install the new lemonldap-ng.ini file at the place of the old file in all LL::NG servers
 +  * Restart all your Apache servers
 +
 +===== See also =====
 +
 +Documentation is available for configuration backends :
 +  * [[sqlconfbackend|SQL]]
 +  * [[fileconfbackend|File]]
 +  * [[ldapconfbackend|LDAP]]
 +  * [[soapconfbackend|SOAP proxy mechanism]]