[sheepdog] corosync rrp_mode: active

Liu Yuan namei.unix at gmail.com
Fri Apr 12 05:08:24 CEST 2013


On 04/12/2013 08:47 AM, Michael wrote:
> 
> I've testing sheepdog with 2 network interfaces
> 
> corosync.conf:
>         rrp_mode: active
>         interface {
>                 ringnumber: 0
>                 bindnetaddr: 10.1.1.0
>                 mcastaddr: 226.94.1.1
>                 mcastport: 5405
>         }
>         interface {
>                 ringnumber: 1
>                 bindnetaddr: 192.168.122.0
>                 mcastaddr: 226.94.1.2
>                 mcastport: 5415
>         }
> 

You should set up only one nic for corosync(assume IP1), then you need
explicitly ask sheep to bind to it and inform sheep you want to use 
another nic(IP2) (dual nic mode):

$ sheep -b IP1 -y IP1 -i host=IP2 ...other options...

See more info https://github.com/collie/sheepdog/wiki/Cluster-Management-Backends-and-dual-NIC

Thanks,
Yuan



More information about the sheepdog mailing list