Steps to disable all IPv6 related services / configs on Aria Operations for Logs appliances.
VMware Aria Operations for Logs 8.x
NOTE: Before proceeding with the following steps, ensure that you have snapshots of each node in the cluster as per How to take a Snapshot of VMware Aria Operations for Logs
Run these commands on the Aria Operations for Logs cluster nodes one by one, performing the steps on the node with the ILB present as the last.
sed -i -e '/^[^#]*O DaemonPortOptions=Addr=::1,Port=smtp,Name=MTA,Family=inet6/s/^/# /' /etc/mail/sendmail.cf
systemctl restart sendmail
sed -i -e '/restrict -6 ::1/s/^/# /' -e '$a\interface ignore wildcard' /etc/ntp.conf
systemctl restart ntpd
sed -i '/^ip6tables/s/^/#/' /etc/systemd/scripts/iptables
find /usr/lib/systemd/system -type f -name 'loginsight_firewall_*' -exec sed -i '/ip6tables/s/^/# /' {} +
sed -i '/^photon_cmdline/ s/$/'" ipv6.disable=1"'/' /boot/photon.cfg
Now reboot the node from the command line or from the vCenter.
Perform the steps on the other nodes followed by the node which has the ILB as the last.
Expected output of this command is no output:
test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"
Expected to see all the required ports are up with with only IPv4:
netstat -tulpn