[Spacewalk-list] Synchronize Spacewalk Server

Frank Paulick frank.paulick at baaderbank.de
Thu Oct 17 11:41:25 UTC 2013


Hi Michael,

in my understanding it's all there what should be needed to get this 
imported:
as a side note, on the new spacewalk server "/mnt/sv2653" is 
"/data/spacewalk"

[root at sv2653 ~]# ls -al /data/spacewalk/
total 48
drwxr-xr-x   12 root root 4096 Oct 15 17:57 .
drwxr-xr-x.   6 root root 4096 Oct 16 11:28 ..
drwxr-xr-x    2 root root 4096 Oct 17 11:07 arches
drwxr-xr-x    2 root root 4096 Oct 17 11:07 blacklists
drwxr-xr-x    2 root root 4096 Oct 17 11:07 channel_families
drwxr-xr-x   25 root root 4096 Oct 15 18:07 channels
drwxr-xr-x   12 root root 4096 Oct 15 17:57 errata
drwxr-xr-x    2 root root 4096 Oct 17 11:33 kickstart_trees
drwxr-xr-x    2 root root 4096 Oct 17 11:07 orgs
drwxr-xr-x  102 root root 4096 Oct 15 17:03 packages
drwxr-xr-x  102 root root 4096 Oct 15 16:27 packages_short
drwxr-xr-x  102 root root 4096 Oct 15 16:32 rpms
[root at sv2653 ~]# ls -al /data/spacewalk/channel*
/data/spacewalk/channel_families:
total 12
drwxr-xr-x  2 root root 4096 Oct 17 11:07 .
drwxr-xr-x 12 root root 4096 Oct 15 17:57 ..
-rw-r--r--  1 root root  388 Oct 17 11:07 channel_families.xml.gz

/data/spacewalk/channels:
total 100
drwxr-xr-x 25 root root 4096 Oct 15 18:07 .
drwxr-xr-x 12 root root 4096 Oct 15 17:57 ..
drwxr-xr-x  2 root root 4096 Oct 17 11:07 epel-el5-x64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 epel-el6-x64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 jpackage-5
drwxr-xr-x  2 root root 4096 Oct 17 11:07 mysql-5.5.el5-x64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 mysql-5.5.el6-x64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel5-i386
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel5-i386-optional
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel5-i386-updates
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel5-x86_64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel5-x86_64-optional
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel5-x86_64-updates
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel6-i386
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel6-i386-optional
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel6-i386-updates
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel6-x86_64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel6-x86_64-optional
drwxr-xr-x  2 root root 4096 Oct 17 11:07 rhel6-x86_64-updates
drwxr-xr-x  2 root root 4096 Oct 17 11:07 spacewalk-client-el5-i386
drwxr-xr-x  2 root root 4096 Oct 17 11:07 spacewalk-client-el5-x64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 spacewalk-client-el6-i386
drwxr-xr-x  2 root root 4096 Oct 17 11:07 spacewalk-client-el6-x64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 spacewalk-server-el6-x64
drwxr-xr-x  2 root root 4096 Oct 17 11:07 spacewalk-x64
[root at sv2653 ~]# ls -al /data/spacewalk/channels/rhel6-x86_64*
/data/spacewalk/channels/rhel6-x86_64:
total 228
drwxr-xr-x  2 root root   4096 Oct 17 11:07 .
drwxr-xr-x 25 root root   4096 Oct 15 18:07 ..
-rw-r--r--  1 root root   9973 Oct 17 11:07 channel.xml.gz
-rw-r--r--  1 root root 209259 Oct 17 11:07 comps.xml.gz

/data/spacewalk/channels/rhel6-x86_64-optional:
total 16
drwxr-xr-x  2 root root 4096 Oct 17 11:07 .
drwxr-xr-x 25 root root 4096 Oct 15 18:07 ..
-rw-r--r--  1 root root 7776 Oct 17 11:07 channel.xml.gz

/data/spacewalk/channels/rhel6-x86_64-updates:
total 20
drwxr-xr-x  2 root root  4096 Oct 17 11:07 .
drwxr-xr-x 25 root root  4096 Oct 15 18:07 ..
-rw-r--r--  1 root root 10235 Oct 17 11:07 channel.xml.gz

[root at sv2653 ~]# satellite-sync -l -m /data/spacewalk/
13:40:18 Spacewalk - file-system synchronization
13:40:18    mp:  /data/spacewalk
13:40:18    db:  rhnuser/<password>@rhnschema
13:40:18
13:40:18 Retrieving / parsing channel-families data
13:40:18 channel-families data complete
13:40:18
13:40:18 Retrieving / parsing product names data
13:40:18
13:40:18 Retrieving / parsing channel data
13:40:19    p = previously imported/synced channel
13:40:19    . = channel not yet imported/synced
13:40:19    base-channels:
13:40:19       . rhel5-i386 2475       full import from Thu Oct 17 
11:07:22 2013
13:40:19       . rhel5-x86_64 3285       full import from Thu Oct 17 
11:07:22 2013
13:40:19       . rhel6-i386 2844       full import from Thu Oct 17 
11:07:22 2013
13:40:19       . rhel6-x86_64 3648       full import from Thu Oct 17 
11:07:21 2013
13:40:19       . spacewalk-x64 142       full import from Thu Oct 17 
11:07:22 2013
13:40:19    rhel5-i386:
13:40:19       . rhel5-i386-optional 157       full import from Thu Oct 
17 11:07:22 2013
13:40:19       . rhel5-i386-updates 2797       full import from Thu Oct 
17 11:07:22 2013
13:40:19    rhel5-x86_64:
13:40:19       . epel-el5-x64 7461       full import from Thu Oct 17 
11:07:22 2013
13:40:19       . mysql-5.5.el5-x64 9       full import from Thu Oct 17 
11:07:22 2013
13:40:19       . rhel5-x86_64-optional 194       full import from Thu 
Oct 17 11:07:22 2013
13:40:19       . rhel5-x86_64-updates 3645       full import from Thu 
Oct 17 11:07:22 2013
13:40:19    rhel6-i386:
13:40:19       . rhel6-i386-optional 0       full import from Thu Oct 17 
11:07:22 2013
13:40:19       . rhel6-i386-updates 2942       full import from Thu Oct 
17 11:07:22 2013
13:40:19       . spacewalk-client-el6-i386 22       full import from Thu 
Oct 17 11:07:22 2013
13:40:19    rhel6-x86_64:
13:40:19       . epel-el6-x64 9941       full import from Thu Oct 17 
11:07:21 2013
13:40:19       . jpackage-5 2633       full import from Thu Oct 17 
11:07:21 2013
13:40:19       . mysql-5.5.el6-x64 9       full import from Thu Oct 17 
11:07:21 2013
13:40:19       . rhel6-x86_64-optional 2911       full import from Thu 
Oct 17 11:07:21 2013
13:40:19       . rhel6-x86_64-updates 3795       full import from Thu 
Oct 17 11:07:21 2013
13:40:19       . spacewalk-client-el6-x64 22       full import from Thu 
Oct 17 11:07:21 2013
13:40:19       . spacewalk-server-el6-x64 142       full import from Thu 
Oct 17 11:07:21 2013
13:40:19    spacewalk-x64:
13:40:19       . spacewalk-client-el5-i386 21       full import from Thu 
Oct 17 11:07:22 2013
13:40:19       . spacewalk-client-el5-x64 21       full import from Thu 
Oct 17 11:07:22 2013
13:40:19
     Import complete:
         Begin time: Thu Oct 17 13:40:18 2013
         End time:   Thu Oct 17 13:40:19 2013
         Elapsed:    0 hours, 0 minutes, 0 seconds


What i miss in satellite-sync is a parameter like "-a" for the exporter 
command.

Regards
Frank



On 10/17/2013 01:27 PM, Michael Mraka wrote:
> Frank Paulick wrote:
> % Hi Michael,
> %
> % when runnign the exporter command with "-a" all channels configured
> % are written in the output:
> %
> % rhn-satellite-exporter -a --all-orgs -d /mnt/sv2653/ -c rhel6-x86_64
> % 11:07:18 Gathering channel info...
> % Appending channels ['rhel6-i386', 'rhel6-i386-optional',
> % 'spacewalk-client-el6-x64', 'spacewalk-client-el5-x64',
> % 'epel-el6-x64', 'rhel5-x86_64', 'rhel5-i386-updates',
> % 'rhel5-x86_64-optional', 'spacewalk-client-el6-i386',
> % 'epel-el5-x64', 'rhel6-x86_64-updates', 'rhel6-i386-updates',
> % 'spacewalk-server-el6-x64', 'rhel5-x86_64-updates', 'rhel6-x86_64',
> % 'mysql-5.5.el6-x64', 'jpackage-5', 'spacewalk-x64',
> % 'mysql-5.5.el5-x64', 'rhel5-i386-optional',
> % 'spacewalk-client-el5-i386', 'rhel5-i386', 'rhel6-x86_64-optional']
> % 11:07:18 Gathering binary RPM info...
> %
> % btw. i'm running Spacewalk 2.0
>
> Hi Frank,
>
> Can you see channel xmls in /mnt/sv2653/channels/*/?
> Does satellite-sync -l -m /mnt/sv2653 list any channels?
>
> % Regards
> % Frank
>
> Regards,
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


-- 
beste Grüße,
Frank Paulick

Baader Bank AG
Weihenstephaner Str. 4
85716 Unterschleißheim
Deutschland

Telefon: +49-89/5150-1522
Telefax: +49-89/5150-2421

Email: frank.paulick at baaderbank.de
Internet: http://www.baaderbank.de
           http://www.bondboard.de
******************************************************************************************************
Baader Bank AG: Vorstand: Uto Baader (Vors.), Nico Baader, Dieter Brichmann, Dieter Silmen; Vorsitzender des Aufsichtsrates: Dr. Horst Schiessl; Amtsgericht München HRB 121537; Sitz der Gesellschaft: Unterschleissheim; StNr. 143/100/10066; USt-IdNr. DE114123893.
******************************************************************************************************
Diese Email enthält vertrauliche Informationen. Sollten Sie diese Email irrtümlich erhalten, machen wir Sie darauf aufmerksam, dass jegliche Verwendung strikt untersagt ist. Bitte informieren Sie uns gegebenenfalls unverzüglich und vernichten Sie das Original. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email ist nicht gestattet.
Wir haben alle verkehrsüblichen Maßnahmen unternommen, um das Risiko der Verbreitung virenbefallener Software oder Emails zu minimieren, dennoch raten wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhänge an dieser Nachricht durchzuführen. Wir schließen außer für den Fall von Vorsatz die Haftung für jeglichen Verlust oder Schäden durch virenbefallene Software oder Emails aus.




More information about the Spacewalk-list mailing list