Using Activation keys in CloudForms System Engine

by Forrest Taylor (Red Hat)

Corresponding Curriculum: Content is extracted from the all-new Deploying Systems in Cloud Environments (CL260) course

Activation keys automate client repo subscriptions when registering to Red Hat CloudForms System Engine. Activation keys can define subscriptions and the default environment for a system. To manage activation keys, log in to System Engine and hover over the “Systems” tab, and choose the “Activation Key” sub-tab. Click the “+ New Key” link and enter the name and environment, then click the “Save” button.

Modify the new activation key by clicking on the “Available Subscriptions” tab. Choose the products to include in the activation key and press the “Add to Key” button to save the changes.

To register a client system with the activation key, begin by installing the “candlepin-cert-consumer” package on the client.

[root@syseng ~]# scp /var/www/html/pub/candlepin-cert-consumer-syseng.fqdn-1.0-1.noarch.rpm client
[root@client ~]# yum install -y candlepin-cert-consumer-syseng.fqdn-1.0-1.noarch.rpm

Now register the client with subscription-manager using the activation key. Note: you must include the organization name when registering with an activation key. In this example we will use the default organization: ACME_Corporation.

[root@client ~]# subscription-manager –org=ACME_Corporation –activation-key=’mykey’

Once the client has been registered, the products chosen in the environment will be subscribed, so the client can install packages from those products.

Learn more about managing activation keys in the all-new Deploying Systems in Cloud Environments (CL260) course.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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