Created on 03-06-2017 12:29 PM - edited 09-16-2022 04:12 AM
In a recent Predictive Cluster Validation Summary for one of my clusters, Cloudera Proactive Support states:
"The following hosts have IPv6 enabled, which is against our best practices, because it can cause connectivity problems. This is discussed in the CDH documentation. (http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_ig_req_supported_ve..."
Yet that page simply says that "IPv6 is not supported and must be disabled."
If this is a hard requirement, then why is there no documentation on *how* to disable IPv6 for the various supported OSs? I understand that Cloudera may not want to get into the OS configuration business, but at least pointers to vender documentation should be provided.
Created 01-19-2018 06:52 PM
Created 03-06-2017 01:49 PM
Hello @mjarnold,
Thank you for pointing that out. I have added this post to internal Cloudera Jira DOCS-1862 where we are discussing documentation.
Regards,
Ben
Created 03-06-2017 01:59 PM
Thank you Ben.
Created 01-19-2018 02:25 PM
Created 01-19-2018 06:52 PM
Created 01-22-2018 09:41 AM
I am curious as to what the Proactive Support tests look for when testing whether IPv6 is enabled. Is it the existence of IPv6 addresses on interfaces or the presence of the IPv6 kernel module?
Red Hat's solutions indicate that you can either disable the kernel module via kernel boot options (results in other things breaking) or disable IPv6 on network interfaces via sysctl. Debian appears to be similar.
Created 01-22-2018 09:57 AM
Hi Michael,
Based on what I see in the script/code, it's the presence of inet6 in the ifconfig output, which is included in the diagnostic bundle. If inet6 is present and in use, I believe that's the basis for the alert that was issued.
Best,
Alex
Created 01-23-2018 11:30 AM
Thanks. It sounds like the following should suffice:
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
Created 01-23-2018 11:32 AM
Completely agreed sir. +1
Created 01-24-2018 02:46 PM
And to fully answer myself, here are the links to vendor documentation:
Red Hat/CentOS
https://access.redhat.com/solutions/8709
https://wiki.centos.org/FAQ/CentOS7#head-8984faf811faccca74c7bcdd74de7467f2fcd8ee
https://wiki.centos.org/FAQ/CentOS6#head-d47139912868bcb9d754441ecb6a8a10d41781df
Debian/Ubuntu
https://wiki.debian.org/DebianIPv6#How_to_turn_off_IPv6
https://wiki.ubuntu.com/IPv6#Disabling_IPv6
Suse