Project

General

Profile

InterServerSync » History » Revision 2

Revision 1 (Chris Duryee, 10/27/2015 11:26 AM) → Revision 2/34 (Chris Duryee, 10/27/2015 11:36 AM)

h1. InterServerSync 

 h3. What is ISS? 

 Inter-Server Sync is a feature designed to help users in two scenarios: 

  * users who have a connected Foreman/Katello instance and disconnected Foreman/Katello, who want to propogate data from the connected side of their network to the disconnected side. 
  * users who have a "main" Foreman/Katello and want to propogate some data (but not all data) to other instances. One example is for users who have "blessed" content views that are validated by the IT department, and want to propogate those down elsewhere. 

 h3. Goals 

 Roughly, phase 1 is the "get it working" phase where we have a demoable end-to-end scenario that works via hammer and web UI. After that, we will collect feedback and move on to phase 2. Phase 3 will be for support of additional content types and new types of foreman/katello data. 


 h4. Phase 1 "get it working" goals 

  * allow exporting and importing of products and Library content views 
  * export/import can occur via hammer and web UI, but some filesystem-level access is needed for accessing yum repo exports (scp, http, etc) 
  * only yum is supported 
  * incremental dumps are supported 

 Note: phase 1 replaces katello-disconnected script, and solves problem that Spacewalk solves with Inter-Spacewalk Sync 

 h4. Phase 2 "optimization" goals 

  * API clean up to allow for bulk export/import with only a few server calls 
  * allow export and import without filesystem access to machine (hammer or web ui can provide download of export and upload of import) 

 h4. Phase 3+ "rinse and repeat" goals 

  * allow exporting and importing of other data (environments, non-library content views, etc) 
  * support for ostree, docker, puppet content 


 h3. Phase 1 Design 

 There are two areas that need to be updated for phase 1. We need to allow for exporting and importing of yum repo data (including incremental updates), and we need to allow for exporting and importing of product and library CV data. The former is largely provided by Pulp, and the latter is provided by hammer-cli-csv. 

 We will need to add the Pulp export distributor on newly created yum repos. Additionally, existing repos will need to have the export distributor added in via migration. 

 h4. Hammer design