Restart Process

This is a NuoDB Manager command. See NuoDB Manager.


After shutting down a running process (TE or SM) on an existing database restart process will start it again with the same configuration and on the same host where it was running. You can also shut down a running TE process on an existing database and then restart a process with the same configuration on a new host; this only works for TEs, not SMs.

Note: To stop and restart a database, simply use the NuoDB Manager shutdown database and start database commands.

See the following:


restart process 
    host existing_hostname 
    pid process_id 
    [ newhost new_hostname ] 
    [ timeout timeout_value ]


Useful Properties


See NuoDB Manager Properties.

Interactive Example

Restart SM specified by pid 8039:

nuodb [domain] > restart process 
Host: localhost 
Process ID: 8039
Timeout (duration ms/s/m/h/d/w) (default: 10000ms): 
New Host (optional):
Started: [SM] local/ (DEFAULT_REGION) [ pid = 19799 ] [ db = test ] [ nodeId = 1 ] RUNNING

Scripting Example

The same restart process command can be executed with --command as follows:

nuodbmgr --broker host --password password \
    --command "restart process host localhost pid 8039"