Disable ipv6 in Aria operation for logs
search cancel

Disable ipv6 in Aria operation for logs

book

Article ID: 312258

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Steps to disable all IPv6 related services / configs on Aria Operations for Logs appliances.

Environment

VMware Aria Operations for Logs 8.x

Resolution

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.

 

Disable IPv6 for sendmail:

sed -i -e '/^[^#]*O DaemonPortOptions=Addr=::1,Port=smtp,Name=MTA,Family=inet6/s/^/# /' /etc/mail/sendmail.cf

systemctl restart sendmail

Disable IPv6 for ntp:

sed -i -e '/restrict -6 ::1/s/^/# /' -e '$a\interface ignore wildcard' /etc/ntp.conf

systemctl restart ntpd

Disable IP6tables:

sed -i '/^ip6tables/s/^/#/' /etc/systemd/scripts/iptables

find /usr/lib/systemd/system -type f -name 'loginsight_firewall_*' -exec sed -i '/ip6tables/s/^/# /' {} +

Disable IPv6 at kernel:

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.


Verification:

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