Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 8 years ago

Closed 8 years ago

#464 closed task (fixed)

Test domain resolution

Reported by: lferran Owned by: admin
Priority: minor Milestone: IT: Server Migration
Component: IT Version:
Keywords: Cc:
Referenced By: References:

Description

In order to test the domain change (.info → .net) we could do something:

  1. Add orxonox.net as a hostname entry in the new server, pointing to localhost.
  2. Change our working stations DNS resolutions of www.orxonox.net to point to the new server whenever we are working on it.
  3. Make all the changes in the configuration, and test this way.

It might be a way to make the migration more "transparent" to the users, or reduce the bunch of time that the old services are down.

This way we could spread the migration in time a bit more (i.e: no need to shut down everyithing for one entire week)

If we would add therese entries in my local resolv.conf to point to the new server's IP… it would work. I haven't tested it though.

Change History (4)

comment:1 Changed 8 years ago by lferran

How to do it

  1. Add aliases for orxonox.net in /etc/hosts of the new server, pointing to its own IP
    37.120.188.187  orxonox.info ... orxonox.net orxonox mail.orxonox.net www.orxonox.net lists.orxonox.net
    
  1. Then you can start modifying the configuration of all these services!
  1. We might have a problem with reverse lookups!!!
  1. On the local computer of the admin, for testing purposes, add the following lines to /etc/hosts to bypass DNS resolution, and make .net point to the new server:
    127.0.0.1       localhost
    127.0.1.1       inspiron
    37.120.188.187  orxonox.net www.orxonox.net lists.orxonox.net svn.orxonox.net
    

comment:3 Changed 8 years ago by lferran

It seems to work :) We must remove it after migration!!

comment:4 Changed 8 years ago by lferran

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.