remotemdce

Execute mdce command on one or more remote hosts by transport protocol

Syntax

remotemdce <mdce options> <flags> <protocol options>

Description

remotemdce <mdce options> <flags> <protocol options> allows you to execute the mdce service on one or more remote hosts.

For a description of the mdce service, see the mdce reference page.

The following table describes the supported flags and options. You can combined multiple flags in the same command, preceding each flag by a dash (-).

Flags and OptionsOperation
<mdce options>Options and arguments of the mdce command, such as start, stop, etc. See the mdce reference page for a full list.
-matlabroot <installfoldername>The MATLAB installation folder on the remote hosts, required only if the remote installation folder differs from the one on the local machine.
-remotehost host1[,host2[,...]The names of the hosts where you want to run the mdce command. Separate the host names by commas without any white spaces. This is a mandatory argument.
-remoteplatform { unix | windows } The platform of the remote hosts. This option is required only if different from the local platform.
-quietPrevent mdce from prompting the user for missing information. The command fails if all required information is not specified.
-helpPrint help information.
-protocol <type>

Force the usage of a particular protocol type. Specifying a protocol type with all its required parameters also avoids interactive prompting and allows for use in scripts.

The supported protocol types are ssh, rsh, and winsc.

To get more information about one particular protocol type, enter

remotemdce -protocol <type> -help

For example:

remotemdce -protocol winsc -help

Using the winsc protocol requires that you log in as a user with admin privileges on the remote host.

<protocol options>Specify particular options for the protocol type being used.

Note

If you are using OpenSSHd on a Microsoft® Windows® operating system, you can encounter a problem when using backslashes in path names for your command options. In most cases, you can work around this problem by using forward slashes instead. For example, to specify the file C:\temp\mdce_def.bat, you should identify it as C:/temp/mdce_def.bat.

Examples

Start mdce on three remote machines of the same platform as the client:

remotemdce start -remotehost hostA,hostB,hostC

Start mdce in a clean state on two UNIX operating system machines from a Windows operating system machine, using the ssh protocol. Enter the following command on a single line:

remotemdce start -clean -matlabroot /usr/local/matlab
 -remotehost unixHost1,unixHost2 -remoteplatform UNIX
 -protocol ssh

See Also

|

Was this topic helpful?