Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Developer's Guide 


6.4.5 Procedure for setting scripts (when attaching created scripts)

You can set the script to be executed on the operation target host, by specifying an attached file.

To attach a script that has already been created:

  1. Click the Remote Command tab on the Create Custom Plug-in or Edit Custom Plug-in dialog box.

  2. In the Execution Method part of the Platform area, select the Script option.

  3. In the CLI Command text box, enter the command that executes the script.

    Although only one script file can be registered, you can register a script that consists of several files and folders in a hierarchical structure by compressing the files into a zip archive. If the script is a single file, specify the file name in the CLI Command text box. If the script is a zip archive containing multiple files, specify a relative path whose current directory is the location where the archive will be extracted.

    Figure 6‒11: Platform (when Attachment is selected for the script specification method)

    [Figure]

  4. In the Script specification method area, select the Attachment option.

  5. In the File area, click Browse and register the script.

Operation result

A script file is set.