How to enable/disable Location Aware Updates with RHN Classic?

Solution Verified - Updated -

Environment

  • Red Hat Customer Portal
  • Red Hat Enterprise Linux
  • Location Aware Updates

Issue

  • How to enable or disable Location Aware Updates for systems registered with RHN Classic?

Resolution

  • To enable/disable systems registered to RHN Classic:
    1. Use the system.getDetails RHN API call to get the current values for a given system's properties, which includes boolean "location_aware_download" - true if system is allowed to get downloads based on location.
    2. Use the system.setDetails RHN API call to set the values, using the desired value for "location_aware_download", passing all other values the same as originally obtained from Step 1.

In case of Subscription Management, unlike Red Hat Network (RHN) Classic, it is currently not possible to disable Location Aware Updates via Red Hat Subscription Management, but updates are always delivered from the hostname "cdn.redhat.com". The IP address of this host is dynamically provided by a third-party based on geographical location.

For companies that have firewall egress rules that block access to "cdn.redhat.com", the IP addresses are listed in the Red Hat Subscription Management documentation and Knowledge Base Article "Public CIDR Lists for Red Hat (IP Addresses for cdn.redhat.com)" for your convenience.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.