[DRBD-user] réponse à difficultées

lionel.hay lionel.hay at agriculture.gouv.fr
Mon Jun 2 12:11:10 CEST 2008

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


drbd-user-request at lists.linbit.com a écrit :
> Send drbd-user mailing list submissions to
> 	drbd-user at lists.linbit.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.linbit.com/mailman/listinfo/drbd-user
> or, via email, send a message with subject or body 'help' to
> 	drbd-user-request at lists.linbit.com
>
> You can reach the person managing the list at
> 	drbd-user-owner at lists.linbit.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of drbd-user digest..."
>
>
> Today's Topics:
>
>    1. Re: Changing Hostname (LINBIT Support - Lars Ellenberg)
>    2. Re: Changing Hostname (Ian Knight)
>    3. Re: Changing Hostname (Ian Knight)
>    4. xfs on drbd problems (yoyo64)
>    5. Re: Changing Hostname (LINBIT Support - Lars Ellenberg)
>    6. Re: xfs on drbd problems (Lars Ellenberg)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 16 May 2008 22:13:15 +0200
> From: LINBIT Support - Lars Ellenberg <mysql-support at linbit.com>
> Subject: Re: [DRBD-user] Changing Hostname
> To: drbd-user at lists.linbit.com
> Message-ID: <20080516201315.GC16714 at racke>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, May 16, 2008 at 06:30:55PM +0100, Ian Knight wrote:
>   
>> Lars Ellenberg wrote:
>>     
>>> On Fri, May 16, 2008 at 01:06:49PM +0100, Ian Knight wrote:
>>>   
>>>       
>>>> Hi,
>>>>
>>>> We have a situation where we need to update the hostname of the 
>>>> machines  that host a drbd system.
>>>>
>>>> I thought it would be a matter of update hostname, and then update 
>>>> the  drbd.conf and restart drbd.
>>>>
>>>> Sadly this does not seem to be the case, as it seems drbd stores the  
>>>> hostnames in the meta-data - is there anyway to update this?
>>>>     
>>>>         
>>> no, it does not.
>>> what makes you think so?
>>>
>>> what does "uname -n" say?
>>>       
>
>   
>> Uname -n would return the master.CORRECTDOMAIN.com
>>     
>
> would you please just type in "uname -n",
> and copy'n'paste the output into your drbd.conf?
>
>   
>> For the time being i have had to set the hostname back to  
>> master.INCORRECTDOMAIN.com - but ideally i would like to update it  
>> properly which means updating the hostname within the meta-data i would  
>> imagine.
>>     
>
> again, DRBD does NOT store anything hostname related anywhere.
> drbdadm just does a "uname -n" equivalent, and looks for a "on
> $thatname" section in the config file.
>
> do you happen to use the ofc drbd resource agent,
> and the "clone overrides hostname" misfeature?
> if so, you'd need to change your "override" as well...
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080602/47a425d9/attachment.htm>


More information about the drbd-user mailing list