Job Management Partner 1/Base User's Guide

[Contents][Glossary][Index][Back][Next]


11.1.1 Defining a local action

The procedure for defining a local action is described below:

  1. Register local action definitions to the common definition information.
    You can change the setting of the following items in the common definition information:
    • 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)
    To change the above settings:

    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.

    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.
    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.
  2. 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:
    • 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)
    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.
  3. 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).
  4. 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.
  5. 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.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.