Chapter 5. Checking synchronization status and scheduling A repository is a storage location for software packages (RPMs). RHEL uses yum commands to search a repository, download, install, and update the RPMs. The RPMs contain all the dependencies needed to run an application. The length of the initial synchronization of Red Hat content can vary. If you choose to synchronize repositories as soon as possible, you can synchronize all repositories in Red Hat Update Infrastructure 4 by running rhui-manager repo sync_all in the CLI. 5.1. Displaying repository synchronization summary You can use the Synchronization Status screen to display information about a particular repository. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press dr : 5.2. Displaying running synchronizations You can use the Synchronization Status screen to check the status on running synchronization tasks. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press rr : 5.3. Viewing the details of the last repository synchronization You can use the Synchronization Status screen to view the details of the last repository synchronization. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press vr . Enter the number for the repository that you want to see details for: Verification A similar message displays if the selected repository has not been synchronized: 5.4. Synchronizing an individual repository immediately The initial synchronization of content can take a while, typically 10 to 20 minutes. If you choose to synchronize repositories as soon as possible, you can synchronize all repositories in Red Hat Update Infrastructure 4 by running rhui-manager repo sync_all in the CLI. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press sr : Select the repository by entering the value beside the repository name. Enter one repository selection at a time before confirming your product selection: Press c to confirm: Press y to proceed: Note This message displays if a task for the selected repository is running. Ignoring sync request for Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) as the repo is currently reserved by a running task. 5.5. Canceling active synchronization tasks Most environments synchronize repositories on a scheduled basis. You may encounter a situation where you need to cancel active synchronization tasks. Prerequisites There are existing repositories. There are active synchronization tasks. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press ca to select cancel active sync tasks . Enter the value for the task or tasks that you want to cancel: Press c to confirm your selection. Press y to cancel the synchronization task or tasks: Verification A similar message displays if you cancel an active synchronization task: 5.6. Canceling waiting synchronization tasks Most environments synchronize repositories on a scheduled basis. You may encounter a situation where you need to cancel pending synchronization tasks. Prerequisites There are existing repositories. There are scheduled synchronization tasks. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press cw to select cancel waiting sync tasks . Enter the value for the task or tasks that you want to cancel: Press c to confirm your selection: Press y to proceed: Verification A similar message displays if the cancellation is successful: The following message displays if there are no pending synchronization tasks: 5.7. Viewing and changing a repository auto-publish status You can use the Synchronization Status screen to look at and modify a repository's auto-publish status. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press ap : Enter a value ( 1 - 1631 ) to toggle the selection, c to confirm selections, or ? for more commands: Press c to confirm your selection. Press y to proceed. Verification A similar message displays when you make and confirm a selection: 5.8. Viewing and advancing repository workflow You can use the Synchronization Status screen to look at and change a repository's workflow. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press wf . Enter a value ( 1 - 1631 ) to toggle the selection, c to confirm selections, or ? for more commands: Press y to proceed: Verification A similar message displays if the scheduling was successful: 5.9. Exporting a repository to the file system Note Repositories are exported automatically after the latest synchronization that updated their contents. You can use the Synchronization Status screen to forcibly export a repository to a file system at any time. Procedure Navigate to the Red Hat Update Infrastructure Management Tool home screen: Press s to select synchronization status and scheduling . From the Synchronization Status screen, press ex . Enter a value to toggle the selection. Press c to confirm the selection: Press y to proceed. Verification A similar message displays if the repository is exported to a file system:

Commands:
rhui-manager
-= Repository Summary Synchronization Status =- Last Refreshed: 02:01:22 (updated every 5 seconds, ctrl+c to exit) Last Sync Last Result ------------------------------------------------- Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI (8) Never None . . Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) 2021-07-29 17:45:41 Running Associating Content: 11001 (97%) Downloading Artifacts: 7376
rhui-manager
Last Refreshed: 02:06:46 (updated every 5 seconds, ctrl+c to exit) Current Sync Result ------------------------------------------------- Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) 2021-07-29 17:45:41 Running Associating Content: 11001 (97%) Downloading Artifacts: 7376
rhui-manager
Enter value (1-66) or 'b' to abort:
Repo: Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) No syncs have been completed for this repository.
rhui-manager
Select one or more repositories to schedule to be synchronized before its scheduled time. The sync will happen as soon as possible depending on other tasks that may be executing in the RHUI. Sync requests for repositories with tasks in running or pending state will be ignored. Last Result Next Sync Repository -------------------------------------------------
x 714: Error 2021-11-17 20:30:00 Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)
The following repositories will be scheduled for synchronization: Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4) Proceed? (y/n) y
Scheduling sync for Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4) ... successfully scheduled for the next available timeslot.
rhui-manager
Select one or more repositories for which you want to cancel their active tasks. - 1: Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands:
The active tasks will be canceled for the following repositories: Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) Proceed? (y/n)
Canceling active task for repo Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) ... done
rhui-manager
Select one or more repositories for which you want to cancel their pending tasks. - 1: Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1
Select one or more repositories for which you want to cancel their pending tasks. x 1: Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
The pending tasks will be canceled for the following repositories: Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI Proceed? (y/n) y
Canceling pending task for repo Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI ... done
There are no repositories with pending sync related tasks.
rhui-manager
rhui (sync) => ap Select one or more repositories to toggle the auto-publish status. The operation will be executed as soon as possible depending on other tasks that may be executing in the RHUI. Status | Repository -------------------------------------------------------------------------- Select one or more repositories: Custom Repositories Red Hat Repositories: yum - 713: AUTO Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.3) - 714: AUTO Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4) - 719: AUTO Red Hat Enterprise Linux 8 for ARM 64 - AppStream (Source RPMs) from RHUI (8.3) - 720: AUTO Red Hat Enterprise Linux 8 for ARM 64 - AppStream (Source RPMs) from RHUI (8.4)
The following repositories will have their auto-publish status changed: Red Hat Repositories yum Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8)
Scheduling a task to turn off auto-publish status of repository Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8)
rhui-manager
The following repositories will be scheduled for workflow push: Red Hat Repositories yum Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)
Scheduling a task for generating metadata version 0 for repo Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4) ... task scheduled.
rhui-manager
The following repositories will be exported: Red Hat Repositories yum Red Hat Enterprise Linux 8 for ARM 64 - AppStream (Source RPMs) from RHUI (8)
[1/1] Exporting version 1 of the repo Red Hat Enterprise Linux 8 for ARM 64 - AppStream (Source RPMs) from RHUI (8).