General
Use the General tab to specify most of the information that is required
to run commands on distributed hosts, and to save command specification
that you create for later use. DCEM allows you to create, save, and
edit command specifications, which reduces your time and effort when you
repeatedly run the same command. A command specification consists
of the following parts:
-
The name of the command specification.
-
A command definition including the path and command or inline script to
run on remote host machines.
-
The user name under which the command will run.
-
A description of the command.
-
A list of hosts or groups of hosts on which the command will run
-
Options for security, output streaming, and number of hosts on which to
concurrently run the command.
You can find more detailed help on the following elements of this window:
Name
The name that identifies a command specification. When you create a new
command specification, you must type a name for it in this field. The name
field is not required for running a command specification, but is required
when saving a specification. When you want to run an existing
command specification, you can either use the Browse... button next
to the Name field to select a saved command specification name for
this field or you can type the command specification name in the field.
Browse...
Opens the Browse Command Specification dialog, which displays a list of
existing command specifications. You can select a command specification
from the list to work with it in this dialog. The selected command specification
causes the DCEM to initialize the input fields with specified command data.
Path
The path that points to the actual location of the saved commands. The
default value for this field is $PATH. You can edit this field.
If you use the the default $PATH in this field, the application does not
delegate the local $PATH to the target hosts when the command is
run. Instead, it prepends export PATH=$PATH to the command, where the $PATH
variable referred to is the one set on the target machine.
To run commands found only in a specific directory, you can replace
$PATH with that directory name. To guarantee that a directory is searched
first, you can prepend the directory to $PATH, for example, /usr/bin:$PATH.
If you leave the Path field empty, it is the same as having $PATH.
Command
Displays the command or script to run. You can either type the command
directly, or retrieve a saved command specification to fill this field
with the saved value.
Run as User
Displays the user name under which the command specification will be run.
By default, it is populated with the user name under which DCEM is
running. You can edit this field. Target machines must be configured to
allow the user or machine under which DCEM is running to run as the user
specified in this field. This configuration is specific to the remote shell
used to run a command.
Description
An optional text description of the command specification. This description
also displays in the Browse Command Specifications dialog to help you locate
a particular saved command specification.
Host Names
The name of one or more hosts. You can type the name of any fully
qualified host name, as long as the host has a remote shell available,
or type a list of fully qualified host names separated by commas or spaces.
Browse...
Opens the Browse Hosts dialog, which displays a list of hosts in the Cluster
System Management domain. You can select one or more hosts from the list,
which places them in the Host names field on this dialog. Use the
Groups tab of this dialog to define groups of hosts.
Groups of Hosts
The name of one or more host groups. You can type a list of host groups
separated by commas or spaces. You can also select host group names
from the Browse Groups dialog, which displays when you click on the Browse
button next to the field. To use this selection dialog, you must first
have created the groups of hosts.
Browse...
Opens the Browse Groups dialog, which displays a list of previously defined
groups of hosts. You can select a group from the list to work with.