Changing Configurations via CMS
Note
This method of changing configuration is deprecated. The recommended configuration method for V1 is described in the cluster dynamic configuration section.
Get Current Settings
The following command will get current settings for the cluster or tenant.
ydbd -s <endpoint> admin console configs load --out-dir <config-folder>
ydbd -s <endpoint> admin console configs load --out-dir <config-folder> --tenant <tenant-name>
Update Settings
First, you need to download the required config as indicated above, then you need to prepare a protobuf file with a change request.
Actions {
AddConfigItem {
ConfigItem {
Cookie: "<cookie>"
UsageScope {
TenantAndNodeTypeFilter {
Tenant: "<tenant-name>"
}
}
Config {
<config-name> {
<full-config>
}
}
}
}
}
The UsageScope field is optional and is needed to apply settings for a specific tenant.
ydbd -s <endpoint> admin console configs update <protobuf-file>