このコンテンツは選択した言語では利用できません。
Chapter 7. Deleting a system from Red Hat Lightspeed inventory
You can delete a system from inventory so that the system is no longer visible in the Red Hat Lightspeed Inventory or in the systems list for the advisor service. The insights-client will be unregistered on the system and will no longer report data to Red Hat Lightspeed.
7.1. Delete a system from the Red Hat Satellite UI リンクのコピーリンクがクリップボードにコピーされました!
When you use Satellite to delete a system, you unregister the system from Satellite and remove the system from Red Hat Lightspeed system inventory.
Prerequisites
- You have root permissions for the system you want to delete.
- You are logged in to the Satellite web UI.
Procedure
- Navigate to Red Hat Lightspeed > Inventory.
- Select the system profile for the system that you want to remove.
- Click Actions > Unregister.
7.2. Delete using the Red Hat Lightspeed API リンクのコピーリンクがクリップボードにコピーされました!
Use this option only when the system has been destroyed or reinstalled. If you use the DELETE API without first unregistering it from the Red Hat Lightspeed client using Satellite, the deleted system will reappear in inventory the next time the client uploads data.
Prerequisites
- You have root permissions on the system you want to delete.
Procedure
Use the command line to get the list of system profiles from inventory.
# curl -k --user PORTALUSERNAME https://console.redhat.com/api/inventory/v1/hosts | json_pp > hosts.jsonIf the
json_ppcommand does not exist on the system, then install theperl-JSON-PPpackage.# yum install perl-JSON-PPGet the ID of the system from the
hosts.jsonfile and confirm system details. For example, "id" : "f59716a6-5d64-4901-b65f-788b1aee25cc".# curl -k --user PORTALUSERNAME https://console.redhat.com/api/inventory/v1/hosts/f59716a6-5d64-4901-b65f-788b1aee25ccDelete the system profile.
# curl -k --user PORTALUSERNAME -X "DELETE" https://console.redhat.com/api/inventory/v1/hosts/f59716a6-5d64-4901-b65f-788b1aee25cc