Description
This command notifies Systemwalker Software Configuration Manager that the yum caches must be deleted.
yum caches are held on Linux business servers (yum clients). If the configuration of the yum repository server changes, the yum caches must be deleted and then recreated in order to obtain the latest information from the yum repository server.
When this command is executed, the yum caches on Linux business servers will be deleted and recreated the next time Linux patch information is updated. For any business servers where patch information could not be updated (because they were not operating when patch information was updated, for example), the yum caches will be deleted and recreated when patch information is next updated.
Execute this command in the following cases:
When the configuration of the yum repository server has changed
When an RPM package to be managed on the yum repository server is added
When an RPM package that has been managed on the yum repository server is deleted
When a yum repository server is added
When a yum repository server is deleted
When an RPM package storage path is added to the yum repository server
When an RPM package storage path is deleted from the yum repository server
Synopsis
[Windows]
swcfmg_notify_yumcacheclean.exe |
[Linux]
swcfmg_notify_yumcacheclean |
Options
None.
Return value
Return value | Meaning |
---|---|
0 | The command has terminated normally. |
10 | A parameter error has occurred. |
49 | Reading the action definition file has failed. |
102 | You do not have the privileges required to execute this command. |
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. Execute 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 cannot be executed at the same time as other commands. An exclusive control error will occur if a command is executed while another command is executing.
Example
[Windows]
swcfmg_notify_yumcacheclean.exe |
[Linux]
swcfmg_notify_yumcacheclean |