diff --git a/dockers/docker-orchagent/base_image_files/monit_swss b/dockers/docker-orchagent/base_image_files/monit_swss index 38862f348b1b..1dcf4bf9b6d9 100644 --- a/dockers/docker-orchagent/base_image_files/monit_swss +++ b/dockers/docker-orchagent/base_image_files/monit_swss @@ -13,6 +13,8 @@ ## nbrmgrd ## vxlanmgrd ## coppmgrd +## tunnelmgrd + ############################################################################## check program swss|orchagent with path "/usr/bin/process_checker swss /usr/bin/orchagent -d /var/log/swss" if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles @@ -49,3 +51,6 @@ check program swss|vxlanmgrd with path "/usr/bin/process_checker swss /usr/bin/v check program swss|coppmgrd with path "/usr/bin/process_checker swss /usr/bin/coppmgrd" if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles + +check program swss|tunnelmgrd with path "/usr/bin/process_checker swss /usr/bin/tunnelmgrd" + if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles diff --git a/dockers/docker-orchagent/critical_processes b/dockers/docker-orchagent/critical_processes index d2dc86a5f7ce..a650bdca2a93 100644 --- a/dockers/docker-orchagent/critical_processes +++ b/dockers/docker-orchagent/critical_processes @@ -10,3 +10,4 @@ program:vrfmgrd program:nbrmgrd program:vxlanmgrd program:coppmgrd +program:tunnelmgrd diff --git a/dockers/docker-orchagent/supervisord.conf b/dockers/docker-orchagent/supervisord.conf index f1b8edd62211..37ddade2edcf 100644 --- a/dockers/docker-orchagent/supervisord.conf +++ b/dockers/docker-orchagent/supervisord.conf @@ -175,6 +175,16 @@ stderr_logfile=syslog dependent_startup=true dependent_startup_wait_for=swssconfig:exited +[program:tunnelmgrd] +command=/usr/bin/tunnelmgrd +priority=17 +autostart=false +autorestart=false +stdout_logfile=syslog +stderr_logfile=syslog +dependent_startup=true +dependent_startup_wait_for=swssconfig:exited + [program:enable_counters] command=/usr/bin/enable_counters.py priority=12 diff --git a/platform/vs/docker-sonic-vs/start.sh b/platform/vs/docker-sonic-vs/start.sh index 1c0960e598f9..7b246a49de1a 100755 --- a/platform/vs/docker-sonic-vs/start.sh +++ b/platform/vs/docker-sonic-vs/start.sh @@ -135,6 +135,8 @@ supervisorctl start natmgrd supervisorctl start natsyncd +supervisorctl start tunnelmgrd + # Start arp_update when VLAN exists VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'` if [ "$VLAN" != "" ]; then diff --git a/platform/vs/docker-sonic-vs/supervisord.conf b/platform/vs/docker-sonic-vs/supervisord.conf index 61fdb60bcc69..977b84117e3e 100644 --- a/platform/vs/docker-sonic-vs/supervisord.conf +++ b/platform/vs/docker-sonic-vs/supervisord.conf @@ -229,3 +229,10 @@ autorestart=false stdout_logfile=syslog stderr_logfile=syslog +[program:tunnelmgrd] +command=/usr/bin/tunnelmgrd +priority=26 +autostart=false +autorestart=false +stdout_logfile=syslog +stderr_logfile=syslog diff --git a/src/sonic-swss b/src/sonic-swss index ef41c4e9df80..9ed3026e4ac4 160000 --- a/src/sonic-swss +++ b/src/sonic-swss @@ -1 +1 @@ -Subproject commit ef41c4e9df80e64cc2aced424913fc9cae73cbec +Subproject commit 9ed3026e4ac4fd05b8321d45848be3a85d96923e