4.2.2. Synchronizing Content
By default,
katello-disconnected
enables all repositories that are included in the manifest for synchronization. Synchronization time is directly related to the amount of repositories to be synchronized. If the manifest has a large amount of repositories, the synchronization will take time and network resources.
katello-disconnected
allows for the synchronization of specific repositories. This section will set up Pulp for synchronizing content.
- Disable all repositories:
katello-disconnected disable --all
# katello-disconnected disable --all
Copy to Clipboard Copied! Toggle word wrap Toggle overflow katello-disconnected
enables all repositories by default. - Choose which repositories you wish to sync by listing all available repositories from the manifest:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enable the chosen repositories for synchronization:
katello-disconnected enable -r rhel-6-server-sam-rpms-6_4-x86_64
# katello-disconnected enable -r rhel-6-server-sam-rpms-6_4-x86_64
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the repositories and push them to Pulp to allow synchronization:
katello-disconnected configure
# katello-disconnected configure
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
The configure option forkatello-disconnected
reads the manifest, creates pulp repositories, and generates scripts before synchronization. It needs to be run each time a repository is enabled or disabled. - Synchronize the repositories:
katello-disconnected sync
# katello-disconnected sync
Copy to Clipboard Copied! Toggle word wrap Toggle overflow You can use thewatch
option to monitor the synchronization process.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Content is now synchronized.