Menu

#2923 fmd: add option to reload fmd.conf at runtime

5.18.09
fixed
Gary Lee
None
enhancement
unknown
-
major
False
2018-09-29
2018-09-07
Gary Lee
No

Add option to reload fmd.conf at runtime by sending it SIGHUP

Related

Wiki: ChangeLog-5.18.09
Wiki: NEWS-5.18.09

Discussion

  • Gary Lee

    Gary Lee - 2018-09-17
    • status: unassigned --> accepted
    • assigned_to: Gary Lee
     
  • Gary Lee

    Gary Lee - 2018-09-18
    • status: accepted --> review
     
  • Gary Lee

    Gary Lee - 2018-09-24

    commit 781ff77798f666493315f90ade648d4dd702050a
    Author: Gary Lee gary.lee@dektech.com.au
    Date: Mon Sep 24 23:25:50 2018 +0000

    fmd: enable reload of configuration without restart [#2923]
    
    Only FMS_PROMOTE_ACTIVE_TIMER, FMS_NODE_ISOLATION_TIMEOUT and
    FMS_ACTIVATION_SUPERVISION_TIMER are currently supported.
    
    These values can be changed in fmd.conf and take effect
    by sending SIGHUP to fmd.
    

    commit c3ed12146f3c5ccec4634737fd722a88c2be86ad
    Author: Gary Lee gary.lee@dektech.com.au
    Date: Mon Sep 24 23:25:50 2018 +0000

    base: add config file reader [#2923]
    
    Some configuration attribute are read by OpenSAF daemons as
    environment variables. eg.
    
    export FMS_PROMOTE_ACTIVE_TIMER=0
    
    There is no easy way to reload these values without a restart.
    
    ConfigFileReader will parse these files looking for 'export VAR=VAL'
    and store them into a map, so a daemon can reload configuration
    without a restart.
    

    commit d82cbf49892862cd2b925255691d30234903f340
    Author: Gary Lee gary.lee@dektech.com.au
    Date: Mon Sep 24 23:25:50 2018 +0000

    base: remove use of SIGHUP to toggle INFO messages [#2923]
    
    We need to use SIGHUP for reload of configuration
    
     
  • Gary Lee

    Gary Lee - 2018-09-29
    • status: review --> fixed
     

Log in to post a comment.