Skip to content

Register in RHN after installation

https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan

There are many situations where we need to register the host/server to RHN server manually, due to network issues, bad certificate/authentication or time difference on the host during installation.

Manual RHN registration is quite easy

1. Check /etc/sysconfig/rhn/systemid file already exist, if YES delete the file

# rm /etc/sysconfig/rhn/systemid

2. Register with the update agent using rhn_register

# rhn_register

 

Other useful RHN client commands

Sync configuration files from RHN server

rhncfg-client get <filename>
#or
rhncfg-client get #for all files.

To view the differences between the config files deployed on the system and those stored by RHN, issue the command:

rhncfg-client diff

To quickly determine if client configuration files are different than those associated with it via RHN, issue the command:

rhncfg-client verify

To View config channels

rhncfg-client channels

Disclaimer: The views expressed and the content shared are those of the author and do not reflect the views of the author’s employer or techbeatly platform.

Tags:


https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan
Gineesh Madapparambath is the founder of techbeatly and he is the author of the book - ๐—”๐—ป๐˜€๐—ถ๐—ฏ๐—น๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—ฅ๐—ฒ๐—ฎ๐—น-๐—Ÿ๐—ถ๐—ณ๐—ฒ ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป. He has worked as a Systems Engineer, Automation Specialist, and content author. His primary focus is on Ansible Automation, Containerisation (OpenShift & Kubernetes), and Infrastructure as Code (Terraform). (aka Gini Gangadharan - iamgini.com)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.