メインコンテンツまでスキップ

スケジュールされたCassandraリーパを手動で起動するコマンドは何ですか。

Views:
Visibility:
Public
Votes:
0
Category:
e-series-systems
Specialty:
esg<a>2009336820</a>
Last Updated:

環境

  • StorageGRID 11.4.0.4
  • StorageGRID 11.5

回答

spreaper launch-schedule <keyspace_name> 指定されたスケジュールで新しい修理を開始するために使用できます。
root@dc1-sn2:~ # spreaper launch-schedule storagegrid
# Started a repair from schedule id: d7736c80-4ed1-11ec-850a-07954bf0a028

 

追加情報

root@dc1-sn2:~ # spreaper list-runs
# Listing repair runs
# Found 14 repair runs

 
   "creation_time": "2023-10-12T09:04:05Z",
   "current_time": "2023-10-12T09:19:48Z",
   "datacenters": [],
   "duration": "15 minutes 42 seconds",
   "end_time": null,
   "estimated_time_of_arrival": "2023-10-12T09:20:04Z",

   "id": "4b97ebe0-68de-11ee-bee4-d3356a12f179",
   "incremental_repair": false,
   "intensity": 1.000,
   "keyspace_name": "storagegrid",
   "last_event": "Triggered repair of segment 4b97ec00-68de-11ee-bee4-d3356a12f179 via host 127.0.0.1",
   "nodes": [],
   "owner": "storagegrid",
   "pause_time": null,
   "repair_parallelism": "PARALLEL",
   "repair_thread_count": 4,
   "repair_unit_id": "d771e5e0-4ed1-11ec-850a-07954bf0a028",
   "segments_repaired": 175,
   "start_time": "2023-10-12T09:04:05Z",
   "state": "RUNNING",
   "total_segments": 178

  }
 
root@dc1-sn2:~ # spreaper list-schedules
# Listing repair schedules for all clusters
# Found 3 schedules:
[
  {
   "blacklisted_tables": [],
   "cluster_name": "storagegrid",
   "column_families": [],
   "creation_time": "2021-11-26T15:59:31Z",
   "datacenters": [],
   "id": "d7736c80-4ed1-11ec-850a-07954bf0a028",
   "incremental_repair": false,
   "intensity": 1.000,
   "keyspace_name": "storagegrid",
   "next_activation": "2023-10-19T09:03:34Z",
   "nodes": [],
   "owner": "storagegrid",
   "pause_time": "2022-09-19T03:20:23Z",
   "repair_parallelism": "PARALLEL",
   "repair_thread_count": 4,
   "repair_unit_id": "d771e5e0-4ed1-11ec-850a-07954bf0a028",
   "scheduled_days_between": 7,
   "segment_count": 0,
   "segment_count_per_node": 50,
   "state": "ACTIVE"
  },
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.