Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Asset Console Configuration and Administration Guide


7.9.3 Specifying the task to be executed in the Data maintenance (Asset Console) task

You must enable this task immediately after you set up the asset management server.

When information is updated, the Data maintenance (Asset Console) task updates other related information and deletes unnecessary information to maintain data integrity in the asset management database. You can also select for execution only those tasks that are necessary from among the ones that can be executed. For details about how to select the tasks to execute, see 7.9.3(3) Changing the tasks to be executed.

When you execute the Data maintenance (Asset Console) task, Hitachi recommends that you stop all Asset Console services, commands, and tasks.

To stop Asset Console services, stop the following services in the listed order:

  1. World Wide Web Publishing Service or World Wide Web Publishing

  2. Asset Console commands and tasks

When you use Asset Console after having executed the Data maintenance (Asset Console) task, start the services in the reverse of the order in which they were stopped.

Organization of this subsection

(1) Tasks to be executed in the Data maintenance (Asset Console) task

Use the Data maintenance (Asset Console) task to execute the following procedures:

(2) Specifying options

In the Data maintenance (Asset Console) task, you can use an option to specify and execute the processing in the [MAINTE_n] section described in the settings file (taskopt.ini).

To specify an option, display the task properties. On the Task tab, specify the option after the file name in Run.

Format

-s OPT=section-to-be-executed

For the section to be executed, specify a single alphanumeric character (0 to 9 or a to z) to indicate one of the [MAINTE_n] sections described in the taskopt.ini file. The section name is not case-sensitive.

Specification example

"C:\jp1asset\exe\jamscript.exe"

-f "C:\jp1asset\scriptbatch\DataMaintenance.txt" -dp

-s OPT=1

C:\jp1asset indicates the Asset Console installation folder.

(3) Changing the tasks to be executed

To change the task to be executed in the Data maintenance (Asset Console) task, describe the task to be changed in the settings file (taskopt.ini). Specify in different sections the tasks to be normally executed and those that are to be executed when options are specified.

The storage destination and the coding method for the settings file are described below.

(4) Specification example of the tasks to be executed in the Data maintenance (Asset Console) task

In this example, only the necessary tasks are executed and the task execution interval is changed according to the task content of each task.

The following tasks are to be executed in the Data maintenance (Asset Console) task at the intervals described:

taskopt.ini specification:
[DATAMAINTENANCE]
ASSET_ERASE_DEL               = NO
ASSET_ASSOC_DEL               = NO
SOFTINFO_ERASE_DEL            = NO
SOFTINFO_ASSOC_DEL            = NO
CONTRACT_ERASE_DEL            = NO
VOLUME_ERASE_DEL              = NO
IP_UNNECESSARY_DEL            = NO
INSTINFO_NOLIST_DEL           = NO
LICENSELINK_UNNECESSARY_DEL   = NO
INSTINFO_UNMANAGED_DEL        = NO
USER_ASSOC_UPD                = NO
GROUP_ASSOC_UPD               = NO
LOCATION_ASSOC_UPD            = NO
SOFTINFO_CONSOLIDATE          = NO
 
[MAINTE_1]
ASSET_ERASE_DEL               = YES
SOFTINFO_ERASE_DEL            = YES
SOFTINFO_ASSOC_DEL            = YES
 
[MAINTE_2]
IP_UNNECESSARY_DEL            = YES
Option specification:

Specify the options for the Data maintenance (Asset Console) task as shown below. C:\jp1asset indicates the Asset Console installation folder.

"C:\jp1asset\exe\jamscript.exe"

-f "C:\jp1asset\scriptbatch\DataMaintenance.txt" -dp

-s OPT=1

Next, copy the Data maintenance (Asset Console) task and specify options as follows.

"C:\jp1asset\exe\jamscript.exe"

-f "C:\jp1asset\scriptbatch\DataMaintenance.txt" -dp

-s OPT=2

Make a change so that the added task is executed once a week. For the procedure for changing the task execution dates and frequency, see 7.9.2 Task setup procedure.