Red Hat Network Configuration
Sep. 1, 2016 krowe: We setup usno-serv-1 in the test cluster to download all available updates from the Red Hat Network. This was done to start decoupling the USNO cluster from the NRAO and to simplify the patching process.
Here is what was done to configure the test usno-serv-1 with the RHN
- On usno-serv-1t-ext and as root
rhn_register
Check the Red Hat Network (RHN) Classic radio option and uncheck Send hardware profile in the Profile Data section.
- Then, go to http://access.redhat.com/
- Click on My Subscriptions then All Registered Systems then find the hostname usno-serv-1t
- Click on Edit These Properties
- Uncheck "Include system in daily summary report calculations."
- Check "Automatic application of relevant errata"
- Click Update Properties
Updates can be downloaded with a command like the following
yum -y --downloaddir="/export/home/usno-serv/updates/yum/rhel-x86_64-workstation-6" --downloadonly --skip-broken --disablerepo='*' --enablerepo="rhel-x86_64-workstation-6" update
You may need to add a
--skip-broken argument if yum can't sort out the dependancies. This can happen if the machine is very out of date.