lemonldap-ng issueshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues2018-08-24T04:45:53Zhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1492MongoDB session and configuration backend2018-08-24T04:45:53ZMathieu Lecompte-melançonMongoDB session and configuration backendAs we work well on from more then 1 month without any issue let me share with you, our MongoDB configuration that allow us to make an security update on every server without downtime and minimal impact...
So the main idea, is to keep ou...As we work well on from more then 1 month without any issue let me share with you, our MongoDB configuration that allow us to make an security update on every server without downtime and minimal impact...
So the main idea, is to keep our server(Nginx(LLNG) and MongoDB) up to date. We will skip the NGINX way that simply a VIP in conjunction of small app like HeartBeat. Concerning the MongoDB side, we have a ReplicaSet MongoDB Cluster (ex: 3 servers)
For configuration
````
type = MongoDB
dbName = llConfDB
collectionName = configuration
host = mongodb://lemonldap_1.test.com:27017,lemonldap_2.test.com:27017,lemonldap_3.test.com:27017
; authentication parameters
db_name = llConfDB
username = llng
password = ***Password***
connect_timeout_ms=3000
read_pref_mode = primaryPreferred
replica_set_name = rs0
w = 1
wtimeout = 3000
````
And for the session:
````
globalStorage = Apache::Session::MongoDB
globalStorageOptions = { 'collection' => 'sessions', 'connect_timeout' => '10000', 'db_name' => 'llConfDB', 'host' => 'mongodb://lemonldap_1.test.com:27017,lemonldap_2.test.com:27017,lemonldap_3.test.com:27017', 'ssl' => '0', 'dbName' => 'llConfDB', 'username' => 'llng', 'password' => '***Password***', 'connect_timeout_ms' => '3000', 'read_pref_mode' => 'primaryPreferred', 'replica_set_name' => 'rs0', 'w' => '1', 'wtimeout' => '3000' }
````
So with that configuration, we could lost or update any server at anytime without downtime...
We have a small impact when the master change on MongoServer, we got an error, 1 time, on every LLNG thread. Not sure if is a LLNG issue or in perl driver issue. But in term of HA it's totally acceptable...
Also it's appear the defaut version provided by RedHAt/Centos repo is 2 year old and some bug could crash LLNG after some week of intense usage... Be sure to run on a more up to date version like 2.0.1
At least a version over the 1.8.1 that solve this issue
> v1.8.1 2018-01-17 10:44:22-05:00 America/New_York
> [Bug fixes]
> - PERL-770 Repeated find_one queries sometime result in
MongoDB::ProtocolError on short network reads.
````
cpanm MongoDB
````
So can you add the minimum driver version requirement and also a sample of mongoDB replicaset user in docs
https://lemonldap-ng.org/documentation/2.0/mongodbsessionbackend2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1445Let's stop french manager doc translation2018-06-25T11:45:22ZYaddLet's stop french manager doc translationHi all,
I think we should stop french doc translation:
1. it needs a lot of job and we have no time to do it *(less than 30% translated today…)*
2. this doc isn't online
3. administrators of this type of software are used to reading Engl...Hi all,
I think we should stop french doc translation:
1. it needs a lot of job and we have no time to do it *(less than 30% translated today…)*
2. this doc isn't online
3. administrators of this type of software are used to reading English documentation
4. OmegaT isn't easy to use
5. I haven't found better software to translate plain HTML
@clement\_oudot, @maudoux : Please send your advice below2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1388Auto-generation of parameters list in doc2018-03-13T17:48:49ZYaddAuto-generation of parameters list in docManager::Build::Attributes contains a "documentation" field for each parameter. It could be interesting to generate https://lemonldap-ng.org/documentation/2.0/parameterlist from itManager::Build::Attributes contains a "documentation" field for each parameter. It could be interesting to generate https://lemonldap-ng.org/documentation/2.0/parameterlist from it2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1278Missing docs on portal addons/Servers2018-05-19T19:41:49ZMathieu Lecompte-melançonMissing docs on portal addons/ServersPlease add documentation on this section to tell the meanin of each option and maybe the requirement...
I suppose those feature are here to make a proxy LLNG (like DMZ) but that not explain howPlease add documentation on this section to tell the meanin of each option and maybe the requirement...
I suppose those feature are here to make a proxy LLNG (like DMZ) but that not explain how2.0.0YaddYadd