Stay organized with collectionsSave and categorize content based on your preferences.
This page describes maintenance simulation and explains how to run a simulated
maintenance event on Memorystore for Redis Cluster. For more information about maintenance
updates and maintenance windows, seeAbout maintenance.
To ensure that your applications correctly handle a planned maintenance event,
Memorystore for Redis Cluster offers asimulate maintenance eventfeature. This feature
lets you simulate the maintenance process by performing planned failovers on all
nodes within the instance. This process is similar to a regular maintenance
operation. We strongly recommend that you use this feature in a test environment
or during periods of low traffic. For an overview of the maintenance process,
seeGradual deployment strategyandCreate-before-destroy lifecycle strategy.
By observing your application's behavior during a simulated maintenance event,
you can identify potential issues and verify that your application can
handle maintenance correctly. For more information about best practices
regarding client configurations, seeConfigure your client application.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Simulate maintenance\n\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis page describes maintenance simulation and explains how to run a simulated\nmaintenance event on Memorystore for Redis Cluster. For more information about maintenance\nupdates and maintenance windows, see\n[About maintenance](/memorystore/docs/cluster/about-maintenance).\n\nTo ensure that your applications correctly handle a planned maintenance event,\nMemorystore for Redis Cluster offers a *simulate maintenance event* feature. This feature\nlets you simulate the maintenance process by performing planned failovers on all\nnodes within the instance. This process is similar to a regular maintenance\noperation. We strongly recommend that you use this feature in a test environment\nor during periods of low traffic. For an overview of the maintenance process,\nsee [Gradual deployment strategy](/memorystore/docs/cluster/about-maintenance#gradual_deployment_strategy)\nand [Create-before-destroy lifecycle strategy](/memorystore/docs/cluster/about-maintenance#create-before-destroy_lifecycle_strategy).\n\nBy observing your application's behavior during a simulated maintenance event,\nyou can identify potential issues and verify that your application can\nhandle maintenance correctly. For more information about best practices\nregarding client configurations, see [Configure your client application](/memorystore/docs/cluster/about-maintenance#configure_your_client_application).\n\nRun maintenance simulation on a cluster\n---------------------------------------\n\n### gcloud\n\n\nTo run a maintenance simulation on Memorystore for Redis Cluster,\nuse the\n[`gcloud redis clusters update`](/sdk/gcloud/reference/redis/clusters/update)\ncommand: \n\n```\ngcloud redis clusters update CLUSTER_ID \\\n--region=REGION_ID \\\n--simulate-maintenance-event\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_ID\u003c/var\u003e: the ID of the cluster for which you want to run a simulated maintenance\n- \u003cvar translate=\"no\"\u003eREGION_ID\u003c/var\u003e: the region where your cluster is located"]]