<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thank  you for the explanation, especially for (3).<br></span></div><div><span><br></span></div><div><span>eva-direct-errata-sync.pl was running well in getting </span><span>channel </span>rhel-i386-server-5 and rhel-i386-as-4 that I got issues when using  rhn-clone-errata.py. It took about 2 to 3 hours as you said.</div><div><br></div><div>One question: If there is no rhel 5 i386 system added to Spacewalk, do the errata for this channel show in Spacewalk's Errata? I don't see them.<br></div><div><br></div><div>Here is what I got from "perldoc eva-direct-errata-sync.pl":<span> "-s satellite.example.org or --sourceserver satellite.example.org. The hostname of the errata source server. This option over rides the ERRATASRC environment variable. If neither this option or the environment variable are specified it
 defaults to access.redhat.com." So if the default source server is 'rhn.redhat.com', you may update the document.<br></span></div><div><br>Great program. Thank you again for your contributions!<br> <br></div><div>nz<br><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Paul Robert Marino <prmarino1@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> fnwsa@yahoo.com; spacewalk-list@redhat.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 16, 2012 1:04:34 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Spacewalk-list] eva-direct-errata-sync.pl -- easier than rhn-clone-errata.py<br> </font> </div> <br> I have 4 comments on how you're running
 it<br>1) The default for --sourceserver is rhn.redhat.com so you don't need<br>to specify it unless you are syncing from an other spacewalk server.<br>2) The --verbose flag is for debugging only and its output is really<br>not meant for normal use and may be disturbing if you don't understand<br>it<br>3) After the initial sync adding a the --startfromprevious option<br>really does speed it up<br><br>That being said depending on how your database is tuned and how fast<br>your box is it shouldn't take more than two or three hours for the<br>initial sync to complete.<br><br><br>On Thu, Aug 16, 2012 at 10:16 AM,  <<a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>> wrote:<br>> Thank Robert and Paul for your instructions.<br>><br>> The eva-direct-errata-sync.pl is running now (don't know how long it will<br>> take). See these:<br>><br>> # perl eva-direct-errata-sync.pl<br>>
 --sourceuser=rhnusername \<br>> --destinationuser=spacewalkusername \<br>> --sourcepassword=rhnpassword \<br>> --destinationpassword=spacewalkpassword \<br>> --sourcechannel=rhel-i386-server-5 \<br>> --destinationchannel=spacewalk_channel_rhel_5_i386 \<br>> --sourceserver=access.redhat.com \<br>> --destinationserver=localhost \<br>> --recursive \<br>> --verbose<br>> No bugzilla url specified setting to the default<br>> "<a href="https://bugzilla.redhat.com/" target="_blank">https://bugzilla.redhat.com/</a>"<br>> connecting to "<a href="https://access.redhat.com/rpc/api/" target="_blank">https://access.redhat.com/rpc/api/</a>" with username<br>> "rhnusername"<br>> 404 Not Found<br>><br>> Change access.redhat.com to rhn.redhat.com in sourceserver.<br>><br>> # perl eva-direct-errata-sync.pl<br>> --sourceuser=rhnusername \<br>> --destinationuser=spacewalkusername<br>>
 --sourcepassword=rhnpassword \<br>> --destinationpassword=spacewalkpassword \<br>> --sourcechannel=rhel-i386-server-5 \<br>> --destinationchannel=spacewalk_channel_rhel_5_i386 \<br>> --sourceserver=rhn.redhat.com \<br>> --destinationserver=localhost \<br>> --recursive \<br>> --verbose<br>> running......<br>><br>> nz<br>><br>> ________________________________<br>> From: "Boyd, Robert" <<a ymailto="mailto:Robert.Boyd@peoplefluent.com" href="mailto:Robert.Boyd@peoplefluent.com">Robert.Boyd@peoplefluent.com</a>><br>> To: "<a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>" <<a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>><br>> Sent: Wednesday, August 15, 2012 5:09:44 PM<br>> Subject: RE: [Spacewalk-list] rhn-clone-errata.py running issue<br>><br>> To read the documentation  do this> Perldoc
 <scriptname><br>><br>> Here is a sample invocation:<br>><br>> less /usr/local/bin/spacewalk-errata-sync<br>> source ~/.bash_profile<br>> echo `date` Syncing Spacewalk Errata<br>> #export FROMDATE=-F week<br>> export FROMDATE="-D `/usr/local/bin/errata_end_date`"<br>> export SYNCOPTIONS="--verbose --recursive ${FROMDATE}"<br>> # ERRATA[SRC|DST][USER|PASS] are defined in .bash_profile<br>> #echo syncing scientific linux<br>> #time /path/to/scripts/eva-direct-errata-sync.pl --sourceuser=username<br>> --destinationuser=username -r -c "rhel-x86_64-server-6" -C "sci-linux-6_2"<br>> -e RH -E SL6 -F week<br>> echo "Errata Sync Options: ${SYNCOPTIONS}"<br>> echo `date` syncing RHEL 6<br>> time /usr/local/bin/eva-direct-errata-sync.pl<br>> --sourcechannel=rhel-x86_64-server-6<br>> --destinationchannel=rhel-x86_64-server-6 ${SYNCOPTIONS}<br>> echo `date` syncing RHEL 5 x86_64<br>> time
 /usr/local/bin/eva-direct-errata-sync.pl<br>> --sourcechannel=rhel-x86_64-server-5<br>> --destinationchannel=rhel-x86_64-server-5 ${SYNCOPTIONS}<br>> echo `date` syncing RHEL 4 x86_64<br>> time /usr/local/bin/eva-direct-errata-sync.pl<br>> --sourcechannel=rhel-x86_64-es-4 --destinationchannel=rhel-x86_64-server-4<br>> ${SYNCOPTIONS}<br>> echo `date` syncing RHEL 5 i386<br>> time /usr/local/bin/eva-direct-errata-sync.pl<br>> --sourcechannel=rhel-i386-server-5 --destinationchannel=rhel-i386-server-5<br>> ${SYNCOPTIONS}<br>> echo `date` syncing RHEL 4 i386<br>> time /usr/local/bin/eva-direct-errata-sync.pl --sourcechannel=rhel-i386-es-4<br>> --destinationchannel=rhel-i386-server-4 ${SYNCOPTIONS}<br>><br>> From: <a ymailto="mailto:spacewalk-list-bounces@redhat.com" href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a><br>> [mailto:<a
 ymailto="mailto:spacewalk-list-bounces@redhat.com" href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>] On Behalf Of <a ymailto="mailto:fnwsa@yahoo.com" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a><br>> Sent: Wednesday, August 15, 2012 4:25 PM<br>> To: <a ymailto="mailto:spacewalk-list@redhat.com" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>> Subject: Re: [Spacewalk-list] rhn-clone-errata.py running issue<br>><br>> Hi Paul,<br>><br>> I've just downloaded your script eva-direct-errata-sync.pl and trying to use<br>> it. Is there a README or HowTo document that users can use? Thanks a lot!<br>><br>> nz<br>><br>><br>><br>><br>> _______________________________________________<br>> Spacewalk-list mailing list<br>> <a ymailto="mailto:Spacewalk-list@redhat.com" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>> <a
 href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br><br><br> </div> </div>  </div></body></html>