Possible RFE for Satellite: disable/deactivate host
I am considering submitting an RFE and wondering what other people's opinion is.
Example: I have 4 database hosts that my team is decom'ing and our first step is to power them off. Now, if I do a deploy config file and select all, those hosts will fail. My nightly "compare all files" now fails. No big deal, in a way.
Another example I thought of is we have a DR instance of a box built and subscribed to Satellite. We would like to spin that box down until it gets called into duty. The same applies, it errors out whenever we do a global deploy of a config file, evening maintenance.
I would like to have the ability to retain the hosts in Satellite (as a reference), but not have them managed. I.e. a check box indicating enabled/disabled?
So - if I am missing the picture, or if you can think of some way I could manage my hosts differently within Satellite, I am eager to hear suggestions.
Responses
Hi James,
You can do this already. If you go to one of your systems, under Details click on Properties and on base entitlement you can unentitle the system. It will still exist on satellite but it will not receive updates or be provisionable etc.
Tris
James,
If config files are all you are worried about, you could add and remove config file channels with an API script.
Thinking out loud here, but say you build the DR server add the right config channels, deploy your files and get it in a 'known good state' ready for spin down. Then "snapshot" the config channels in a local file with listChannels and then remove the server from the config channels with removeChannel (use the local file as the authoritative input for remove). Then when you need to spin it back up to do a sync, use setChannels (again authoritative list is local) to re-add and then pull down changes, re-run the snap and remove. Rinse, repeat.
If you need to something more like Tris was talking about (fully unentitle) I think that you need to use the UI as suggested.
Matt
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
