This workshop requires access to RHEL content which can come from either the Red Hat CDN or a Satellite. This document describes the configuration of the Satellite used in our development process. Satellite will provide an easy interface to view and remediate Insights findings by creating temproary student accounts on your Satellite. Demonstrating Insight throught the cloud.redhat.com portal today requires driect login to the subscrition holders account and, while technically possible, is strondlgy discouraged. If you plan to demostrate Insights remediation via cloud.redhat.com be sure to read the documentation on Cloud connector carefully to avoid being struck down by the demo gods.
Tested on version >=6.8 but probably fine on anything >6.7
Name | Repo —–|—– Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8.1 | rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream - Update Services for SAP Solutions RPMs 8.1 | rhel-8-for-x86_64-appstream-e4s-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8.1 | rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Update Services for SAP Solutions RPMs 8.1 | rhel-8-for-x86_64-baseos-e4s-rpms Red Hat Enterprise Linux 8 for x86_64 - SAP NetWeaver RPMs 8.1 | rhel-8-for-x86_64-sap-netweaver-rpms Red Hat Enterprise Linux 8 for x86_64 - SAP NetWeaver - Update Services for SAP Solutions RPMs 8.1 | rhel-8-for-x86_64-sap-netweaver-e4s-rpms Red Hat Enterprise Linux 8 for x86_64 - SAP Solutions RPMs 8.1 | rhel-8-for-x86_64-sap-solutions-rpms Red Hat Enterprise Linux 8 for x86_64 - SAP Solutions - Update Services for SAP Solutions RPMs 8.1 | rhel-8-for-x86_64-sap-solutions-e4s-rpms Red Hat Satellite Tools 6.8 for RHEL 8 x86_64 RPMs | satellite-tools-6.8-for-rhel-8-x86_64-rpms Red Hat Satellite Tools 6.8 for RHEL 8 x86_64 - Update Services SAP Solutions RPMs 8.1 | satellite-tools-6.8-for-rhel-8-x86_64-e4s-rpms Red Hat Enterprise Linux 8 for x86_64 - High Availability RPMs 8.1 | rhel-8-for-x86_64-highavailability-rpms Red Hat Enterprise Linux 8 for x86_64 - High Availability - Update Services for SAP Solutions RPMs 8.1 | rhel-8-for-x86_64-highavailability-e4s-rpms Red Hat Ansible Engine 2.9 for RHEL 8 x86_64 RPMs | ansible-2.9-for-rhel-8-x86_64-rpms
HANA_Image
All servers assigned to Production
In future releases of the provisioner we plan to eliminate the need for these steps
If the Satellite cannot resolve the hostnames of the Content Hosts, which is very likely the case in AWS and other cloud providers, we must create an addedum to the Satellites /etc/hosts file.
We need to populate the Satellite’s public key in each of the HANA hosts
Both can be achieved with this shell script run from the provisioner workshop directory created by the provisioner, note that you will need to edit in the FQDN of your Satellite.
#!/bin/bash
#interim shell script to enable Insights remediation via Satellite in SAP HANA Workshop
# determine workshop name from directory name
project=$(pwd|awk -F "/" '{print $NF}')
# create entries to append to /etc/hosts on the Satellite
awk -v project=$project '/^student/ && /hana/ {split($1,host,"-");split($2,extip,"=");printf("%s %s.%s-%s\n",extip[2],host[2],project,host[1])}' instructor_inventory.txt > hosts.$project
# iterate through the host list and add the Satellite's public key to each of the HANA VMs
# note, if you edit this for a different Satellite you must use the FQDN, the IP address will not
# coincide with the certificate
for x in $(awk '{print $1}' hosts.$project)
do
ssh -i $project-private.pem ec2-user@$x "curl https://<Satellite FQDN>:9090/ssh/pubkey >> /home/ec2-user/.ssh/authorized_keys"
done
echo "manually append hosts.$project to the /etc/hosts file on the Satellite and prune it back out when you are done"