Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.4.3 swcfmg_patch_updateinfo (Patch Information Update Command)

Description

This command discovers information relating to patch management.

Synopsis

[Windows]

swcfmg_patch_updateinfo.exe [-t <Patch type>] [{-serverid <Server ID>,... | -ip <IP address>,...}][-repository] [-cleanup] [-o <Output file path>]

[Linux]

swcfmg_patch_updateinfo [-t <Patch type>] [{-serverid <Server ID>,... | -ip <IP address>,...}][-repository] [-cleanup] [-o <Output file path>]

Options

-t <Patch type>

This option specifies a patch type.

Information relating to the specified patch type will be discovered.

If this option is omitted, information will be discovered for all patch types.

windows

Specifying this patch type discovers information relating to patch management for Windows operating systems.

linux

Specifying this patch type discovers information relating to patch management for Linux operating systems.

solaris

Specifying this patch type discovers information relating to patch management for Solaris operating systems.

middleware

Discovers information related to software patch management. Discovers information about the software installed on business servers and applied patches from information collection sources. Information is collected from enabled sources only. The information collection sources that are enabled can be confirmed using swcfmg_source_def (Information Collection Source Management Command). For details, refer to "swcfmg_source_def (Information Collection Source Management Command)" in the Developer's Guide.

-serverid <Server ID>,... | -ip <IP address>,...

Discovery of the following information can be performed for the specified managed server.

  • Information relating to patch management for Linux operating systems

  • Information relating to patch management for Solaris operating systems

  • Information relating to software patch management

If this option is omitted, information will be discovered for all managed servers.

This option is effective only when "-t linux", "-t solaris", or, "-t middleware" is specified. If "-t windows" is specified, the command will fail with a parameter error.

Specified as

Entered as

Example

Remarks

Single specification

IP address

Discovers the managed server at the IP address "10.10.10.10".

10.10.10.10

Server ID

Discovers the managed server with the server ID "0I6M73PAH@Direct".

0I6M73PAH@Direct

Multiple specification

IP address,IP address,...

Discovers the managed servers at the IP addresses "10.10.10.10", "10.10.10.11", and "10.10.10.12".

10.10.10.10,10.10.10.11,10.10.10.12

Do not specify any characters such as halfwidth spaces before or after the comma (,). If any character other than the IP address is specified, a parameter error will occur.

Server ID, Server ID, ...

Discovers the managed servers with the server IDs "0I6M73PAH@Direct", "CUIYJJGBF@Direct", and "SAZYVGV5U@Direct".

0I6M73PAH@Direct,CUIYJJGBF@Direct,SAZYVGV5U@Direct

Do not specify half-width spaces or any characters that are not a server ID before or after the comma (,). Otherwise a parameter error will occur.

-repository

Specifying this option discovers patch information from the repository server.

This option can be omitted. If this option is omitted, information will not be discovered from the repository server.

Specify this option in the following case:

  • Discovering patch information for Windows operating systems by linking to the Microsoft Windows Server Update Services (WSUS)

    If repository server information has not been set up using a discovery definition file, the following error message will be output to the trace log if this option is specified (refer to "2.2.14 Discovery Definition File" for information on the discovery definition file).

    Repository information has not been set up in the discovery definition file.
-cleanup

This option sends a cleanup update request to the agent. Specify this option in the following case. This option will have no effect if it is specified at a time other than the explicitly specified timing. No error will occur.

  • When a Microsoft Windows Server Update Services (WSUS) server has been cleaned up

-o <Output file path>

This option is used to output the content of the standard output to the specified file rather than the standard output.

If the specified file does not exist, a new file will be created. If the file exists, additional data will be output to the existing file.

Return value

Return value

Meaning

0

The command has terminated normally.

10

A parameter error has occurred.

11

The specified server ID or IP address does not exist.

49

Reading the action definition file has failed.

100

Systemwalker Software Configuration Manager is not running.

101

A command that cannot be executed at the same time as this command is already running.

102

You do not have the privileges required to execute this command.

200

Setup has not been performed.

210

Warning: The command terminated with an error.

211

Warning: There is a warning.

250

All discovery operations have failed.

255

A system error has occurred.

Command location

Admin server

[Windows]

<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\bin

[Linux]

/opt/FJSVcfmgm/bin

Privilege required/execution environment

[Windows]

[Linux]

Cautions

Example