Cluster not using vRACK connection to migrate data

harmonyp

Member
Nov 26, 2020
196
4
23
46
While migrating data between the two nodes it appears they are using bond0 rather than bond1 (vRACK) to transfer the data.

The following is from the main cluster node. The second node has the same changes. Both ping correctly (nsnode2 pings to 192.168.0.121 from node1 and nsnode1 pings to 192.168.0.120 from node2)

/etc/pve/corosync.conf

Code:
logging {
  debug: off
  to_syslog: yes
}


nodelist {
  node {
    name: nsnode2
    nodeid: 2
    quorum_votes: 1
    ring0_addr: 192.168.0.121
  }
  node {
    name: nsnode1
    nodeid: 1
    quorum_votes: 1
    ring0_addr: 192.168.0.120
  }
}


quorum {
  provider: corosync_votequorum
}


totem {
  cluster_name: clusterra
  config_version: 2
  interface {
    linknumber: 0
  }
  ip_version: ipv4-6
  link_mode: passive
  secauth: on
  version: 2
}

/etc/network/interfaces

Code:
auto lo
iface lo inet loopback


auto enp193s0f0
iface enp193s0f0 inet manual


auto enp133s0f0
iface enp133s0f0 inet manual


auto enp133s0f1
iface enp133s0f1 inet manual


auto enp193s0f1
iface enp193s0f1 inet manual


iface enp9s0f3u2u2c2 inet manual


auto bond0
iface bond0 inet manual
        bond-slaves enp193s0f0 enp193s0f1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3


auto bond1
iface bond1 inet static
        address 192.168.0.120/16
        bond-slaves enp133s0f0 enp133s0f1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3


auto vmbr0
iface vmbr0 inet static
        address 51.195.234.xxx/24
        gateway 51.195.234.254
        netmask  255.255.255.0
bridge-ports bond0
        bridge-stp off
        bridge-fd 0

/etc/hosts

Code:
192.168.0.121   nsnode2 nsnode2.mydomain.com
 
you can set a network for migration in /etc/pve/datacenter.cfg (or for one-off operations with the --migration-network parameter on the CLI)