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

Use global registration after renaming Smart Proxy Server #3033

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 2 additions & 58 deletions guides/common/modules/proc_renaming-smart-proxy.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,64 +59,8 @@ Ensure that you enter the full path to the `.tar` file.
ifndef::orcharhino[]
For more information, see {InstallingSmartProxyDocURL}deploying-a-custom-ssl-certificate-to-{smart-proxy-context}-server_{smart-proxy-context}[Deploying a Custom SSL Certificate to {SmartProxyServer}] in _{InstallingSmartProxyDocTitle}_.
endif::[]
. On all hosts registered to your {SmartProxyServer}, enter the following commands to reinstall the bootstrap RPM, reregister clients, and refresh their subscriptions.
+
You can use the remote execution feature to perform this step.
For more information, see {ManagingHostsDocURL}Configuring_and_Setting_Up_Remote_Jobs_managing-hosts[Configuring and Setting up Remote Jobs] in _{ManagingHostsDocTitle}_.
ifndef::satellite,orcharhino[]
+
On hosts running {EL} 8+, run the following commands:
endif::[]
+
ifndef::orcharhino[]
[options="nowrap", subs="+quotes,verbatim,attributes"]
----
# {client-package-remove-el8} katello-ca-consumer*

# {client-package-install-el8} http://_new-{smartproxy-example-com}_/pub/katello-ca-consumer-latest.noarch.rpm

# subscription-manager register \
--environment="_My_Lifecycle_Environment_" \
--force \
--org="_My_Organization_"

# subscription-manager refresh
----
endif::[]
ifdef::orcharhino[]
ifeval::["{client-pkg-ext}" == "rpm"]
[options="nowrap", subs="+quotes,verbatim,attributes"]
----
# {client-package-remove} katello-ca-consumer*

# {client-package-install} http://_new-{smartproxy-example-com}_/pub/katello-ca-consumer-latest.noarch.rpm

# subscription-manager register \
--environment="_My_Lifecycle_Environment_" \
--force \
--org="_My_Organization_"

# subscription-manager refresh
----
endif::[]
ifeval::["{client-pkg-ext}" == "deb"]
[options="nowrap", subs="+quotes,verbatim,attributes"]
----
# wget http://_new-{smartproxy-example-com}_/pub/katello-rhsm-consumer

# chmod +x katello-rhsm-consumer

# ./katello-rhsm-consumer

# subscription-manager register \
--environment="_My_Lifecycle_Environment_" \
--force \
--org="_My_Organization_"

# subscription-manager refresh
----
endif::[]
endif::[]
. Reregister all hosts that are registered to your {SmartProxyServer}.
maximiliankolb marked this conversation as resolved.
Show resolved Hide resolved
For more information, see {ManagingHostsDocURL}registering_hosts_to_server_managing-hosts[Registering hosts and setting up host integration] in _{ManagingHostsDocTitle}_.
. Update the {SmartProxy} host name in the {ProjectWebUI}.
.. In the {ProjectWebUI}, navigate to *Infrastructure* > *{SmartProxies}*.
.. Locate {SmartProxyServer} in the list, and click *Edit*.
Expand Down
Loading