Upgrade a Standalone Engine

Use this procedure to manually upgrade a single engine system to the latest release of MATRIXX in a cloud environment.

Before you begin

These instructions are a standalone procedure and not coordinated with the other upgrade tasks. This task upgrades an offline engine from a database checkpoint file. For information about tasks that must be completed before upgrading, see the discussion about upgrade prerequisites.
Note: Only compact MATRIXX Data Container (cMDC) checkpoints are supported for single-engine offline upgrades.

Procedure

  1. Stop the engine with one of the two following commands, depending on the type of deployment:
    Deployment TypeCommand
    Topology Operator kubectl patch mtxengines.matrixx.matrixx.com engine_pod_name -n namespace -p '{"spec":{"action":"force-stop"}}' --type merge
    Engine Operator stop_engine
  2. Delete the pre-upgrade engine.
  3. Install the upgraded engine with the helm install command.
  4. Stop the newly installed engine, with one of the two following commands, depending on the type of deployment:
    Deployment TypeCommand
    Topology Operator kubectl patch mtxengines.matrixx.matrixx.com engine_pod_name -n namespace -p '{"spec":{"action":"force-stop"}}' --type merge
    Engine Operator stop_engine
  5. Copy the new pricing file to the checkpointing pod.
  6. Run start_single_offline_upgrade.py -c last_checkpoint_from_previous_version -p new_pricing_file on the checkpointing pod.
    Note: When the script has completed successfully, the following message is displayed in logs:
    Single engine offline upgrade is successful. Engine is ready to be started.
  7. After the script is finished running, start the engine, with one of the two following commands, depending on the type of deployment:
    Deployment TypeCommand
    Topology Operator kubectl patch mtxengines.matrixx.matrixx.com engine_pod_name -n namespace -p '{"spec":{"action":"force-start"}}' --type merge
    Engine Operator start_engine

What to do next

For more information about Topology Operator-based deployments, see the discussion about Topology Operator.