Installing Docker UCP and DTR on RHEL VMs
The following playbooks are used to install Docker UCP and DTR on RHEL VMs.
playbooks/config_storage_driver.ymlprepares drives for local Docker volumes and container images. It also configures Docker with either theoverlay2storage driver (the default). This playbook was previously calledplaybooks/config_docker_lvs.ymlin earlier releases of the solution.playbooks/install_docker.ymlinstalls Docker along with all of its dependencies.playbooks/install_rsyslog.ymlinstalls and configures rsyslog in the logger node and in all Docker nodes. The logger node will be configured to receive allsyslogson port 514 and the Docker nodes will be configured to send all logs (including container logs) to the logger node.playbooks/docker_post_config.ymlperforms a variety of tasks to complete the installation of the Docker environment, including configuration of the HTTP/HTTPS proxies, if any, and installation of the VMware vSphere Storage for Docker volume plugin.playbooks/install_nfs_server.ymlinstalls and configures an NFS server on the NFS node.This playbook has been updated to configure a third drive which is used to hold the data of the persistent volumes created with the NFS provisioner. This default size for this drive is purposefully kept small because using the NFS VM to store persistent volumes is not recommended for production use. However, this can be useful for demo purposes.
playbooks/install_nfs_clients.ymlinstalls the required packages on the Docker nodes to be able to mount an NFS share.playbooks/create_main_ucp.ymlinstalls and configures the first Docker UCP instance on the target node defined by the groupucp_mainin thehostsinventory.playbooks/scale_ucp.ymlinstalls and configures additional instances of UCP on the target nodes defined by the groupucpin thehostsinventory, except for the node defined in the groupucp_main.playbooks/create_main_dtr.ymlinstalls and configures the first Docker DTR instance on the target node defined by the groupdtr_mainin thehostsinventory.playbooks/config_scheduler.ymlconfigures the scheduler to prevent regular users (i.e. non-admin users) scheduling containers on the Docker nodes running instances of UCP and DTR.playbooks/scale_dtr.ymlinstalls and configures additional instances (or replicas) of DTR on the target nodes defined by the groupdtrin thehostsinventory, with the exception of the node defined in the groupdtr_main.playbooks/reconfigure_dtr.ymlis used to reconfigure DTR with the FQDN of the UCP Load Balancer for Single Sign On (SSO) purposes and also enables image scanning.