> Hello,
>
> I am stumped on how to get the local mirror I made of the Dell
> repository to work.
>
> I have the portions of the repository mirrored that correspond to our
> hardware (not the full tree).
>
> Is there some guidance to creating the client's repo file so that my
> machines grab from my mirror, instead of over the internet?
>
> I think I am missing something simple here.
>
> Thanks a lot,
>
Here's the solution working for me,
1. Mirror dell repo according to your hardware and OS (2950, R410 and R710
in my case for hardware, and RHEL only for OS)
rsync -avHz --delete-after --delete-excluded  --include pe2950/ --include
per410/ --include per710 --exclude "/hardware/OMSA_5.*/" --exclude
"/hardware/OMSA_6.0.*/" --exclude "/hardware/OMSA_6.1/" --exclude
/hardware/beta/ --exclude "suse1*/" --exclude "rh40*/" --exclude
"pe[[:digit:]]*/" --exclude "pe[rmt][[:digit:]]*/" 
rsync://linux.dell.com/repo/hardware /path/to/local/mirror
    The local mirror space is 7.3G here.

2. Create yum repo config
[dell-omsa-indep]
name=Dell OMSA repository - Hardware independent
type=rpm-md
baseurl=http://localmirror/dell/hardware/latest/platform_independent/rh50_64
gpgcheck=1
gpgkey=http://localmirror/dell/hardware/latest/RPM-GPG-KEY-dell
    http://localmirror/dell/hardware/latest/RPM-GPG-KEY-libsmbios
enabled=1
failover=priority
bootstrapurl=http://localmirror/dell/hardware/latest/bootstrap.cgi

[dell-omsa-specific]
name=Dell OMSA repository - Hardware specific
type=rpm-md
baseurl=http://localmirror/dell/hardware/latest/per710/rh50_64
gpgcheck=1
gpgkey=http://localmirror/dell/hardware/latest/RPM-GPG-KEY-dell
    http://localmirror/dell/hardware/latest/RPM-GPG-KEY-libsmbios
enabled=1
failover=priority
bootstrapurl=http://localmirror/dell/hardware/latest/bootstrap.cgi

    Note, the above is for a R710 server with Centos x86_64 OS, thus the
/rh50_64 in the baseurl of dell-omsa-indep, and /per710/rh50_64 in the
baseurl of dell-omsa-specific. You should modify yours according to
your server's specification and OS.

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to