User Tools

Site Tools


documentation:helper_to_fix_troubles_after_a_server_migration

Helper to fix troubles after a server migration

Context

The server amap-dev has been migrated on a virtualized host on january, 10 2011. Some problems have been encountered after to reconnect the svn clients to the relocated server. Here are some notes about the event.

Testing DNS cache issues

The server name is the same (amap-dev.cirad.fr) but the ip address changed from 194.199.235.207 to 194.199.235.215.

Your DNS servers may have not updated already.

To check the ip address of the server from your machine, open a terminal and type

ping amap-dev.cirad.fr

It will tell you the ip it knows and you can check it the new one (and ping may not respond if not activated on the server).

It is also possible to open a web browser and to try this address: https://amap-dev.cirad.fr/svn/capsis .

You may be asked for entering your login.

Update your local DNS cache

# Windows
ipconfig /flushdns

# Linux
/etc/init.d/nscd restart

# MacOSX 10.5.1 and before
lookupd -flushcache

# MacOSX after 10.5.1
dscacheutil -flushcache

You may also reboot your machine to flush the dns cache.

The dns servers also use caches and may update them with a specific periodicity. It may be 2h, 12h, oe 48h or more. Waiting may be needed.

Note for wondows users: it is possible to locally force the ip address for a given server name in c:/windows/system32/driver/etc/hosts add a line with this format:

194.199.235.215 amap-dev.cirad.fr
documentation/helper_to_fix_troubles_after_a_server_migration.txt ยท Last modified: 2021/12/13 09:28 by 127.0.0.1