Server maintenance can be any one of the following: Host-OS upgrade, security patches, kernel updates, and so on. To perform any maintenance on a bare-metal host in an Avi Load Balancer Linux server cloud, the user must perform one or more of the following recommended procedures, as appropriate to the situation.
Procedure for Server Hosting Service Engine(s)
Deactivate the affected SE by navigating to
.Log into the host upon which maintenance is to be performed.
Execute:
systemctl stop avise systemctl stop docker
Perform whatever host maintenance is required.
Start Docker and Avi Load Balancer Services by executing:
systemctl start docker systemctl start avise
Enable the Service Engine by navigating to
.
You need to perform one server maintenance at a time if you are performing server maintenance on bare-metal hosts containing Controllers.
Procedure for Server Hosting Controller(s)
Log into the host upon which maintenance is to be performed.
Execute:
systemctl stop avicontroller systemctl stop docker
Perform whatever host maintenance is required.
Start Docker and Avi Load Balancer Services by executing:
systemctl start docker systemctl start avicontroller
Procedure for Server Hosting Both Controller(s) and Service Engine(s)
Disable the affected SEs affected by navigating to
.Log into the host upon which maintenance is to be performed.
systemctl stop avise systemctl stop avicontroller systemctl stop docker
Perform whatever host maintenance is required.
Start Docker and Avi Load Balancer Services by executing:
systemctl start docker systemctl start avicontroller systemctl start avise
Enable Service Engine(s) by navigating to
.
- Use the
systemctl restart avise
command for triggering SE container restart from the host. Do not use thedocker restart avise
command, this command is not recommended. The recommended method is to stop all the SE services before container is restarted. This flow is followed bysystemctl
and hence is the recommended way to trigger container reboot. - For CentOS/RHEL 8.1 or later versions, the Avi Controller/Service Engine is deployed as a Podman container. Replace the Docker commands listed here by the equivalent Podman commands.
- Stopping Docker/Podman can cause disruption of services that are dependent on Docker/Podman in the system.