Updating XClarity Administrator v4.0 to v4.1 as a container
When running Lenovo XClarity Administrator as a Docker container, use this update procedure to install the latest software as a new container and bind the volumes of the original container to the new container.
Before you begin
Updating XClarity Administrator from v4.0 to v4.1 as a container requires a special update script to make certain non-persistent file persistent.
The log level is restored to the default after the update completes.
Ensure that a non-root Linux user exists on the host system and that the non-root user can run Docker commands. If not, add the user to the Docker group by running the following commands.
XClarity Administratoris not run as a privileged container.
Procedure
To update an XClarity Administrator container, complete the following steps.
Switch to the non-root user in the Docker group.
Download the XClarity Administrator container image file (do-container-update.sh, docker-compose.env, docker-compose.yml, lnvgy_sw_lxca_ *.tar.gz) from the XClarity Administrator download webpage to your local system in a new directory. Log on to the Web site, and then use the access key that was given to you to download the image.
Import the XClarity Administrator container image into your Docker host by running the following command.
Edit the newdocker-compose.yml file. Update the image property at the top of the file to the file name of the new docker image, and update the networks configurations settings (subnet, gateway, and DNS) to match the values in the originaldocker-compose.yml file.
Upgrade the container image in docker by running the following command, where <ORIGINAL-CONTAINER-IMAGE-PATH> the location of the original container files and, and <NEW-CONTAINER-IMAGE-PATH> is the location where you downloaded the new container image files in step 2.