How to create a multi-version RHEL local mirror
I want to limit internet access for YUM updates using RHEL4, RHEL5, RHEL6 to a single server.
Currently have a RHEL 5 Server x86_64 mirror in place created from reposync and createrepo commands.
The rhel-x86_64-server-5 channel is the default for the server.
Everything went well installing a single mirror for the default channel.
The mirror is syncing fine with RHN.
Clients can yum update from the server's mirror.
Is it possible to add another channel, for example RHEL 4 workstation i386, to the server?
Disk space is not a concern.
All of my machines have proper RH licensing.
This is strickly a desire to have a single outside world access point with respect to keeping packages updated.
My problem is getting the reposync command to download the RHEL4 rpms into a second mirror.
This command works:
reposync --gpgcheck -l --repoid=rhel-x86_64-server-5 --download_path=/rhel5-server-x86_64
this command does nothing:
reposync --gpgcheck -l --repoid=rhel-i386-ws-4 --download_path=/rhel4-ws-i386
I would really like to go with the reposync method rather than the mrepo method.
thanks,
BP