c9c2826520
Linkmgrd monitors link status, mux status, and link state. Has the link becomes unhealthy, linkmgrd will trigger mux switchover on a standby ToR ensuring uninterrupted service to servers/blades. This PR is initial implementation of linkmgrd. Also, docker-mux container hold packages related to maintaining and managing mux cable. It currently runs linkmgrd binary that monitor and switches the mux if needed. This PR also introduces mux-container and starts linkmgrd as startup when build is configured with INCLUDE_MUX=y Edit: linkmgrd PR will follow. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Related work items: #2315, #3146150
10 lines
322 B
Bash
Executable File
10 lines
322 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Generate supervisord config file
|
|
mkdir -p /etc/supervisor/conf.d/
|
|
|
|
# The docker container should start this script as PID 1, so now that supervisord is
|
|
# properly configured, we exec supervisord so that it runs as PID 1 for the
|
|
# duration of the container's lifetime
|
|
exec /usr/local/bin/supervisord
|