banner



How To Check If Server Is Registered With Satellite

A host is any virtual or concrete Linux customer that Red Hat Satellite manages. You accept different means to annals a content host in Red Hat Satellite; either using the activation keys or using the interactive method by selecting the library.

Create Activation Key

You need to create an activation primal which will exist used subsequently to register the content host. Think to select the Library and Content View.

Goto Content -> Activation Keys -> New

Once the Activation Key is created, you volition see the details including the command to annals a client or Content Host.

Register a Content Host using Activation Key

On the RHEL8 host, check subscription condition.

          [[email protected] ~]# subscription-manager status +-------------------------------------------+    System Status Details +-------------------------------------------+ Overall Status: Unknown  Organisation Purpose Status: Unknown        

Make sure RHEL8 host is able to reach the Satellite server using FQDN (Fully Qualified Domain Proper noun). If y'all do not have DNS in the surroundings, brand sure yous added the Satellite host entry in /etc/hosts file.

[[email protected] ~]# ping -c3 satvm.lab.local

Now you need to install the katello-ca-consumer-latest.noarch.rpm on Content Host (download from Satellite server)

          [electronic mail protected] ~]# rpm -Uvh http://satvm.lab.local/pub/katello-ca-consumer-latest.noarch.rpm Retrieving http://satvm.lab.local/pub/katello-ca-consumer-latest.noarch.rpm Verifying...                          ################################# [100%] Preparing...                          ################################# [100%] Updating / installing...    one:katello-ca-consumer-satvm.lab.loc################################# [100%]        

Now you can annals the Content Host using the activation key as below.

          [[email protected] ~]# subscription-director register --org="DEMO-ORG" --activationkey="RHEL8-Fundamental" The system has been registered with ID: cfe827c5-5839-425d-a2be-cbe7b1f61db5 The registered system name is: rhel8.localdomain        

Register a Content Host without Activation Primal

If y'all do not wish to use Activation keys, and so you lot tin can straight register content host using username and password. Merely remember to select the Content view and Libraries manually.

          [[email protected] ~]# subscription-director register Registering to: satvm.lab.local:443/rhsm Username: admin Password:  The system has been registered with ID: 0d61dee5-6e93-4694-b987-b24d24d8a4dc The registered system proper noun is: rhel8.localdomain        

Verify Registration and Identity

Verify the subscription status from Content host.

          [[email protected] ~]# subscription-manager identity  system identity: cfe827c5-5839-425d-a2be-cbe7b1f61db5 name: rhel8.localdomain org name: DEMO-ORG org ID: DEMO-ORG environment name: Library  [[email protected] ~]# subscription-manager status +-------------------------------------------+    System Condition Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.  System Purpose Condition: Disabled        

Verify the content host status from Satellite GUI.

Hosts -> Content Hosts

Install Satellite Tools for Packages and Updates

On Content Host, enable the Satellite Tools half dozen.nine and other repositories equally needed.

          [[email protected] ~]# subscription-director repos --list +----------------------------------------------------------+     Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID:   satellite-tools-6.9-for-rhel-8-x86_64-rpms Repo Proper noun: Blood-red Hat Satellite Tools 6.9 for RHEL eight x86_64 (RPMs) Repo URL:  https://satvm.lab.local/pulp/repos/DEMO-ORG/Library/content/dist/layered/rhel8/x86_64/sabbatum-tools/vi            .nine/os Enabled:   0  Repo ID:   ansible-two.eight-for-rhel-eight-x86_64-rpms Repo Name: Crimson Hat Ansible Engine 2.8 for RHEL viii x86_64 (RPMs) Repo URL:  https://satvm.lab.local/pulp/repos/DEMO-ORG/Library/content/dist/layered/rhel8/x86_64/ansible/ii.viii            /os Enabled:   0  Repo ID:   rhel-eight-for-x86_64-baseos-rpms Repo Name: Red Hat Enterprise Linux viii for x86_64 - BaseOS (RPMs) Repo URL:  https://satvm.lab.local/pulp/repos/DEMO-ORG/Library/content/dist/rhel8/$releasever/x86_64/baseos/            os Enabled:   one  Repo ID:   rhel-eight-for-x86_64-appstream-rpms Repo Name: Blood-red Hat Enterprise Linux viii for x86_64 - AppStream (RPMs) Repo URL:  https://satvm.lab.local/pulp/repos/DEMO-ORG/Library/content/dist/rhel8/$releasever/x86_64/appstre            am/bone Enabled:   1        

Enable the repositories including satellite-tools-half dozen.9-for-rhel-8-x86_64-rpms

          [email protected] ~]# subscription-managing director repos \ > --enable=satellite-tools-six.9-for-rhel-8-x86_64-rpms \ > --enable=ansible-2.8-for-rhel-8-x86_64-rpms \ > --enable=rhel-eight-for-x86_64-baseos-rpms \ > --enable=rhel-eight-for-x86_64-appstream-rpms Repository 'satellite-tools-half-dozen.ix-for-rhel-8-x86_64-rpms' is enabled for this organization. Repository 'ansible-two.eight-for-rhel-eight-x86_64-rpms' is enabled for this system. Repository 'rhel-eight-for-x86_64-baseos-rpms' is enabled for this arrangement. Repository 'rhel-8-for-x86_64-appstream-rpms' is enabled for this arrangement.        

Clean up and verify enabled repositories

          [[email protected] ~]# yum clean all Updating Subscription Management repositories. 52 files removed  [[email protected] ~]# yum repolist Updating Subscription Direction repositories. repo id                                        repo proper name ansible-two.8-for-rhel-8-x86_64-rpms             Red Hat Ansible Engine 2.8 for RHEL 8 x86_64 (RPMs) epel                                           Extra Packages for Enterprise Linux 8 - x86_64 epel-modular                                   Actress Packages for Enterprise Linux Modular 8 - x86_64 rhel-viii-for-x86_64-appstream-rpms               Red Lid Enterprise Linux eight for x86_64 - AppStream (RPMs) rhel-eight-for-x86_64-baseos-rpms                  Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) satellite-tools-6.9-for-rhel-8-x86_64-rpms     Red Hat Satellite Tools six.9 for RHEL 8 x86_64 (RPMs)        

Install katello-host-tools

          [[electronic mail protected] ~]# yum install katello-host-tools        

Verify the erratas and updates on Satellite GUI.

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

How To Check If Server Is Registered With Satellite,

Source: https://www.techbeatly.com/how-to-register-content-host-to-red-hat-satellite/

Posted by: sussmanciary1980.blogspot.com

0 Response to "How To Check If Server Is Registered With Satellite"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel