Ensure that all appropriate ports are enabled, including ports that XClarity Administrator requires (see Port availability).
Ensure that the host system is in the same network as the devices that you want to manage.
Ensure that the host OS and the XClarity Administrator use the same NTP server.
XClarity Administrator allows a custom name for the network to be used for data management, hardware management, and OS deployment (see Network configurations). This examples in the following procedure use eth0.
Ensure that a macvlan network is loaded into kernel on the host system. To check whether it is loaded, use the lsmod | grep macvlan command. To load macvlan into the kernel, run the modprobe macvlan command.
Ensure that you use a unique name and IP address for each container when running multiple XClarity Administrator containers on the same host.
If you intend to manage ThinkServer and other legacy devices, ensure that Docker is enabled to support IPv6.
Edit the /etc/docker/daemon.json file, set the ipv6 key to true, and set the fixed-cidr-v6 key to your IPv6 subnet.
Reload the Docker configuration file by running the following command.
systemctl reload docker
Note
XClarity Administratoris not run as a privileged container.
Firewall rules are not configured in the XClarity Administrator container. To add firewall rules for the container on the host system, complete these steps.
Obtain the Docker process ID, identified by “NSPID,” by running the following command.
Configure appropriate iptables rules by running the following command.
ip netns exec $NSPID iptables -I OUTPUT -j DROP
Ensure all links are removed by running the following command..
/bin/rm -f "$LINKFILE"
Procedure
To install an XClarity Administrator container using Docker compose, complete the following steps.
Download the XClarity Administrator virtual-appliance image, environment file, and YAML file from the XClarity Administrator download webpage to a client workstation. 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 docker_compose.yml, and update the following properties.
Set the image property to the name of the installation image file used in step 2.
Note
You can change the image file name (for example, to “latest”) using the docker tag command.
If you want to use remote shares as a remote firmware repository and to store XClarity Administrator backups, set the host mount point for each remote share in the volumes property.
Set the dns property to the IP address of the DNS servers.
The container shares the pool of processor and memory resources that are available to the host. Optionally define limits on resource usage by setting the cpus and memory properties.
Set the parent property to the network interface name on the host system that is to be used as the parent interface for macvlan interface in the container. This interface must have direct access to the subnet that is assigned to the container.
Set the subnet and gateway according to your network topology. Typically, the subnet and the gateway are for management network, to which the ${ADDRESS} belongs.
If you want to support IPv6, set the enable_ipv6 property to true, set the ipv6_address property to the IPv6 address, and add another set of subnet and gateway properties according to your network topology (typically for management network to which the IPv6 address belongs).
Note
XClarity Administrator uses macvlan to configure the container network. For more information, see the Use macvlan networks webpage
The following is an example YML file, with IPv6 enabled.
Deploy the image in docker by running the following command, where <ENV_FILENAME> is the name of the environment variables file that you created in step 2.
COMPOSE_HTTP_TIMEOUT=300 docker-compose –p ${CONTAINER_NAME} ––env–file <ENV_FILENAME> up -d