Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

1.4.11 cidelete (Configuration Item Deletion Command)

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

-q xpath=condition specified

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.


-q record=observed|expected|cataloged|all

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


-a

Deletes all configuration items.


Return Values

0:

Normal termination

Value other than 0:

Abnormal termination


Command Location

[Windows]

<Systemwalker Runbook Automation installation directory>\CMDB\FJSVcmdbm\bin
Note: The default location is C:\Fujitsu\Systemwalker\SWRBAM

[Linux]

/opt/FJSVcmdbm/bin


Privilege Required/Execution Environment

[Windows]

[Linux]

Note