Skip to content


Tagging systems in RHEL Satellite 5

There are two ways to attach “information” to a system in Satellite. “Notes” as the name implies are to attach non-ordered data. “Custom info” on the other hand allows us creates named keys and to associated with them a specific data objects – almost a database….
Both “Keys” and their data are created on Satellite with the spacecmd command as show next.

# spacecmd
spacecmd {SSM:0}> custominfo_createkey owner
Description: Host Owner
spacecmd {SSM:0}> custominfo_createkey application
Description: Application Name

The “Description” is the label associated with the key that will be visible via Satellite GUI
To associate data with the just created keys and specific system (oravsrv) registered with a Satellite:

spacecmd {SSM:0}> system_addcustomvalue  owner 'mark duszyk' oravsrv
spacecmd {SSM:0}> system_addcustomvalue  application 'my tools forge' oravsrv
spacecmd {SSM:0}> exit
#

The information can be “viewed” from the Satellite GUI or with the “spacecmd” command.

spacecmd {SSM:0}> system_listcustomvalues oravsrv
owner = mark duszyk
application = tools forge
# spacecmd -u satadministrator -p xxxxxxx system_listcustomvalues oravsrv
INFO: Spacewalk Username: satadministrator
INFO: Connected to https://localhost/rpc/api as satadministrator
owner = mark duszyk
application = tools forge

Posted in LINUX.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

WordPress Anti Spam by WP-SpamShield



Copyright © 2016 - 2018 Waldemar Mark Duszyk. All Rights Reserved. Created by Blog Copyright.