[OpenAFS] Change the IP of a Cell server

Jason Edgecombe jason@rampaginggeek.com
Sat, 16 Feb 2013 10:47:53 -0500


No, the IP change does not change which host is the lowest IP address.

Thanks for the guidance.

On 02/14/2013 12:39 PM, Jeffrey Altman wrote:
> Jason,
>
> On the client side you can push out new CellServDB files twice:
>
>   1. before the move add the new addresses and do not remove
>      the old ones.
>
>   2. after the move, remove the old addresses
>
> Note that Windows clients use the DNS name to lookup the server
> addresses and not the IP address in the CellServDB file.  Whereas the
> UNIX systems will use the IP address and ignore the DNS name.
> If the DNS name is not changing, then it is not necessary to update
> the CellServDB files for the Windows clients.
>
> "fs newcell" has extra functionality on Windows.  Put the new CellServDB
> file in place and issue "fs newcell" without parameters
> to read the contents of the updated file.
>
> Both UNIX and recent 1.7.x Windows clients support the traditional
> UNIX "fs newcell" behavior which permits you to specify new vldb
> info for a cell on the command line.
>
> On the server side, the most important question to answer is:
>
>    Are the changes you are implementing going to
>    alter what is the lowest IP address of any VLDB
>    server?
>
> More details after you answer that question.
>
> Jeffrey Altman
>
>
> On 2/14/2013 10:55 AM, Edgecombe, Jason wrote:
>> Hi everyone,
>>
>>   
>>
>> We have three AFS Cell servers, and we need to change the IP address for
>> one of the cell servers and a few (one-third) of the file servers.  This
>> is caused by an upgrade and reconfiguration of our network. The machines
>> will not physically move or lose power. We used static CellServDB files
>> and don’t use afsdb or DNSSRV records for our cell.
>>
>>   
>>
>> I know that I need to push out a new CellServDB to the servers and
>> clients, but what is the best procedure? Do I need to restart all of my
>> AFS servers? What will be the impact if I  don’t touch  the non-rehosted
>> file servers and let them perform a service restart as part of the
>> weekly restart?
>>
>>   
>>
>> I know the new IP address of the cell server, so I could push out the
>> CellServDB file ahead of time, if that will make things easier.
>>
>>   
>>
>> I know that I can use “fs newcell” on the clients to avoid restarting.
>>
>>   
>>
>> Thanks,
>>
>> Jason
>>
>>