-
Notifications
You must be signed in to change notification settings - Fork 110
Optimize (CQA) - Managing Content - ACS #4756
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
base: master
Are you sure you want to change the base?
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
|
|
||
| [id="creating-an-rhui-alternate-content-source-by-using-cli"] | ||
| = Creating an RHUI alternate content source by using Hammer CLI | ||
|
|
||
| [role="_abstract"] | ||
| You can create an RHUI alternate content source (ACS) to synchronize content from your Red{nbsp}Hat Update Infrastructure (RHUI) server. | ||
| Leverage your existing RHUI investment and accelerate content synchronization. | ||
|
|
||
| {Project} searches content paths that combine a base URL with subpaths. | ||
| For example, if your base URL is `\https://{server-example-com}` and your subpaths are `rhel10/` and `rhel9/`, then {Project} searches `\https://{server-example-com}/rhel10/` and `\https://{server-example-com}/rhel9/`. | ||
|
|
||
| .Prerequisites | ||
| * The client entitlement certificates for the required repositories are generated on the RHUA node. | ||
| For more information, see {RHDocsBaseURL}red_hat_update_infrastructure/4/html/configuring_and_managing_red_hat_update_infrastructure/assembly_cmg-creating-client-ent-cert-config-rpm_configuring-and-managing-red-hat-update-infrastructure#proc_cmg-creating-client-entitlement-certificate_assembly_cmg-creating-client-ent-cert-config-rpm[Creating a client entitlement certificate with the Red Hat Update Infrastructure Management Tool] in _Configuring and Managing Red Hat Update Infrastructure 4_. | ||
| * The client entitlement certificates are imported into {Project}. | ||
| For more information, see {ContentManagementDocURL}importing-custom-ssl-certificates-by-using-web-ui[Importing {customssl} certificates by using {ProjectWebUI}] in _{ContentManagementDocTitle}_. | ||
| * You have the base URL of the Red{nbsp}Hat Update Infrastructure CDS node. | ||
|
|
||
| .Procedure | ||
| . On your RHUA server, display details for the required repositories: | ||
| + | ||
| [options="nowrap" subs="+quotes,attributes"] | ||
| ---- | ||
| # rhui-manager repo info --repo_id _My_Repo_ID_ | ||
| ---- | ||
| + | ||
| Record the relative paths from the command output to use as subpaths. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The relative path looks as follows according to the RHUI4 docs: If people use it as-is for a subpath, they might get the full URL like: Is that expected?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's been a while since I've looked at RHUI, but the double |
||
| . Create a RHUI alternate content source: | ||
| + | ||
| [options="nowrap" subs="+quotes,attributes"] | ||
| ---- | ||
| $ hammer alternate-content-source create \ | ||
| --alternate-content-source-type rhui \ | ||
| --base-url "_https://rhui-cds-node.example.com/pulp/content_" \ | ||
| --name "_My_ACS_Name_" \ | ||
| --smart-proxy-ids __My_{smart-proxy-context-titlecase}_ID_1__,__My_{smart-proxy-context-titlecase}_ID_2__ \ | ||
| --ssl-client-cert-id _My_SSL_Client_Certificate_ID_ \ | ||
| --ssl-client-key-id _My_SSL_Client_Key_ID_ \ | ||
| --subpaths _path/to/repo/1/,path/to/repo/2/_ \ | ||
| --verify-ssl _true_ | ||
| ---- | ||
| . Refresh the alternate content source: | ||
| + | ||
| [options="nowrap" subs="+quotes,attributes"] | ||
| ---- | ||
| $ hammer alternate-content-source refresh --name "_My_ACS_Name_" | ||
| ---- | ||
|
|
||
| .Verification | ||
| * Verify that the task ran successfully: | ||
| + | ||
| [options="nowrap" subs="+quotes,attributes"] | ||
| ---- | ||
| $ hammer task list --search "Refresh Alternate Content Source" | ||
| ---- | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,31 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
|
|
||
| [id="creating-rhui-alternate-content-sources-by-using-web-ui"] | ||
| = Creating RHUI alternate content sources by using {ProjectWebUI} | ||
| [id="creating-an-rhui-alternate-content-source-by-using-web-ui"] | ||
| = Creating an RHUI alternate content source by using {ProjectWebUI} | ||
|
|
||
| [role="_abstract"] | ||
| You can use RHUI alternate content sources to configure your {SmartProxy} to sync content from a Red{nbsp}Hat Update Infrastructure server. | ||
| You can create an RHUI alternate content source (ACS) to synchronize content from your Red{nbsp}Hat Update Infrastructure (RHUI) server. | ||
| Leverage your existing RHUI investment and accelerate content synchronization. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This feels MARKETING-y. 🙃 non-blocking. |
||
|
|
||
| {Project} searches content paths that combine a base URL with subpaths. | ||
| For example, if your base URL is `\https://{server-example-com}` and your subpaths are `rhel10/` and `rhel9/`, then {Project} searches `\https://{server-example-com}/rhel10/` and `\https://{server-example-com}/rhel9/`. | ||
|
|
||
| .Prerequisites | ||
| * Generate the client entitlement certificates for the required repos on the RHUA node as described in {RHDocsBaseURL}red_hat_update_infrastructure/4/html/configuring_and_managing_red_hat_update_infrastructure/assembly_cmg-creating-client-ent-cert-config-rpm_configuring-and-managing-red-hat-update-infrastructure#proc_cmg-creating-client-entitlement-certificate_assembly_cmg-creating-client-ent-cert-config-rpm[Creating a client entitlement certificate with the Red Hat Update Infrastructure Management Tool] in _Configuring and Managing Red Hat Update Infrastructure_. | ||
| * Import the client entitlement certificates into {Project}. | ||
| * The client entitlement certificates for the required repositories are generated on the RHUA node. | ||
| For more information, see {RHDocsBaseURL}red_hat_update_infrastructure/4/html/configuring_and_managing_red_hat_update_infrastructure/assembly_cmg-creating-client-ent-cert-config-rpm_configuring-and-managing-red-hat-update-infrastructure#proc_cmg-creating-client-entitlement-certificate_assembly_cmg-creating-client-ent-cert-config-rpm[Creating a client entitlement certificate with the Red Hat Update Infrastructure Management Tool] in _Configuring and Managing Red Hat Update Infrastructure 4_. | ||
| * The client entitlement certificates are imported into {Project}. | ||
| For more information, see {ContentManagementDocURL}importing-custom-ssl-certificates-by-using-web-ui[Importing {customssl} certificates by using {ProjectWebUI}] in _{ContentManagementDocTitle}_. | ||
| * Obtain a list of the subpaths for the required repositories. | ||
| Execute the following command on your RHUA server: | ||
| * You have the base URL of the Red{nbsp}Hat Update Infrastructure CDS node. | ||
|
|
||
| .Procedure | ||
| . On your RHUA server, display details for the required repositories: | ||
| + | ||
| [options="nowrap" subs="+quotes,attributes"] | ||
| ---- | ||
| # rhui-manager repo info --repo_id _My_Repo_ID_ | ||
| ---- | ||
| * You have the base URL and subpaths of your alternate content source. | ||
| For example, if your base URL is `\https://{server-example-com}` and your subpaths are `rhel10/` and `rhel9/`, then {Project} will search `\https://{server-example-com}/rhel10/` and `\https://{server-example-com}/rhel9/`. | ||
|
|
||
| .Procedure | ||
| + | ||
| Record the relative paths from the command output to use as subpaths. | ||
| . In the {ProjectWebUI}, navigate to *Content* > *Alternate Content Sources*. | ||
| . Click *Add source*. | ||
| . Set the *Source type* to *RHUI*. | ||
|
|
||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.