yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.95k stars 1.07k forks source link

[yugabyted] Document flags needed to bring up yugabyted listening on an IPv6 address #7589

Open iSignal opened 3 years ago

iSignal commented 3 years ago

We need to document the flags needed to bring up yugabyted in ipv6 mode.

Something like

bin/yugabyted start --listen '[::1]' --daemon=false --master_flags "net_address_filter=ipv6_external,ipv6_non_link_local,ipv6_all,ipv4_external,ipv4_all" --tserver_flags "net_address_filter=ipv6_external,ipv6_non_link_local,ipv6_all,ipv4_external,ipv4_all"

might work but we need to test this more thoroughly.

@sanketkedia @tedyu

tedyu commented 3 years ago

On dev-server, when running the above command from local repo, I got:

. Standard error:
patchelf not found or is not executable: '/nfusr/dev-server/tedyu/yugabyte-db/bin/patchelf'

I downloaded 2.5.2, ran post_install. Then I encountered:

ERROR: unknown command line flag 'ipv4_all'
ERROR: unknown command line flag 'ipv4_external'
ERROR: unknown command line flag 'ipv6_all'
ERROR: unknown command line flag 'ipv6_non_link_local'