Re: [OpenAFS] changing just the name of a database server?
On Wed, 20 Dec 2017, Benjamin Kaduk wrote: Hi Steve, On Tue, Dec 19, 2017 at 09:19:36AM -0500, Steve Gaarder wrote: I want to change the name of one of my database servers, while keeping the IP address the same. Besides making the change in the DNS and the machine's hostname, is there anything else I need to do? You should also notify cellser...@grand.central.org so that the central CellServDB records can be updated. IIRC, at least windows clients use the name after the '#' for address lookups -- it is not just a comment field. Thanks for that info. Does it matter whether the name is a CNAME or not? I'm thinking that, to ease the transition, I could make the new name a CNAME for the existing name, tell grand.central to change the cellservdb, and later rename the machine. cheers, Steve Gaarder System Administrator, Dept of Mathematics Cornell University, Ithaca, NY, USA gaar...@math.cornell.edu ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] changing just the name of a database server?
On 12/21/2017 2:36 AM, Benjamin Kaduk wrote: > On Wed, Dec 20, 2017 at 12:08:33PM -0500, Steve Gaarder wrote: >> >> On Wed, 20 Dec 2017, Benjamin Kaduk wrote: >> >>> Hi Steve, >>> >>> On Tue, Dec 19, 2017 at 09:19:36AM -0500, Steve Gaarder wrote: I want to change the name of one of my database servers, while keeping the IP address the same. Besides making the change in the DNS and the machine's hostname, is there anything else I need to do? >>> >>> You should also notify cellser...@grand.central.org so that the >>> central CellServDB records can be updated. IIRC, at least windows >>> clients use the name after the '#' for address lookups -- it is not >>> just a comment field. >>> >> >> Thanks for that info. Does it matter whether the name is a CNAME or not? >> I'm thinking that, to ease the transition, I could make the new name a >> CNAME for the existing name, tell grand.central to change the cellservdb, >> and later rename the machine. > > This is pretty far outside my area of expertise, but some code > diving suggests that the OpenAFS client will follow a CNAME if the A > record is included in the additional section of the DNS response > that has the CNAME in the answer section, but will not initiate an > additional DNS request to follow the CNAME. It's possible that the > Auristor client has implemented that TODO item, but I have no way to > check. > > -Ben When building a DNS SRV or DNS AFSDB record you MUST use names that can be resolved by A and records. However, you can use CNAME records for the name listed in the CellServDB file. This is true not only for OpenAFS but for AuriStorFS as well. Jeffrey Altman <> smime.p7s Description: S/MIME Cryptographic Signature
Re: [OpenAFS] changing just the name of a database server?
On Wed, Dec 20, 2017 at 12:08:33PM -0500, Steve Gaarder wrote: > > On Wed, 20 Dec 2017, Benjamin Kaduk wrote: > > > Hi Steve, > > > > On Tue, Dec 19, 2017 at 09:19:36AM -0500, Steve Gaarder wrote: > >> I want to change the name of one of my database servers, while keeping the > >> IP address the same. Besides making the change in the DNS and the > >> machine's hostname, is there anything else I need to do? > > > > You should also notify cellser...@grand.central.org so that the > > central CellServDB records can be updated. IIRC, at least windows > > clients use the name after the '#' for address lookups -- it is not > > just a comment field. > > > > Thanks for that info. Does it matter whether the name is a CNAME or not? > I'm thinking that, to ease the transition, I could make the new name a > CNAME for the existing name, tell grand.central to change the cellservdb, > and later rename the machine. This is pretty far outside my area of expertise, but some code diving suggests that the OpenAFS client will follow a CNAME if the A record is included in the additional section of the DNS response that has the CNAME in the answer section, but will not initiate an additional DNS request to follow the CNAME. It's possible that the Auristor client has implemented that TODO item, but I have no way to check. -Ben ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] changing just the name of a database server?
Hi Steve, On Tue, Dec 19, 2017 at 09:19:36AM -0500, Steve Gaarder wrote: > I want to change the name of one of my database servers, while keeping the > IP address the same. Besides making the change in the DNS and the > machine's hostname, is there anything else I need to do? You should also notify cellser...@grand.central.org so that the central CellServDB records can be updated. IIRC, at least windows clients use the name after the '#' for address lookups -- it is not just a comment field. (You could, of course, make the corresponding change by hand for machines that you manage, too.) -Ben ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info