Job Management Partner 1/Software Distribution Administrator's Guide Volume 1
You can use Windows Scheduled Tasks for automatic downloading of the patch information file and patches, and for automatic execution of packaging. However, be aware that only OS patches can be acquired automatically.
Automatic acquisition of patches is executed by Scheduled Tasks as follows:
For details about how to set up patch packaging, see 7.1.2(1) Settings for packaging.
If Remote Installation Manager is installed on a different computer from the one where the server core facility is installed, you must specify the settings for the patches to be downloaded on the Automatic Download Settings page before automatic downloading of patches can be performed by Scheduled Tasks.
The following explains the settings for patches to be acquired automatically and the settings for Scheduled Tasks.
To use Scheduled Tasks for automatic acquisition of patches, you must set the types of patches to be acquired. You must also set whether or not downloaded patches are to be packaged automatically.
To set the types of patches to be downloaded automatically, you must navigate to the Automatic Download Settings page from the Software Update Management dialog box.
To display the Automatic Download Settings page:
The settings on the Automatic Download Settings page are explained below.
Figure 7-4 Automatic Download Settings page
To set Scheduled Tasks to acquire patches automatically:
To check the task execution results, right-click in Scheduled Tasks window to display the menu, choose View and then Details. The return value for the Scheduled Tasks execution results is displayed in Last Result. The following table shows the return values.
Table 7-2 Return values of Scheduled Tasks (automatic acquisition of patches)
No. | Return value | Description |
---|---|---|
1 | 0x0 | Task terminated normally. |
2 | 0x1 | No data to be acquired was found. |
3 | 0x2 | Program startup failed because patch downloading was already underway. |
4 | 0x3 or greater | Task terminated with another error. |
Detailed error information is output to JP1/Software Distribution's installation directory \LOG\DPT.LOG. The format of DPT.LOG is as follows:
Figure 7-5 Format of DPT.LOG
The following table shows the causes for log output in DPT.LOG and the actions to take.
Table 7-3 Causes for log output during patch acquisition and actions to take
Message ID | Message text | Cause | Action |
---|---|---|---|
DPT006-E | Another instance of the application is already running. | Patch acquisition is being executed. |
|
DPT009-E | Application will be stopped. Reason: Invalid arguments specified. | An argument for starting a task from Scheduled Tasks is invalid. | Check that the arguments are specified correctly. |
DPT101-E | Database connection failed. Reason: database-error-message | Connection to the database failed. |
|
DPT102-E | Error occurred while accessing database. Reason: database-error-message | An error occurred while accessing the database. |
|
DPT103-E | Unable to get a DSN to connect or invalid DSN. Reason: database-error-message | Acquisition of the data source failed, or the data source may be invalid. |
|
DPT204-E | Unable to configure the proxy settings. | Connection to the proxy server failed. | On the Network Settings page, check the settings for the proxy server. |
DPT205-E | Error in network settings information. Unable to connect to the Internet. | Connection to the network failed. | On the Network Settings page, check the settings for the network connection. |
DPT207-E | Unable to store the downloaded information in the file system. | File download failed. |
|
DPT209-E | 'server-name' login failure. | Server login failed. | On the Network Settings page, check the authentication information for the server. |
DPT254-E | Unable to establish connection with the JP1/Software Distribution Manager. | Connection to the server by Packager failed. |
|
DPT255-E | Unable to communicate with the JP1/Software Distribution Manager. | An error occurred while Packager was connecting to the server. |
|
DPT256-E | Unable to transfer the file to the JP1/Software Distribution Manager. | The network may have been disconnected during packaging. | Make sure that the network is connected. |
DPT257-E | Package 'package-name' already exists. | A package with the same package ID may exist in the package storage cabinet. | Check whether the same package ID exists in the storage cabinet. If so, delete the package or change the storage cabinet. |
DPT258-E | Invalid password specified for JP1/Software Distribution Manager login. | Packager's connection to the server failed. | On the Packaging Settings page, check the Password for an administrator user setting. |
DPT260-E | Unable to execute the command 'packaging-command-full-path-name'. | Packager startup failed. | Check whether Packager has been installed. If not, install it. |
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.