AMT Help Files
Home AMT Admin Advanced Configuration Application Clusters

Application Clusters

Various ways of hosting AMT applications and separating workloads are possible. Single and multi node configurations are explained on this page.

Single Node Cluster

The simplest way to host AMT is to use a single node cluster.

Single Node Cluster Example

cluster:
  type: PEKKO
  mode: SINGLE_NODE
  nodes:
    single-node-amt:
      settings:
        host: 0.0.0.0
        gRPCPort: 8080
        restPort: 9000
        httpOnly: false
        jobQueues: Default

Multi Node Cluster

Using multiple nodes allows for separating workloads.

Multi Node Cluster Example

cluster:
  type: PEKKO
  mode: CLUSTER_NODE
  nodes:
    node-1:
      settings:
        host: 0.0.0.0
        port: 25251
        seedNodes: localhost:25251,localhost:25252
        gRPCPort: 8081
        restPort: 9000
        httpOnly: false
        roles: job,file,program
        jobQueues: JobQueue1
    node-2:
      settings:
        host: 0.0.0.0
        port: 25252
        seedNodes: localhost:25251,localhost:25252
        gRPCPort: 8082
        restPort: 9001
        httpOnly: false
        roles: job,transaction,print
        jobQueues: JobQueue2

Bootstrap

The bootstrap mode allows the creation of multiple nodes by using an automatic cluster discover system.

Bootstrap Cluster Example

cluster:
  type: PEKKO
  mode: BOOTSTRAP
  nodes:
    bootstrap-amt:
      settings:
        host: 0.0.0.0
        gRPCPort: 8080
        restPort: 9000
        httpOnly: false
        jobQueues: Default

Remote Clusters

A remote cluster allows for starting transactions on a remote application. Remote cluster nodes only require host and gRPCPort settings.

Remote Cluster Example

remoteCluster:
  nodes:
    remote-node:
      settings:
        host: 0.0.0.0
        gRPCPort: 9090

Advanced Configuration

See the AMT Application Config File page for all available options related to Clusters.

Contents

 Go to top