A Host is a Foreman concept that represents a server/host/system/computer (whatever you want to call it). In addition to holding facts about the system, it:
Content Hosts are the part of a host that manages Content and Subscription related tasks. As time goes on more and more of this functionality will be moved to the Host object. A Host’s Content Host:
Subscription Manager is the client for Katello that handles registration.
Depending on your Operating System, for:
yum install subscription-manager
yum install subscription-manager
wget -O /etc/yum.repos.d/subscription-manager.repo http://copr.fedoraproject.org/coprs/dgoodwin/subscription-manager/repo/epel-6/dgoodwin-subscription-manager-epel-6.repo yum install subscription-manager -y
First install the bootstrap rpm from your Katello server:
rpm -Uvh http://$KATELLO_HOSTNAME/pub/katello-ca-consumer-latest.noarch.rpm
subscription-manager register --org=Default_Organization --environment=Library
Subscription manager will prompt for your username and password. You can also specify
--username $USER --password $PASS on the command line.
To register to Content View “MyView” in a “Devel” Lifecycle Environment:
subscription-manager register --org=Default_Organization --environment=Devel/MyView
Activation Keys allow you to register and consume content without using a username and password. To create an Activation Key see the Activation Key Guide
Once you have created an activation key, register with:
subscription-manager register --org=Default_Organization --activationkey=$KEY_NAME
To see the list of your Content Hosts, navigate to Hosts > Content Hosts
Navigate to the Content Host Details page, Host > Content Hosts > Click the name of the desired Content Host
Look in the upper right corner for the “Content Host Content”:
Then select the new Lifecycle Environment you desire, select the new Content View you desire, and click save.
In order for a Content Host to receive package updates and access Repositories hosted on Katello, it needs to be subscribed to a product.
Navigate to Hosts > Content Hosts > Select Content Host > Subscriptions > Click the “Add” tab
Check the checkbox under the Products you want to add and select “Add Selected” in the upper right.
Note: This process is not necessary for organizations with Simple Content Access enabled.
To see existing attached Products, click the “List/Remove” tab. To remove a Product, select the checkbox under the desired Product in this list and click “Remove Selected”.
To perform package actions on a single Content Host, navigate to: Hosts > Content Hosts > Select Content Host > Packages
From here you can:
If your synced Repositories contain Errata, you can use Katello’s Errata management to track and install Errata.
Navigate to: Hosts > Content Hosts > Select Content Host > Errata
To apply errata, search for the errata you want and select the checkbox beside each errata. Then click “Apply Selected” at the top right.
The “Show From” filters what applicable errata to show:
To change Host Collection assignments for a Content Host, navigate to: Hosts > Content Hosts > Select Content Host > Host Collections
To set System Purpose attributes for a host, Navigate to the Content Host Details page, Host > Content Hosts > Click the name of the desired Content Host. You can edit Service Level, Role, Usage Type, and Add-ons from the System Purpose section.
Katello provides the ability to perform actions on many Content Hosts at once such as:
In order to use the bulk actions, perform whatever search you desire and select which Content Hosts you want to modify. If you want to select all Content Hosts from a search result, click the ‘checkbox’ above the table:
This will select all Content Hosts on that page (only the ones that are visible). To select all that correspond to that search query, notice a bar has now appeared:
Next select the ‘Bulk Actions’ button in the top right.
From here you can select the tab corresponding to any action you wish to perform.
Select the Content Hosts that you wish to change the System Purpose attributes on.
Next select the ‘Bulk Actions’ button in the top right, and choose ‘Manage System Purpose’
In the following screen, a banner at the top displays how many Content Hosts will be affected by the change. Select the dropdown next to the attributes you want to change, select the desired value and when satisfied with the options, click the ‘Assign’ button.
If “No change” is selected, the value will remain what it was.
If “None (Clear)” is selected, any existing values will be erased.
After clicking ‘Assign’ this will transition you to the task details.
Foreman 3.6.0 has been released! Follow the quick start to install it.
Foreman 3.5.2 has been released! Follow the quick start to install it.