Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split synchronizing content by sync type #2118

Closed
adamlazik1 opened this issue Apr 3, 2023 · 7 comments
Closed

Split synchronizing content by sync type #2118

adamlazik1 opened this issue Apr 3, 2023 · 7 comments

Comments

@adamlazik1
Copy link
Contributor

Copying comment from #2004 (comment):

It seems like this entire section is in the wrong place.

There are three types of ISS:

"Export sync" (a.k.a air-gapped / fully disconnected) - use hammer content-export and hammer content-import and move files manually via sneakernet
"Network sync" - use the connected Satellite as the Red Hat CDN URL for the "disconnected" Satellite (which still has a network connection to the connected Satellite, but may not have a connection to the Internet)
Syncable exports & imports - use hammer content-export --format syncable
All of the sections in this chapter, "Synchronizing content between Satellites", are about Export sync. This is the only one that's about Network Sync, and it's in the middle of all the other stuff about Export sync.

Ideally, I think each of the three strategies should have its own documentation section, along with an overview that helps the user decide which one to use. Thoughts?

@maximiliankolb
Copy link
Contributor

What's the third type of ISS?

  • Export sync: ✔️
  • Network sync: ✔️
  • ???
  • misusing (?) ISS for backups: is that somehow possible?

In general, I'd be open to moving the thing to a standalone guide with a bit more context on when to use which procedure. It's currently part of the Managing Content guide. Note that build target "satellite" renders things a bit differently.

If we "just" split it into three assemblies, I'd also consider this a true improvement!

cc @bangelic

@bangelic
Copy link
Contributor

I believe the third type of ISS is Syncable exports & imports - use hammer content-export --format syncable.

@maximiliankolb
Copy link
Contributor

What the intented use case for this? Does it overlap with the other two use cases above? Is it for backups?

@adamlazik1
Copy link
Contributor Author

I believe @jeremylenz could provide more insight.

@jeremylenz
Copy link
Contributor

jeremylenz commented Apr 17, 2023

It's always been three "types of ISS" in my mind because it's three different ways of getting content from one Satellite to another. But as far as what the physical connections look like, there are only two.

ISS use case Physical configuration What you select in Manifest modal on the disconnected Satellite How you transfer data between Satellites
Pulpcore import/export Fully disconnected (Air-gapped) Export Sync hammer content-export
Syncable exports/imports Fully disconnected (Air-gapped) Export Sync hammer content-export --format syncable
Network Sync "Disconnected" Network Sync The "disconnected" Satellite consumes content from the connected Satellite
Physical configuration Description
Fully disconnected (Air-gapped) The disconnected Satellite is physically disconnected from the internet and all other networks.
"Disconnected" The "disconnected" Satellite cannot communicate with the Internet, but can communicate over the network with the connected Satellite.

To answer your questions @maximiliankolb, none of these use cases have backups in mind. They are all for operating Satellites that are disconnected from the Internet. For the fully disconnected (air-gapped) configuration, Syncable import/export has some advantages over pulpcore import/exports, mainly that you don't have to have matching Satellite versions.

cc @parthaa who may have more commentary.

@parthaa
Copy link
Contributor

parthaa commented Apr 17, 2023

As @jeremylenz said. I'd categorize both regular Import/Export & Syncable Import/Export as Export Sync (as jeremy's table indicates).

@maximiliankolb
Copy link
Contributor

docs triage: @adamlazik1 We currently have https://docs.theforeman.org/nightly/Managing_Content/index-katello.html#Synchronizing_Content_Between_Servers_content-management split by sync type and an appendix on how to configure it: https://docs.theforeman.org/nightly/Managing_Content/index-katello.html#Configuring-ISS_content-management

Closing this issue for now unless there's an urgent issue/major benefit to restructure it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants