Hi Jim, I currently rsync the latest branch/x86_64. Then I have cobbler manage both my kickstart templates and our internal yum repo.
Cobbler is a frontend that manages the repo with commands with createrepo. Good luck with your setup! Cheers, Benjamin Coles Senior Systems Engineer Stanford University - School of Medicine On Dec 1, 2010, at 9:27 AM, "Jim Goddard" <[email protected]> wrote: > Hi Frank, and everyone who chimed in to help me out. > > I was hoping to avoid having model-specific .repo files for our servers, but > I really like the idea of having the local rsync of the dell tools, so I am > going to test a fairly simple addition to our kickstart that pulls the model > info and gets the repo file correct. > > Thanks again for all the help, > > Jim > -----Original Message----- > From: Frank Wang [mailto:[email protected]] > Sent: Tuesday, November 30, 2010 5:36 PM > To: Jim Goddard > Cc: [email protected] > Subject: Re: Local mirror of OMSA repository > >> 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 _______________________________________________ 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
