Description
This command deletes configuration items that satisfy specified conditions from the CMDB.
Synopsis
[Windows]
cidelete.exe -q xpath=condition specified [record=observed|expected|cataloged|all] cidelete.exe -a |
[Linux]
cidelete.sh -q xpath=condition specified [record=observed|expected|cataloged|all] cidelete.sh -a |
Options
Specifies the conditions of the configuration items to be deleted. Conditions can be specified as follows:
To delete all logical servers:
/%LogicalServer
To delete the logical server that has the name svr001:
/%LogicalServer[./#observed/rc:LogicalServer/@name = 'svr001']
See
Refer to Options in 1.4.10 ciexport (Configuration Item Export Command) for information on the conditions that are specified.
Specifies the records to be deleted. If this option is omitted, it is assumed that all has been specified.
observed
Deletes observed records
expected
Deletes expected records
cataloged
Deletes cataloged records
all
Deletes all records
Deletes all configuration items.
Return Values
Normal termination
Abnormal termination
Command Location
[Windows]
<Systemwalker Runbook Automation installation directory>\CMDB\FJSVcmdbm\bin |
[Linux]
/opt/FJSVcmdbm/bin |
Privilege Required/Execution Environment
[Windows]
The Administrator authority is necessary. Execute this command as an administrator when use OS is Windows Server 2008 or later.
This command can be executed on a Management Server.
[Linux]
This command can only be executed by a system administrator (superuser).
This command can be executed on a Management Server.
Note
The Configuration Item Operation window can be used to check whether the specified configuration items have been deleted.
This command deletes registered configuration items from CMDB Manager. Configuration items that were registered from the Agent cannot be deleted from CMDB Manager.