Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With an external data directory specified, the container can be destroyed and recreated without losing state. This is a critical requirement of production systems.

Atomix configuration

Note: for the complete documentation of available Atomix configuration options, see:

The Atomix cluster is configured by providing a JSON or HOCON configuration file to each Atomix node. The Atomix configuration requires the following three components to operate correctly:

...

Code Block
languagejs
titleatomix.conf
cluster {
  cluster-id: atomixonos
  node {
    id: atomix-1
    address: "10.192.19.111:5679"
  }
  discovery {
    type: bootstrap
    nodes.1 {
      id: atomix-1
      address: "10.192.19.111:5679"
    }
    nodes.2 {
      id: atomix-2
      address: "10.192.19.112:5679"
    }
    nodes.3 {
      id: atomix-3
      address: "10.192.19.113:5679"
    }
  }
}

management-group {
  type: raft
  partitions: 1
  storage.level: disk
  members: [atomix-1, atomix-2, atomix-3]
}

partition-groups.raft {
  type: raft
  partitions: 3
  storage.level: disk
  members: [atomix-1, atomix-2, atomix-3]
}

...