Updating nodes
wluke
66 Posts
January 11, 2022, 11:58 amQuote from wluke on January 11, 2022, 11:58 amHi,
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
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
admin
2,930 Posts
January 11, 2022, 12:54 pmQuote from admin on January 11, 2022, 12:54 pmplease refer to online update guide
please refer to online update guide
wluke
66 Posts
January 11, 2022, 3:16 pmQuote from wluke on January 11, 2022, 3:16 pmYea, 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
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
admin
2,930 Posts
January 11, 2022, 5:14 pmQuote from admin on January 11, 2022, 5:14 pmThe 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.
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.
wluke
66 Posts
January 12, 2022, 8:24 amQuote from wluke on January 12, 2022, 8:24 amHi,
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
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
Updating nodes
wluke
66 Posts
Quote from wluke on January 11, 2022, 11:58 amHi,
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
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
admin
2,930 Posts
Quote from admin on January 11, 2022, 12:54 pmplease refer to online update guide
please refer to online update guide
wluke
66 Posts
Quote from wluke on January 11, 2022, 3:16 pmYea, 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
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
admin
2,930 Posts
Quote from admin on January 11, 2022, 5:14 pmThe earlier online update method was
apt update
export DEBIAN_FRONTEND=noninteractive
apt -y -o Dpkg::Options::="--force-confdef" upgrade
apt -y install petasanThe 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.
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.
wluke
66 Posts
Quote from wluke on January 12, 2022, 8:24 amHi,
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
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