Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Updating nodes

Hi,

On one of the upgrade guides I saw that running "apt-get upgrade" was done.

Is it okay / advised to update the packages this way on the nodes?

Thanks!

Will

please refer to online update guide

Yea, that's what I was talking about, some of the earlier versions suggested using "apt-get upgrade". The newer one does not.

Will it cause any issues if I keep my nodes updated using apt in this way, or is it advised against? Our policy is generally to keep servers updated to the latest versions of packages to reduce the possibility of bugs and vulnerabilities.

Many thanks,

Will

The earlier online update method was

apt update
export DEBIAN_FRONTEND=noninteractive
apt -y -o Dpkg::Options::="--force-confdef" upgrade
apt -y install petasan

The new method

/opt/petasan/scripts/online-updates/update.sh

The new method fetches the update script online then executes it, currently the fetched script is exactly the same as the earlier method, so essentially they are the same. It is recommended to use the new method as it is possible we add special cases like an upgrade to future Ubuntu 22.04 which will require more handling.

Hi,

Thanks for the reply.

Outside of updating PetaSAN, is it recommend or advised to periodically update other packages with apt?

When I set up my cluster for testing I did this after installing PetaSAN, and there were a number of packages that got updated, but I want to be sure when I rebuild the cluster for production use that doing this will not have any adverse effects.

Will