Job Management Partner 1/Integrated Management - Manager Administration Guide
The operation method is described below. To execute a command on a remote host, you need JP1_Console_Admin permissions or JP1_Console_Operator permissions.
To execute a command:
- In the Event Console window, choose Options and then Execute Command, or from the toolbar, click the
icon.
The Execute Command window opens.
- For Target host, specify the host on which the command is to be executed.
For the target host, specify the host name that is specified as the managed host in the system configuration definition.
You can also select from the list box a host name that was specified in the past. A maximum of five host names specified in the past are saved in the list box.
You can also specify a host group name for the command target host. When you specify a host group name, the command will be executed on all hosts that comprise the host group. Host group names that can be specified are those that are defined by the login manager.
For details about the procedure for defining host groups, see 1.16 Setting up a command execution environment (in Windows) or 2.15 Setting up a command execution environment (in UNIX) in the Job Management Partner 1/Integrated Management - Manager Configuration Guide.
- In Command, specify the command to be executed. Also specify an environment variable file as needed.
Enter the command line to be executed in Command.
You can also select from the list box a command that was specified in the past. To erase the history of commands specified in the past, click the Clear History button.
For Environment variable file, specify the absolute path to the environment variable file located at the command target host.
The following commands can be executed:
- When the command target host is running under UNIX
- UNIX commands
- Shell scripts
- When the command target host is running under Windows
- Executable files (.com and .exe)
- Batch files (.bat)
- JP1/Script script files (.spt) (Association must be set up to allow .spt files to be executed.)
- The following types of commands cannot be executed:
- Commands that require interactive operations
- Commands that open a window
- Commands that come with an escape sequence or control code
- Commands that do not end, such as a daemon
- Commands that must interact with the desktop, such as Windows Messenger and DDE (in Windows)
- Commands that shut down the OS, such as shutdown and halt
- Click the Execute button.
The command is executed on the host specified in Target host. When the command is executed, the execution time, host name, and message are displayed in Log.
If the JP1/Base of the host is stopped while the command is being executed, CMD.EXE and the executing command (in Windows) or a shell and the executing command (in UNIX) may still remain. In such a case, either manually stop the command or restart the host.
Furthermore, if the JP1/Base of the host is stopped while the command is being executed, commands inside the queue are discarded.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.