<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Dave,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you use RHN or Spacewalk to manage your OS updates, you could use <a href="http://linux.dell.com/dell-satellite-sync/">http://linux.dell.com/dell-satellite-sync/</a>. You can import repos for specific distributions and specific&nbsp; hardware, and I suppose it could be easily tweaked to just rsync specific repos without importing them to RHN/Spacewalk.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span lang=FR style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#404040'>Jose De la Rosa<o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=FR style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#404040'>Linux Engineering</span></b><b><span lang=FR style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#0085C3'>Dell</span></b><b><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#1F497D'> </span></b><b><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#404040'>| Enterprise Solutions Group</span></b><b><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#0070C0'><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> linux-poweredge-bounces-Lists <b>On Behalf Of </b>David.Harding@brighthouse.co.uk<br><b>Sent:</b> Monday, January 21, 2013 5:35 AM<br><b>To:</b> jean-marc vizier<br><b>Cc:</b> linux-poweredge-bounces-Lists; linux-poweredge-Lists<br><b>Subject:</b> Re: [Linux-PowerEdge] Mirror OMSA repository<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I get this kind of error quite frequently, preceded by:</span> <br><tt><span style='font-size:7.5pt'>rsync: failed to connect to linux.dell.com: Connection refused (111)</span></tt> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I have no idea what the problem is, but I seem to get connected as often as not, so I'm not that bothered.</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>On the subject of the rsync script, does anyone have a reliable way of selecting just the Packages relevant to their distro(s) and particular Hardware?</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I have a great long list of rsync --includes and --excludes in an attempt to limit the download to just 64-bit RHEL, the limited set of Dell HW I have, and just the latest few versions of OMSA. I figure that there must be a better way; is there?</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Cheers,</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>dave</span> <br><br><br><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>From: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;jean-marc vizier&quot; &lt;jvizier@gmail.com&gt;</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>To: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;Mike Hanby&quot; &lt;mhanby@uab.edu&gt;, </span><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Cc: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&lt;linux-poweredge@dell.com&gt;</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Date: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>20/01/2013 16:17</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Subject: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Re: [Linux-PowerEdge] Mirror OMSA repository</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&lt;linux-poweredge-bounces@dell.com&gt;</span> <o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="100%" noshade style='color:gray' align=center></div><p class=MsoNormal><br><br><br>Hello Mike,<br><br>Thanks for the script. <br><br>It seems not to be a script problem. Mine was ok for months. For me it seems to be load problem on remote side but i'm not sure.<br><br>After some days, it's ok.<br><br>I doesn't need all omsa versions and dell platforms so i cut in all.<br><br>Best regards,<br><br><br><br>2013/1/15 Mike Hanby &lt;<a href="mailto:mhanby@uab.edu" target="_blank">mhanby@uab.edu</a>&gt; <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>Here's the script I use in case it helps, it's successfully pulling the latest 7.2:</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>#!/bin/bash</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>distrib=dell</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>basedir=/repo</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>outputdir=$basedir/mirror/${distrib}</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>lockfile=$basedir/${distrib}-rsync_updates.lock</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>if [ -f ${lockfile} ]; then</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp; echo &quot;Updates via rsync already running, lock file exists: ${lockfile}&quot;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp; exit 0</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>fi</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>if [ -d ${outputdir} ] ; then</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp; cd ${outputdir}</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp; touch ${lockfile}</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp; # This line will mirror the entire repo, which is over 30G</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp; su - repoadmin -c &quot;rsync -aHz --delete-after --delete-excluded \</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux.dell.com::repo/ ${outputdir}/&quot;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'># 20111024 - MJH - Dell's repo doesn't contain vital symlinks to create the .htaccess files</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>#&nbsp; Create them if they don't exist (currently in community and OMSA_ directories</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp; for dir in community $(ls -d hardware/OMSA_*); do</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp;&nbsp; cd ${outputdir}/${dir}</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp; &nbsp;&nbsp;&nbsp;if [ ! -L &quot;.htaccess&quot; ] ; then ln -s _tools/htaccess_repo_topdir .htaccess; fi</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp;&nbsp; cd _tools</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp;&nbsp; if [ ! -L &quot;.htaccess&quot; ] ; then ln -s htaccess_tools .htaccess; fi</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp;&nbsp; cd ${outputdir}</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp; done</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp; /bin/rm -f ${lockfile}</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp; # Set the permissions of the files</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp; chmod -R go+r,go-w ${outputdir}</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>else</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;&nbsp;&nbsp; echo &quot;Target directory $outputdir not present.&quot;</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>fi</span> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080'>&nbsp;</span> <o:p></o:p></p><p><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> </span><a href="mailto:linux-poweredge-bounces@dell.com" target="_blank"><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>linux-poweredge-bounces@dell.com</span></a><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> [mailto:</span><a href="mailto:linux-poweredge-bounces@dell.com" target="_blank"><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>linux-poweredge-bounces@dell.com</span></a><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>] <b>On Behalf Of </b>jean-marc vizier<b><br>Sent:</b> Monday, January 14, 2013 3:09 AM<b><br>To:</b> </span><a href="mailto:linux-poweredge@dell.com" target="_blank"><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>linux-poweredge@dell.com</span></a><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>Subject:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> [Linux-PowerEdge] Mirror OMSA repository</span> <o:p></o:p></p><p>&nbsp; <o:p></o:p></p><p>Hello, <o:p></o:p></p><p>Since 2013/01/10 i can't rsync the OMSA repository. Is there something change on the server side ? <o:p></o:p></p><p>here is the error i get :<br><br>rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9] <o:p></o:p></p><p>The only thing i know : on this date the OMSA 7.2 was added. <o:p></o:p></p><p>If someone has a clue ? <o:p></o:p></p><p>Regards, <o:p></o:p></p><p>Jean-Marc <o:p></o:p></p><p><tt><span style='font-size:10.0pt'>_______________________________________________</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>Linux-PowerEdge mailing list</tt><br><tt>Linux-PowerEdge@dell.com</tt><br></span><a href="https://lists.us.dell.com/mailman/listinfo/linux-poweredge"><tt><span style='font-size:10.0pt'>https://lists.us.dell.com/mailman/listinfo/linux-poweredge</span></tt></a><o:p></o:p></p><p><br>-------------------------------------------------------------------------------------------<br>Caversham Finance Limited, registered in England No 0785922 Registered office:<br>Hercules Way, Leavesden Park, Watford WD25 7GS <br>Caversham Trading Limited, registered in England No 05396147 Registered office:<br>Hercules Way, Leavesden Park, Watford WD25 7GS <br>BrightHouse Limited, registered in England No 06073794 Registered office:<br>Hercules Way, Leavesden Park, Watford WD25 7GS <o:p></o:p></p></div></body></html>