Este conteúdo não está disponível no idioma selecionado.
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 Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. From the Synchronization Status screen, press
dr:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.2. Displaying running synchronizations Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. From the Synchronization Status screen, press
rr:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.3. Viewing the details of the last repository synchronization Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto 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:
Enter value (1-66) or 'b' to abort:
Enter value (1-66) or 'b' to abort:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
A similar message displays if the selected repository has not been synchronized:
Repo: Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) No syncs have been completed for this repository.
Repo: Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) No syncs have been completed for this repository.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.4. Synchronizing an individual repository immediately Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. From the Synchronization Status screen, press
sr:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Select the repository by entering the value beside the repository name. Enter one repository selection at a time before confirming your product selection:
x 714: Error 2021-11-17 20:30:00 Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)
x 714: Error 2021-11-17 20:30:00 Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)Copy to Clipboard Copied! Toggle word wrap Toggle overflow Press
cto confirm: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
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) yCopy to Clipboard Copied! Toggle word wrap Toggle overflow Press
yto proceed:Scheduling sync for Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)... ... successfully scheduled for the next available timeslot.
Scheduling sync for Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)... ... successfully scheduled for the next available timeslot.Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteThis 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 Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. -
From the Synchronization Status screen, press
cato select cancel active sync tasks. Enter the value for the task or tasks that you want to cancel:
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:
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:Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
cto confirm your selection. Press
yto cancel the synchronization task or tasks: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)
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)Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
A similar message displays if you cancel an active synchronization task:
Canceling active task for repo Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) ... ... done
Canceling active task for repo Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) ... ... doneCopy to Clipboard Copied! Toggle word wrap Toggle overflow
5.6. Canceling waiting synchronization tasks Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. -
From the Synchronization Status screen, press
cwto select cancel waiting sync tasks. Enter the value for the task or tasks that you want to cancel:
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. - 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: 1Copy to Clipboard Copied! Toggle word wrap Toggle overflow Press
cto confirm your selection: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
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: cCopy to Clipboard Copied! Toggle word wrap Toggle overflow Press
yto proceed: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
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) yCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
A similar message displays if the cancellation is successful:
Canceling pending task for repo Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI ... ... done
Canceling pending task for repo Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI ... ... doneCopy to Clipboard Copied! Toggle word wrap Toggle overflow The following message displays if there are no pending synchronization tasks:
There are no repositories with pending sync related tasks.
There are no repositories with pending sync related tasks.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.7. Viewing and changing a repository auto-publish status Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. From the Synchronization Status screen, press
ap:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter a value (
1-1631) to toggle the selection,cto confirm selections, or?for more commands: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)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)Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
cto confirm your selection. -
Press
yto proceed.
Verification
A similar message displays when you make and confirm a selection:
Scheduling a task to turn off auto-publish status of repository 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)Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.8. Viewing and advancing repository workflow Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. -
From the Synchronization Status screen, press
wf. Enter a value (
1-1631) to toggle the selection,cto confirm selections, or?for more commands: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)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)Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
yto proceed:
Verification
A similar message displays if the scheduling was successful:
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.
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.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.9. Exporting a repository to the file system Copiar o linkLink copiado para a área de transferência!
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:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
sto select synchronization status and scheduling. -
From the Synchronization Status screen, press
ex. - Enter a value to toggle the selection.
Press
cto confirm the selection:The following repositories will be exported: Red Hat Repositories yum Red Hat Enterprise Linux 8 for ARM 64 - AppStream (Source RPMs) from RHUI (8)The following repositories will be exported: Red Hat Repositories yum Red Hat Enterprise Linux 8 for ARM 64 - AppStream (Source RPMs) from RHUI (8)Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Press
yto proceed.
Verification
A similar message displays if the repository is exported to a file system:
[1/1] Exporting version 1 of the repo 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).Copy to Clipboard Copied! Toggle word wrap Toggle overflow