Red Hat SATELLITE 5.3.0 RELEASE NOTES Guía de instalación Pagina 28

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 30
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 27
Provisioning HowTo
28
rhnreg_ks --serverUrl=https://someserver.example.com/XMLRPC --sslCACert=/
usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
--activationkey=1-c8d01e2f23c6bbaedd0f6507e9ac079d
# end Red Hat management server registration
Breaking this down into the 4 steps you have:
1) mkdir -p /usr/share/rhn/
Creating a directory to house the custom SSL cert used by the RHN Satellite
2) wget http://someserver.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT -O /usr/
share/rhn/RHN-ORG-TRUSTED-SSL-CERT
Fetch the SSL cert to use during registration
3) perl -npe 's/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g' -i /etc/sysconfig/
rhn/*
Search/replace the SSL cert strings from the rhn-register configuration files.
4) rhnreg_ks --serverUrl=https://someserver.example.com/XMLRPC --
sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-
c8d01e2f23c6bbaedd0f6507e9ac079d
Register to the RHN Satellite with the SSL cert and an activation key. Every Kickstart Profile includes
an Activation Key that assures that the system is assigned the correct base channel, gets the proper
System Entitlements and is associated with the previous System Profile if you are re-provisioning an
existing system.
If the rhnreg_ks command fails you may see errors in the ks-post.log indicating:
ERROR: unable to read system id.
And calls to rhn_check return the error above you know the system failed to register to the RHN
Satellite.
The best way to troubleshoot this is to view the kickstart file and copy-paste the 4 steps from above
into the CLI and run them after the system comes back from kickstarting. Generally rhnreg_ks will
produce usable error messages which should help you figure out what is failing during registration.
10.7. Directory structure for Kickstarts and Snippets
Kickstarts — The base path where the kickstart files are stored is /var/lib/rhn/kickstarts/.
Within this directory, raw (non-wizard generated) kickstarts reside in the subdirectory upload while
wizard generated ones are in the wizard subdirectory, thus:
Vista de pagina 27
1 2 ... 23 24 25 26 27 28 29 30

Comentarios a estos manuales

Sin comentarios