{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: +One would mirror the Condor YUM repository with these commands. There are +large files in this repo and it could take a while to perform the copy. + +{code} +> mkdir <path>/yum +> cd <path>/yum +> rsync -av rsync://parrot.cs.wisc.edu/condor-yum-development condor-yum-development +> rsync -av rsync://parrot.cs.wisc.edu/condor-yum-stable condor-yum-stable +> rsync -av rsync://parrot.cs.wisc.edu/condor-yum-repo.d condor-yum-repo.d +{endcode} + +The finished directory structure will look like this: + *: =<path>/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. +*::::=/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. +*::::=/repodata= - The index files for this portion of the repo. *:::::=/filelists.xml.gz= *:::::=/other.xml.gz= *:::::=/primary.xml.gz= @@ -56,7 +65,7 @@ *::=/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. +*::::=/repodata= - The index files for this portion of the repo. *:::::=/filelists.xml.gz= *:::::=/other.xml.gz= *:::::=/primary.xml.gz= @@ -75,6 +84,8 @@ *:::=/condor-stable-rhel5.repo= - A Repo Description File Now we must modify the repo files to point to the mirrored repository. +These changes allow YUM requests against the mirror site to get the +right files from the right place. 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 @@ -101,4 +112,4 @@ {subsection: Collaborators known to mirror the Condor YUM repository} -*: LIGO +*: LigoCollaboration