Prerequisite to follow before install IBM Cloud Private

Before to install IBM Cloud Private you need to prepare your boot node with a set a preinstallation task documented here.

In configuring your cluster follow all the steps are really clear.
In Installing Docker for IBM® Cloud Private you need take care about the right version of docker for ICP V2.1, I'm using docker ce and the latest supported version is 17.0.6 here my steps


  • yum install -y yum-utils   device-mapper-persistent-data   lvm2
  • yum-config-manager     --add-repo     https://download.docker.com/linux/centos/docker-ce.repo
  • yum list docker-ce --showduplicates | sort -r
  • yum install  docker-ce-17.06.2.ce-1.el7.centos.x86_64

Optionally you can configure a differente storage than /var/lib/docker and if you do it before installing docker you can simply follow these command:
  • mkdir /docker
  • mkdir -p /var/lib/docker
  • mount --rbind /docker /var/lib/docker
In test enviroment you can skip this step but in production is really good to have a specifc disk where you place all docker images.

This is the exact sequence of command I did in my prod enviroment on boot server:

  • mkdir /docker
  • mkdir -p /var/lib/docker
  • mount --rbind /docker /var/lib/docker
  • yum install -y yum-utils   device-mapper-persistent-data   lvm2
  • yum-config-manager     --add-repo     https://download.docker.com/linux/centos/docker-ce.repo
  • yum list docker-ce --showduplicates | sort -r
  • yum install  docker-ce-17.06.2.ce-1.el7.centos.x86_64
Hope this help!


Comments

Popular posts from this blog

IBM and Red Hat long story, long love, now married!

MY EXPERIENCE @ HYBRID CLOUD SUMMIT IN ZURICH

Kubernetes Persistent Volumes and Claims