GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • V7.x Documentation
  • Privacy Statement
  • License Agreement
  • Contact Us

This view

  • Original page
  • New address

GeezerVison is showing docs.voltdb.com — Appendix E. Configuration File (deployment.xml)

  • Volt Active Data
  • Feedback/Discuss
  • V7.x Books
    • VoltDB Tutorial
    • Using VoltDB
    • VoltDB Guide to Performance and Customization
    • VoltDB Planning Guide
    • VoltDB Administrator's Guide
  • Current docs ▶
Appendix E. Configuration File (deployment.xml)

Documentation

VoltDB Home » Documentation » Using VoltDB
< previoustable of contentsnext >

Appendix E. Configuration File (deployment.xml)

The configuration file describes the physical configuration of a VoltDB database cluster at runtime, including the number of sites per hosts and K-safety value, among other things. This appendix describes the syntax for each component within the configuration file.

The configuration file is a fully-conformant XML file. If you are unfamiliar with XML, see Section E.1, “Understanding XML Syntax” for a brief explanation of XML syntax.

E.1. Understanding XML Syntax

The configuration file is a fully-conformant XML file. XML files consist of a series of nested elements identified by beginning and ending "tags". The beginning tag is the element name enclosed in angle brackets and the ending tag is the same except that the element name is preceded by a slash. For example:

<deployment>
   <cluster>
   </cluster>
</deployment>

Elements can be nested. In the preceding example cluster is a child of the element deployment.

Elements can also have attributes that are specified within the starting tag by the attribute name, an equals sign, and its value enclosed in single or double quotes. In the following example the hostcount and sitesperhost attributes of the cluster element are assigned values of "2" and "4", respectively.

<deployment>
   <cluster hostcount="2" sitesperhost="4">
   </cluster>
</deployment>

Finally, as a shorthand, elements that do not contain any children can be entered without an ending tag by adding the slash to the end of the initial tag. In the following example, the cluster and heartbeat tags use this form of shorthand:

<deployment>
   <cluster hostcount="2" sitesperhost="4"/>
   <heartbeat timeout="10"/>
</deployment>

For complete information about the XML standard and XML syntax, see the official XML site at http://www.w3.org/XML/.

< previoustable of contentsnext >
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.