Recovered from the older tannerjc.net wiki snapshot dated January 23, 2016.

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/html/Installation_Guide/s1-sync-iss.html

  • At least two RHN Satellite 5.3 or greater servers
  • At least one RHN Satellite populated with at least one channel
  • Master RHN Satellite SSL certificate available on each of the slave RHN Satellites for secure connection
[root@deadmau5 ~]# wget http://192.168.2.58/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm.bak
--2010-09-03 10:45:40--  http://192.168.2.58/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm.bak
Connecting to 192.168.2.58:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4592 (4.5K) [application/x-rpm]
Saving to: `rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm.bak'

100%[=================================================================] 4,592       --.-K/s   in 0.003s

2010-09-03 10:45:40 (1.69 MB/s) - `rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm.bak' saved [4592/4592]

[root@deadmau5 ~]# rpm -ivh rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:rhn-org-trusted-ssl-cer########################################### [100%]
[root@deadmau5 ~]# rpm -ql rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
package rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm is not installed
[root@deadmau5 ~]# rpm -ql rhn-org-trusted-ssl-cert
/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
[root@deadmau5 ~]# ls /usr/share/rhn/RHN*
/usr/share/rhn/RHN-GPG-KEY  /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT  /usr/share/rhn/RHNS-CA-CERT
[root@satellite ~]# fgrep dead /etc/rhn/rhn.conf
allowed_iss_slaves= deadmau5.dj.edm
[root@satellite ~]# fgrep dead /etc/hosts
192.168.2.19	deadmau5.dj.edm		deadmau5
[root@deadmau5 ~]# fgrep satellite /etc/hosts
192.168.2.58	satellite.sat53.net	satellite
[root@deadmau5 ~]# satellite-sync --iss-parent=satellite.sat53.net --ca-cert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --list-channels
10:55:52 Red Hat Network Satellite - live synchronization
10:55:52    url: https://satellite.sat53.net
10:55:52    debug/output level: 1
10:55:52    db:  rhnsat/password@rhnsat
10:55:52
10:55:52 Retrieving / parsing channel-families data
10:55:53 channel-families data complete
10:55:53
10:55:53 Retrieving / parsing channel data
10:56:00    p = previously imported/synced channel
10:56:00    . = channel not yet imported/synced
10:56:00    base-channels:
10:56:00       . clone-rhel-x86_64-server-5-old-kernel    9074
10:56:00       . dev-michaels-rhel-x86_64-server-5        9515
10:56:00       . example-rhel-x86_64-server-5-2010-06-30  9559
10:56:00       . jb-middleware                               0
10:56:00       . jtanner-rhel5-gold-server-x86_64         2797
10:56:00       . jtanner-rhel5-u1-server-x86_64           2857
10:56:00       . jtanner-rhel5-u2-server-x86_64           2944
10:56:00       . jtanner-rhel5-u3-server-x86_64           2985
10:56:00       . jtanner-rhel5-u4-server-x86_64           3040
10:56:00       . jtanner-rhel5-u5-server-x86_64           3116
10:56:00       . rhel-i386-as-4                           7684
10:56:00       . rhel-x86_64-server-5                     9852
10:56:00       . rhel-x86_64-server-5.3.z                 7387
10:56:00       . rhel-x86_64-server-5.4.z                 8712
10:56:00       . rhel4-adobe-flash                           3
10:56:00    dev-michaels-rhel-x86_64-server-5:
10:56:00       . dev-michaels-rhn-tools-rhel-x86_64-server-5  431
10:56:00       . dev-oracle-rhel-5                          12
10:56:00    example-rhel-x86_64-server-5-2010-06-30:
10:56:00       . example-rhn-tools-rhel-x86_64-server-5-2010-06-30  431
10:56:00    rhel-x86_64-server-5:
10:56:00       . rhel-x86_64-server-cluster-5              135
10:56:00       . rhel-x86_64-server-vt-5                   347
10:56:00       . jbappplatform-5-x86_64-server-5-rpm         0
10:56:00       . oracle-xorg                                 0
10:56:00       . rhel-x86_64-server-cluster-storage-5      169
10:56:00       . rhel-x86_64-server-5-rhdirserv-8           46
10:56:00       . rhn-tools-rhel-x86_64-server-5            431
10:56:00       . jbappplatform-4.3.0-x86_64-server-5-rpm   280
10:56:00
    Import complete:
        Begin time: Fri Sep  3 10:55:51 2010
        End time:   Fri Sep  3 10:56:00 2010
        Elapsed:    0 hours, 0 minutes, 8 seconds

Mismatched Versions

  • master = 5.3
  • slave = 5.4
[root@54emb ~]# satellite-sync --iss-parent=satellite.sat53.net --ca-cert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --list-channels
17:34:53 Red Hat Network Satellite - live synchronization
17:34:53    url: https://satellite.sat53.net
17:34:53    debug/output level: 1
17:34:56    db:  rhnsat/password@rhnsat
17:34:56
17:34:56 Retrieving / parsing channel-families data
+++ sending log as an email +++

SYNC ERROR:

(Check logs/email for potentially more detail)

Error Message:
    Client version 3.6 does not match server version 3.4
Error Class Code: 3012
Error Class Info: Mismatching versions
2010/11/29 17:34:56 -04:00
SYNC ERROR:

Exception reported from 54emb.sat.net
Time: Mon Nov 29 17:34:56 2010
Exception type satellite_tools.syncLib.RhnSyncException

Exception Handler Information
Traceback (most recent call last):
  File /usr/bin/satellite-sync, line 143, in main
    return satsync.Runner().main()
  File /usr/share/rhn/satellite_tools/satsync.py, line 226, in main
    ret = method()
  File /usr/share/rhn/satellite_tools/satsync.py, line 294, in _step_channel_families
    self.syncer.processChannelFamilies()
  File /usr/share/rhn/satellite_tools/satsync.py, line 605, in processChannelFamilies
    channel-families)
  File /usr/share/rhn/satellite_tools/satsync.py, line 484, in _process_simple
    stream = method()
  File /usr/share/rhn/satellite_tools/xmlWireSource.py, line 210, in getChannelFamilyXmlStream
    return self._openSocketStream(dump.channel_families, (self.systemid,))
  File /usr/share/rhn/satellite_tools/xmlWireSource.py, line 174, in _openSocketStream
    raise RhnSyncException, lastErrorMsg
RhnSyncException:
Error Message:
    Client version 3.6 does not match server version 3.4
Error Class Code: 3012
Error Class Info: Mismatching versions