{section: Mirroring the Condor YUM Repository} {subsection: 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. {subsection: 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. {code} [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 {endcode} {subsection: 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: *: =/yum= *::=/development= - Contains Development Repositories *:::=/rhel4= - The Rhel 4 release of Condor *::::=/condor-7.5.-*= - The development version RPM files for RHEL4 *::::=/repodata - The index files for this portion of the repo. *:::::=/filelists.xml.gz= *:::::=/other.xml.gz= *:::::=/primary.xml.gz= *:::::=/repomd.xml= *:::=/rhel5= - The Rhel 5 release of Condor *::::=/condor-7.5.-*= - The development version RPM files for RHEL5 *::::=/repodata - The index files for this portion of the repo. *:::::=/filelists.xml.gz= *:::::=/other.xml.gz= *:::::=/primary.xml.gz= *:::::=/repomd.xml= *::=/stable= - Contains Stable Repositories *:::=/rhel4= - The Rhel 4 release of Condor *::::=/condor-7.4.-*= - The stable version RPM files for RHEL4 *::::=/repodata - The index files for this portion of the repo. *:::::=/filelists.xml.gz= *:::::=/other.xml.gz= *:::::=/primary.xml.gz= *:::::=/repomd.xml= *:::=/rhel5= - The Rhel 5 release of Condor *::::=/condor-7.4.-*= - The stable version RPM files for RHEL5 *::::=/repodata= - The index files for this portion of the repo. *:::::=/filelists.xml.gz= *:::::=/other.xml.gz= *:::::=/primary.xml.gz= *:::::=/repomd.xml= *::=/repo.d= - Store repo files that describe the yum repo locations *:::=/condor-development-rhel4.repo= - A Repo Description File *:::=/condor-development-rhel5.repo= - A Repo Description File *:::=/condor-stable-rhel4.repo= - A Repo Description File *:::=/condor-stable-rhel5.repo= - A Repo Description File 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:: =/yum/repo.d/condor-development-rhel4.repo= 1:: =/yum/repo.d/condor-development-rhel5.repo= 1:: =/yum/repo.d/condor-stable-rhel4.repo= 1:: =/yum/repo.d/condor-stable-rhel4.repo= 2: Update index files by executing the following commands. {code} > cd /yum > createrepo stable/rhel4 > createrepo stable/rhel5 > createrepo development/rhel4 > createrepo development/rhel5 {endcode} This will create/update the index files for each directory. {subsection: Collaborators known to mirror the Condor YUM repository} *: LIGO