Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

Register in RHN after installation

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
  1. 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
Gineesh Madapparambath

Gineesh Madapparambath

Gineesh Madapparambath is the founder of techbeatly. He is the co-author of The Kubernetes Bible, Second Edition and the author of Ansible for Real Life Automation. 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). (Read more: iamgini.com)


Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

How to find the Bladecenter/Enclosure name of Blade

How to find the Bladecenter/Enclosure name of Blade

You got a blade server details to work with and you need to find the enclosure name and details, the blade installed in, how ?...

How to find iLO MAC address for BladeCenter/Enclosure

How to find iLO MAC address for BladeCenter/Enclosure

Open the iLO console (HP here in example) goto to the menu as described in the screenshot.

Apple

Mac OS X keyboard shortcuts – Part 3

Source : support.apple.comApplication and other Mac OS X keyboard commands Note: Some applications may not support all of the below application key …

UNIX / Linux shutdown Commands

UNIX / Linux shutdown Commands

Shutdown the machine immediately # shutdown -h now Reboot the machine immediately # shutdown -r now Shutdown the machine with user defined message # …

Infrastructre & hardware

How to Check Linux/Unix Operating System Version, Maintenance Level, Architecure

We can identify the Unix Operating System architecture by uname or arch command. Try below examples. Linux kernel version and hardware architecture # …

Mac OS X keyboard shortcuts – Part 1

Mac OS X keyboard shortcuts – Part 1

Source : support.apple.comTo use a keyboard shortcut, or key combination, you press a modifier key with a character key. For example, pressing the …