![]() | ![]() | contents |
The deployment file starts with the XML declaration. After the XML declaration, the root element of the deployment file is the deployment element. The remainder of the XML document consists of elements that are children of the deployment element.
Figure E.1, “Deployment XML Structure” shows the structure of the deployment file. The indentation indicates the hierarchical parent-child relationships of the elements and an ellipsis (...) shows where an element may appear multiple times.
Figure E.1. Deployment XML Structure
<deployment>
<cluster/>
<paths>
<commandlog/>
<commandlogsnapshot/>
<exportoverflow/>
<snapshots/>
<voltdbroot/>
</paths>
<admin-mode/>
<commandlog>
<frequency/>
<commandlog/>
<export>
<onserver>
<configuration>
<property/>...
</configuration>
</onserver>
</export>
<heartbeat/>
<httpd>
<jsonapi/>
</httpd>
<partition-detection>
<snapshot/>
</partition-detection>
<replication/>
<security/>
<snapshot/>
<systemsettings>
<temptables/>
<snapshot/>
</systemsettings>
<users>
<user/>...
</users>
</deployment>
Table E.1, “Deployment File Elements and Attributes” provides further detail on the elements, including their relationships (as child or parent) and the allowable attributes for each.
Table E.1. Deployment File Elements and Attributes
| Element | Child of | Parent of | Attributes |
|---|---|---|---|
| deployment* | (root element) | admin-mode, commandlog, cluster, export, heartbeat, httpd, partition-detection, paths, security, snapshot, systemsettings, users | |
| cluster* | deployment | hostcount={int} | |
| admin-mode | deployment | port={int} | |
| heartbeat | deployment | timeout={int}* | |
| partition-detection | deployment | snapshot | enabled={true|false} |
| snapshot* | partition-detection | prefix={text}* | |
| commandlog | deployment | frequency | enabled={true|false} |
| frequency | commandlog | time={int} | |
| export | deployment | onserver | enabled={true|false} |
| onserver | export | configuration | exportto={file|jdbc}* |
| configuration* | onserver | property | |
| property | configuration | name={text}* | |
| httpd | deployment | jsonapi | port={int} |
| jsonapi | httpd | enabled={true|false} | |
| paths | deployment | exportoverflow, snapshots, voltdbroot | |
| commandlog | paths | path={directory-path}* | |
| commandlogsnapshot | paths | path={directory-path}* | |
| exportoverflow | paths | path={directory-path}* | |
| snapshots | paths | path={directory-path}* | |
| voltdbroot | paths | path={directory-path}* | |
| replication | deployment | port={int} | |
| security | deployment | enabled={true|false} | |
| snapshot | deployment | frequency={int}{s|m|h}* | |
| systemsettings | deployment | snapshot, temptables | |
| snapshot | systemsettings | priority={int}* | |
| temptables | systemsettings | maxsize={int}* | |
| users | deployment | user | |
| user | users | name={text}* | |
*Required [1] The attribute "groups" can be used in place of "roles" for backwards compatibility. | |||
The Tao of VoltDB
The 5 Principles of VoltDB
VoltDB Technosphere
Products and Solutions
Technical Support
Key Features
Download VoltDB
No Limits
VoltDB Application Gallery
Infinite Possibilities
VoltBuilder Program
