Re: [CentOS] Fwd: HA cluster - strange communication between nodes

2014-01-14 Thread marlon guao
Hi Martin.

if you could provide us your config like, put the output of the command 
below.

pcs configure show

or

crm configure show

maybe we could get a better idea of your setup.


On 01/14/2014 06:34 PM, Giorgio Bersano wrote:
> 2014/1/13 Martin Moravcik :
>> I'm sorry.
>> My systems are fully updated CentOS 6.5.
>> I'm using only standard centos repositories.
>>
>> martin
>>
>> On 13/01/14 15:17, Patrick Lists wrote:
>>> On 13-01-14 14:52, Martin Moravcik wrote:
 Hi,

 For a testing purposes I'm trying to create two node HA environment for
 running some service (openvpn and haproxy). I installed two CentOS 6.4
 KVM guests.
>>> Iirc CentOS 6.5 came with several updates to cluster related packages so
>>> you may want to investigate and update to 6.5.
>>>
>>> Regards,
>>> Patrick
>>>
> Hy Martin,
> I've not looked carefully at what your problem is and don't know how
> skilled in HA you are but I heartily suggest you - if you haven't done
> before - to read/study Digimer's tutorial
> https://alteeve.ca/w/AN!Cluster_Tutorial_2
>
> I think it's unbeatable!
>
> Best regards,
> Giorgio
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fwd: HA cluster - strange communication between nodes

2014-01-15 Thread Marlon Guao
Hi Martin.

for how long you turned off the other node? I suspect that you need to
configure time-outs to the cluster. Additional cluster parameters can be
found here.

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/s1-fencedevicesadditional-HAAR.html


On Wed, Jan 15, 2014 at 6:56 PM, Martin Moravcik  wrote:

> On 14/01/14 19:37, marlon guao wrote:
> > Hi Martin.
> >
> > if you could provide us your config like, put the output of the command
> > below.
> >
> > pcs configure show
> >
> > or
> >
> > crm configure show
> >
> > maybe we could get a better idea of your setup.
> >
> >
> > On 01/14/2014 06:34 PM, Giorgio Bersano wrote:
> >> 2014/1/13 Martin Moravcik :
> >>> I'm sorry.
> >>> My systems are fully updated CentOS 6.5.
> >>> I'm using only standard centos repositories.
> >>>
> >>> martin
> >>>
> >>> On 13/01/14 15:17, Patrick Lists wrote:
> >>>> On 13-01-14 14:52, Martin Moravcik wrote:
> >>>>> Hi,
> >>>>>
> >>>>> For a testing purposes I'm trying to create two node HA environment
> for
> >>>>> running some service (openvpn and haproxy). I installed two CentOS
> 6.4
> >>>>> KVM guests.
> >>>> Iirc CentOS 6.5 came with several updates to cluster related packages
> so
> >>>> you may want to investigate and update to 6.5.
> >>>>
> >>>> Regards,
> >>>> Patrick
> >>>>
> >> Hy Martin,
> >> I've not looked carefully at what your problem is and don't know how
> >> skilled in HA you are but I heartily suggest you - if you haven't done
> >> before - to read/study Digimer's tutorial
> >> https://alteeve.ca/w/AN!Cluster_Tutorial_2
> >>
> >> I think it's unbeatable!
> >>
> >> Best regards,
> >> Giorgio
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> http://lists.centos.org/mailman/listinfo/centos
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
> Thanks for your interest and for your help.
> Here is the output from command (pcs config show)
>
> [root@lb1 ~]# pcs config show
> Cluster Name: LB.STK
> Corosync Nodes:
>
> Pacemaker Nodes:
>   lb1.asol.local lb2.asol.local
>
> Resources:
>   Group: LB
>Resource: LAN.VIP (class=ocf provider=heartbeat type=IPaddr2)
> Attributes: ip=172.16.139.113 cidr_netmask=24 nic=eth1
> Operations: monitor interval=15s (LAN.VIP-monitor-interval-15s)
>Resource: WAN.VIP (class=ocf provider=heartbeat type=IPaddr2)
> Attributes: ip=172.16.139.110 cidr_netmask=24 nic=eth0
> Operations: monitor interval=15s (WAN.VIP-monitor-interval-15s)
>Resource: OPENVPN (class=lsb type=openvpn)
> Operations: monitor interval=20s (OPENVPN-monitor-interval-20s)
> start interval=0s timeout=20s (OPENVPN-start-timeout-20s)
> stop interval=0s timeout=20s (OPENVPN-stop-timeout-20s)
>
> Stonith Devices:
> Fencing Levels:
>
> Location Constraints:
> Ordering Constraints:
> Colocation Constraints:
>
> Cluster Properties:
>   cluster-infrastructure: cman
>   dc-version: 1.1.10-14.el6_5.1-368c726
>   stonith-enabled: false
>
>
> When I start cluster after reboot of both nodes, everythings looks fine.
> But when shoot command "pcs resource delete OPENVPN" from node lb1 in
> the log starts to popup these lines:
> Jan 15 13:56:37 corosync [TOTEM ] Retransmit List: 202
> Jan 15 13:57:08 corosync [TOTEM ] Retransmit List: 202 203
> Jan 15 13:57:38 corosync [TOTEM ] Retransmit List: 202 203 204
> Jan 15 13:58:08 corosync [TOTEM ] Retransmit List: 202 203 204 206
> Jan 15 13:58:38 corosync [TOTEM ] Retransmit List: 202 203 204 206 208
> Jan 15 13:59:08 corosync [TOTEM ] Retransmit List: 202 203 204 206 208 209
>
> I also noticed, that these retransmit entries starts to appear even
> after some time (7 minutes) from fresh cluster start without doing any
> change or manipulation with cluster.
>
> Thanks
>
> martin
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
>>> import this
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos