[SOLVED] pvecm create IPV6 only, what is the bindnet0_addr?

fireon

Distinguished Member
Oct 25, 2010
4,597
544
183
Austria/Graz
deepdoc.at
Hello,

pve-manager/4.4-2/80259e05 (running kernel: 4.4.35-1-pve)

i have here my first IPV6 only cluster. So machines are setuped allready. So i would like to add extra Interfaces for creating the cluster. On ipv4 i've done this with:
Code:
pvecm create ositcl01 -bindnet0_addr 10.0.0.0 -ring0_addr 10.0.0.1
So how can i do this with ipv6 private networks? This two servers have this interface configuration.
Server1:
Code:
iface eth3 inet6 static 
       address  fda0:22c2:9242:382e::1 
       netmask  64
Server2:
Code:
iface eth1 inet6 static 
       address  fda0:22c2:9242:382e::2 
       netmask  64
So i'am right when setup my cluster with the following command?
Code:
pvecm create ositcl01 -bindnet0_addr fda0:22c2:9242:382e:: -ring0_addr fda0:22c2:9242:382e::1
Thanks a lot
 
I tested it in a VM. First with only one networkcard to see what address are added to corosync.conf. And strange this is working:
Code:
pvecm create bla1cluster -bindnet0_addr fda0:22c2:9242:382e::1 -ring0_addr fda0:22c2:9242:382e::1
So the bindnet is the same address as the interface itself.
And the other host:
Code:
pvecm add fda0:22c2:9242:382e::1 -ring0_addr fda0:22c2:9242:382e::2
Is this really right? I'am a littel pit afraid to set this on real machines :oops:
Code:
Quorum information 
------------------ 
Date:  Fri Dec 23 21:10:18 2016 
Quorum provider:  corosync_votequorum 
Nodes:  2 
Node ID:  0x00000002 
Ring ID:  1/8 
Quorate:  Yes 

Votequorum information 
---------------------- 
Expected votes:  2 
Highest expected: 2 
Total votes:  2 
Quorum:  2  
Flags:  Quorate  

Membership information 
---------------------- 
 Nodeid  Votes Name 
0x00000001  1 fda0:22c2:9242:382e::1 
0x00000002  1 fda0:22c2:9242:382e::2 (local)