Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Managed Service for Redis
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Information about existing clusters
    • Creating clusters
    • Changing cluster and database settings
    • Connecting to a database
      • Preparing for connecting
      • Connecting to a non-sharded cluster
      • Connecting to a sharded cluster
    • Stopping and starting clusters
    • Updating a Redis version
    • Managing hosts in a cluster
    • Managing shards
    • Managing backups
    • Switching the master
    • Monitoring the state of clusters and hosts
    • Viewing cluster logs
    • Deleting clusters
  • Tutorials
    • All use cases
    • Storing PHP sessions in Managed Service for Redis
    • Migrating databases to Managed Service for Redis
  • Concepts
    • Relationships between service resources
    • Host classes
    • Network in Managed Service for Redis
    • Sharding
    • Backups
    • Replication and fault tolerance
    • Supported clients
    • Managing memory in Yandex Managed Service for Redis
    • Supported commands in Yandex Managed Service for Redis
    • Quotas and limits
    • Disk types
    • Maintenance
    • Redis settings
  • Access management
  • Pricing policy
    • Current pricing policy
    • Archive
      • Before February 1, 2020
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • BackupService
      • ClusterService
      • ResourcePresetService
      • OperationService
    • REST
      • Overview
      • Backup
        • Overview
        • get
        • list
      • Cluster
        • Overview
        • addHosts
        • addShard
        • backup
        • create
        • delete
        • deleteHosts
        • deleteShard
        • get
        • getShard
        • list
        • listBackups
        • listHosts
        • listLogs
        • listOperations
        • listShards
        • move
        • rebalance
        • rescheduleMaintenance
        • restore
        • start
        • startFailover
        • stop
        • streamLogs
        • update
        • updateHosts
      • ResourcePreset
        • Overview
        • get
        • list
      • Operation
        • Overview
        • get
  • Revision history
  • Questions and answers
    • General questions
  1. Concepts
  2. Maintenance

Maintenance in Managed Service for Redis

Written by
Yandex Cloud
,
improved by
Dmitry A.
  • Maintenance window
  • Maintenance procedure

Maintenance means:

  • Automatic installation of DBMS updates and revisions for hosts (including disabled clusters).
  • Changes to the host class and storage size.
  • Other maintenance activities.

Changing a major DBMS version isn't part of maintenance. For more information about major version changes, see Redis version upgrade.

Maintenance window

You can set the preferred maintenance time when creating a cluster or updating its settings:

  • Unspecified time (default): Maintenance is possible at any time.
  • By schedule: Set the preferred maintenance start time: desired day of the week and UTC hour. For example, you can choose a time when cluster load is lightest.

Maintenance procedure

Maintenance procedure for Managed Service for Redis clusters depends on the number of hosts and presence of shards:

  • In non-sharded single-host clusters, maintenance is performed on a master host. So, such a cluster becomes unavailable if a master host needs to be restarted during maintenance.

  • If a non-sharded cluster is comprised of a few hosts, the maintenance procedure is as follows:

    1. Replica hosts undergo maintenance consecutively. The hosts are queued randomly. A replica becomes unavailable while it's being restarted during maintenance.
    2. Maintenance is performed on a master host. If it's restarted during maintenance and becomes unavailable, one of the replicas assumes its role.
  • In sharded clusters, maintenance is performed shard by shard in ascending order by shard number. Host maintenance is the same as in non-sharded clusters.

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • Maintenance window
  • Maintenance procedure