Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- there are there nodes, use "knet_link_get_link_list" to get num_links, use "knet_link_get_status" to get link status
- here is the ip addr
- node1(10.67.19.168, 10.67.18.84, 10.67.18.52)
- node2(10.67.19.210, 10.67.18.53, 10.67.18.88)
- node3(10.67.18.247, 10.67.19.238, 10.67.19.178)
- I disabled "10.67.19.168" first, then corosync on node1 switched to "10.67.18.84", and when I re-enabled "10.67.19.168", corosync switched back to ""10.67.19.168", these are expected.
- but when I debug corosync: totemknet_ifaces_get(), here is the link status of knet.
- node 1:
- num_links = 1
- 10.67.19.168 -> 10.67.19.168
- node 2:
- num_links = 3
- 10.67.19.168 -> 10.67.19.210
- 10.67.18.84 -> 10.67.18.53
- 10.67.18.52 -> 10.67.18.88
- node 3:
- num_links = 3
- 10.67.19.168 -> 10.67.18.247
- 10.67.18.84 -> 10.67.19.238
- 10.67.18.52 -> 10.67.19.178
- Because there only 7 link, while there are 9 elements in status.
- this causes the output of 'corosync-cfgtool -s -b' like:
- Printing link status.
- Local node ID 1
- LINK ID 0
- id = 10.67.19.168
- status = 333
- LINK ID 1
- id = 10.67.18.84
- status = n33
- LINK ID 2
- id = 10.67.18.52
- status = n33
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement