Introduction

The Data Loader utility loads deployment-specific certificates, keystores, DNS entries, and Agent settings into a specified Direct Java RI Configuration Service.

The user is required to specify the target deployment domain and domain IPv4 address at runtime, as explained below.

Command Line

The utility is invoked on the command line:

$ ./dataloader.sh --help
Usage:
dataloader
[--help -d <name> --dip <address> -i <path> --wsh <name> --wspd <path> --wsp <num>]
 
--help                                 Print help information.
 
-d (--domain) name                     Domain name to load data for.
 
--dip (--domainip) address             Domain IPv4 address to load data for.
 
-i (--in) path                         Path to the input directory or archive file from which to read certificates/keys.
 
--wsh (--wshost) name                  Web service (config-service) host.
 
--wspd (--wspath) path                 Web service (config-service) path.
 
--wsp (--wsport) num                   Web service (config-service) port number.

Required Options

  -d (--domain) name                     Domain name to load data for.
 
--dip (--domainip) address             Domain IPv4 address to load data for.

 

Optional Options

  -i (--in) path                         Path to the input directory or archive file from which to read certificates/keys.
  --wsh (--wshost) name                  Web service (config-service) host.
  --wspd (--wspath) path                 Web service (config-service) path.
  --wsp (--wsport) num                   Web service (config-service) port number.

Example

$ ./dataloader.sh -d localhost --dip 127.0.0.1
Connected to data service (http://localhost:8081/config-service/ConfigurationService).
Loaded 27 entries into data service (http://localhost:8081/config-service/ConfigurationService).
Loaded 5 setting(s) into data service (http://localhost:8081/config-service/ConfigurationService).
Loaded 54 DNS record(s) into data service (http://localhost:8081/config-service/ConfigurationService).

Deployment