[DRBD-user] There are multiple host sections for the peer.

Stefan Seifert nine at detonation.org
Sun Jan 4 17:10:50 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Sunday, 04. January 2009, Michael Grant wrote:
> I am getting this error, "There are multiple host sections for the
> peer." and I don't see why.
>
> uname -a
> Linux strange.networkguild.org 2.6.18-6-xen-686 #1 SMP Sat Jun 7
>
> My resource looks like this:
>
>   on strange-local {
>
> note that I'm using my second ethernet interface which I named -local
> and it's named that way in the hosts file as well.

drbd doesn't care about interface names or /etc/hosts. It does use the same 
name that uname -n reports and you have to use that in your config file.

The interface is selected according to the IP address you give in the config, 
so everything will work as you wish.

Regards,
Stefan



More information about the drbd-user mailing list