Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Operation Service Template Developer's Guide


4.3.17 Procedure for setting commands

Set the command that is appropriate for the operating system on the operation target host (Windows, AIX, HP-UX, Linux, or Solaris). When creating a plug-in that is compatible with multiple operating systems, set commands for each operating system.

The commands you set must be scripts or commands that are present on and executable by the operation target device.

The commands executed in plug-ins can have return values in the range from 0 to 63.

Plug-ins and service templates must be designed in such a way that standard output and standard error output produce less than 100 KB of data. When the standard output or standard error output of a plug-in exceeds 100 KB, the command is immediately killed and the plug-in terminates with an error. In this scenario, the execution results of the command cannot be guaranteed.

If the Create Plug-in dialog box or Edit Plug-in dialog box is not displayed:

  1. In the Plug-in view of the Editor window, display the Under Development tab.

  2. To create a new plug-in, click Create.

    To edit an existing plug-in, select the plug-in and then click Edit.

To set a command:

  1. In the Remote Command area of the Create Plug-in dialog box or the Edit Plug-in dialog box, click the Edit button for the operating system of the operation target device.

  2. In the Execution Mode area of the Edit Remote Command dialog box, click Command.

  3. Enter the command line in Command line, and then click OK.

Related topics