InterServerSync » History » Version 1
Chris Duryee, 10/27/2015 11:26 AM
1 | 1 | Chris Duryee | h1. InterServerSync |
---|---|---|---|
2 | |||
3 | h3. Goals |
||
4 | |||
5 | 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. |
||
6 | |||
7 | |||
8 | h4. Phase 1 "get it working" goals |
||
9 | |||
10 | * allow exporting and importing of products and Library content views |
||
11 | * export/import can occur via hammer and web UI, but some filesystem-level access is needed for accessing yum repo exports (scp, http, etc) |
||
12 | * only yum is supported |
||
13 | * incremental dumps are supported |
||
14 | |||
15 | Note: phase 1 replaces katello-disconnected script, and solves problem that Spacewalk solves with Inter-Spacewalk Sync |
||
16 | |||
17 | h4. Phase 2 "optimization" goals |
||
18 | |||
19 | * API clean up to allow for bulk export/import with only a few server calls |
||
20 | * allow export and import without filesystem access to machine (hammer or web ui can provide download of export and upload of import) |
||
21 | |||
22 | h4. Phase 3+ "rinse and repeat" goals |
||
23 | |||
24 | * allow exporting and importing of other data (environments, non-library content views, etc) |
||
25 | * support for ostree, docker, puppet content |
||
26 | |||
27 | |||
28 | h3. Phase 1 Design |
||
29 | |||
30 | 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. |
||
31 | |||
32 | 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. |
||
33 | |||
34 | h4. Hammer design |