How to Register Ceph with Satellite 5
This article describes how to register Red Hat Ceph Storage nodes to a Red Hat Satellite 5 server. It assumes that you have a working Satellite 5 server. Note that the article does not describe how to deploy a Satellite 5 server.
How Ceph Works With Satellite 5
When a Red Hat Ceph Storage node is connected to a Red Hat Satellite 5 server, the server hosts package repositories and provides system updates.
Once you register the Red Hat Ceph Storage nodes with the Satellite 5 server, you can:
- Deliver updates to the Ceph cluster without allowing a direct connection to the Internet.
- Search and view errata applicable to the cluster nodes.
Registering Ceph Nodes with Satellite 5
This article includes the following procedures:
-
Create a new Satellite certificate on the Customer Portal or update an already created one. Download the certificate to your system. See Creating or Updating the Satellite Certificate.
-
Activate the Satellite certificate and synchronize your repositories with the newly added Red Hat Ceph Storage channels. See Activating a Satellite Certificate and Synchronizing Channels.
-
Create an Activation key. See Creating an Activation Key.
-
Register the Ceph nodes with the Satellite 5 server. See Registering Ceph Nodes to the Satellite 5 server.
-
Subscribe the Ceph nodes to the Ceph repositories. See Subscribing Ceph Nodes to Repositories.
Creating or Updating the Satellite Certificate
A Satellite certificate defines what repository content is available to you.
- To create a new certificate, follow Creating a Satellite Certificate.
- If you already have a certificate created, follow Updating a Satellite Certificate.
Creating a Satellite Certificate
-
Log in to the Customer Portal and navigate to the
SUBSCRIPTIONtab. -
Click
Subscription Management Applications→Satellite. -
Click
Register a Satelliteto create a new certificate. -
Fill in the
Namefield and select the Satellite version. For Satellite 5, specify the latest minor version, for example5.7. Then clickREGISTER. -
Click
Attach a subscription. A new page with a list of subscriptions available to you appears. Select the appropriate subscriptions and specify how many of them you need in theQuantityfield.For a successful registration, the certificate must include a Satellite subscription, one or more Red Hat Enterprise Linux subscriptions, and relevant Red Hat Ceph Storage subscriptions.
-
Click
ATTACHED SELECTED. -
Click
Download Satellite Certificateto save the certificate locally on your system.
Updating a Satellite Certificate
-
Log in to the Customer Portal and navigate to the
SUBSCRIPTIONtab. -
Click
Subscription Management Applications→Satellite. -
Select an already created certificate.
-
Click
Attach a subscription. A new page with a list of subscriptions available to you appears. Select the appropriate subscriptions and specify how many of them you need in theQuantityfield.For the successful registration, the certificate must include a Satellite subscription, one or more Red Hat Enterprise Linux subscriptions, and relevant Red Hat Ceph Storage subscriptions.
-
Click
ATTACHED SELECTED. -
Click
Download Satellite Certificateto save the certificate locally on your system.
Activating a Satellite Certificate and Synchronizing Channels
- Log in to the Satellite 5 server:
$ ssh [user]@[satellite.example.com]
* [user] specifies the user account
* [satellite.example.com] specifies the web URL of the Satellite 5 server
- Activate the Satellite certificate:
$ rhn-satellite-activate --rhn-cert=<path_to_the_certificate.xml>
- Verify that the channels providing Red Hat Ceph Storage have been added:
$ satellite-sync -l | less
- Synchronize the newly added channels:
$ satellite-sync -c [channel_name]
* [channel_name] is the ID of the channel that provides packages for Red Hat Ceph Storage
Creating an Activation Key
Activation keys are used to register, entitle, and subscribe multiple systems in a single operation. Follow the steps below to create an activation key and to add child channels that provide Red Hat Ceph Storage to the activation key.
-
Log in to your Red Hat Satellite 5 server web UI.
-
Click
Systems→Activation Keys. -
Click
Create Key. -
Fill in the needed fields and select
Base Channels→Red Hat Satellite Default. -
Click
Create Activation Key. -
Navigate to the
Child Channelstab and select appropriate Ceph channels. Then clickUpdate Key.
Registering Ceph Nodes to the Satellite 5 Server
-
If a node is registered with the Red Hat Network Classic or Subscription Manager, unregister it. See This content is not included.How to Unregister a System from RHN Classic or a Satellite.
-
Download and install the SSL certificate package from the
/pub/directory of the Red Hat Satellite 5 server:
# rpm -Uvh http://[satellite.example.com]/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
* [satellite.example.com] is the URL address of your Satellite 5 server
- Register the system with the Satellite 5 server:
# rhnreg_ks --activationkey [key] --serverUrl [https://satellite.example.com/]XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --force
* [key] specifies the path to the activation key
* [https://satellite.example.com/] is the URL address of your Satellite 5 server
Use the `--force` option to re-register the node.
Subscribing Ceph Nodes to Repositories
-
Log in to your Red Hat Satellite 5 server web UI.
-
Click the
Systemstab →Systems→All. -
Select the node that you want subscribe to repositories.
-
Click
Software→Software Channelsand select repositories depending on the type of the node. For example, for a monitor node, select the monitor repository. -
Click
Change Subscriptions. -
From the node, confirm that the repositories have been successfully added:
# yum repolist
Next Steps
Once you are done, install Red Hat Ceph Storage. For details, see the This content is not included.Installation Guide for Red Hat Enterprise Linux for Red Hat Ceph Storage 1.3 or the This content is not included.Installation Guide for Red Hat Enterprise Linux for Red Hat Ceph Storage 2.
Additional Resources
- Satellite documentation set
- This content is not included.How do I get a new Red Hat Satellite certificate?
- This content is not included.How to activate a Satellite certificate for a Red Hat Satellite 5 Server?