On 11/3/21 11:49, Jarrod Johnson wrote:
So technically I haven't used xCAT for this either (I've been using confluent),

Hello, thanks for your answer.

and I've not actually configured satellite myself (using the corporate ones), but all I did was: -Add the katello rpm provided by the satellite administrators to the installation
-Run subscription-manager-register --org=.... --activationkey=base

You did that when/where ? In the kickstart file ? After the initial install ? What was the pkgdir value of the osimage you were using ?

I can take it as an improvement in confluent to explictly have a suggested procedure to accomplish this before any package is installed. Note that confluent already supports full TLS for internal servers, and you can add 'CAs to trust from the beginning' by putting their pem files in /var/lib/confluent/public/site/tls/.

Well, my understanding is that the katello-ca-consumer-latest.noarch.rpm pacakge installation does more than installing the CA. It also setup the /etc/rhsm/rhsm.conf file.

As to why do this instead of foreman it's ultimately a matter of preference.  Note that if you want foreman but want xCAT-style discovery, then confluent can gather macs for foreman instead of internal if desired without interfering with the DHCP infrastructure. If you set net.bootable=1, and pxe boot, discovery is done without sending any dhcpoffers at all, and then you can: noderun n1-n100 hammer host create --name {node} .... --mac {net.hwaddr} ....

This sound interesting. I haven't tested confluent yet. How does this work ?

1) node PXE boots
2) satellite provides IP, hostname / confluent provides next-server/filename
3) node boots on a discovery image (like xCAT genesis)
4) ...? where do you run the noderun you mentionned ? How do you chain to Satellite kickstart ?

For what I understand the answer to my initial post is that in order to use Satellite kickstart repos instead of DVD.iso, one have to:

a) either PXE boot against Satellite itself (which, on the same vlan would not coexist peacefully with another (xCAT) dhcp server ?). So this would mean dropping xCAT (but - see my previous post - some xCAT features are really important to us)

b) or PXE boot against xCAT/Confluent which would point, instead of DVD.iso, to a Satellite generated boot media. The latter would imply:

b1) to go all the way to the procedure to build a host (including all its related Foreman objects such as subnet - even if in the end it is not used as it would be xCAT/Confluent which would deal with the subnet)

-> I have a hard time on this one. I did not manage to have - but I'm new to Satellite so I may have missed something - a generic, similar to DVD.iso install media without faking a node creation

b2) some manual copy/substitution of what pkgdir would point to

So my guess it that in the begining of your answer you implied you went the usual way of pkdir == DVD.iso, correct ?

Thanks for your help

--
Thomas HUMMEL


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to