Skip to content

NodeFailure

Saverio Proto edited this page Jun 25, 2012 · 2 revisions

In the directory './hosts/' there are the HOST-down scripts usefull for tincd daemon. This scripts are created by source:planet-lab/make-host-script.py .

The script ```HOST-down``` (where ```HOST``` is the name of a specific node) is started when the tinc daemon with name ```HOST``` becomes unreachable. When the HOST became unreachable another HOST (from a list of nodes) is taken and the failure node is removed from the list of the nodes in use. Also for the new HOST are created the scripts ```HOST-down``` and ```HOST```

See: source:planet-lab/recover.py

The script ```HOST``` (where ```HOST``` is the name of a specific node) contains information (in particular the real ip) of the nodes named ```HOST```.

example: an HOST file contain

Address = 160.80.100.130
Clone this wiki locally