Updating XClarity Administrator as a container
When running Lenovo XClarity Administrator as a 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
To update XClarity Administrator as a Docker container from v4.0 to v4.1, see Updating XClarity Administrator v4.0 to v4.1 as a container.
You cannot update from an earlier version of XClarity Administrator as a Docker container to XClarity Administrator v4.0. Instead you must install the full image of XClarity Administrator v4.0 (see Installing Lenovo XClarity Administrator in a Docker, CentOS, Citrix, Red Hat KVM, Rocky, Ubuntu, VMware ESXi, or Windows Hyper-V environment).
To manage XClarity Administrator v4.0 or later instances using Lenovo XClarity Orchestrator, XClarity Orchestrator v2.0 or later is required. If you are updating XClarity Administrator to v4.0 or later, ensure that XClarity Orchestrator is already at v2.0 or later.
About this task
The docker-compose.yml file uses the following environment variables, which you set up during the installation of the original container. These environment variables are also used by the new container.
CONTAINER_NAME. Unique container name, used to create docker volumes for each XClarity Administrator instance (for example, CONTAINER_NAME=LXCA-203)
XClarity Administrator uses the container name to create the volumes for the container. If you use the same container name for the new container, the new XClarity Administrator instance will use to the same volumes and therefore have access to the same system data and settings as the original XClarity Administrator instance (container).
If you change the container name, new volumes are created for the container, and the new XClarity Administrator instance will not have access to the same system data and settings as the original XClarity Administrator instance (container). If you need to change the container name or IP address, backup the system data and settings for the original XClarity Administrator instance before installing the new container, and then use that backup to restore the system data and setting in the new container.
ADDRESS. Static IPv4 or IPv6 address for the container (for example, ADDRESS=192.0.2.0)
Changing the XClarity Administrator IP address after managing devices might cause the devices to be placed in offline state in XClarity Administrator. Ensure that all devices are unmanaged before changing the IP address.
BACKUP_MOUNT and FIRMWARE_MOUNT. (Optional) Paths for the remote shares that can be used to store XClarity Administrator backups or used as a remote repository for firmware updates. The paths must be /mnt/backup_share and /mnt/fw_share, respectively.
Procedure
To update an XClarity Administrator container, complete the following steps.