Remove Region

This is a NuoDB Manager command. See NuoDB Manager.

Description

Evict all database processes running in a region or list of specified regions. NuoDB terminates the processes and removes them from the durable domain configuration.

Syntax

remove region database_name regions regionList

Parameters

Interactive Example

Evict all database processes from a given region:

nuodb [domain] > remove region test 
Regions: us-west-2 
Issued shutdown region request

Evict all database processes from a list of regions:

nuodb [domain] > remove region test 
Regions: us-west-2 us-east-2
Issued shutdown region request

Scripting Example

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

nuodbmgr --broker host --password password \
    --command "remove region test regions us-west-2"nuodbmgr --broker host --password password \
    --command "remove region test regions 'us-west-2 us-east-2'"