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:
parent
e93330ece3
commit
4bb8ab3495
@ -4,6 +4,7 @@
|
||||
## orchagent
|
||||
## portsyncd
|
||||
## neighsyncd
|
||||
## fdbsyncd
|
||||
## vrfmgrd
|
||||
## vlanmgrd
|
||||
## 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"
|
||||
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"
|
||||
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
program:orchagent
|
||||
program:portsyncd
|
||||
program:neighsyncd
|
||||
program:fdbsyncd
|
||||
program:vlanmgrd
|
||||
program:intfmgrd
|
||||
program:portmgrd
|
||||
|
@ -184,3 +184,14 @@ stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
dependent_startup=true
|
||||
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
|
||||
|
||||
|
@ -58,6 +58,9 @@ supervisorctl start portsyncd
|
||||
echo "Start neighsyncd"
|
||||
supervisorctl start neighsyncd
|
||||
|
||||
echo "Start fdbsyncd"
|
||||
supervisorctl start fdbsyncd
|
||||
|
||||
echo "Start teamsyncd"
|
||||
supervisorctl start teamsyncd
|
||||
|
||||
|
@ -131,3 +131,11 @@ autostart=false
|
||||
autorestart=unexpected
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
||||
[program:fdbsyncd]
|
||||
command=/usr/bin/fdbsyncd
|
||||
priority=16
|
||||
autostart=false
|
||||
autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
@ -103,6 +103,8 @@ supervisorctl start coppmgrd
|
||||
|
||||
supervisorctl start neighsyncd
|
||||
|
||||
supervisorctl start fdbsyncd
|
||||
|
||||
supervisorctl start teamsyncd
|
||||
|
||||
supervisorctl start fpmsyncd
|
||||
|
@ -220,3 +220,12 @@ autostart=false
|
||||
autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
||||
[program:fdbsyncd]
|
||||
command=/usr/bin/fdbsyncd
|
||||
priority=25
|
||||
autostart=false
|
||||
autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user