[DRBD-user] Re: Hostname issue

Bas van Schaik bas at tuxes.nl
Mon Aug 27 15:21:16 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.


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
>>>
>>>       
>>     




More information about the drbd-user mailing list