Force IGMP version on EL and Mux

Apr 2024

When using IGMP sometimes we want to force the IGMP version, normally to match the version used on the data switches to unsure a cleaner operation during reboots, redundancy switches etc.
The commands to do this differ between the Gx servers used for Encoding Live and the M1 servers used for Multiplexing.

Gx Servers

At the time of writing, I have only tested this on the G8, not on the newer G9 as yet.
This section below will change IGMP V3 to IGMP V2.

test -f /opt/ericsson/tuned-performance/etc/tuned.conf && sed -i -e "s|\(net\.ipv4\.conf\.[^.]*\.force_igmp_version = \)3|\12|" /opt/ericsson/tuned-performance/etc/tuned.conf
test -f /opt/ericsson/tuned-performance/etc/ktune.sh && sed -i -e "s|do echo 3|do echo 2|" /opt/ericsson/tuned-performance/etc/ktune.sh
sysctl --system
systemctl restart tuned
sysctl -a|grep force_igmp