[DRBD-user] Re: Hostname issue

Zou Sheng drizztzou at gmail.com
Tue Aug 28 10:27:18 CEST 2007

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


I have finished some tests with this today, clearly i should use
"hosta" and "hostb" as hostname in drbd.conf, so i guess man page
should change (uname -n) to (hostname -a)

Cheers,

-Shane-

2007/8/27, Bas van Schaik <bas at tuxes.nl>:
> Hi Shane,
>
> > My customers wanna use a dot in hostname, i don't know whether drbd
> > run well while there is a dot in hostname.
> I don't know either, but obviously it's not very difficult to discover:
> just try it! And don't forget to at least CC the drbd-user list, which I
> forgot to do.
>
> Cheers,
>
>  -- Bas
>
>
>
> >
> > 2007/8/26, Bas van Schaik <bas at tuxes.nl>:
> >
> >> Hi Shane / Zou Sheng,
> >>
> >> First: think of giving your hosts better hostnames, because "hosta.1"
> >> and "hostb.2" doesn't make really sense to me. Why are your hosts named
> >> like that?
> >>
> >> Furthermore, what do you mean exactly with "as hostname in drbd.conf"?
> >> In an "on"-section header, you should use the same name as the output of
> >> "hostname. Inside these "on"-sections, you should state the address to
> >> listen on. Example:
> >>
> >>> on hosta.1 {
> >>>   address 192.168.0.1:5000
> >>>   [some more config]
> >>> }
> >>> on hostb.2 {
> >>>   address 192.168.0.2:5000
> >>>   [some more config]
> >>> }
> >>>
> >> (assuming that hosta.1 has 192.168.0.1 and hostb.2 has 192.168.0.2)
> >>
> >> Cheers,
> >>
> >>  -- Bas
> >>
> >>
> >> Zou Sheng wrote:
> >>
> >>> Can somebody kindly help me?  i'll be really appreciate.
> >>>
> >>> 2007/8/25, Zou Sheng <drizztzou at gmail.com>:
> >>>
> >>>
> >>>> Hi,guys
> >>>>
> >>>> When i was configuring drbd.conf yesterday, i used "uname -n" in both
> >>>> machine, and hostnames are "hosta.1" and "hostb.2", here is the
> >>>> question:
> >>>> should i use "hosta.1" and "hostb.2" as hostname in drbd.conf ? or use
> >>>> "hosta" and "hostb"?
> >>>>
> >>>> Thanks you for your help!
> >>>>
> >>>> Best regards
> >>>> Shane
> >>>>
> >>>>
> >>>>
> >>> _______________________________________________
> >>> drbd-user mailing list
> >>> drbd-user at lists.linbit.com
> >>> http://lists.linbit.com/mailman/listinfo/drbd-user
> >>>
> >>>
> >>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>



More information about the drbd-user mailing list