node-config.json
This JSON file allows to configure the Platform Private Cloud system and it's nodes. Various sections and their details are as follows:
Databases Section
This allows adding/updating databases other than the masterDB. Each entry in this section has the following attributes:
Attribute | Description |
---|---|
name (attribute) |
Symbolic name for database, used internally Default: |
isDefault (attribute) |
Marks database used by default for new customers Default: None |
isExternal (attribute) |
Marks database which contains external data tables Default: None |
MinConnections (attribute) |
Number of database connections initially created in this pool Default: |
MaxConnections (attribute) |
Max number of database connections in this pool Default: |
MaxInUseConnTimeMins (attribute) |
Max time (in minutes) allowed database connection to be in use,
connection will be closed when time is up Default: |
MaxNotUsedConnTimeMins (attribute) |
Max time (in minutes) allowed database connection in a pool to be idle,
connection will be closed when time is up Default: |
MaxConnLifetimeMins (attribute) |
Max connection lifetime before closure (in minutes) Default: |
ConnTimeoutSec (attribute) |
Timeout (in seconds) used when new database connection is created Default: None, uses database default |
TxIsolation
|
Consult your database manual regarding transaction isolation level, if not sure about this setting - do not use it (database default) |
useTxRecovery (attribute) |
Enables or disables the default connection pooling's transaction
recovery and retry feature When using Oracle or SQLServer databases and DataDirect drivers, Infinite Blue recommends that customers omit this attribute and use the driver's retry feature instead. |
Driver
|
Class name for JDBC driver used for this database Default:
|
Url
|
JDBC URL to database's service
|
ConnectionRetryCount (attribute) |
Number of times the driver retries connection attempts to the database server until a
successful connection is established.
Default: |
ConnectionRetryDelay
(attribute) |
Number of seconds the driver waits between connection retry attempts when the
ConnectionRetryCount attribute is set to a positive integer
Default: |
DbUser
|
Database user
Default: account root |
Password
|
Password for user account Default: None (must be specified prior to installation) |
nodeProps section
This allows specifying the following properties that apply to a particular node. For example: location of storage directory on disk applicable to nodes that have STORAGE module deployed.
Attribute | Description |
---|---|
FontDirs
|
The possible PD4ML fonts directory paths that is processed to locate
fonts.properties and PD4ML font files Default for Windows:
Default for Linux:
|
StorageDir
|
Directory to store uploaded files, logs, templates, etc. Default:
|
LogDir
|
Directory to store log files, if log files should be kept in separate location. Default: |
IndexDir
|
Directory to store lucene or elastic files. Default: |
AnalyticsLogDir
|
Directory to store analytics logs. Default: |
webProxies Section
This allows adding web proxies to the list. This is consumed at system start which makes it helpful for first time configuration but can be used on existing systems when say, your hostname is changing. For adding more proxies to an existing system, the Add Server option in system console can also be used. Each entry in the list has the following properties:
Attribute | Description |
---|---|
url
|
Url of the web proxy. E.g. |
This applies when Platform is configured as multi-server or high availability mode. For more information, see Configuring high availability.
updateSharedProps Section
This allows specifying a set of shared properties that should be consumed on system start. Although changes to shared properties is allowed using editor in System Console app, when a property needs to be effected at system start, use this section. The properties specified here are consumed at system initialization and updated in database.
Refer to the node-config.json
file for actual shared properties for your system.