IN THIS ARTICLE
Outlines how to upgrade an unconfigured Qumulo node in AWS to a more recent version of Qumulo Core
REQUIREMENTS
- An unconfigured Qumulo node in AWS running Qumulo Core 2.12.4 and above
- A .qimg file for the desired software version for your node. This can be obtained via our Product Releases page
- AWS 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.
For details on how to launch a new node, check out the Qumulo in AWS: 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 AWS, we recommend uploading the .qimg file to S3 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 aws cli utility configured and authenticated:
aws s3 cp <local qimg local 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).
aws s3 presign <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 pre-signed URL generated for the upgrade image you uploaded to S3.
qq upgrade_config_set --path <pre-signed URL to qimg> --target "prepare"
- Issue the following command to monitor the ‘prepare’ status and wait for it to return.
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"
- After a few minutes, the node will restart. 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 AWS: 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 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
- Troubleshoot your s3 VPC endpoint connection
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 in AWS
ADDITIONAL RESOURCES
Qumulo in AWS: Launch a New Node for an Existing Cloud Cluster
Qumulo in AWS: Add a Node to an Existing Cloud Cluster
Like what you see? Share this article with your network!
Comments
0 comments
Please sign in to leave a comment.