Hitachi

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


2.14.1 Setting up the command execution function for managed hosts (for UNIX)

This subsection describes how to set up a command execution environment for performing automated actions and for executing commands on managed hosts from the Execute Command window of JP1/IM - View.

To set up a command execution environment:

  1. Setting up a command execution environment

    Execute the jcocmddef command to set up a command execution environment.

    We recommend that you adjust the number of commands that can be executed concurrently. To do this, execute the command as follows:

    Example: Set the number of commands that can be executed concurrently to 3

    /opt/jp1base/bin/jcocmddef -execnum 3

  2. Creating an environment variable file

    If you will use an environment variable file during command execution, create it.

  3. Defining host groups

    If necessary, define host groups (groups of hosts at which a command can be executed simultaneously).

  4. Creating a command button definition file

    If you want to execute a command from a command button, create a command button definition file.

    To pass event information, set true in the inev parameter.

  5. Creating a configuration file for converting information

    When you pass event information for automated actions and command execution, if you want to convert specific ASCII characters in the event information to be passed to other types of characters, create a configuration file for converting information.

For details about when the settings of a command execution environment are enabled or how to create definition files, see the following.

About command execution environments
  • jcocmddef command

    See the chapter that describes commands in the JP1/Base User's Guide.

  • Creation of an environment variable file

    See the chapter that environment variable file in the JP1/Base User's Guide.

  • Host group definition

    See the chapter that host group definition in the JP1/Base User's Guide.

  • Creation of a command button definition file

    See Command button definition file (cmdbtn.conf) in Chapter 2. Definition Files in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

  • Creation of a configuration file for converting information

    See Configuration file for converting information (event_info_replace.conf) in Chapter 2. Definition Files in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.