Product SiteDocumentation Site

6.6. Synchronizing by Organization

Satellite-sync has a new enhancement as part of the Inter-Satellite sync feature where a user can import content to any specific organization. This can be done locally or by a remote syncing from Hosted or another Satellite.
The aim is for Satellite sync to be able to import content with respect to org_id. This targets two sets of users. One is the disconnected Multi-Org case, where the main source of content for the user is either to get content from channel dumps or to export them from connected satellites and import it to the Satellite. The user mainly hosts custom channels from disconnected satellites. If they wish to export custom channels from connected satellites, they can do so by organizational sync.
The other case is a connected Multi-Org satellite customer. These new flags could work as a means of moving content between multiple orgs.
Synchronizing by organization has a few rules that it follows to maintain the integrity of the source organization.
The following are three example scenarios where organizational IDs (orgid) are used to synchronize between Satellites:
  1. Import content from master to slave satellite:
    satellite-sync --parent-sat=master.satellite.example.com -c channel-name --orgid=2
    
  2. Import content from an exported dump of a specific org:
    $ satellite-sync -m /dump -c channel-name --orgid=2
    
  3. Import content from RHN Hosted (assuming the system is registered and activated:
    $ satellite-sync -c channel-name