Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Configuration Guide


5.5.1 Setting up an execution environment for the automated action function

You can set up an execution environment for automated actions by editing the automated action environment definition file (action.conf.update). You specify in the automated action environment definition file such information as the default user who executes automated actions and the regular expressions to be used by the automated action function.

To set up an execution environment for the automated action function:

  1. Copy the model file, rename it to the definition file name (action.conf), and then edit the definitions.

    Copy the model file of the automated action execution environment definition files, rename it, and then edit the definition file (action.conf). Execute the following:

    In Windows:

    cd Console-path

    copy default\action.conf.update conf\action.conf

    notepad conf\action.conf

    In UNIX:

    cd /etc/opt/jp1cons

    cp -p default/action.conf.update conf/action.conf

    vi conf/action.conf

    For details about the definitions in the automated action environment definition file, see Automated action environment definition file (action.conf.update) in Chapter 2. Definition Files in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

  2. Terminate JP1/IM - Manager.

  3. Execute the jbssetcnf command to apply the definitions.

    In Windows:

    jbssetcnf Console-path\conf\action.conf

    In UNIX:

    /opt/jp1base/bin/jbssetcnf /etc/opt/jp1cons/conf/action.conf

    When you execute the jbssetcnf command, the execution environment settings for the automated action function are applied to the JP1 common definition information. For details about the jbssetcnf command, see the JP1/Base User's Guide.

  4. Start JP1/IM - Manager.