Stay organized with collectionsSave and categorize content based on your preferences.
This page describes how to upgrade Mainframe Assessment Tool.
Limitations
Mainframe Assessment Tool supports only sequential upgrades. You can upgrade only to the
next immediate version and can't skip intermediate versions. For example,
to upgrade from version 2.1.0 to 2.3.0, you must first upgrade to 2.2.0
and then upgrade to 2.3.0.
Before you begin
Use Mainframe Assessment Tool version 2.1.0 or later. Earlier versions don't support
upgrades.
Complete all in-progress assessments before you start the upgrade.
If you upgrade while an assessment is in progress, Mainframe Assessment Tool won't
resume the assessment following the upgrade and the assessment can't be
restarted. You must re-upload your application to restart
the assessment. However, your previously completed assessments are preserved.
Confirm that you have superuser privileges on the Mainframe Assessment Tool VM
instance to complete the upgrade.
Upgrade Mainframe Assessment Tool
To upgrade Mainframe Assessment Tool, follow these steps:
In the Google Cloud console, clickActivate Cloud Shell.
DESTINATION_DIRECTORY: the directory in your
Mainframe Assessment Tool VM
where you have downloaded the upgrade script.
VERSION: the Mainframe Assessment Tool version that you
want to upgrade to. The version must be inmainframe-assessment-x-y-zformat; example:mainframe-assessment-2-2-0.
To confirm the upgrade, on theAdmin & Settingspage, refresh the page and
check theVersion.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Upgrade Mainframe Assessment Tool\n\nThis page describes how to upgrade Mainframe Assessment Tool.\n\nLimitations\n-----------\n\nMainframe Assessment Tool supports only sequential upgrades. You can upgrade only to the\nnext immediate version and can't skip intermediate versions. For example,\nto upgrade from version 2.1.0 to 2.3.0, you must first upgrade to 2.2.0\nand then upgrade to 2.3.0.\n\nBefore you begin\n----------------\n\n- Use Mainframe Assessment Tool version 2.1.0 or later. Earlier versions don't support\n upgrades.\n\n- Complete all in-progress assessments before you start the upgrade.\n\n If you upgrade while an assessment is in progress, Mainframe Assessment Tool won't\n resume the assessment following the upgrade and the assessment can't be\n restarted. You must re-upload your application to restart\n the assessment. However, your previously completed assessments are preserved.\n- Confirm that you have superuser privileges on the Mainframe Assessment Tool VM\n instance to complete the upgrade.\n\nUpgrade Mainframe Assessment Tool\n---------------------------------\n\nTo upgrade Mainframe Assessment Tool, follow these steps:\n\n1. In the Google Cloud console, click\n **Activate Cloud Shell**.\n\n [Go to the Google Cloud console](https://console.cloud.google.com/)\n\n \u003cbr /\u003e\n\n2. To connect to the Mainframe Assessment Tool VM, run the following command:\n\n gcloud compute ssh \u003cvar translate=\"no\"\u003eVM_NAME\u003c/var\u003e --tunnel-through-iap\n\n Replace \u003cvar translate=\"no\"\u003eVM_NAME\u003c/var\u003e with the name of the Mainframe Assessment Tool VM.\n3. In the Mainframe Assessment Tool VM's command-line interface, to change your privileges\n to superuser, run the following command:\n\n sudo su\n\n4. To download the upgrade script, run the following command:\n\n gcloud storage cp \"gs://mainframe-ai-release/mat/\u003cvar translate=\"no\"\u003eVM_IMAGE_NAME\u003c/var\u003e/upgrade\" \u003cvar translate=\"no\"\u003eDESTINATION_DIRECTORY\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eVM_IMAGE_NAME\u003c/var\u003e: the name of the VM image that you want to upgrade to. For example, `mainframe-assessment-2-2-0`.\n - \u003cvar translate=\"no\"\u003eDESTINATION_DIRECTORY\u003c/var\u003e: the directory in your Mainframe Assessment Tool VM where you want to download the upgrade script.\n5. To make the script executable, run the following command:\n\n chmod +x \u003cvar translate=\"no\"\u003eDESTINATION_DIRECTORY\u003c/var\u003e/upgrade\n\n Replace \u003cvar translate=\"no\"\u003eDESTINATION_DIRECTORY\u003c/var\u003e with the directory in your\n Mainframe Assessment Tool VM\n6. To start the upgrade, run the following command:\n\n \u003cvar translate=\"no\"\u003eDESTINATION_DIRECTORY\u003c/var\u003e/upgrade \u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e us-docker.pkg.dev/migrate-modernize-public/mainframe-assessment-prod\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDESTINATION_DIRECTORY\u003c/var\u003e: the directory in your Mainframe Assessment Tool VM where you have downloaded the upgrade script.\n - \u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e: the Mainframe Assessment Tool version that you want to upgrade to. The version must be in `mainframe-assessment-x-y-z` format; example: `mainframe-assessment-2-2-0`.\n7. To confirm the upgrade, on the **Admin \\& Settings** page, refresh the page and\n check the **Version**.\n\nWhat's next\n-----------\n\n- Learn how to [configure settings for Mainframe Assessment Tool](/mainframe-assessment-tool/docs/configure-settings)."]]