Purpose

  • Before you can deploy Ceph RADOS Gateway for version 15.2.x (Octopus) by UVS Manager, please follow the following steps to prepare the necessary software packages on your x86 hosts. 
  • The 7479 and 7480 TCP Ports will be used and should be accessible from UVS Ceph Cluster.
  • Prepare the x86 server host for RGW(Debian or Ubuntu 18.04)

    1. Required tools:
      • Systemd

      • Podman or Docker for running containers

      • Time synchronization (such as chrony or NTP)

    2. Install docker-ce 
    3. Install cephadm and other prerequisites
      1. Download cephadm script and modify its file permissions

        # curl --silent \
        --remote-name --location \
        https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm
        # chmod +x cephadm



      2. Install cephadm and ceph-comon(options, not necessary for create service)

        ## Debian Buster for example
        # ./cephadm add-repo --release 15.2.5
        ## On Debian buster, key too old, clean it before install
        # rm /etc/apt/trusted.gpg.d/ceph.release.gpg
        # wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
        # apt-get update
        # ./cephadm install
        # ./cephadm install ceph-common

            

      3. Get the CEPH container Image

        ## Get last ceph Image
        # docker pull ceph/ceph:v15.2.5
        # docker image tag ceph/ceph:v15.2.5 ceph/ceph:v15

          

      4. Check Ceph environment

        # cephadm check-host
        INFO:cephadm:podman|docker (/usr/bin/docker) is present
        INFO:cephadm:systemctl is present
        INFO:cephadm:lvcreate is present
        INFO:cephadm:Unit systemd-timesyncd.service is enabled and running
        INFO:cephadm:Host looks OK


  • For RGW hosts that use CentOS 8

  • dnf install -y python3
    dnf install -y yum-utils
    yum-config-manager \
        --add-repo \
        https://download.docker.com/linux/centos/docker-ce.repo
    yum install -y docker-ce docker-ce-cli containerd.io
    curl --silent \
    --remote-name --location \
    https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm
    chmod +x cephadm
    ./cephadm add-repo --release 15.2.5
    dnf makecache
    ./cephadm install 
    ./cephadm install ceph-common
    systemctl enable --now docker
    systemctl enable --now chronyd
    cephadm pull
    cephadm check-host
    INFO:cephadm:podman|docker (/usr/bin/docker) is present
    INFO:cephadm:systemctl is present
    INFO:cephadm:lvcreate is present
    INFO:cephadm:Unit chronyd.service is enabled and running
    INFO:cephadm:Host looks OK