Listing Host Tags

You can list host tags using the NuoDB Manager.

To List Host Tags

The following example lists all tags defined for all hosts in the domain. Hosts are grouped by region and sorted by address. Tags per host are sorted by the tag name.

nuodb [domain] > tags list
Host: 
ec2-54-165-58-157.compute-1.amazonaws.com/172.31.46.122:48004 (us-east-1):
        archive_base = /var/opt/nuodb/production-archives
        cores = 1
        cputype = amd64
        default_archive_base = /var/opt/nuodb/production-archives
        default_journal_base = /var/opt/nuodb/production-archives
        default_region = DEFAULT_REGION
        journal_base = /var/opt/nuodb/production-archives
        os_num_cores = 1
        os_num_cpu = 1
        os_num_fs = 8
        os_ram_mb = 3768
        ostype = Linux
        osversion = 3.14.19-17.43.amzn1.x86_64
        productionSM = true
        region = us-east-1
ip-172-31-40-24/107.23.52.10:48004 (us-east-1):
        archive_base = /var/opt/nuodb/production-archives
        backupSM = true
        cores = 1
        cputype = amd64
        default_archive_base = /var/opt/nuodb/production-archives
        default_journal_base = /var/opt/nuodb/production-archives
        default_region = DEFAULT_REGION
        journal_base = /var/opt/nuodb/production-archives
        os_num_cores = 1
        os_num_cpu = 1
        os_num_fs = 8
        os_ram_mb = 3768
        ostype = Linux
        osversion = 3.14.19-17.43.amzn1.x86_64
        region = us-east-1

Here is another NuoDB Manager example of listing tags:

nuodb [domain] > tags list
Host: 107.23.52.10
ip-172-31-40-24/107.23.52.10:48004 (us-east-1):
archive_base = /var/opt/nuodb/production-archives
cores = 1
cputype = amd64
default_archive_base = /var/opt/nuodb/production-archives
default_journal_base = /var/opt/nuodb/production-archives
default_region = DEFAULT_REGION
journal_base = /var/opt/nuodb/production-archives
os_num_cores = 1
os_num_cpu = 1
os_num_fs = 8
os_ram_mb = 3768
ostype = Linux
osversion = 3.14.19-17.43.amzn1.x86_64
region = us-east-1
 
nuodb [domain] > tags set
Host: 107.23.52.10
Tag Name: MYTAG
Tag value: doesn't matter

nuodb [domain] > tags list
Host: 107.23.52.10
ip-172-31-40-24/107.23.52.10:48004 (us-east-1):
MYTAG = doesn't matter
archive_base = /var/opt/nuodb/production-archives
cores = 1
cputype = amd64
default_archive_base = /var/opt/nuodb/production-archives
default_journal_base = /var/opt/nuodb/production-archives
default_region = DEFAULT_REGION
journal_base = /var/opt/nuodb/production-archives
os_num_cores = 1
os_num_cpu = 1
os_num_fs = 8
os_ram_mb = 3768
ostype = Linux
osversion = 3.14.19-17.43.amzn1.x86_64
region = us-east-1