Job Management Partner 1/Base User's Guide
The procedure for defining a local action is described below:
- Register local action definitions to the common definition information.
You can change the setting of the following items in the common definition information:
To change the above settings:
- File size of the local action execution log (1,024 KB by default)
- Numbers of local action execution logs to store (4 by default)
- Local action pausing (local actions are not paused by default)
- 1-1 Copy the model file (jp1bs_lcact_setup.conf.model) for the common definition settings file (local action function) and give the file a name.
- 1-2 Edit the copied file.
For details on the common definition settings file (local action function), see Common definition settings file (local action function) in 14. Definition Files. If the common definition settings file (local action function) contains an error, the set values are invalidated and the default settings are used.
- 1-3 Execute the following command:
- jbssetcnf file-edited-in-step-1-2
- Local action definitions are registered to the common definition information.
- For details on the jbssetcnf command, see jbssetcnf in 13. Commands.
- Create and edit the local action execution definition file (jbslcact.conf).
You can define the following items in the local action execution definition file.
- Required items:
- Execution conditions of the local action
- JP1 user name
- Execution command
- Option items:
For details on the local action execution definition file, see Local action execution definition file in 14. Definition Files. If the local action execution definition file contains an error, the command cannot be executed.
- Environment variable file name
- Same action suspending
- Number of actions in queue
- Number of actions to be executed simultaneously
- Loading of the user profile (Windows only)
- Specify user mapping for JP1 users.
Specify user mapping for the JP1 users required for the execution of each action. For details on how to specify user mapping, see 6.1 User management setup (in Windows) or 6.3 User management setup (in UNIX).
- Edit the local action environment variable file.
Define the environment variables required for the execution of the local action execution commands. For details on the local action environment variable file, see Local action environment variable file in 14. Definition Files. If the local action environment variable file contains an error, the commands cannot be executed.
- Restart all of the JP1/Base services.
To apply the information, execute the jbs_spmd_reload command. For details on the jbs_spmd_reload command, see jbs_spmd_reload in 13. Commands.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.