Virgo Logbook
UTC--:--:--
GPS-
Reports
Computers Network›Name Server activity #1544

(untitled)

This morning, I tried to see if the nameserver could be moved
transparently from one machine to the other without disturbing
the applications.

The first thing to do is to use an alias instead of a hostname
in the CmDomains file (starting from v7r11, the NameServer.start
script has been modified to accomodate this). I chose the alias
cmnsTest which I inititally set to ax3.

I also recompiled in ~teuler/Cm the v7r11 in order to be able
to make any change without interfering with the production
applications.

In CmDomainTest domain, I launched a client and a server
applications.

I stopped the server application, then launched it again and, as
expected, it was able to receive messages from the client.

Then I stopped the nameserver on ax3, changed the alias cmnsTest
to point towards ax4, and I resubmitted the nameserver on ax4
(Note : a change in the rc.virgotTest file is required as this
file is presently supposed to refer only to hostnames).

The new nameserver was able to see the client and the server
applications (with cm names).

Final test : I stopped the server application and restarted it.

Unfortunately, the client was unable to follow the move. When he
saw that the server application was not there any more, he
contacted the nameserver, but at the old address (ax3), and it
failed as the nameserver was now on ax4.

So what is missing in Cm is a mechanism in which in case of
failure the CmDomains file is reread. I will write to Christian
to explain him this requirement.