cms_config

Cluster Management System (CMS) is a YDB component that enables safe cluster maintenance, for example, updating its version or replacing failed disks without loss of availability. CMS behavior is configured in the cms_config section of the YDB configuration.

Syntax

cms_config:
  tenant_limits:
    disabled_nodes_limit: 2
    disabled_nodes_ratio_limit: 5
  cluster_limits:
    disabled_nodes_limit: 3
    disabled_nodes_ratio_limit: 5
  disable_maintenance: true

Parameters

Parameter Default value Description
tenant_limits.disabled_nodes_limit Maximum number of database nodes that can be simultaneously unavailable or blocked.
tenant_limits.disabled_nodes_ratio_limit 13 Maximum percentage of database nodes that can be simultaneously unavailable or blocked.
cluster_limits.disabled_nodes_limit Maximum number of cluster nodes that can be simultaneously unavailable or blocked.
cluster_limits.disabled_nodes_ratio_limit 13 Maximum percentage of cluster nodes that can be simultaneously unavailable.
disable_maintenance false Flag that suspends new cluster maintenance operations.