Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync multiple different versions of RHEL (RHEl6 & RHEL7) #6

Open
SpeedBlack opened this issue Mar 1, 2017 · 7 comments
Open

sync multiple different versions of RHEL (RHEl6 & RHEL7) #6

SpeedBlack opened this issue Mar 1, 2017 · 7 comments

Comments

@SpeedBlack
Copy link

Hi !

I would like to sync multiple different versions of RHEL (RHEL 6 & RHEL7).
dtmrepo running in RHEL7.
Can you explain how to get a correct product certificates for RHEL6 ?

Am I forced to have a RHEL6 machine subscribed on the RHSM all the time ? And then copy certificates (/etc/pki/entitlement/)
Generate RHEL6 certificates for "dtmrepo machine" directly from web interface RHSM, is that possible ?

Can you explain the best method ?

Thanks !

@dtmateojr
Copy link
Owner

The certs in /etc/pki/entitlement is for your specific server and are unique. What you are after are the generic product certs in /etc/pki/product. Get the pem files from another server and chuck them in there.

@vishalspatil
Copy link

Hello dtmateojr,

I have one server using dtmrepo syncing rhel 7 packages, I want to add rhel 6 channels for Enterprise Linux as well as RHEL for SAP [rhel6] , it is possible to use same server for rhel6 or I need to configure dtmrepo on another RHEL 6 server.

I tried the method mentioned by you , but that didn't work for me , may be I am missing some thing.
It will be great if I get some steps to configure RHEL 6 on dtmrepo

Thanks in advance.
Regards
Vishal

@dtmateojr
Copy link
Owner

Go to another RHEL6 server that is registered with Red Hat then grab all the pem files from /etc/pki/product and then put them (rename as needed) into /etc/pki/product of the dtmrepo server. Delete /etc/yum.repos.d/redhat-dtmrepo.repo and then run "dtmrepo -x".

@dtmateojr
Copy link
Owner

dtmateojr commented Jun 5, 2017

I have updated the instructions with more detailed steps. Check out tip number 4.

@vishalspatil
Copy link

vishalspatil commented Jun 5, 2017 via email

@vishalspatil
Copy link

Hi Dtmateo,

I was able to sync rhel6 OS, extras, Supplementary packages for SAP related packages.

I get the following messages.
Repo rhel-sap-for-rhel-6-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/2443479725532662068.pem
Repo rhel-sap-for-rhel-6-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/2443479725532662068-key.pem

Not sure , what does this relates to, will try to register and configure the same on rhel6 server.

Regards
Vishal

@dtmateojr
Copy link
Owner

You probably would need to register the dtmrepo server to the SAP channel as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants