Page History

Turn Off History

Mirroring the Condor YUM Repository

Motivation

Some of our collaborators in Europe or other continents would like to keep a locally available mirror for the ease of updating their YUM installs of Condor in large pools. Since all of the Condor YUM repository is already publicly available, there is no enforceability to restrict the mirroring of it. Hence it is made available.

UW-Madison Server Configuration

On parrot.cs.wisc.edu, in the /etc/rsyncd.conf file, you will find these configurations. They were set up by the CSL at the Condor Team's request and are maintained by the CSL. The Condor Team uses the usual channels to communicate with the CSL when this configuration needs changing. There should be nothing surprising or confidential in this configuration.

[condor-yum-development]
path=/p/condor/public/html/yum/development
read only = true
uid=nobody
gid=nobody

[condor-yum-stable]
path=/p/condor/public/html/yum/stable
read only = true
uid=nobody
gid=nobody

[condor-yum-repo.d]
path=/p/condor/public/html/yum/repo.d
read only = true
uid=nobody
gid=nobody

Mirror Site Actions

Once the mirror has happened at a site, this is what the mirroring site needs to do. These changes allow YUM requests against the mirror site to get the right files from the right place.

The directory structure of the YUM repo is:

Now we must modify the repo files to point to the mirrored repository.

  1. Modify the store repo files to contain the new url to the RPMs. The files that must be modified are listed. The attribute which needs changing is the baseurl attribute in each of these files. This must point to a fully qualified URL at the local mirror site.
    1. <path>/yum/repo.d/condor-development-rhel4.repo
    2. <path>/yum/repo.d/condor-development-rhel5.repo
    3. <path>/yum/repo.d/condor-stable-rhel4.repo
    4. <path>/yum/repo.d/condor-stable-rhel4.repo
  2. Update index files by executing the following commands. This will create/update the index files for each directory.
    > cd <path>/yum
    > createrepo stable/rhel4
    > createrepo stable/rhel5
    > createrepo development/rhel4
    > createrepo development/rhel5
    
  3. Optionally create a <path>/yum/index.html web page which describes installation directions with links to the mirrored repository. An example of such a page is here. Once this page is created, its URL should be advertised so people can easily find and use the mirror. Note: Do not copy the example page verbatim, as it will point to UW-Madison's YUM repository!

Collaborators known to mirror the Condor YUM repository