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
Note: Only compact MATRIXX Data Container (cMDC) checkpoints are supported for single-engine offline upgrades.
Procedure
-
Stop the engine with one of the two following commands, depending on the type
of deployment:
Deployment Type Command Topology Operator kubectl patch mtxengines.matrixx.matrixx.com engine_pod_name -n namespace -p '{"spec":{"action":"force-stop"}}' --type merge
Engine Operator stop_engine
- Delete the pre-upgrade engine.
-
Install the upgraded engine with the
helm install
command. -
Stop the newly installed engine, with one of the two following commands,
depending on the type of deployment:
Deployment Type Command Topology Operator kubectl patch mtxengines.matrixx.matrixx.com engine_pod_name -n namespace -p '{"spec":{"action":"force-stop"}}' --type merge
Engine Operator stop_engine
- Copy the new pricing file to the checkpointing pod.
-
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.
-
After the script is finished running, start the engine, with one of the two
following commands, depending on the type of deployment:
Deployment Type Command Topology Operator kubectl patch mtxengines.matrixx.matrixx.com engine_pod_name -n namespace -p '{"spec":{"action":"force-start"}}' --type merge
Engine Operator start_engine