Virgo Logbook
UTC--:--:--
GPS-
Reports
Detector Operation›Procedures Updates #9772

(untitled)


Cm: Troubleshooting at restarting a Cm server ... after a problem with a rio!
-------------------------------------------------
Some difficulties are sometimes observed when trying to restart
a server running on a rio which was rebooted because it was no
more accessible (ping fails).
- the rio has been rebooted
- the process does not run on the rio
- the server restart fails with the message "server already exists"

That means that the name of the server is still known by the Cm
Name Server (NS) who "thinks" that the server is still running
on the rio. This can happen when the communication between the
server and the outside world is broken in an non soft way (rio
stuck for instance). Otherwise, when everything is working well,
the NS is warned each time a server is stopped or crashed by the
reception of a "disconnection handler" and automatically update
its list of known Cm servers. 
In order to cope with the "hardware failure", an automatic
"cleanup" procedure is performed each 500s by the NS.
Beware that the cleanup procedure will work IF the rio is
accessible (pingable).
Nevertheless, if one does not want to wait for at most 500 s
after the rio reboot in order to be able to restart the server,
one can use the command:

cm cleanup < server_name >

the answer is a little bit ambiguous ("server exists or still
alive"), but normally the NS has updated its list of servers,
and the command:

cm names | grep < server_name >
 
should return .... nothing!