User`s guide
RemoteClusterAccess
10-43
Method Name Description
runCommand [status,result] = runCommand(r,command) runs
the supplied command on the remote host and returns the
resulting status and standard output. The connect method
must have already been called.
startMirrorForJob startMirrorForJob(r,job) copies all the job files from the
local DataLocation to the remote DataLocation, and starts
mirroring files so that any changes to the files in the remote
DataLocation are copied back to the local DataLocation.
The connect method must have already been called.
stopMirrorForJob stopMirrorForJob(r,job) immediately stops the
mirroring of files from the remote DataLocation
to the local DataLocation for the specified job. The
startMirrorForJob or resumeMirrorForJob method
must have already been called. This cancels the running
mirror and removes the files for the job from the remote
location. This is similar to doLastMirrorForJob, except that
stopMirrorForJob makes no attempt to ensure that the
local job files are up to date. For normal mirror stoppage, use
doLastMirrorForJob.
Properties
A RemoteClusterAccess object has the following read-only properties. Their values are
set when you construct the object or call its connect method.
Property Name Description
Hostname Name of the remote host to access.
IdentityFileHasPassphrase Indicates if the identity file requires a passphrase.
IdentityFilename Full path to the identity file used when connecting to the
remote host.
IsConnected Indicates if there is an active connection to the remote host.
IsFileMirrorSupported Indicates if file mirroring is supported for this connection.
This is false if no remote DataLocation is supplied to the
connect() method.