You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 3. Migrate all data from old COSMOS 6 MINIO volume to the running versitygw
258
-
./scripts/linux/openc3_migrate_s3.sh migrate
262
+
./openc3_migrate_s3.sh migrate
259
263
260
264
# 4. Verify your data migrated correctly
261
-
./scripts/linux/openc3_migrate_s3.sh status
262
-
./scripts/linux/openc3_migrate_s3.sh cleanup
265
+
./openc3_migrate_s3.sh status
266
+
./openc3_migrate_s3.sh cleanup
263
267
```
264
268
265
269
#### Custom Credentials
@@ -293,13 +297,31 @@ After verifying COSMOS 7 works correctly, you can remove the old COSMOS 6 MINIO
293
297
docker volume rm openc3-bucket-v
294
298
```
295
299
300
+
### Migrating COSMOS Decom Bin Files to TSDB
301
+
302
+
Now that you've migrated the binary files from Minio to Versitygw you need to ingest this data into the new Time Series Database (TSDB). Install the [TSDB Migration](https://github.com/OpenC3/openc3-cosmos-tsdb-migration) plugin from the App Store by clicking Browse Plugins from the Admin Console and searching for TSDB. You can get more information about the configuration parameters from the TSDB Migration [README](https://github.com/OpenC3/openc3-cosmos-tsdb-migration).
303
+
304
+
You will notice CmdTlmServer log messages indicating that the Decom log files are being processed:
At this point you should be able to use any COSMOS applications that access the streaming API to ensure the data has been migrated. Open Telemetry Grapher or Data Extractor and either graph or extract historical data and verify the contents.
313
+
314
+
Once the data has been verified you can remove the imported data using Bucket Explorer. Navigate to the `logs` bucket and remove the `processed`, `reduced_minute_logs`, `reduced_hour_logs`, `reduced_day_logs` directories using the Trash icon.
-**`rubysloc` CLI command** — The `./openc3.sh cli rubysloc` command has been removed. Use external tools for line counting if needed.
301
323
-**`LOG_RAW`** — Previously deprecated in favor of `LOG_STREAM`. Now fully removed. Replace any `LOG_RAW` usage with [`LOG_STREAM`](../configuration/plugins.md).
302
-
-**Reducer microservices** — All reduced data microservices (REDUCED_MINUTE, REDUCED_HOUR, REDUCED_DAY) have been removed. Reduced data is now handled by QuestDB using `SAMPLE BY` queries. You can safely delete all REDUCED_MINUTE, REDUCED_HOUR, and REDUCED_DAY data once you perform the [TSDB Migration](https://github.com/OpenC3/openc3-cosmos-tsdb-migration).
324
+
-**Reducer microservices** — All reduced data microservices (REDUCED_MINUTE, REDUCED_HOUR, REDUCED_DAY) have been removed. Reduced data is now handled by QuestDB using `SAMPLE BY` queries. You can safely delete all REDUCED_MINUTE, REDUCED_HOUR, and REDUCED_DAY data once you perform the TSDB Migration (see above).
0 commit comments