You are here: Reference Information > Command Line Tools > NuoDB Manager > Apply Domain License

Apply Domain License

This is a NuoDB Manager command. See NuoDB Manager.

Description

Apply a new license to the domain.

Syntax

apply domain license
    licenseFile license_filename

Parameters

Interactive Example

Apply a new license file for your domain:

nuodb [domain] > apply domain license  
License file: ./myLicense
nuodb [domain] > show domain license
Professional Edition License (free version) Uid = 83e895a7-a111-49fb-ad7e-20d9b8606a43
Holder = ProfessionalBase
Invalid before = January 10, 2013 10:40:12 AM EST
...
Allowed hosts = 2
Maximum database size = 4

Scripting Example

The same apply domain license command can be executed with --command as follows:

nuodbmgr --broker host --password password \
    --command "apply domain license licenseFile ./myLicense"