Description
This command discovers information relating to patch management.
Windows patch information
This command discovers information about Windows patches released by Microsoft.
Linux patch information
This command discovers information about RPM packages.
Fujitsu middleware patch information
This command discovers information about Fujitsu middleware patches available from the UpdateSite, as well as information about Fujitsu middleware products.
Synopsis
[Windows]
swcfmg_patch_updateinfo.exe [-t <Patch type>] [-repository] [-cleanup] [-o <Output file path>] |
[Linux]
swcfmg_patch_updateinfo [-t <Patch type>] [-repository] [-cleanup] [-o <Output file path>] |
Options
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.
Specifying this patch type discovers information relating to patch management for Windows operating systems.
Specifying this patch type discovers information relating to patch management for Linux operating systems.
Specifying this patch type discovers information about the Fujitsu middleware patches that have been applied to business servers, as well as information about the Fujitsu middleware products that have been installed on business servers.
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.5 Discovery Definition File" for information on the discovery definition file.
Repository information has not been set up in the discovery definition file.
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
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 | There is a parameter error. |
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 executing. |
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]
Administrator privileges are required. When using Windows Server 2008 or Windows Server 2012, run as an administrator.
This command can be executed on the admin server.
[Linux]
This command can only be executed by the system administrator (superuser).
This command can be executed on the admin server.
Cautions
This command can be executed simultaneously only when the patch types specified in the -t <Patch type> option are any of the combinations shown in the following table:
Patch type | Omitted | windows | linux | middleware |
---|---|---|---|---|
Omitted | - | - | - | - |
windows | - | - | Yes | Yes |
linux | - | Yes | - | - |
middleware | - | Yes | - | - |
Yes: Can be executed simultaneously
-: Cannot be executed simultaneously
This command can be executed at any desired timing, but it is recommended that the command be executed during a gap in business activities.
For example, execute regular discovery once a day in the middle of the night (out of normal business hours).
Refer to "Registering a Configuration Baseline Creation Schedule" in the Installation Guide for information about schedule settings for regular discovery and the time taken to execute discovery.
The patch information update command will output the following warning message if there are any business servers for which information could not be collected during discovery for some reason (such as the target server not running):
A warning has occurred while patch information was being updated. |
Information about the servers for which information could not be collected and the reason why the information could not be collected are output to log files, so take the necessary action based on the information in the log files.
[Log files to check]
cfmgcommand_discovery_trace_log
cfmgcommand_discovery_wsus_trace_log
cfmgcommand_discovery_yum_trace_log
cfmgcommand_discovery_fjmw_trace_log
This warning message is triggered by messages with the following message labels. Refer to the Message Guide for information on how to take action.
If this warning message is output without a message with one of the following message labels being output, contact Fujitsu technical support.
[List of message labels]
CFMGD04012
CFMGD04014
CFMGD04015
CFMGD04016
CFMGD04018
CFMGD05006
CFMGD05007
CFMGD05008
CFMGD05009
CFMGD05010
CFMGD05011
CFMGD05012
CFMGD05013
CFMGD05014
CFMGD05015
CFMGD05016
CFMGD05017
CFMGD05018
CFMGD05019
CFMGD05020
CFMGD08002
CFMGD08003
CFMGD08004
CFMGD10005
CFMGD10006
CFMGD10007
CFMGD11002
CFMGD11003
CFMGD11004
CFMGD12001
CFMGD12002
CFMGD12003
CFMGD12004
CFMGD12005
Example
Discovering all information
[Windows]
swcfmg_patch_updateinfo.exe -repository |
[Linux]
swcfmg_patch_updateinfo -repository |
Discovering information relating to patch management for Windows operating systems
[Windows]
swcfmg_patch_updateinfo.exe -t windows -repository |
[Linux]
swcfmg_patch_updateinfo -t windows -repository |
Discovering information relating to patch management for Linux operating systems
[Windows]
swcfmg_patch_updateinfo.exe -t linux |
[Linux]
swcfmg_patch_updateinfo -t linux |
Discovering information relating to patches for Fujitsu middleware and information about Fujitsu middleware products
[Windows]
swcfmg_patch_updateinfo.exe -t middleware |
[Linux]
swcfmg_patch_updateinfo -t middleware |