Skip to content

Satellite Basics Lab Notes

Matthew Yee edited this page Jan 19, 2023 · 11 revisions

Memory thingy in GCP

echo 0 > /proc/sys/vm/overcommit_memory
sysctl -p

Setup in GCP for the Lab

Change the hostname to satellite.lab with hostnamectl.

hostnamectl set-hostname satellite.lab
exec bash

Add an entry for 127.0.0.1 to satellite.lab.

subscription-manager register --activationkey xxxx --force

dnf upgrade -y

firewall-cmd --add-port="53/udp" --add-port="53/tcp" --add-port="67/udp" --add-port="69/udp" --add-port="80/tcp" --add-port="443/tcp" --add-port="5647/tcp" --add-port="8000/tcp" --add-port="9090/tcp" --add-port="8140/tcp"

firewall-cmd --runtime-to-permanent
subscription-manager repos --disable "*"

subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms --enable=satellite-6.12-for-rhel-8-x86_64-rpms --enable=satellite-maintenance-6.12-for-rhel-8-x86_64-rpms

dnf module enable satellite:el8

dnf update -y
dnf install satellite

Run the satellite installer.

satellite-installer --scenario satellite --foreman-initial-organization "Acme Org" --foreman-initial-location "Vancouver" --foreman-initial-admin-username admin --foreman-initial-admin-password bc31c9a6-9ff0-11ec-9587-00155d1b0702
useradd rhel

Copy the manifest into /home/myee.

gcloud config set compute/zone "us-central1-a"

gcloud compute scp Downloads/manifest_satellite-6.11-instruqt_20220808T154420Z.zip satellite-update:/home/myee/
Clone this wiki locally