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:
-
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
-
Creating an environment variable file
If you will use an environment variable file during command execution, create it.
-
Defining host groups
If necessary, define host groups (groups of hosts at which a command can be executed simultaneously).
-
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.
-
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 Environment variable file in Chapter 2. Definition Files in the manual JP1/Integrated Management - Manager Command and Definition File Reference.
-
Host group definition
See Host group definition file in Chapter 2. Definition Files in the manual JP1/Integrated Management - Manager Command and Definition File Reference.
-
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 - Manager Command and Definition File 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 - Manager Command and Definition File Reference.
-