Top
Systemwalker Software Configuration Manager Reference Guide
Systemwalker

1.4.1 cmdbrefresh (Observed Record Collection Request Command)

Description

This command performs discovery for software configuration information.

There are two types of update: full update and differential update. A full update collects all the latest information, regardless of whether the information has been collected previously. A differential update collects only the differences between all the latest information and the information that has been collected previously.

Perform a full update in the following situations:

This command can be executed on the admin server.

Synopsis

[Windows]

cmdbrefresh.exe [-a] -q [type=<Agent type>]

[Linux]

cmdbrefresh.sh [-a] -q [type=<Agent type>]

Options

-a

This option updates all observed records (a full update). If this option is omitted, a differential update will be used. Normally a differential update should be performed by omitting this option.

-q type=<Agent type>

When executing this command on a CMDB agent, specify the type of the agent that the update will apply to. The following agent types can be specified. Specify the type of an agent that has been set up. If this option is omitted, the update will apply to all of the agents that have been set up.

AGT_CFMGWSUS

An agent that collects patch management information for WSUS linkage.

This agent type can be specified when this command is executed on the admin server.

Note that this option is for maintenance purposes only, and normally the 1.4.2 swcfmg_patch_updateinfo (Patch Information Update Command) should be used to discover patch-related information.

AGT_CFMGYUMCL

An agent that collects patch management information for yum linkage.

This agent type can be specified when this command is executed on the admin server.

Note that this option is for maintenance purposes only, and normally the 1.4.2 swcfmg_patch_updateinfo (Patch Information Update Command) should be used to discover patch-related information.

AGT_CFMGUAM

An agent that collects patch management and software management information for UpdateAdvisor linkage.

This agent type can be specified when this command is executed on the admin server.

Note that this option is for maintenance purposes only, and normally the 1.4.2 swcfmg_patch_updateinfo (Patch Information Update Command) should be used.

Return Value

Return value

Meaning

0

The command has terminated normally.

Other than 0

The command has terminated abnormally.

Command Location

Admin server

[Windows]

[%SWCMDB_INSTALL_PATH% *]\FJSVcmdbm\bin

*: The installation directory for the CMDB included with Systemwalker Software Configuration Manager is set to the "%SWCMDB_INSTALL_PATH%" environment variable.

[Linux]

/opt/FJSVcmdbm/bin

Privilege Required/Execution Environment

[Windows]

[Linux]

Cautions

Example

Issuing an update request to an agent that collects patch management information for WSUS linkage

[Windows]

cmdbrefresh.exe -q type=AGT_CFMGWSUS

[Linux]

cmdbrefresh.sh -q type=AGT_CFMGWSUS