Beruflich Dokumente
Kultur Dokumente
* Installing yum-utils
$ sudo yum install -y yum-utils
Note: After installing the Docker flush the iptables, so that all the required
ports for installing UCP are opened.
$iptables -F
Installing Universal Control Plane (UCP)
https://10.108.118.214.
Note: Once installing the UCP restart the docker service at this point.
Installing Docker Trusted Registry (DTR)
* Docker UCP secures the ucp cluster with role-based access control, so
that only authorized users can perform changes to the cluster.
So, when running docker commands on a UCP node, you need to
authenticate request using client certificates. These certificates can be
imported from the UCP Client Bundle.
* To download a client certificate bundle, log into UCP, and navigate to
your profile page.
Since UCP considers DTR as a node, first add a DTR node in UCP and
then install the DTR(in the DTR server)
Adding the UCP Node:
Navigate to "Nodes" in UCP web application and click "ADD Node",
which gives a command to join the DTR node with UCP
Run the above join command in the server which we need to install DTR
(before running the DTR install Command)
* After adding the node in ucp we can install DTR using DTR Install
Command
$docker run -it --rm \ docker/dtr install \
--ucp-url https://10.108.118.214 \
--ucp-node dtrsb1.sdo.marriott.com \
--dtr-external-url 10.108.118.211 \
--ucp-username admin --ucp-password Work42ls \
--ucp-ca "$(cat ucp-ca.pem)"
* Once the DTR installation is done successfully, DTR application will be
listed in applications section of UCP with a replica ID.
In the similar way many number of DTR Replica's can be added to the
Cluster.