Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcs_cluster: allow choosing the ip_version on cluster creation #23

Open
OndrejHome opened this issue Dec 25, 2018 · 0 comments
Open

pcs_cluster: allow choosing the ip_version on cluster creation #23

OndrejHome opened this issue Dec 25, 2018 · 0 comments

Comments

@OndrejHome
Copy link
Owner

Idea:

  • implement ip_version attribute to give ability to set IP version based on which version of transport+pcs_version is being used
  • possible combinations should be targetting CentOS 7 and Fedora29 as seen in corosync man page below

Expectations:

  • edit pcs_cluster module in way that implements above
  • don't forget to provide documentation about the attribute in module itself

In case you would like to work on this, please just drop a comment here so I'm aware of it.


pcs-0.9/corosync-2.4

ip_version
     Specifies version of IP to use for communication. Value can be one of ipv4 or ipv6. Default (if unspecified) is ipv4.

pcs-0.10/corosync-3.0

ip_version
      This specifies version of IP to ask DNS resolver for.  The value can be one of ipv4 (look only for an IPv4 address) , ipv6 (check  only  IPv6
      address) , ipv4-6 (first check IPv4 address, if that fails then look for an IPv6 address) and ipv6-4 (first check IPv6 address, if that fails
      then look for an IPv4 address).

      Default (if unspecified) is ipv6-4 for knet and udpu transports and ipv4 for udp.

      Knet transport allows to have a both ipv4 and ipv6 address, provided they are consistent on each link.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant