Hey,
I have two servers with a vswitch setup, and a working vlan for ping (unicast). I want to create a cluster so I can move some VMs around. But no luck after two days of trials.
1. Multicast
Testing with omping results in failure:
# omping -c 10000 -i 0.001 -F -q 192.168.100.1 192.168.100.3
192.168.100.3 : waiting for response msg
192.168.100.3 : waiting for response msg
But, support wanted me to test with another tool. So I used iperf, which seems to work fine (see below).
2. Network setup
hosts file uses pvelocalhost and the vlan addresses for host1-corosync and host3-corosync
192.168.100.1 host1-corosync.example.com host1-corosync
192.168.100.3 host3-corosync.example.com host3-corosync
Created a cluster with
# pvecm create cluster01 -bindnet0_addr 192.168.100.1 -ring0_addr host1-corosync
cluster is created fine
# pvecm status
Quorum information
------------------
Date: Wed Aug 1 19:45:23 2018
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1/12
Quorate: Yes
Votequorum information
----------------------
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.100.1 (local)
3. Adding node
Adding host3 to the cluster (on host3):
pvecm add 192.168.100.1 -ring0_addr host3-corosync
(EDIT) this works fine.
4. iperf test
# iperf -s -u -B 192.168.100.1 -i 1
------------------------------------------------------------
Server listening on UDP port 5001
Binding to local address 192.168.100.1
Receiving 1470 byte datagrams
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.100.1 port 5001 connected with 192.168.100.3 port 43138
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 0.0- 1.0 sec 129 KBytes 1.06 Mbits/sec 0.004 ms 0/ 90 (0%)
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec 0.051 ms 0/ 89 (0%)
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec 0.051 ms 0/ 89 (0%)
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec 0.048 ms 0/ 269 (0%)
# iperf -c 192.168.100.1 -u -T 32 -t 3 -i 1
------------------------------------------------------------
Client connecting to 192.168.100.1, UDP port 5001
Sending 1470 byte datagrams, IPG target: 11215.21 us (kalman adjust)
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.100.3 port 43138 connected with 192.168.100.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 131 KBytes 1.07 Mbits/sec
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec
[ 3] Sent 269 datagrams
[ 3] Server Report:
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec 0.048 ms 0/ 269 (0%)
I have two servers with a vswitch setup, and a working vlan for ping (unicast). I want to create a cluster so I can move some VMs around. But no luck after two days of trials.
1. Multicast
Testing with omping results in failure:
# omping -c 10000 -i 0.001 -F -q 192.168.100.1 192.168.100.3
192.168.100.3 : waiting for response msg
192.168.100.3 : waiting for response msg
But, support wanted me to test with another tool. So I used iperf, which seems to work fine (see below).
2. Network setup
hosts file uses pvelocalhost and the vlan addresses for host1-corosync and host3-corosync
192.168.100.1 host1-corosync.example.com host1-corosync
192.168.100.3 host3-corosync.example.com host3-corosync
Created a cluster with
# pvecm create cluster01 -bindnet0_addr 192.168.100.1 -ring0_addr host1-corosync
cluster is created fine
# pvecm status
Quorum information
------------------
Date: Wed Aug 1 19:45:23 2018
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1/12
Quorate: Yes
Votequorum information
----------------------
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.100.1 (local)
3. Adding node
Adding host3 to the cluster (on host3):
pvecm add 192.168.100.1 -ring0_addr host3-corosync
(EDIT) this works fine.
4. iperf test
# iperf -s -u -B 192.168.100.1 -i 1
------------------------------------------------------------
Server listening on UDP port 5001
Binding to local address 192.168.100.1
Receiving 1470 byte datagrams
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.100.1 port 5001 connected with 192.168.100.3 port 43138
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 0.0- 1.0 sec 129 KBytes 1.06 Mbits/sec 0.004 ms 0/ 90 (0%)
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec 0.051 ms 0/ 89 (0%)
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec 0.051 ms 0/ 89 (0%)
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec 0.048 ms 0/ 269 (0%)
# iperf -c 192.168.100.1 -u -T 32 -t 3 -i 1
------------------------------------------------------------
Client connecting to 192.168.100.1, UDP port 5001
Sending 1470 byte datagrams, IPG target: 11215.21 us (kalman adjust)
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.100.3 port 43138 connected with 192.168.100.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 131 KBytes 1.07 Mbits/sec
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec
[ 3] Sent 269 datagrams
[ 3] Server Report:
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec 0.048 ms 0/ 269 (0%)
Last edited: