Add support to start fdbsyncd when orchagent docker starts (#5979)

Add support to start fdbsyncd when swss docker starts. 
New demon is added to sync MAC from Kernel to DB and vise versa.
This commit is contained in:
KISHORE KUNAL 2020-12-24 18:36:01 -08:00 committed by GitHub
parent e93330ece3
commit 4bb8ab3495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 38 additions and 0 deletions

View File

@ -4,6 +4,7 @@
## orchagent ## orchagent
## portsyncd ## portsyncd
## neighsyncd ## neighsyncd
## fdbsyncd
## vrfmgrd ## vrfmgrd
## vlanmgrd ## vlanmgrd
## intfmgrd ## intfmgrd
@ -22,6 +23,9 @@ check program swss|portsyncd with path "/usr/bin/process_checker swss /usr/bin/p
check program swss|neighsyncd with path "/usr/bin/process_checker swss /usr/bin/neighsyncd" check program swss|neighsyncd with path "/usr/bin/process_checker swss /usr/bin/neighsyncd"
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
check program swss|fdbsyncd with path "/usr/bin/process_checker swss /usr/bin/fdbsyncd"
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
check program swss|vrfmgrd with path "/usr/bin/process_checker swss /usr/bin/vrfmgrd" check program swss|vrfmgrd with path "/usr/bin/process_checker swss /usr/bin/vrfmgrd"
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles

View File

@ -1,6 +1,7 @@
program:orchagent program:orchagent
program:portsyncd program:portsyncd
program:neighsyncd program:neighsyncd
program:fdbsyncd
program:vlanmgrd program:vlanmgrd
program:intfmgrd program:intfmgrd
program:portmgrd program:portmgrd

View File

@ -184,3 +184,14 @@ stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog
dependent_startup=true dependent_startup=true
dependent_startup_wait_for=swssconfig:exited dependent_startup_wait_for=swssconfig:exited
[program:fdbsyncd]
command=/usr/bin/fdbsyncd
priority=17
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog
dependent_startup=true
dependent_startup_wait_for=swssconfig:exited

View File

@ -58,6 +58,9 @@ supervisorctl start portsyncd
echo "Start neighsyncd" echo "Start neighsyncd"
supervisorctl start neighsyncd supervisorctl start neighsyncd
echo "Start fdbsyncd"
supervisorctl start fdbsyncd
echo "Start teamsyncd" echo "Start teamsyncd"
supervisorctl start teamsyncd supervisorctl start teamsyncd

View File

@ -131,3 +131,11 @@ autostart=false
autorestart=unexpected autorestart=unexpected
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog
[program:fdbsyncd]
command=/usr/bin/fdbsyncd
priority=16
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog

View File

@ -103,6 +103,8 @@ supervisorctl start coppmgrd
supervisorctl start neighsyncd supervisorctl start neighsyncd
supervisorctl start fdbsyncd
supervisorctl start teamsyncd supervisorctl start teamsyncd
supervisorctl start fpmsyncd supervisorctl start fpmsyncd

View File

@ -220,3 +220,12 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog
[program:fdbsyncd]
command=/usr/bin/fdbsyncd
priority=25
autostart=false
autorestart=false
stdout_logfile=syslog
stderr_logfile=syslog