IBM Books

Administration Guide


Starting DCEM

To start DCEM, type the following at the command line:

/opt/csm/dcem/bin/dcem

The DCEM command line options are as follows:

/opt/csm/dcem/bin/dcem [-h | --help] [-V | --version] [-v | --verbose] [-N | --groups <group,group,group,...>] [-n | --hosts <host_name,host_name,host_name,...>] [command_specification_name]

Command syntax

Using the dcem command without options displays the Distributed Command Execution Manager dialog. From this dialog, you can create a new command specification or select from a list of saved command specifications.

Using the dcem command with the command_specification_name option causes DCEM to initialize the input fields in the main window with specified command data. The command_specification_name refers to the name used to save a command specification in the DCEM dialog. To send the command defined in the command specification to the specified hosts or groups, click the Run button in the dialog. The Execution Progress dialog shows the progress of the executed commands. To reset DCEM to the default values, click the Defaults button in the dialog.

You can also use the following flags:

Example:

The following example specifies hosts and groups together with the command_specification_name parameter on the command line. Assume the myCommand command specification was saved with host names h1, h2, h3, and groups of hosts g1, g2, g3.

  1. To run DCEM, type:

    dcem
    
  2. To initialize the input fields with specified command specification name and groups, type:

    dcem -N g4,g5 myCommand
    

    This results in the following output in the following GUI fields:

    Host names:{empty}
     
    Groups of hosts: g4,g5
    
  3. To initialize the input fields with specified command specification name, groups, and hosts, type:

    dcem -N g4,g5 --hosts h4 myCommand
    

    This results in the following output in the following GUI fields:

    Host names: h4
     
    Groups of hosts: g4,g5
    
  4. To display the version of DCEM that is running, type:

    dcem -V
    

Note:
When you run DCEM from a remote host, run the xhost + command on the machine where you expect to display the GUI. On the machine running DCEM, export your display:

export DISPLAY=IP address of the machine on which you wish to display the GUI:0


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]