RedHat System Registration Guide
Satellite registration/migration (for campus teams except OIT)
Choose an option :
Satellite registration/migration (within OIT)
Choose an option :
Register directly to RedHat customer portal
Simple Content Access - new method of attaching subscriptions to hosts
Failover Satellite/Capsule - Unregister from the current Satellite service then register to the failover Satellite service.
|
Satellite Hostname |
Capsule Hostname |
Groups Using |
Activation Key |
|
rhn103sat.unity.ncsu.edu |
rhn301cap.unity.ncsu.edu |
All campus teams except OIT |
NCSU |
|
rhn103sat.unity.ncsu.edu |
rhn300cap.unity.ncsu.edu |
OIT |
OIT |
profile::base::manage_rhsm: true
profile::base::rhsm_server_hostname: 'subscription.rhsm.redhat.com'
profile::base::rhsm_organization: ‘7939109’
profile::base::rhsm_activationkey: ‘CLS’
Code located at : https://github.ncsu.edu/ncstate-linux/infrastructure/blob/production/docs/puppet/profiles/base.md#red hat-subscription-manager
# dnf -y --nogpgcheck install http://rhn301cap.unity.ncsu.edu/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org="NCSU" --activationkey="NCSU"
# subscription-manager unregister
# subscription-manager clean
# dnf -y --nogpgcheck install http://rhn301cap.unity.ncsu.edu/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org="NCSU" --activationkey="NCSU"
# subscription-manager refresh
# subscription-manager unregister
# subscription-manager clean
# dnf -y remove katello-ca-consumer-\*
# dnf -y --nogpgcheck install http://rhn301cap.unity.ncsu.edu/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org="NCSU" --activationkey="NCSU"
# subscription-manager refresh
Satellite registration/migration (within OIT)
# dnf -y --nogpgcheck install http://rhn300cap.unity.ncsu.edu/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org="OIT" --activationkey="OIT"
# subscription-manager unregister
# subscription-manager clean
# dnf -y --nogpgcheck install http://rhn300cap.unity.ncsu.edu/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org="OIT" --activationkey="OIT"
# subscription-manager refresh
# subscription-manager unregister
# subscription-manager clean
# dnf -y remove katello-ca-consumer-\*
# dnf -y --nogpgcheck install http://rhn300cap.unity.ncsu.edu/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org="OIT" --activationkey="OIT"
# subscription-manager refresh
The new Satellite 6.11 and greater uses Simple Content Access instead of the older method of attaching subscriptions to hosts. For more information see:
https://access.redhat.com/articles/simple-content-access
Unregister from the current Satellite service then register to the failover Satellite service.
The backup satellite is rhn104sat.unity.ncsu.edu
The backup capsule is rhn302cap.unity.ncsu.edu
# subscription-manager unregister
# subscription-manager clean
# dnf -y remove katello-ca-consumer-\*
# dnf -y --nogpgcheck install http://rhn302cap.unity.ncsu.edu/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org="NCSU" --activationkey="NCSU"
OR
# subscription-manager register --org="OIT" --activationkey="OIT"
# subscription-manager refresh
https://access.redhat.com/solutions/5187461
Note : These instructions are only for hosts that are subscribed to the RedHat CDN
Confirm there are no duplicate system profile entries present in customer portal (see links below).
If so, remove the profile manually by selecting the system.
Regenerate the identity certificate. If this fails, proceed to the next step
# subscription-manager identity \ --regenerate --force
Copy respective .pem file from /etc/pki/product-default/ directory to /etc/pki/product/ directory. Do NOT delete existing contents of /etc/pki/product
# cp /etc/pki/product-default/*.pem /etc/pki/product/
Clean and remove old certificate files and corrupted subscription-manager data
# rm -rf /etc/pki/consumer
# rm -rf /etc/pki/entitlement
# subscription-manager clean
# subscription-manager register --org="7939109" --activationkey="CLS"