Table of contents
The university has a Red Hat Site Subscription entitling all students, faculty, staff, and departments to use most Red Hat software, including Red Hat Enterprise Linux (RHEL). The Division of IT offers RHEL ISOs through TERPware and they can be activated by following the instructions on this page.
Getting an activation key
- Log in to the Special Identity Management System (SIMS) using your Directory ID and passphrase.
- From the Request New Identity section, click the System drop-down box and select redhat.
- Give your activation key a name and description.
- These fields are only used in the SIMS interface so that if you have multiple keys, like a personal key and a department key, you can tell them apart.
- You can also provide a list of other people who are responsible for the key in the Administrators field. They will have the ability to renew the key and can take ownership of it if you leave the university.
- After submitting the request, SIMS will show you the activation key.
- This is the only time it will be displayed, so take note of it. If you lose it, you can submit a reset password request for the key on the SIMS home page and it will give you a new activation key.
- This is the only time it will be displayed, so take note of it. If you lose it, you can submit a reset password request for the key on the SIMS home page and it will give you a new activation key.
Registering a new Red Hat host
- Install the Red Hat Satellite 6 CA certificates:
# rpm -ivh https://www.rhelops.umd.edu/pub/katello-ca-consumer-latest.noarch.rpm
Retrieving https://www.rhelops.umd.edu/pub/katello-ca-consumer-latest.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:katello-ca-consumer-master.rhelop################################# [100%] - Perform the registration using your activation key:
# subscription-manager register --org="umd" --activationkey="fake-21af8-0ee62-f6dff-fake"
The system has been registered with ID: c57127f2-fake-fake-fake-3b970fc8bd12
The registered system name is: rhel7 Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Workstation
Status: Subscribed - List enabled and available repositories, and select any new ones you want:
# subscription-manager repos
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-workstation-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Workstation
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/rhscl/1/os Enabled: 0Repo ID: rhel-7-workstation-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation - Optional (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/optional/os Enabled: 0Repo ID: rhel-7-workstation-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation - Extras (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/7Workstation/$basearch/extras/os Enabled: 0Repo ID: rhel-7-workstation-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/os
Enabled: 1# subscription-manager repos --enable=rhel-7-workstation-optional-rpms
Repository 'rhel-7-workstation-optional-rpms' is enabled for this system.
Migrating from Red Hat Satellite 5 (rhsat.umd.edu)
- Install the migration tools on the target host:
# yum install subscription-manager-migration
...
Installed:
subscription-manager-migration.x86_64 0:1.21.10-3.el7_6
Dependency Installed:
subscription-manager-migration-data.noarch 0:2.0.45-1.el7 - Install the Red Hat Satellite 6 CA certificates:
# rpm -ivh https://www.rhelops.umd.edu/pub/katello-ca-consumer-latest.noarch.rpm
Retrieving https://www.rhelops.umd.edu/pub/katello-ca-consumer-latest.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:katello-ca-consumer-master.rhelop################################# [100%] - Execute the migration using your activation key:
# rhn-migrate-classic-to-rhsm --destination-url=master.rhelops.umd.edu --org=umd --activation-
key=THE_ACTIVATION_KEY_FROM_SIMS
Legacy username: DIRECTORY_ID@umd.edu
Legacy password: DIRECTORY_PASSWORDRetrieving existing legacy subscription information...
+-----------------------------------------------------+
System is currently subscribed to these legacy channels:
+-----------------------------------------------------+
rhel-x86_64-workstation-7+-----------------------------------------------------+
Installing product certificates for these legacy channels:
+-----------------------------------------------------+rhel-x86_64-workstation-7
Product certificates installed successfully to /etc/pki/product.
Preparing to unregister system from legacy server...
System successfully unregistered from legacy server. Stopping and disabling legacy services...
rhnsd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig rhnsd offAttempting to register system to destination server...
The system has been registered with ID: 3f48e314-1df2-40e0-8736-f6476a1e8d01
The registered system name is: rhel7ws
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Workstation
Status: SubscribedSystem 'rhel7ws' successfully registered.
- List enabled and available repositories, and select any new ones you want:
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+Repo ID: rhel-workstation-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Workstation
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/rhscl/1/os Enabled: 0Repo ID: rhel-7-workstation-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation - Optional (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/optional/os
Enabled: 0Repo ID: rhel-7-workstation-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation - Extras (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/7Workstation/$basearch/extras/os
Enabled: 0Repo ID: rhel-7-workstation-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/os
Enabled: 1# subscription-manager repos --enable=rhel-7-workstation-optional-rpms
Repository 'rhel-7-workstation-optional-rpms' is enabled for this system.
Usage information
- This activation service is only available on campus networks, including the VPN.
- Please ensure your host has a unique name to avoid registration conflicts with other people.
- Hosts which have been turned off for over a year are subject to be unregistered to free up licenses. If this happens to your host by mistake, you will know because yum will not be able to download new packages. In that case, just re-register the host following the instructions above.
- The university's site subscription entitles you to standard support from Red Hat. Contact IT Support if you need access to Red Hat's support services.
- The university's site subscription covers almost all Red Hat software. If a particular software channel you are looking for is not available to your host, contact IT Support and we can enable it.
- If you or your department requires more advanced control over your Red Hat hosts and content, Division of IT can offer you a Red Hat Satellite license and a sub-allocation of the site subscription, but it will be on you to run and maintain the Satellite service. Contact IT Support for more information.