Open topic with navigation
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
new_hostname] [ timeout
The name of an existing NuoDB host.
The process ID of an existing process (TE or SM).
The name of an existing NuoDB host to which we are moving a TE.
Amount of time to wait for the
restart process command to complete. A value of 0 means NuoDB Manager does not wait. The default timeout is the value of the NuoDB Manager property,
restartTimeout. Specify a timeout value in milliseconds, seconds, minutes, hours, days or weeks and append the appropriate suffix:
Restart SM specified by pid 8039:
nuodb [domain] >
8039Timeout (duration ms/s/m/h/d/w) (default: 10000ms): New Host (optional): Started: [SM] local/10.1.37.60:48005 (DEFAULT_REGION) [ pid = 19799 ] [ db = test ] [ nodeId = 1 ] RUNNING
restart process command can be executed with
--command as follows:
password\ --command "restart process host localhost pid 8039"