IN THIS ARTICLE
Outlines how to upgrade an unconfigured Qumulo on GCP to a more recent software version
REQUIREMENTS
- An unconfigured Qumulo node on GCP running Qumulo Core 2.14.0 or above
- A .qimg file for the version of software that your new node can be upgraded to via our Product Releases page
- GCP Console Access
- Command line (QQ CLI) tools installed via API & Tools in the Web UI
DETAILS
One of the perks of hosting your storage in the cloud is the ability to dynamically add more as your storage needs increase. Starting up a new node is a simple process; if the new node uses an older version of Qumulo Core than your cluster, it must be upgraded before you can add it. The process of upgrading a new node is simply a matter of starting the node up and then upgrading it via the QQ CLI. Once the node's software version matches the one your deployment uses, you can add it to your cluster.
NOTE: For details on how to launch a new node, check out the Qumulo in GCP: Launch a New Node for an Existing Cloud Cluster article.
Upgrade an Unconfigured Node
To upgrade the node, you'll need to upload the upgrade .qimg to a node-accessible location. For Google Cloud, we recommend uploading the .qimg file to Google Cloud Object Storage and then generating a pre-signed object URL.
- Obtain a .qimg file for the version of software that your new node can be upgraded to via our Product Releases page.
-
Upload the upgrade file by running the following command with the gsutil cli utility configured and authenticated:
gsutil cp <local qimg file path> <object path>
- Generate a pre-signed URL to grant the new node permission to read the upgrade file. Note that this pre-signed URL is used in the steps below. Keep in mind that this step is unnecessary if the node has permission to access the object directly (e.g. permission inherited through the VPC).
gsutil signurl <service account key file path> <object path>
- Connect to the new node via ssh using its IP address.
ssh admin@node_IP_address
- Prepare the upgrade by running the following command using the path to the upgrade image you previously uploaded.
qq upgrade_config_set --path <pre-signed URL to qimg> --target "prepare"
- Use the following command to monitor the ‘prepare’ status until it returns UPGRADE_PREPARED.
qq upgrade_status --monitor
- Once you see UPGRADE_PREPARED, run the following command to start the upgrade.
qq upgrade_config_set --path <pre-signed URL to qimg> --target "arm"
- The node will restart after a few minutes after completing the upgrade. Check that the upgrade was successful by running the following command and verifying the new version number.
qq version
Your node has been upgraded! Once the software versions match between the cluster and the new node, you can successfully add it to your cluster using the Qumulo in GCP: Add a Node to an Existing Cloud Cluster article as a guide. If the new node is still running an older version, repeat this process with subsequent upgrades until the versions match.
Troubleshooting
If you are unable to successfully upgrade your unconfigured node, test that the node can access the qimg file.
- Connect to the new node via ssh using its IP address.
ssh admin@node_IP_address
- Run the following command to verify access:
curl "<object url>" --range 0-10
If the curl command above does not work and you receive an error, attempt the following:
- Use a pre-signed URL (if not already)
- Check that the object is accessible from another computer in the same VPC via the same URL
Once you no longer receive an error using the curl command above, re-attempt to upgrade the node. If the upgrade is unsuccessful again, contact Qumulo Care.
RESOLUTION
You should now be able to successfully upgrade an unconfigured Qumulo node on GCP
ADDITIONAL RESOURCES
Qumulo in GCP: Launch a New Node for an Existing Cloud Cluster
Qumulo in GCP: Add a Node to an Existing Cloud Cluster
Qumulo in GCP: Deploy a Cloud Cluster
Like what you see? Share this article with your network!
Comments
0 comments
Please sign in to leave a comment.