This article will cover how to update your PetaSAN nodes to the latest version. It may be necessary to perform this when standing up a second cluster with the intent of replicating data between the two.
- An installed and configured PetaSAN based Ceph cluster
- PuTTy or similar SSH utility to SSH into the PetaSAN nodes
- Admin credentials for each node
- Internet access
- SSH into the terminal via PuTTy or another preferred SSH utility and log in with Admin credentials
- Ensure the nodes are pointing towards our dedicated 45Drives repository under “PetaSAN updates” by running the following command:
- Once this is verified, we run the command:
This command gives us a list of all the packages that can be updated and prepares everything to be updated.
- To make updating easier and require less interaction from the user, we’ll be applying the following
Since it’s likely there will be many packages that need to be updated, we’ll be making this update process occur without user input.
- Now it’s time to apply the updates to everything. Run the following command and type “y” to continue.
apt -o Dpkg::Options::="--force-confdef" upgrade
- We will not install the PetaSAN update with the following command:
apt install petasan
Make sure everything is installed with the following command
dpkg -s petasan | grep Version