---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/reference/configuration/cms_config.md
  - https://ydb.tech/docs/ru/reference/configuration/cms_config.md
sourcePath: en/core/reference/configuration/cms_config.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# cms_config

[Cluster Management System (CMS)](https://ydb.tech/docs/en/concepts/glossary.md#cms) is a YDB component that enables [safe cluster maintenance](https://ydb.tech/docs/en/devops/concepts/maintenance-without-downtime.md), 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

```yaml
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](../../concepts/glossary.md#database-node) that can be simultaneously unavailable or blocked. |
| `tenant_limits.disabled_nodes_ratio_limit` | `13` | Maximum percentage of [database nodes](../../concepts/glossary.md#database-node) that can be simultaneously unavailable or blocked. |
| `cluster_limits.disabled_nodes_limit` | — | Maximum number of [cluster](../../concepts/glossary.md#cluster) nodes that can be simultaneously unavailable or blocked. |
| `cluster_limits.disabled_nodes_ratio_limit` | `13` | Maximum percentage of [cluster](../../concepts/glossary.md#cluster) nodes that can be simultaneously unavailable. |
| `disable_maintenance` | `false` | Flag that [suspends](../../devops/concepts/maintenance-without-downtime.md#disable-maintenance) new cluster maintenance operations. |
