1 Delete delete enables you to delete both selected and non-selected baselines or nodes (or all) from the current session. You cannot delete a baseline if it is assigned to a node and HP SUM is performing inventory on the node or deploy the node. 1.1 Syntax hpsum delete [--nodes [nodelist]] hpsum delete [--baselines [baselinelist]] -------------------------------------------------------- NOTE: Do not delete a baseline and node in the same command. -------------------------------------------------------- 1.2 Parameters The delete command provides the following options: +------------------------------------------------------------------------+ | Parameter | Description | |----------------------------+-------------------------------------------| | hpsum | The HP SUM script initiates this action. | |----------------------------+-------------------------------------------| | delete | The command to delete nodes or baselines | | | from the HP SUM session. | |----------------------------+-------------------------------------------| | | Object to perform the delete operation. | | --nodes [nodelist] | Delimit the list with a space. If you do | | | not provide a nodelist, all nodes are | | | deleted. | |----------------------------+-------------------------------------------| | | Object to perform the delete operation. | | --baselines [baselinelist] | Delimit the list with a space. If you do | | | not provide a list of baselines, all | | | baselines are deleted. | +------------------------------------------------------------------------+ 1.3 Return codes +------------------------------------------------------------------------+ | Return Code | Windows | Linux | Text | |------------------------+---------+-------+-----------------------------| | SUCCESS_NO_REBOOT | 0 | 0 | The command was successful. | |------------------------+---------+-------+-----------------------------| | | | | The command completed | | | | | successfully, but was not | | | | | required or everything was | | SUCCESS_NOT_REQUIRED | 3 | 3 | already current. | |------------------------+---------+-------+-----------------------------| | FAILURE_GENERAL | -1 | 255 | A general failure occurred. | | | | | For details, see the logs. | |------------------------+---------+-------+-----------------------------| | | | | A bad input parameter was | | FAILURE_BAD_PARM | -2 | 254 | encountered. For details, | | | | | see the logs. | |------------------------+---------+-------+-----------------------------| | FAILURE_COMMAND_FAILED | -4 | 252 | The command failed. For | | | | | details, see the logs. | +------------------------------------------------------------------------+ 1.4 Example Windows sample command line C:\> hpsum delete /baselines "spp.2012.01" Linux/HP-UX sample command line $ ./hpsum delete --baselines "spp.2012.01"