Enhancement #3098

LSM: configuration tuning

Added by Giacomo Sanchietti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:<multiple packages>
Target version:v6.6
Resolution: NEEDINFO:No

Description

Following options need to be tuned:
  • decrease sensibility to avoid false down events for red interfaces
  • avoid useless daemon restart

Also update to last available release.

Associated revisions

Revision 11d6f074
Added by Giacomo Sanchietti over 6 years ago

config: decrease sensibility. Refs #3098

Revision b74e6cdc
Added by Giacomo Sanchietti over 6 years ago

lsm: avoid useless restarts. Refs #3098

Revision 1b95f932
Added by Giacomo Sanchietti over 6 years ago

Update to upstream 0.179. Refs #3098

Revision 3ff480ad
Added by Giacomo Sanchietti over 6 years ago

init: start lsm only if #providers > 1. Refs #3098

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Category set to nethserver-lsm
  • Status changed from NEW to TRIAGED
  • Target version set to v6.6
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti over 6 years ago

  • Category changed from nethserver-lsm to <multiple packages>

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • lsm-0.179-1.ns6.x86_64.rpm
  • nethserver-firewall-base-2.5.0-1.1.gb74e6cd.ns6.noarch.rpm
  • nethserver-lsm-1.0.1-1.5.g3ff480a.ns6.noarch.rpm
Test case 1
  • Check max_successive_pkts_lost option inside /etc/lsm/lsm.conf is set to 6
Test case 2
  • Configure a machine with at least 2 red interfaces
  • Create a provider from the MultiWAN page
  • Check LSM is not started
Test case 3
  • Configure a machine with at least 2 red interfaces
  • Create 2 providers from the MultiWAN page
  • Check LSM is started
Test case 4
  • After test case 3
  • Create a host object
  • Check LSM is not restarted after firewall-adjust event
Test case 5
  • After test case 3
  • Modify the checkip of one provider
  • Check LSM is restarted
Test case 6
  • After test case 3
  • Delete one provider
  • Check LSM is stopped

#6 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90
[root@ns65 ~]# grep max /etc/lsm/lsm.conf 
  max_packet_loss=9
  max_successive_pkts_lost=3
...
  Updating   : lsm-0.179-1.ns6.x86_64                                                                                           1/4 
  Updating   : nethserver-lsm-1.0.1-1.5.g3ff480a.ns6.noarch    
[root@ns65 ~]# grep max /etc/lsm/lsm.conf 
  max_packet_loss=9
  max_successive_pkts_lost=6

All test case passed.

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-firewall-base-2.5.1-1.ns6.noarch.rpm
  • nethserver-lsm-1.0.2-1.ns6.noarch.rpm
  • lsm-0.179-1.ns6.x86_64.rpm

Also available in: Atom PDF