Migrate from COS Lite to COS

The main differences between COS Lite and COS HA from data perspective are that COS HA uses different charms for the logs and metrics backends. For metrics, Prometheus is replaced with Mimir. For logs, monolithic Loki is replaced with Loki HA.

Migrating data from Prometheus to Mimir or from one charm revision of Loki to another is complex and nuanced. At this point, we recommend a retention-based phase-out.

Migration via retention-based phase-out

  1. Deploy COS in a separate model next to COS Lite

  2. Relate the new COS charms to the same applications COS Lite is related to.

  3. Wait for the retention period to elapse for COS Lite.

  4. Verify the same data is available both in COS Lite and in COS

  5. Decommission COS Lite.