17gmpc01:~ # ifconfig -a
bond0 Link encap:Ethernet HWaddr 08:F1:EA:CB:B7:70
inet addr:10.76.204.33 Bcast:10.76.204.255 Mask:255.255.255.0
inet6 addr: fe80::af1:eaff:fecb:b770/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:28845 errors:0 dropped:2459 overruns:0 frame:0
TX packets:5109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5324592 (5.0 Mb) TX bytes:656032 (640.6 Kb)
bond1 Link encap:Ethernet HWaddr 08:F1:EA:CB:B7:71
inet addr:10.76.204.46 Bcast:10.76.204.255 Mask:255.255.255.0
inet6 addr: fe80::af1:eaff:fecb:b771/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:32390 errors:0 dropped:2459 overruns:0 frame:0
TX packets:29509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4607943 (4.3 Mb) TX bytes:3100888 (2.9 Mb)
node 172805153: 17gmpc01
node 172805167: 17gmpc02
primitive ldirectord ldirectord \
operations $id=ldirectord-operations \
op monitor interval=20 timeout=60
primitive lvsvip IPaddr2 \
operations $id=lvsvip-operations \
op monitor interval=10 timeout=60 \
params ip=10.76.204.45 lvs_support=true cidr_netmask=32 nic=“eth:vip4”
primitive ping ocf:pacemaker:ping \
operations $id=ping-operations \
op monitor interval=10 timeout=60 \
params host_list=“10.76.204.254 10.76.204.46 10.76.204.47” \
meta target-role=Started
group lvsgroup ldirectord lvsvip \
meta target-role=Started
clone pingclone ping \
meta target-role=started
location lvs_ping_location lvsgroup \
rule -inf: pingd eq 0
property cib-bootstrap-options: \
have-watchdog=false \
dc-version=1.1.16-4.8-77ea74d \
cluster-infrastructure=corosync \
cluster-name=cluster \
stonith-enabled=false \
no-quorum-policy=ignore \
placement-strategy=balanced
rsc_defaults rsc-options: \
resource-stickiness=1 \
migration-threshold=3
op_defaults op-options: \
record-pending=true \
timeout=600
17gmpc02:~ # ifconfig -a
bond0 Link encap:Ethernet HWaddr 08:F1:EA:CB:B5:20
inet addr:10.76.204.34 Bcast:10.76.204.255 Mask:255.255.255.0
inet6 addr: fe80::af1:eaff:fecb:b520/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:3749 errors:0 dropped:1876 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:311900 (304.5 Kb) TX bytes:864 (864.0 b)
bond1 Link encap:Ethernet HWaddr 08:F1:EA:CB:B5:21
inet addr:10.76.204.47 Bcast:10.76.204.255 Mask:255.255.255.0
inet6 addr: fe80::af1:eaff:fecb:b521/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:31735 errors:0 dropped:1874 overruns:0 frame:0
TX packets:49525 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3415957 (3.2 Mb) TX bytes:8750847 (8.3 Mb)
GMPC1:
/etc/corosync/corosync.conf file autogenerated by YaST2.
Manually changed configurations may get lost when reconfigured by YaST2.
totem {
#How long to wait for consensus to be achieved before starting a new round of membership configuration.
consensus: 6000
#The mode for redundant ring. None is used when only 1 interface specified, otherwise, only active or passive may be choosen
rrp_mode: none
#How many token retransmits should be attempted before forming a new configuration.
token_retransmits_before_loss_const: 10
#How long to wait for join messages in membership protocol. in ms
join: 60
#The maximum number of messages that may be sent by one processor on receipt of the token.
max_messages: 20
#The virtual synchrony filter type used to indentify a primary component. Change with care.
vsftype: none
#Timeout for a token lost. in ms
token: 5000
#This specifies the name of cluster
cluster_name: cluster
#Specifies version of IP to use for communication. Value can be one of ipv4 or ipv6.
ip_version: ipv4
#HMAC/SHA1 should be used to authenticate all message
secauth: off
#The only valid version is 2
version: 2
#Transport protocol
transport: udp
interface {
#The multicast address to be used
mcastaddr: 226.94.1.1
#Network Address to be bind for this interface setting
bindnetaddr: 10.76.204.0
#The multicast port to be used
mcastport: 5405
#The ringnumber assigned to this interface setting
ringnumber: 0
}
#To make sure the auto-generated nodeid is positive
clear_node_high_bit: yes
}
logging {
#Log to a specified file
to_logfile: no
#Log timestamp as well
timestamp: off
#Facility in syslog
syslog_facility: daemon
#Log to syslog
to_syslog: yes
#Whether or not turning on the debug information in the log
debug: off
#Log to the standard error output
to_stderr: no
#Logging file line in the source code as well
fileline: off
}
quorum {
#votequorum requires an expected_votes value to function
expected_votes: 2
#Enables two node cluster operations
two_node: 1
#Enable and configure quorum subsystem
provider: corosync_votequorum
}
GMPC2:
/etc/corosync/corosync.conf file autogenerated by YaST2.
Manually changed configurations may get lost when reconfigured by YaST2.
totem {
#How long to wait for consensus to be achieved before starting a new round of membership configuration.
consensus: 6000
#The mode for redundant ring. None is used when only 1 interface specified, otherwise, only active or passive may be choosen
rrp_mode: none
#How many token retransmits should be attempted before forming a new configuration.
token_retransmits_before_loss_const: 10
#How long to wait for join messages in membership protocol. in ms
join: 60
#The maximum number of messages that may be sent by one processor on receipt of the token.
max_messages: 20
#The virtual synchrony filter type used to indentify a primary component. Change with care.
vsftype: none
#Timeout for a token lost. in ms
token: 5000
#This specifies the name of cluster
cluster_name: cluster
#Specifies version of IP to use for communication. Value can be one of ipv4 or ipv6.
ip_version: ipv4
#HMAC/SHA1 should be used to authenticate all message
secauth: off
#The only valid version is 2
version: 2
#Transport protocol
transport: udp
interface {
#The multicast address to be used
mcastaddr: 226.94.1.1
#Network Address to be bind for this interface setting
bindnetaddr: 10.76.204.0
#The multicast port to be used
mcastport: 5405
#The ringnumber assigned to this interface setting
ringnumber: 0
}
#To make sure the auto-generated nodeid is positive
clear_node_high_bit: yes
}
logging {
#Log to a specified file
to_logfile: no
#Log timestamp as well
timestamp: off
#Facility in syslog
syslog_facility: daemon
#Log to syslog
to_syslog: yes
#Whether or not turning on the debug information in the log
debug: off
#Log to the standard error output
to_stderr: no
#Logging file line in the source code as well
fileline: off
}
quorum {
#votequorum requires an expected_votes value to function
expected_votes: 2
#Enables two node cluster operations
two_node: 1
#Enable and configure quorum subsystem
provider: corosync_votequorum
}