02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C<br />

<strong>Tornado</strong> Tools Reference<br />

Target-server identifiers are unique, and they are based on the name of the target board<br />

(or an explicit alternate name supplied when the target server is launched) and the name<br />

of the host where the target server runs. The two names are linked with the character @,<br />

for example, targetName@serverHost.<br />

This registry allows the <strong>Tornado</strong> tools to establish a connection with the target servers.<br />

After accidental shutdown of the registry, recovery is done based on the data saved in<br />

wtxregd.hostName. The data base file default directory is $WIND_BASE/.wind and can be<br />

specified through the -d[irectory] option.<br />

On UNIX hosts, it is advisable to include the daemon in the rc.local file of the host where<br />

it runs for UNIX users, so that it starts and restores database automatically after a reboot.<br />

On Windows hosts the <strong>Tornado</strong> registry can also be used through the wtxregd daemon.<br />

<strong>Tornado</strong> installation adds it to your Automatic Startup if specified, or you can add the<br />

command line to the Start>Programs>Startup utilities.<br />

C<br />

TORNADO REGISTRY SERVICE<br />

Windows NT users can add the wtxregd service to the startup services. This addition to<br />

the Windows registry is done while installing <strong>Tornado</strong>.<br />

The <strong>Tornado</strong> registry service does not accept any command line options; it starts with the<br />

registry default options.<br />

Note that, if you install the <strong>Tornado</strong> registry as a service (on Windows NT), you will not<br />

be able to use <strong>Tornado</strong> 1.0.1 tools with your <strong>Tornado</strong> 2.0 installation. For more<br />

information, see <strong>Tornado</strong> Getting Started: Installing <strong>Tornado</strong>.<br />

DETECTING DEAD TARGET SERVERS<br />

The registry daemon automatically detects target servers that are not responding. It<br />

dynamically removes target servers that are presumed dead from the registry queue. This<br />

self-managing feature prevents you from having to manually unregister target servers<br />

that are not responding (see TARGET SERVERS PING section for further informations).<br />

<strong>Tornado</strong> tools need to know the host on which the registry daemon runs. The host name<br />

of this machine or its IP address is published through the environment variable<br />

WIND_REGISTRY.<br />

RESTORING THE DATA BASE<br />

After an registry shutdown, a recovery of the data base is done from the data base backup<br />

file whose location has been specified by the -d option. (The default location is<br />

$WIND_BASE/.wind.)<br />

If the target servers registered on the same host as the registry are not responding at<br />

restoration time, they will be removed from the registry queue.<br />

429

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!