Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite finden Sie unter anderem eine Anleitung zum Suchen nach geplanten Wartungen, zum Festlegen von Wartungsfenstern und zum Verschieben geplanter Wartungen.
Eine Übersicht über Wartungsupdates und Wartungsfenster finden Sie unter Wartungsrichtlinien.
Bevorzugtes Wartungsfenster für eine Instanz festlegen
Console
Rufen Sie in der Google Cloud Console die Seite Memorystore for Memcached auf.
Memorystore for Memcached
Klicken Sie auf die Instanz-ID der Instanz, für die Sie ein Wartungsfenster festlegen möchten.
Klicken Sie auf Bearbeiten.
Wählen Sie im Abschnitt Wartung den gewünschten Tag, die Uhrzeit und die Dauer für das Wartungsfenster aus. Die Zeit wird in Ihrer lokalen Zeitzone festgelegt.
Klicken Sie auf Speichern.
gcloud
Führen Sie den folgenden Befehl aus, um ein Wartungsfenster für eine Memcached-Instanz festzulegen:
Klicken Sie auf den Tab Produktbenachrichtigungen.
Wählen Sie Ihr Projekt im Drop-down-Menü aus.
Schalten Sie in der Zeile für Memorystore die E-Mail-Schaltfläche auf AN.
Eine Wartungsbenachrichtigungs-E-Mail verwendet den Titel "Upcoming maintenance for your
Cloud Memorystore instance [your-instance-name]". Jede Person, die Benachrichtigungen erhalten muss, muss separat aktiviert werden.
Wartungsbenachrichtigungen werden auf Projekt- und nicht auf Instanzebene festgelegt.
E-Mail-Benachrichtigungen werden an die E-Mail-Adresse Ihres Google-Kontos gesendet. Ein benutzerdefinierter E-Mail-Alias wie ein Team-E-Mail-Alias kann nicht konfiguriert werden.
Geplante Wartungen finden
Wenn für Ihre Instanz eine Wartung geplant ist, können Sie sie so aufrufen:
Console
Rufen Sie in der Google Cloud Console die Seite Memorystore for Memcached auf.
Memorystore for Memcached
Klicken Sie auf die Instanz-ID der Instanz, für die Sie die geplante Wartung aufrufen möchten.
Im Abschnitt Wartung können Sie das Datum und die Uhrzeit geplanter Wartungsupdates sehen.
maintenancePolicy zeigt Informationen zum Zeitpunkt der Erstellung Ihrer bevorzugten Wartungsrichtlinie und der letzten Aktualisierung der Richtlinie an.
createTime ist der Zeitpunkt, zu dem die Wartungsrichtlinie zum ersten Mal erstellt wird.
updateTime ist der Zeitpunkt, zu dem die Wartungsrichtlinie zuletzt aktualisiert wurde.
DAY gibt den Wochentag der Wartung an.
duration gibt die Dauer des Wartungsfensters in Minuten an.
HOUR gibt die Stunde in UTC an, in der die Wartung beginnt.
startTime gibt die spezifische Startzeit für ein Wartungsupdate an, das für Ihre Instanz geplant ist.
endTime gibt die spezifische Endzeit für ein Wartungsupdate an, das für Ihre Instanz geplant ist.
TIME_STAMP verwendet das RFC 3339-Format.
Geplante Wartung verschieben
Wenn Sie die Wartung verschieben möchten, folgen Sie den Anleitungen unten:
Console
Rufen Sie in der Google Cloud Console die Seite Memorystore for Memcached auf.
Memorystore for Memcached
Klicken Sie auf die Instanz-ID der Instanz, für die Sie die Wartung verschieben möchten.
Klicken Sie im Abschnitt Wartung auf Termin verschieben.
Wählen Sie zwischen Jetzt aktualisieren, Auf nächstes geplantes Fenster verschieben und Benutzerdefinierter Tag und Uhrzeit aus. Weitere Informationen finden Sie unter Wartung verschieben.
Wenn Sie die Instanz sofort aktualisieren möchten, wählen Sie Jetzt aktualisieren aus und klicken Sie auf Aktualisieren.
Wenn Sie die geplante Wartung um eine Woche verzögern möchten, wählen Sie Auf das nächste geplante Zeitfenster verschieben aus und klicken Sie auf Termin verschieben.
Wenn Sie eine bestimmte Zeit festlegen möchten, wählen Sie Benutzerdefinierter Tag und Uhrzeit, wählen Sie die neue Zeit aus und klicken Sie auf Termin verschieben.
REGION ist die Region, in der sich Ihre Instanz befindet.
RESCHEDULE_TYPE ist der Typ der geplanten Aktualisierung. Verfügbare Werte sind:
IMMEDIATE: Startet die Wartungsaktualisierung sofort.
NEXT_AVAILABLE_WINDOW: Verzögert die Wartung bis zum nächsten Wartungsfenster. Das nächste Fenster befindet sich eine Woche nach dem Zeitfenster, in dem die Wartung ursprünglich geplant wurde.
SPECIFIC_TIME: Ermöglicht die Angabe einer bestimmten Zeit für die Aktualisierung.
Die verschobene Zeit darf nicht mehr als sieben Tage nach dem ursprünglichen Wartungsfenster liegen.
RESHEDULE_TIME Sie können diesen Wert nur angeben, wenn Sie für --reschedule-type den Wert SPECIFIC TIME festlegen. Dieser Wert verwendet das ISO 1801-Format. Beispiel: 2020-01-16T16:56:00.000Z Die Zeit wird in UTC-Zeit festgelegt.
Nachdem Sie eine Benachrichtigung über die bevorstehende Wartung erhalten haben, können Sie das Wartungsupdate manuell auf Knoten anwenden. Die manuelle Wartung ist nur verfügbar, wenn ein Wartungsereignis für Ihre Instanz geplant ist. Außerdem müssen Sie Wartungsbenachrichtigungen aktivieren und ein Wartungsfenster festlegen, um über die bevorstehende Wartung informiert zu werden. Weitere Informationen finden Sie unter Manuelle Wartung.
Einzelne Knoten im Memcached-Cluster aktualisieren
Führen Sie den folgenden Befehl aus, um einzelne Knoten in Ihrem Cluster zu aktualisieren, und ersetzen Sie VARIABLES durch die entsprechenden Werte:
Auf verfügbare Aktualisierungen und Knotenupdates prüfen
Wenn Sie sich für Wartungsbenachrichtigungen registrieren, erfahren Sie am besten, wann ein Update verfügbar ist. Sie können aber auch den Befehl unten verwenden, um manuell zu prüfen, ob eine Wartung verfügbar ist. Der folgende Befehl zeigt auch, welche Knoten für Ihre Instanz aktualisiert wurden.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-05 (UTC)."],[],[],null,["# Find and set maintenance windows\n\nThis page provides instructions how to find scheduled maintenance, set\nmaintenance windows, reschedule planned maintenance, and more.\nFor an overview of maintenance updates and maintenance windows, see [Maintenance policy](/memorystore/docs/memcached/maintenance-policy).\n\nSet a preferred window for maintenance on an instance\n-----------------------------------------------------\n\n### Console\n\n1. Go to the **Memorystore for Memcached** page in the Google Cloud console.\n\n [Memorystore for Memcached](https://console.cloud.google.com/memorystore/memcached/instances?)\n\n2. Click the instance ID of the instance you want to set a maintenance window\n for.\n\n3. Click **Edit**.\n\n4. Under the **Maintenance** section, select the desired day, time, and\n duration for the maintenance window. The time is set in your local time\n zone.\n\n5. Click **Save**.\n\n### gcloud\n\nRun the following command to set a maintenance window for a Memcached instance: \n\n```\ngcloud memcache instances update INSTANCE_ID --region=REGION --maintenance-window-day=DAY --maintenance-window-start-time=START_TIME --maintenance-window-duration=DURATION\n```\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e is the ID of the instance.\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the region where your instance is located.\n- \u003cvar translate=\"no\"\u003eDAY\u003c/var\u003e is the day you want maintenance to occur. Acceptable values are: `MONDAY`,`TUESDAY`,`WEDNESDAY`,`THURSDAY`,`FRIDAY`,`SATURDAY`,`SUNDAY`.\n- \u003cvar translate=\"no\"\u003eSTART_TIME\u003c/var\u003e is the hour of day (0 to 23) for the start of the maintenance window, in the UTC time zone.\n- \u003cvar translate=\"no\"\u003eDURATION\u003c/var\u003e is a window between 3 and 8 hours in length. Acceptable values are `3h` through `8h`, integers only.\n\nFor reference information, see [`gcloud memcached instances update`](/sdk/gcloud/reference/memcache/instances/update)\n\nOpt in to maintenance notifications\n-----------------------------------\n\n| **Note:** Even if you turn on maintenance notifications, you do not receive notifications unless you [set a maintenance window](/memorystore/docs/memcached/finding-and-setting-maintenance-windows#set_maintenance) for that instance.\n\nTo turn on maintenance notifications:\n\n1. Go to the **Communication** page in the Google Cloud console:\n\n [Communication](https://console.cloud.google.com/user-preferences/communication)\n2. Click the **Product Notifications** tab.\n\n3. Select your project from the dropdown menu.\n\n4. In the row for Memorystore, toggle the email button to **ON**.\n\nA maintenance notification email uses the title, `\"Upcoming maintenance for your\nCloud Memorystore instance [your-instance-name]\"`. Each person who needs to\nneeds to receive notifications must opt in separately.\n\nMaintenance notifications are set at the project level rather than on instances.\nEmail notifications are sent to the email address associated with your Google\naccount. It is not possible to configure a custom email alias (for instance, a\nteam email alias).\n\nFind scheduled maintenance\n--------------------------\n\nIf maintenance has been scheduled for your instance, you can view it using the\nfollowing instructions: \n\n### Console\n\n1. Go to the **Memorystore for Memcached** page in the Google Cloud console.\n\n [Memorystore for Memcached](https://console.cloud.google.com/memorystore/memcached/instances?)\n\n2. Click the instance ID of the instance that you want to view scheduled\n maintenance for.\n\n3. Under the **Maintenance** section, you can view the date and time of any\n scheduled maintenance updates.\n\n### gcloud\n\n```\ngcloud memcache instances describe INSTANCE-ID --region=REGION\n```\n\nwhere:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e is the ID of the instance\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the region where your instance is located\n\nThe output for scheduled maintenance is as follows: \n\n```\nmaintenancePolicy:\ncreateTime: 'TIME_STAMP'\nupdateTime: 'TIME_STAMP'\nmaintenanceWindow:\n- day: DAY\n duration: 180 minutes\n hour: HOUR\nmaintenanceSchedule:\n endTime: 'TIME_STAMP'\n startTime: 'TIME_STAMP'\n```\n\nWhere:\n\n- `maintenancePolicy` shows information on the creation time of your preferred maintenance policy and the last time the policy was updated.\n- `createTime` is when the maintenance policy is first created.\n- `updateTime` is when the maintenance policy was last updated.\n- `DAY` indicates the day of the week maintenance occurs.\n- `duration` indicates the length of the maintenance window in minutes.\n- `HOUR` indicates the hour in UTC time that maintenance begins.\n- `startTime` indicates the specific start time for a maintenance update that is scheduled for your instance.\n- `endTime` indicates the specific ending time for a maintenance update that is scheduled for your instance.\n- `TIME_STAMP` uses the RFC 3339 format.\n\nReschedule planned maintenance\n------------------------------\n\n| **Caution:** if you programmatically reschedule maintenance in bulk requests (not natively supported by Memorystore for Memcached), limit batch reschedule sizes to 100 instances per batch. For more information, see [Rescheduling maintenance](/memorystore/docs/memcached/maintenance-policy#rescheduling_maintenance).\n\nTo reschedule maintenance, see the instructions below: \n\n### Console\n\n1. Go to the **Memorystore for Memcached** page in the Google Cloud console.\n\n [Memorystore for Memcached](https://console.cloud.google.com/memorystore/memcached/instances?)\n\n2. Click the instance ID of the instance you want to reschedule maintenance\n for.\n\n3. Under the **Maintenance** section, click **RESCHEDULE**.\n\n - You can only reschedule maintenance if you [have a scheduled update](/memorystore/docs/memcached/finding-and-setting-maintenance-windows#find_scheduled_maintenance), for your instance.\n4. Choose between **Update now** , **Defer to next scheduled window** , and\n **Custom day and time** . For more information, see the [overview of rescheduling maintenance](/memorystore/docs/memcached/maintenance-policy#rescheduling_maintenance).\n\n - If you want to update your instance immediately, select **Update now**\n and click **Update**.\n\n - If you want to delay the scheduled maintenance by one week, select\n **Defer to the next scheduled window** and click **Reschedule**.\n\n - If you want to designate a specific time, select **Custom day and time** ,\n choose the new time, and click **Reschedule**.\n\n### gcloud\n\n```\ngcloud memcache instances reschedule-maintenance INSTANCE_ID --region=REGION --reschedule-type=RESCHEDULE_TYPE [--schedule-time=RESHEDULE_TIME]\n```\n\nwhere:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e is the ID of the instance\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the region where your instance is located\n- \u003cvar translate=\"no\"\u003eRESCHEDULE_TYPE\u003c/var\u003e is the type of rescheduled update. Available values are:\n\n - `IMMEDIATE`: Starts the maintenance update immediately\n - `NEXT_AVAILABLE_WINDOW`: Defers maintenance until the next maintenance window. The next window is one week from the window in which maintenance was originally scheduled\n - `SPECIFIC_TIME`: Allows you to designate a specific time for the update. The rescheduled time must be no more than seven days from time of the original maintenance window\n- \u003cvar translate=\"no\"\u003eRESHEDULE_TIME\u003c/var\u003e You can only specify this value if you set `--reschedule-type` to `SPECIFIC TIME`. This value uses the ISO 1801 format. For example, `2020-01-16T16:56:00.000Z`. The time is set in UTC time.\n\nFor reference information, see [gcloud memcache instances reschedule-maintenance](/sdk/gcloud/reference/memcache).\n\nManually applying maintenance updates\n-------------------------------------\n\nAfter you receive a notification of upcoming maintenance you have the option\nto apply the maintenance update to nodes manually. Manual maintenance is only\navailable after a maintenance event is scheduled for your instance, and you must\nopt in to maintenance notifications and set a maintenance window to be informed\nof this upcoming maintenance. For more information, see [Manual maintenance](/memorystore/docs/memcached/maintenance-policy#manual_maintenance).\n\n#### Updating individual nodes in the Memcached cluster\n\nTo update individual nodes in your cluster, run the following command, replacing\n\u003cvar translate=\"no\"\u003eVARIABLES\u003c/var\u003e with appropriate values: \n\n```\n\ngcloud beta memcache instances apply-software-update INSTANCE_NAME --node-ids=NODE_ID_1,NODE_ID_2 --region=REGION\n\n```\n\n#### Updating all nodes in the Memcached cluster\n\nTo update all nodes in your cluster, run the following command, replacing\n\u003cvar translate=\"no\"\u003eVARIABLES\u003c/var\u003e with appropriate values: \n\n```\n\ngcloud beta memcache instances apply-software-update INSTANCE_NAME --apply-all --region=REGION\n\n```\n\nChecking for available updates and verifying node updates\n---------------------------------------------------------\n\nSigning up for maintenance notifications is the best way to learn when an update\nis available, but you can also use the command to below to manually check if\nmaintenance is available. The following command also shows what nodes have been\nupdated for your instance. \n\n```\ngcloud memcache instances describe INSTANCE_NAME --region=REGION --format=\"table(updateAvailable.yesno(yes=\"YES\",no=\"NO\"),memcacheNodes:format='table(nodeId,updateAvailable.yesno(yes=\"YES\", no=\"NO\"))')\"\n```\n\nWhat's next\n-----------\n\n- View the [permissions](/memorystore/docs/memcached/access-control#maintenance_policy_permissions) required to manage maintenance windows for your Memcached instance."]]