Installing the repository mirror

Use this procedure to install the Zenoss repository mirror on a Control Center host. The mirror contains packages that are required on all Control Center hosts.
  1. Log in to the target host as root, or as a user with superuser privileges.
  2. Move the RPM files and the Zenoss GPG key file to /tmp.
  3. Install the repository mirror.
    yum install /tmp/yum-mirror-*.rpm
    The yum command copies the contents of the RPM file to /opt/zenoss-repo-mirror.
  4. Optional: Install the Zenoss GPG key, and then test the package files, if desired.
    1. Move the Zenoss GPG key to the mirror directory.
      mv /tmp/RPM-GPG-KEY-Zenoss /opt/zenoss-repo-mirror
    2. Install the key.
      rpm --import /opt/zenoss-repo-mirror/RPM-GPG-KEY-Zenoss
    3. Test the repository mirror package file.
      rpm -K /tmp/yum-mirror-*.rpm
      On success, the result includes the file name and the following information:
      (sha1) dsa sha1 md5 gpg OK
    4. Test the Control Center package file.
      rpm -K /tmp/serviced-1.5.0-1.x86_64.rpm
  5. Optional: Update the configuration file of the Zenoss repository mirror to enable GPG key verification, if desired.
    1. Open the repository mirror configuration file (/etc/yum.repos.d/zenoss-mirror.repo) with a text editor, and then add the following lines to the end of the file.
    2. Save the file, and then close the editor.
    3. Update the yum metadata cache.
      yum makecache fast
      The cache update process includes the following prompt:
      Retrieving key from file:///opt/zenoss-repo-mirror/RPM-GPG-KEY-Zenoss
      Importing GPG key 0xAA5A1AD7:
       Userid     : "Zenoss, Inc. <>"
       Fingerprint: f31f fd84 6a23 b3d5 981d a728 ed0a 5fd2 aa5a 1ad7
       From       : /opt/zenoss-repo-mirror/RPM-GPG-KEY-Zenoss
      Is this ok [y/N]:

      Enter y.

  6. Move the Control Center package file to the mirror directory.
    mv /tmp/serviced-1.5.0-1.x86_64.rpm /opt/zenoss-repo-mirror
  7. Move the Pacemaker resource agents for Control Center to the mirror directory.
    mv /tmp/serviced-resource-agents-1.1.0-1.x86_64.rpm \
  8. Optional: Delete the mirror package file, if desired.
    rm /tmp/yum-mirror-*.rpm