Remove Process

This is a NuoDB Manager command. See NuoDB Manager.

Description

Terminates the specified process.

Syntax

remove process node-id id database database_name

Parameters

Interactive Example

nuodb [domain] > show domain summary
Hosts:
[broker] * ip-172-31-13-183/52.24.2.248:48004 (DEFAULT_REGION) CONNECTED
Database: test, (unmanaged), processes [1 TE, 1 SM], ACTIVE
[SM] ip-172-31-34-74/54.88.137.63:48005 (DEFAULT_REGION) [ pid = 61746 ] [ nodeId = 3 ] RUNNING
[TE] ip-172-31-34-74/54.88.137.63:48006 (DEFAULT_REGION) [ pid = 61604 ] [ nodeId = 2 ] RUNNING
nuodb [domain] > remove process
NodeId: 3
Database: test
Evicted nodes:
[SM] ip-172-31-34-74/54.88.137.63:48005 (DEFAULT_REGION) [ pid = 61746 ] [ nodeId = 3 ] RUNNING

Scripting Example

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

nuodbmgr --broker host --password password \
    --command "remove process node-id 3 database test"