19.2. Troubleshooting
19.2.1. Changing Your Red Hat Satellite's Fully Qualified Domain Name (FQDN) Link kopierenLink in die Zwischenablage kopiert!
The Satellite FQDN has been changed correctly and the /etc/sysconfig/network
in Red Hat Enterprise Linux 6 or the /etc/hostname
file in Red Hat Enterprise Linux 7 has been modified accordingly.
Procedure 19.2. Updating Your Red Hat Satellite Configuration After an FQDN Change
- Verify that the FQDN is being properly repored and reflects the hostname/FQDN:
facter fqdn
# facter fqdn
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Update the katello-installer answer file to replace the old FQDN with the new one:
sed -i "s/$OLD_FQDN/$NEW_FQDN/g" /etc/katello-installer/answers.katello-installer.yaml
# sed -i "s/$OLD_FQDN/$NEW_FQDN/g" /etc/katello-installer/answers.katello-installer.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Where:- $OLD_is the Satellite Server's previous FQDN.
- $NEW_FQDN is the Satellite Server's new FDQN.
- Delete the amqp-client certificate from the NSS database:
certutil -D -d '/etc/pki/katello/nssdb' -n 'amqp-client'
# certutil -D -d '/etc/pki/katello/nssdb' -n 'amqp-client'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Regenerate the server certificates by running
katello-installer
:katello-installer --certs-update-all
# katello-installer --certs-update-all
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - On client systems registered to the Red Hat Satellite Server, uninstall the existing katello-ca-consumer package since it contains the existing SSL certificate with the old FQDN information and update the package from the new FQDN:
rpm -e $(rpm -qa "katello-ca-consumer*")
# rpm -e $(rpm -qa "katello-ca-consumer*") #rpm -Uvh http://NEW_FQDN/pub/katello-ca-consumer-latest.noarch.rpm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow