[nobuto,r=billy-olsen] Let corosync decide the best bindnetaddr from
nodelist in the case of corosync_transport=udpu. Partially-Closes-Bug: 1483317
This commit is contained in:
commit
c2e98300b3
|
@ -43,16 +43,16 @@ totem {
|
|||
# This specifies the mode of redundant ring, which may be none, active, or passive.
|
||||
rrp_mode: none
|
||||
|
||||
{% if transport == "udp" %}
|
||||
interface {
|
||||
# The following values need to be set based on your environment
|
||||
ringnumber: 0
|
||||
bindnetaddr: {{ corosync_bindnetaddr }}
|
||||
{% if transport == "udp" %}
|
||||
mcastaddr: {{ corosync_mcastaddr }}
|
||||
{% endif %}
|
||||
mcastport: {{ corosync_mcastport }}
|
||||
}
|
||||
transport: {{ transport }}
|
||||
{% endif %}
|
||||
transport: {{ transport }}
|
||||
}
|
||||
|
||||
quorum {
|
||||
|
@ -70,10 +70,10 @@ quorum {
|
|||
{% if transport == "udpu" %}
|
||||
nodelist {
|
||||
{% for nodeid, ip in ha_nodes.iteritems() %}
|
||||
node {
|
||||
ring0_addr: {{ ip }}
|
||||
nodeid: {{ nodeid }}
|
||||
}
|
||||
node {
|
||||
ring0_addr: {{ ip }}
|
||||
nodeid: {{ nodeid }}
|
||||
}
|
||||
{% endfor %}
|
||||
}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue