Configuring Cloudera Manager repository

You need to download the Cloudera Manager repository, configure the repository file, and copy the file on all hosts in the cluster. You configure the repository to deploy Cloudera Manager and daemons on the machines.

  1. Download the repository on the host currently running the Ambari server:
    wget https://<username>:<password>@archive.cloudera.com/p/cm7/7.4.4/redhat7/yum/cloudera-manager.repo -P /etc/yum.repos.d/
  2. Configure the repository file to include username and password for the Cloudera paywall:
    # vi /etc/yum.repos.d/cloudera-manager.repo
     
    [cloudera-manager]
    name=Cloudera Manager 7.4.4
    baseurl=https://archive.cloudera.com/p/cm7/7.4.4/redhat7/yum/
    gpgkey=https://archive.cloudera.com/p/cm7/7.4.4/redhat7/yum/RPM-GPG-KEY-cloudera
    username=changeme
    password=changeme
    gpgcheck=1
    enabled=1
    autorefresh=0
    type=rpm-md
  3. Copy the repository file on all hosts in the cluster:
    for host in $(echo \
    ccycloud-2.am2cmhdf.root.hwx.site \
    ccycloud-3.am2cmhdf.root.hwx.site \
    ccycloud-4.am2cmhdf.root.hwx.site \
    ); do scp /etc/yum.repos.d/cloudera-manager.repo $host:/etc/yum.repos.d/cloudera-manager.repo ;done