Prerequisites¶
Before bootstrapping a VMware vSphere-based management cluster, complete the following prerequisite steps:
Verify that your planned cloud configuration meets the reference hardware bill of material and software requirements as described in Requirements for a VMware vSphere-based cluster.
Verify that your planned cloud configuration meets the deployment resources requirements.
Configure Ubuntu or RHEL on the bootstrap node:
For Ubuntu:
Log in to any personal computer or VM running Ubuntu 20.04 that you will be using as the bootstrap node.
If you use a newly created VM, run:
sudo apt-get update
Install the current Docker version available for Ubuntu 20.04:
sudo apt install docker.io
Grant your
USER
access to the Docker daemon:sudo usermod -aG docker $USER
Log off and log in again to the bootstrap node to apply the changes.
Verify that Docker is configured correctly and has access to Container Cloud CDN. For example:
docker run --rm alpine sh -c "apk add --no-cache curl; \ curl https://binary.mirantis.com"
The system output must contain no error records. In case of issues, follow the steps provided in Troubleshooting.
For RHEL:
Log in to a VM running RHEL 7.9 or 8.7 TechPreview that you will be using as a bootstrap node.
If you do not use RedHat Satellite server locally in your infrastructure and require all Internet access to go through a proxy server, including access to RedHat customer portal, configure proxy parameters for
subscription-manager
using the example below:subscription-manager config \ --server.proxy_scheme=$SCHEME \ --server.proxy_hostname=$HOST \ --server.proxy_port=$PORT \ --server.proxy_user=$USER \ --server.proxy_password=$PASS \ --server.no_proxy=$NO_PROXY
Caution
In MITM proxy deployments, use the internal Red Hat Satellite server to register RHEL machines so that a VM can access this server directly without a MITM proxy.
Attach the RHEL subscription using
subscription-manager
.Install the following packages:
sudo yum install yum-utils wget vim -y
For RHEL 7.9, verify that the
extras
repository is enabled:sudo yum-config-manager --enable rhel-7-server-extras-rpms
Add the Docker mirror according to the operating system major version (
7
for 7.9 and8
for 8.7 TechPreview). Provide the proxy URL, if required, or set to_none_
.sudo cat <<EOF > /etc/yum.repos.d/docker-ee.repo [docker-ee] name=Docker EE gpgcheck=0 enabled=1 priority=1 baseurl=https://repos.mirantis.com/rhel/RHEL_MAJOR_VERSION/x86_64/stable-20.10/ proxy=PROXY EOF
Install and configure Docker:
sudo yum install docker-ee -y sudo systemctl start docker sudo chmod 666 /var/run/docker.sock
Verify that Docker is configured correctly and has access to Container Cloud CDN. For example:
docker run --rm alpine sh -c "apk add --no-cache curl; \ curl https://binary.mirantis.com"
The system output must contain no error records. In case of issues, follow the steps provided in Troubleshooting.
Note
If you require all Internet access to go through a proxy server for security and audit purposes, configure Docker proxy settings as described in the official Docker documentation.