up2date login for RHEL7

Latest response

Hi

I have already familiazired myself with the login & update rpc for rhn classic registered machines. I have achieved those using the 'systemid file' & 'up2date.login xmlrpc'.

But, on my RHEL7, the system registration is forced only through 'subscription_manager register'. This method doesn't generate a systemid file. Rather I encountered discussions that this method makes use of certificates.

Can you please tell me how to make RPCs to RHN (http://xmlrpc.rhn.redhat.com/XMLRPC) in order to get the details of the subscribed channels & ultimately the patches available in those channels?

Thanks

Responses

Hi,

RHN is not supported in RHEL 7, you have to use the subscription-manager

//Zdenek

I understand that, Zdenek. I have already registered my system using 'subscription-manager'.

My question is how to access the XMLRPC url & get the patch details.
Am currently able to login to http://xmlrpc.rhn.redhat.com/XMLRPC using the systemid file for RHEL 6 or lower.
How to achieve the same for RHEL 7 ? (registered machines without systemid file)

Hardly, the subscription-manager does not have any API yet - it is created for tight cooperation with Red Hat Satellite, not the RHN, as you can see under Subscription -> Units, there is no information about errata or updates.

See this solution.

In RHN Classic, I am able to download even the RPM binaries using just the OS subscription.

Whereas, in RHN subscription management, you are suggesting Satellite, for which I have to pay additional charge. Are there any other alternatives to get the required details & download the binaries using the OS subscription alone?

I know.

AFAIK - after registering the system, you could use yum install/update --downloadonly, or grab the package from Downloads: see https://access.redhat.com/downloads/content/69/ver=/rhel---7/7.1/x86_64/packages for RHEL 7.1 packages.

The thing is, we are trying to create a Centralized Patching system, for all Linux machines in the network.

And, are facing issues with the download of binaries for RHEL 7.

Had a look at the customer portal downloads, but the url for the download contains an "?auth=timestamp_10_mins_after_click_<32_hex_code>".
(for example : https://access.cdn.redhat.com//content/origin/rpms/GConf2-devel/3.2.6/8.el7/fd431d51/GConf2-devel-3.2.6-8.el7.x86_64.rpm?auth=1438760920_4ab07b25a1868bc6)
Is there any format for the generation of this code?

Can we achieve some sort of an agreement with RedHat, through our Corporate for getting the required details & binaries?

Close

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