Skip to content

Configuration

Cluster

Operational Environment

Operational Environment configuration file named ops-env-cfg.yaml, should be placed next to the cluster's installation files.

Example operational environment configuration file:

# Copyright (c) 2024, Onteon Tech and/or its affiliates.
# All rights reserved.
# Use is subject to license terms.

---
operationsEnvironment:
  ssh:
    user: "user"
    keyPath: "~/.ssh/id_rsa"
    port: 22
  roles:
    clusterManagers:
      primary:
        ip: "10.10.10.1"
      secondary:
        ip: "10.10.10.2"
    workers:
      - "10.10.10.3"
      - "10.10.10.4"
  requirements:
    cpu: 4
    mem: 8
    cpuExtensions:
      - "avx"
    distro:
      name: "ubuntu"
      version: "20.04"
  drbd:
    disk: "vdb"

ssh.user

SSH user account to use for authentication.

ssh.keyPath

SSH key to use for authentication.

SSH keys enable noninteractive login but when they are used they have to either:

  • have empty password
  • be added to a SSH key agent on the machine that creates the SSH connections.

ssh.port

SSH port to use for authentication.

roles.clusterManagers.primary.ip

IP address that is associated with the primary cluster manager.

roles.clusterManagers.secondary.ip

IP address that is associated with the secondary cluster manager.

roles.workers

IP addresses that are associated with worker nodes.

requirements.cpu

This value should not be changed

Number of required CPU cores.

requirements.mem

This value should not be changed

Size of required system memory.

requirements.cpuExtensions

This value should not be changed

Required CPU extensions (for example vector extension).

requirements.distro.name

This value should not be changed

Required operating system distribution name.

requirements.distro.version

This value should not be changed

Required operating system distribution version.

drbd.disk

Physical disk to be used for populating as a DRBD resource for replication.

Application Environment

Application Environment configuration file named app-env-cfg.yaml, should be placed next to the cluster's installation files.

Example application environment configuration file:

# Copyright (c) 2024, Onteon Tech and/or its affiliates.
# All rights reserved.
# Use is subject to license terms.

---
applicationEnvironment:
  ssh:
    user: "user"
    keyPath: "~/.ssh/id_rsa"
    port: 22
  roles:
    clusterManagers:
      primary:
        ip: "10.10.10.1"
      secondary:
        ip: "10.10.10.2"
    workers:
      - "10.10.10.3"
      - "10.10.10.4"
  net:
    veth: false
    # Below configuration of the "net" stanza is only taken to consideration
    # when "veth" is "true".
    worker: "10.10.10.12"
    mask: 24
    phys: "eth0"
    macvlan: "mvlan0"
    gate: "NO"
  drbd:
    resource: "onteon-ha-resource-0"
    disk: "vdb"
    device: "drbd1"
    fileSystem: "ext4"
    mountPath: "drbd/onteon-ha-resource-0"

ssh.user

SSH user account to use for authentication.

ssh.keyPath

SSH key to use for authentication.

SSH keys enable noninteractive login but when they are used they have to either:

  • have empty password
  • be added to a SSH key agent on the machine that creates the SSH connections.

ssh.port

SSH port to use for authentication.

roles.clusterManagers.primary.ip

IP address that is associated with the primary cluster manager.

roles.clusterManagers.secondary.ip

IP address that is associated with the secondary cluster manager.

roles.workers

IP addresses that are associated with worker nodes.

net.veth

Whether to enable VETH switching support.

net.worker

A virtual IP address will be created and shared between worker nodes.

net.mask

VETH IP mask for the virtual IP interface (if VETH IP is enabled).

net.phys

Physical device for the virtual IP interface (if VETH IP is enabled).

net.macvlan

Virtual VLAN for the virtual IP interface (if VETH IP is enabled).

net.gate

Gateway address for the virtual IP interface (if VETH IP is enabled).

drbd.resource

This value should not be changed

DRBD resource name.

drbd.disk

Physical disk to be used for populating as a DRBD resource for replication.

drbd.device

This value should not be changed

DRBD internal device name.

drbd.fileSystem

This value should not be changed

Filesystem used by the DRBD resource.

drbd.mountPath

This value should not be changed

DRBD resource mount path, relative to Onteon Node Manager store.