[SOLVED] Possible IPV6 Only Cluster ?

fluorfr

New Member
Oct 23, 2021
3
0
1
23
Hello,

I set up a cluster in dual stack IPV4/IPV6. I would no longer like to use IPV4 on the cluster so I would like Corosync to be only in IPV6.

In corosync i have :

JSON:
node {
    name: test1
    nodeid: 1
    quorum_votes: 1
    ring0_addr: XX.XX.XX.XX <= IPv4
    ring1_addr: 2001:xxxx:xxxx:xxxx <= IPv6
  }

What's the right way to do it?

My idea is :

- Modify ring0 by ring0_addr: 2001:xxxx:xxxx:xxxx <= IPv6
- Increase Corosync version config
- Restart corosync service

It's the good method ?

Thanks.
 
Ok, thanks

Ok that partly worked. But the migration continues to use ipv4 I don't understand why.
 
pe
Ok, thanks

Ok that partly worked. But the migration continues to use ipv4 I don't understand why.
Perhaps /etc/hosts still have IPv4?
start to remove the IPv4 addresses from the nodes and see if/how they stay up/go-down to see if there isn't a config you missed somewhere?