Keeping VirtFusion Up to Date
Services
When VirtFusion is initially installed, several important services are installed alongside the main software. It's important to keep these services up to date.
Due to how VirtFusion is built and functions, it's not always possible to automate service updates at root level. It is your responsibility to make sure services stay up to date.
When updating any of your hypervisors or control server, it's important to make sure there are no tasks running. Use Maintenance Mode.
Control Server
The following command will update the most important services required for VirtFusion to run on a control server.
Debian/Ubuntu
Install updates:
apt-get update -y && apt-get install --only-upgrade vf-nginx vf-php8 vf-control-wss -y
Restart services:
The following command will restart all the services. If only one service was updated, you only need to restart that service.
systemctl restart vf-php8-fpm vf-control-wss vf-nginx
RHEL
Install updates:
dnf makecache -y && dnf update vf-nginx vf-php8 vf-control-wss -y
Restart services:
The following command will restart all the services. If only one service was updated, you only need to restart that service.
systemctl restart vf-php8-fpm vf-control-wss vf-nginx
Hypervisors
The following command will update the most important services required for VirtFusion to run on hypervisors.
Debian/Ubuntu
Install updates:
apt-get update -y && apt-get install --only-upgrade vf-nginx vf-php8 vf-system-php8 -y
Restart services:
The following command will restart all the services. If only one service was updated, you only need to restart that service.
systemctl restart vf-php8-fpm vf-system-php8-fpm vf-nginx
RHEL
Install updates:
dnf makecache -y && dnf update vf-nginx vf-php8 vf-system-php8 -y
Restart services:
The following command will restart all the services. If only one service was updated, you only need to restart that service.
systemctl restart vf-php8-fpm vf-system-php8-fpm vf-nginx