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

fireon

Well-Known Member
Oct 25, 2010
3,049
190
63
Austria/Graz
iteas.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
 

fireon

Well-Known Member
Oct 25, 2010
3,049
190
63
Austria/Graz
iteas.at
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)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!