Agent Unreachable

This is a NuoDB Manager command. See NuoDB Manager.


In the unlikely situation where network failure causes a broker to be unreachable, this command can instruct the domain to discard knowledge of an unreachable broker. An example of this is on Amazon EC2, if an instance goes down, the socket does not get closed immediately (it can take up to an hour), so this command can help to tell other brokers to hangup the socket explicitly. See also the heartbeatPeerTimeout property (see NuoDB Manager Properties), which has the same effect.


agent unreachable host hostname


Interactive Example

The agent unreachable command, in interactive mode, will first list all the hosts in the domain and then ask which one is unreachable:

nuodb [domain] > agent unreachable
[broker] * (us-west-2) CONNECTED
[broker] ip-172-31-13-183/ (us-west-2) CONNECTED
[broker] ip-172-31-14-56/ (us-west-2) CONNECTED


Scripting Example

The same agent unreachable command can be executed with --command as follows:

nuodbmgr --broker host --password password \
    --command "agent unreachable host"